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]

    Quote Originally Posted by danilovig View Post
    To translate texts for example ñ -> n, or ó -> o in url, there is any place to form it...

    Thanks
    http://wiki.rubikintegration.com/zen...anguage_parser
    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
    Nov 2007
    Posts
    64
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    Gives me the following error :

    Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /var/www/mainada.es/datos/web/demo_bebe/includes/classes/ssu/cores/link.php on line 34

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/mainada.es/datos/web/demo_bebe/includes/classes/ssu/cores/link.php:34) in /var/www/mainada.es/datos/web/demo_bebe/includes/classes/ssu/cores/link.php on line 175

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/mainada.es/datos/web/demo_bebe/includes/classes/ssu/cores/link.php:34) in /var/www/mainada.es/datos/web/demo_bebe/includes/classes/ssu/cores/link.php on line 176




    version: 3.5.5
    Set SSU Multi Language Status=true

    /includes/classes/ssu/plugins/languages/es.php
    PHP Code:
    <?php
          
    // note: we can later move part of this function into sub-functions, which we can store in the base class.
        
    class SSULanguageRu extends SSULanguage{
            static 
    $registry;
            
            static function 
    parseName($name){
                
    $cyrillic = array("ñ",  "á",  "é""í",  "ó""ú");
                 
                
    $translit = array("n""a""e""i""o",  "u");
                
                
    $name str_replace($cyrillic$translit$name);
                
                
    $name strtolower($name);
           
                
    // we replace any non alpha numeric characters by the name delimiter
                
    $name self::removeNonAlphaNumeric($nameSSUConfig::registry('delimiters''name'));
                
                
    // Remove short words first
                
    $name self::removeShortWords($nameSSUConfig::registry('configs''minimum_word_length'), SSUConfig::registry('delimiters''name'));
                
                
    // trim the sentence
                
    $name self::trimLongName($name);
                        
                
    // remove excess SSUConfig::registry('delimiters', 'name')
                
    $name self::removeDelimiter($name);
                
                
    // remove identifiers
                
    $name self::removeIdentifiers($name);
                
                
    // remove trailing _
                
    $name trim($nameSSUConfig::registry('delimiters''name'));
            }
        }
    includes/classes/ssu/local.config.php


    PHP Code:
    <?php $ssuLocalConfig = array(
    'plugins'        =>    array('parsers'    =>    array('manufacturers')),
        
    'identifiers'    =>    array('mf'    =>    'manufacturers'),
        
    'languages'        =>    array( 'es'    =>    'default'));
    ?>

    Thanks


  3. #3
    Join Date
    Jun 2008
    Posts
    129
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    I'm having a strange error when using Safari on PC.

    When I visit the site all links are suffixed by [FONT=Lucida Grande]"[/FONT][FONT=Lucida Grande]?zenid=a3bd5323lvn2i7qgvqfs964to2[/FONT]"

    So the link to contact will be
    [FONT=Lucida Grande]
    website.com/contact?zenid=a3bd5323lvn2i7qgvqfs964to2[/FONT]


    instead of
    [FONT=Lucida Grande]
    website.com/contact[/FONT]


    If I click on one item, eg contact, then click on other items then [FONT=Lucida Grande]?zenid=a3bd5323lvn2i7qgvqfs964to2 dissappears.[/FONT]

    The problem this is causing is when users logged into their account. If the [FONT=Lucida Grande]?zenid=a3bd5323lvn2i7qgvqfs964to2 is at the end of the url safari [/FONT]say it can't open the page as there are too many redirects.

    Any ideas?

    [FONT=Lucida Grande]


    [/FONT]

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

    Default Re: Simple SEO URL [support thread]

    zenid is attached to the url at the beginning is how it should be.

    Can you explain the login error step by step? (how to duplicate 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

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

    Default Re: Simple SEO URL [support thread]

    @danilovig

    On link.php line 34 you can try this:
    if(empty($languages_code) || !array_key_exists($languages_code, SSUConfig::registry('languages')))
    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
    Nov 2007
    Posts
    64
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    now not error, but I do not translate the characters

    http://www.mainada.es/demo_bebe/es/el-ba-o-c-9


    Thanks


    Quote Originally Posted by yellow1912 View Post
    @danilovig

    On link.php line 34 you can try this:
    if(empty($languages_code) || !array_key_exists($languages_code, SSUConfig::registry('languages')))

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

    Default Re: Simple SEO URL [support thread]

    Some ftp clients have problem with uploading utf8 content if the settings are not set correctly. Make sure your parse file is uploaded correctly

    And also, your class name should be SSULanguageEs
    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

  8. #8
    Join Date
    Nov 2007
    Posts
    64
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    Is there a way that does not leave "/es" is because I use a single language, and to translate these characters

    http://www.mainada.es/demo_bebe/es/el-ba-o-c-9


    Quote Originally Posted by danilovig View Post
    now not error, but I do not translate the characters

    http://www.mainada.es/demo_bebe/es/el-ba-o-c-9


    Thanks

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

    Default Re: Simple SEO URL [support thread]

    Then you dont have to set multiple languages = on
    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

  10. #10
    Join Date
    Nov 2007
    Posts
    64
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    but then I don't translate these characters? (ñ -> n) ..

    Quote Originally Posted by yellow1912 View Post
    Then you dont have to set multiple languages = on

 

 

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