Log in

View Full Version : user banning and nofollow questions


Nick0r
02-09-2005, 05:53 PM
OK a few things...

a) how can I make it so that on the user options page there is a link to ban the user (as an admin) rather than having to click through to user options and enter my admin pass, what variables can do this...

b) how can I make vbulletin send an email to a user once he's been banned

c) if ($type == 'url')
{
global $bbuserinfo;

if (is_member_of($bbuserinfo, 6))
{
// standard URL hyperlink
return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
}
else
{
return "<a href=\"$rightlink\" rel=\"nofollow\" target=\"_blank\">$text</a>";
}
}
else
{
// email hyperlink (mailto:)

Why is this still adding a nofollow link to my urls even though I'm an admin? See the bottom of http://www.cardschat.com/t52837-poker-inside-the-aquarium.html for an example

I don't expect people to post loads of code, if it requires a huge huge modification just say so.

Thanks for your help!