Results 1 to 10 of 5054

Hybrid View

  1. #1
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple SEO URL [support thread]

    Not a very serious error and very easy to fix

    TROUBLESHOOTING: After installing itself, this module writes a file named ".keep" in admin\includes\module_installation, if your server doesnt allow it to do so, it may make the module attempting to install itself everytime. The fix is easy though, just manually create a .keep file there (after the module has already installed itself, of course)
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  2. #2
    Join Date
    Jun 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    Some feedback on v.3.3.6

    After running on a test site for a while it seems that everything works for me. Still, "zenid" sometimes appears in the links(it is excluded in ssu settings). And product types didn't work for me originally - I had to manually edit products.php parcer to fix. Link alias - is the best software invention in human history ever!!! Thanks a lot, great feature indeed.

    After some testing, installed it on my live site. http://www.FramesCity.com No other problems found so far

  3. #3
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple SEO URL [support thread]

    Quote Originally Posted by Chris Rama View Post
    Some feedback on v.3.3.6

    After running on a test site for a while it seems that everything works for me. Still, "zenid" sometimes appears in the links(it is excluded in ssu settings). And product types didn't work for me originally - I had to manually edit products.php parcer to fix. Link alias - is the best software invention in human history ever!!! Thanks a lot, great feature indeed.

    After some testing, installed it on my live site. http://www.FramesCity.com No other problems found so far
    Zenid must be there in the first visit, so it is not really a bug.

    But product type not working is a bug, let me know what did you do to fix it.

    Regards
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  4. #4
    Join Date
    Jun 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    I have custom product types defined. In the old SSU there was init_ssu.php with this code:

    Code:
    	function simple_seo_url(){
    		// This is here to support multiple product types shorthand links
    		// if you want to add support for your custom type, first you have to go to your database and check table products_types
    		$this->products_handlers = array('1'=> 'product_info',
    										 '2'=> 'product_some_info',
    									  	 '3'=> 'product_some_other_info',
    									     '4'=> 'document_product_info',
    									  	 '5'=> 'product_free_shipping_info'
    									  	);
    		$this->products_identifiers = array('1'=> SSU_ID_DELIMITER.'p'.SSU_ID_DELIMITER,												
    									  		'2'=> SSU_ID_DELIMITER.'m'.SSU_ID_DELIMITER,
    									  		'3'=> SSU_ID_DELIMITER.'e'.SSU_ID_DELIMITER, 
    									 		'4'=> SSU_ID_DELIMITER.'d'.SSU_ID_DELIMITER, 
    									 		'5'=> SSU_ID_DELIMITER.'f'.SSU_ID_DELIMITER
    									  		);
    Editing this worked ok. The link contained a correct products_identifiers

    After upgrading to 3.3.6 editing this part of config.php:

    Code:
    'identifiers'	=>	array(	'products'		=>	array(	'product_info'					=>	'p',
    															'product_some_info'			=>	'e',
    															'product_some_other_info'			=>	'm',
    															'document_product_info'			=>	'd',
    															'product_free_shipping_info'	=>	'f',
    															'document_website_info'			=>	'w',
    didn't have any affect. 'p' kept appearing in all product links and product types were not switching. All product displayed under "product_info" type template. Maybe i missed something in the upgrade process, could be.

    I didn't go deep into figuring out how parsers work, but editing "getName" function in products.php helped my case. i replaced the "$identifiers[self::$main_page]" with a small "case ..." structure with correct identifiers. This is a weird way to fix this i guess

    Quote Originally Posted by yellow1912 View Post
    Zenid must be there in the first visit, so it is not really a bug.
    Got ya. I wasn't sure about the purpose of zenid.

  5. #5
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple SEO URL [support thread]

    A bug it is, but the fix is much more simpler. I have updated the products.php parser for you here.

    I will also update SSU to add this fix. Thank you very much for letting me know the bug and the solution.

    PS: anyone who is using 3+ version is encouraged to upgrade to 3.3.7 to have the latest fixes, but some of these bugs wont affect your site unless:
    1. You are not using multi language mode(fixed in 3.3.6)
    2. You are not using any other product types (other that the default general one) (fixed in 3.3.7)

    @ Chris Rama: changing local.config.php will be better than changing the default config file btw. In later versions I will not include local.config.php in there so this file will not be overwriten when you upgrade.
    Attached Files Attached Files
    Last edited by yellow1912; 12 Nov 2008 at 08:42 PM.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  6. #6
    Join Date
    Jun 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    While torturing my test site, i've noticed another thing: Old SSU took care of inappropriate symvols when converting product name to url. If a product name contained commas, brackets and stuff like that, it ignored that in order to make clean url. The 3.3.x just passes that along into the link. Some sort of a bug too

  7. #7
    Join Date
    Jun 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    Also i had a test product with a blank name. in Old SSU the link looked like [category]/-p-[product_num] . The 3.3.x converts it differently [category]/product_name-p-[product_num]

 

 

Similar Threads

  1. v151 Simple SEO URLs for ZC 1.5.x [Support Thread]
    By cvhainb in forum All Other Contributions/Addons
    Replies: 46
    Last Post: 8 Jun 2022, 09:42 AM
  2. Simple SEO URL, Ultimate SEO URLs, Ceon URI Mapping SEO
    By pizza392 in forum All Other Contributions/Addons
    Replies: 13
    Last Post: 21 Jan 2015, 10:49 AM
  3. How do I tell what version my Simple SEO URL addon mod, and others, are?
    By kevinmc3 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 6 May 2010, 01:32 AM
  4. Can't create new thread in Simple SEO URL forum
    By gseiber in forum General Questions
    Replies: 1
    Last Post: 3 Apr 2010, 01:56 PM
  5. Re: Simple SEO URL [support thread]
    By creamcrackers in forum General Questions
    Replies: 2
    Last Post: 16 Aug 2009, 03:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg