2008-08-26, 08:37 PM
Okay, the question might sound weird, but here's what I actually want to do, I want to make it so, that when I type the users name right after the forum name in the URL box in my browser, it displays their profile, this is done on vBulletin like I showed below, for example:
The problem is, there is no ?username= thing in member.php, how would I add that, and how would I make it translate the username to id? or whatever?
This
http://yourforum.com/Katrin
would go to:
http://yourforum.com/member.php?username=Katrin
And so for any other user on the forum.
So I could use this htaccess code which was made for vBulletin:
The problem is, there is no ?username= thing in member.php, how would I add that, and how would I make it translate the username to id? or whatever?
This
http://yourforum.com/Katrin
would go to:
http://yourforum.com/member.php?username=Katrin
And so for any other user on the forum.
So I could use this htaccess code which was made for vBulletin:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^$ index.php
RewriteRule (^[-_A-Za-z0-9\ ]*$) member.php?&username=$1