| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
Young
Joined: 09 Mar 2008 Posts: 1
|
Posted: 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

Joined: 28 Apr 2006 Posts: 14279
|
Posted: 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 |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |