phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
Special signs in address of profile

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite  » Advanced SEO URL
::  
Author Message
Young



Joined: 09 Mar 2008
Posts: 1

Special signs in address of profilePosted: Sun Mar 09, 2008 6:55 am    Post subject: Special signs in address of profile

How to alter:
-http://www.forum......./user/@Admin
on
-http://www.forum......./user/aadmin

Code:
that is what to alter in
   /**
   * Prepare profile url
   */
   function set_user_url( $username, $user_id = 0 ) {
      if (empty($this->seo_url['usermsg'][$username])) {
         $this->seo_url['username'][$username] = $user_id;
         if ( $this->seo_opt['profile_inj'] ) {
            if ( $this->seo_opt['profile_noids'] ) {
               $this->seo_url['user'][$user_id] = $this->seo_static['user'] . '/' . $username;
               $this->seo_url['usermsg'][$user_id] = $this->seo_static['usermsg'] . '/' . $username;
            } else {
               $username = $this->format_url( $username,  $this->seo_delim['user'] );
               $this->seo_url['user'][$user_id] = $username . $this->seo_delim['user'] . $user_id . $this->seo_ext['user'];
               $this->seo_url['usermsg'][$user_id] = $username . $this->seo_delim['usermsg'] . $user_id;
            }
         }
      }
   }


he to sign "@" be exchanged on "a"
as well as the exchange of great signs on small

I thank. I greet.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

Special signs in address of profilePosted: Wed Mar 12, 2008 1:56 pm    Post subject: Re: Special signs in address of profile

Well, as explained in the install, id removing for profile is really meant for forum only allowing alphanumeric chars for nicknames.
There is not much to do about it, we cannot set special replacement because nicknames must be unique, for example in your case, what about if both account do really exists, @admin and aadmin ?

It would be impossible to determine which profile to load with the replacement you suggest.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite  » Advanced SEO URL
Page 1 of 1

Navigation Similar Topics

Jump to: