The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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) Code:
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:)
I don't expect people to post loads of code, if it requires a huge huge modification just say so. Thanks for your help! |
![]() |
|
|