The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
http://www.myforum.com/username -> Profiles (working but needs improvement)
Ok so I've got a way to make http://www.myforum.com/username go directly to a member's vBulletin profile, but I am looking for some help to make it better.
I'm using apache and .htaccess to make the myforum.com/username ReWrite to a custom php script /private_url.php?u=Username which then reverse fetches the userID from the username and uses Header redirection to take them to the profile page. .htaccess Code:
RewriteEngine on Options +FollowSymlinks RewriteBase / RewriteRule ^$ index.php RewriteRule (^[-_A-Za-z0-9\ ]*$) /private_url.php?&u=$1 What I want to do is convert Periods to Spaces... ie: http://www.myforum.com/User.Name goes to the user "User Name" I'm just not sure how/if this is do-able, I believe I need a better RewriteRule. If someone could help me do this, I will release the scripts as a vBulletin mod. |
#2
|
|||
|
|||
Bumping this request up...
|
#3
|
||||
|
||||
But what if there was a user "Bob.Smith" and "Bob Smith"? Both would be valid usernames?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|