The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
getting userid and usergroupid in function_parsebbcode
Hello All
Is it possible to get $bbuserinfo['userid'] and $bbuserinfo['usergroupid'] into a customized bbcode function? I create a customized bbcode function called Code:
functions_bbcodeparse_m_player.php Code:
require_once('./includes/functions_bbcodeparse_m_player.php'); Code:
function_bbcodeparse.php Code:
$userid=$bbuserinfo['userid']; Code:
functions_bbcodeparse_m_player.php Would you please show me how to get this id Thanks for reading my post |
#2
|
|||
|
|||
Just check out my Conditional BB-Code hack (see my sig).
Have a look at the [noguest] example. But my guess is that you forget to use a "global $bbuserinfo;" |
#3
|
||||
|
||||
Wow
Thanks MarcoH64, I got it. You are right. I forgot the global statement. Thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|