Hello!
I have added a new field 'user_website_follow' using method described at:
https://www.minibb.com/forums/5_2171_0.htmlI display user's website as signature using the function in bb_plugins.php as:
function parseUserInfo_user_website(
$web){
if($web!='') {
if($GLOBALS['action']=='userinfo') return "<a href=\"$web\" target=\"_new\" rel=\"nofollow\">$web</a>";
else return "----------------<br><a href=\"$web\" target=\"_new\" rel=\"nofollow\">$web</a>";
}
else return '';
}
The new field (user_website_follow) contains the default value: rel="nofollow"
I tried to incorporate this value into the above function using:
function parseUserInfo_user_website($web){
if($web!='') {
if($GLOBALS['action']=='userinfo') return "<a href=\"$web\" target=\"_new\".$GLOBALS['user_website_follow'].">$web</a>";
else return "----------------<br><a href=\"$web\" target=\"_new\".$GLOBALS['user_website_follow'].">$web</a>";
}
else return '';
}
...but I'm not getting it. The link in sig does not contain the nofollow attribute.
I want to make the value of the new field "null" for some users so their link in sig will not have the nofollow attribute.
How to access the value in the above function?
Thanks