The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Use Variables (eg: $bbuserinfo[username]) in posts?
I know this isn't possible without some kind of alteration to the php files or plugin, but I was hoping someone could help me out.
In this thread: https://vborg.vbsupport.ru/showthread.php?t=81759 There's a code how to do use the username variable within signatures: Code:
Edit includes/functions_showthread.php, find: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $post['signature'] = parse_bbcode($post['signature'], 'nonforum', $vboptions['allowsmilies']); -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= AFTER THAT add: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // Logician Hack : Admin signatures parsed for vb variables if ($post['usergroupid']==6) { @eval('$post[signature] = "' . addslashes($post['signature']) . '";'); $post['signature'] = stripslashes($post['signature']); } // Logician Hack : Admin signatures parsed for vb variables -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= That's all. ;) Logician \\=^)) I appreciate the help! If you wish to help out . |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|