| :: |
| Author |
Message |
emma1989

Joined: 17 Sep 2007 Posts: 22
|
|
| Back to top |
|
 |
|
 |
emielvenlo PR0


Joined: 21 Jan 2007 Posts: 79
|
Posted: Mon Sep 17, 2007 9:14 pm Post subject: Re: username in viewprofile mod_rewrite |
|
|
I dont think it is possible to lose the userid but i think its possible to make a url like: http://www.example.com/325/emma1989.html
We'll wait for dcz, he can tell if it is possible |
|
|
| Back to top |
|
 |
emma1989

Joined: 17 Sep 2007 Posts: 22
|
Posted: Mon Sep 17, 2007 10:23 pm Post subject: Re: username in viewprofile mod_rewrite |
|
|
cool  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14131
|
Posted: Tue Sep 18, 2007 11:27 am Post subject: Re: username in viewprofile mod_rewrite |
|
|
And welcome
I knew this feature would be asked, since phpBB3 profiles are a lot more interesting than the phpBB2 ones, they could be worth showing up a bit more. But this implies that you allow guest to see them, which can cause other problems (spam mainly).
As well, title injection will only fully work for latin characters, so the URL won't necessarily be exactly the user name. For example bob and b(o)b would end up the same in URLs : bob, which is why we won't be able to get rid of the user ID.
Then, the problem with user name injection is that phpBB is using them in many places. So it could imply quite some code changes for not this much. I'll take a look at it, and may release an add on to do so.
Can be useful for some, but not necessarily worth it for most, an add on could be great though.
++ |
_________________ 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 |
|
 |
emma1989

Joined: 17 Sep 2007 Posts: 22
|
Posted: Tue Sep 18, 2007 1:39 pm Post subject: Re: username in viewprofile mod_rewrite |
|
|
| Quote: | | I knew this feature would be asked, since phpBB3 profiles are a lot more interesting than the phpBB2 ones, they could be worth showing up a bit more. But this implies that you allow guest to see them, which can cause other problems (spam mainly). |
You can get around that And im happy to do so
| Quote: | | As well, title injection will only fully work for latin characters, so the URL won't necessarily be exactly the user name. For example bob and b(o)b would end up the same in URLs : bob, which is why we won't be able to get rid of the user ID. |
You could add the user ID with the user name, or add form validation to register page to prevent invalid characters for a URL.
| Quote: | Then, the problem with user name injection is that phpBB is using them in many places. So it could imply quite some code changes for not this much. I'll take a look at it, and may release an add on to do so.
Can be useful for some, but not necessarily worth it for most, an add on could be great though. |
Great! I'm sure it could just be a matter for htaccess and minimizing code changes I will expect the add on soon... thanks so much!
xx |
|
|
| Back to top |
|
 |
coyote phpBB SEO Team

Joined: 11 May 2007 Posts: 72
|
Posted: Tue Sep 18, 2007 3:08 pm Post subject: Re: username in viewprofile mod_rewrite |
|
|
This is a great thread and I am subscribing to it. It was going to be my next question.  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14131
|
|
| Back to top |
|
 |
emma1989

Joined: 17 Sep 2007 Posts: 22
|
Posted: Thu Sep 20, 2007 1:44 pm Post subject: Re: username in viewprofile mod_rewrite |
|
|
Thanks! I will keep checking this topic xx |
|
|
| Back to top |
|
 |
emma1989

Joined: 17 Sep 2007 Posts: 22
|
Posted: Sat Sep 29, 2007 9:37 pm Post subject: Re: username in viewprofile mod_rewrite |
|
|
this could be a development - in profile, press "view all posts by this user" - the username, not user id of the user is used in the url!  |
|
|
| Back to top |
|
 |
emma1989

Joined: 17 Sep 2007 Posts: 22
|
Posted: Wed Oct 03, 2007 9:00 pm Post subject: Re: username in viewprofile mod_rewrite |
|
|
Its quite easy to do a quick mod_rewrite to get the username , though the setbacks discussed mean it would only be good on a new forum in which username validation on registration was used not allowing certain characters in usernames I did it, and I dont think dcz taking up a lot of time on the mod would benefit many people  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14131
|
|
| Back to top |
|
 |
|
|