PDA

View Full Version : Disable links on "active member" names?


sross
01-04-2007, 05:34 AM
I display a box of active members on my homepage and am worried search spiders will be clicking the names. Is there a way I can keep the names but have them text only? Thanks

calorie
01-04-2007, 05:49 AM
If you mean forum home, in the vB forumhome_loggedinuser template find:

<a href="member.php?$session[sessionurl]u=$loggedin[userid]" rel="nofollow">$loggedin[musername]</a>

And replace with the following:

<if condition="THIS_SCRIPT == 'index'">$loggedin[musername]<else /><a href="member.php?$session[sessionurl]u=$loggedin[userid]" rel="nofollow">$loggedin[musername]</a></if>

If you mean somewhere else that uses forumhome_loggedinuser, change the following to suit:

THIS_SCRIPT == 'index'