![]() |
MySpace type User Profile Link
Tested with vb 3.6.7 and 3.6.8
Tested on IE7 and FF2 Ok lets say your site is: http://Example.com/Forums/ And the path to members profiles is even longer: http://Example.com/Forums/member.php...xampleUserName Well lets give your members a smaller and easy link to remember. How about: http://Example.com/Username Oh ya thats alot better huh? Ok well this is how you do it. Add this to the .htaccess in root of example.com HTML Code:
RewriteEngine On http://Example.com/Forums/ With the link to your forums. All members and guests will be able to go to: http://Example.com/ThereUserName And automatically be forwarded to the profile of the user name they entered after the site link. Thats it just one easy .htaccess file edit and your done. NOTE: Want to use a diffrent domain like: http://ExampleTwo.com/UserName Just add the .htaccess file to that domain instead just make sure that whats in red below links to your site RewriteRule ^(.*)$ http://Example.com/Forums/member.php?username=$1 Enjoy and click install if you use this mod. Also Some Credit to Eikinskjaldi for pointing me in the right way to get this working. |
Extra little things you can do with this:
Find in navbar template: HTML Code:
<!-- breadcrumb, login, pm info --> HTML Code:
<if condition="$show['member']"> My Url: Example.com/UserName Note: this will only be view able to members. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In Register template find: HTML Code:
<div class="smallfont" style="margin-bottom:$stylevar[formspacer]px"> HTML Code:
<BR><strong>Your user name will also be your permanent link to your profile and can not be changed.<BR>Example: http://Example.com/YourUserName</strong><BR><BR> Which will add a small note during registration letting soon to be new members know that there user name will also be used as part of the link to there profile. Hope that this info is useful to you and remember to click install if you use this mod. |
Any ScreenShot Please
|
how are you going to have a screen shot for a link???
the closest your are going to get to a screen shot is look at my signature on here and you will see that it says my profile link and then once you click on the it will redirect you to my profile but my site is closed right now while we are updating alot of things but its a link you ready dont need a screen shot just upload the .httaccess to your public_html after you put replace the link with your forum link like it says and then just go to that domain /yourusersname |
also if your user name has a space make sure you type the space in the url when you try to go to it or else it will say some dumb stuff
|
Quote:
|
What is the difference with this and this: https://vborg.vbsupport.ru/showthread.php?t=165986
Thanks ;) |
Quote:
That other one will not allow usernames with special characters, only numbers and letters. |
Quote:
|
Quote:
Quote:
Does this also change the url noted in the profile to reflect the new url? |
All times are GMT. The time now is 02:45 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|