MySpace type User Profile Link

Here you go :)
Add this to the .htaccess in root of example.com


HTML:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ http://Example.com/Forums/member.php?username=$1 [R]

Replace this:

http://Example.com/Forums/


With the link to your forums.
MiahBeSmokin420 said:
Extra little things you can do with this:

Find in navbar template:

HTML:
<!-- breadcrumb, login, pm info -->
Directly Above or if you have a top nav bar then add above that:

HTML:
 <if condition="$show['member']">
<b>My Url: <a href="http://Example.com/$bbuserinfo[username]">Example.com/$bbuserinfo[username]</a>
</b></if>
Which will add:

My Url: Example.com/UserName

Note: this will only be view able to members.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In Register template find:

HTML:
<div class="smallfont" style="margin-bottom:$stylevar[formspacer]px">
                <strong>$vbphrase[username]</strong>:<br />
Add above:

HTML:
<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>
Changing Example.com to the domain you are going to use to shorten profile links with.

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.
 
Back
Top