The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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 .
|
|
#2
|
||||
|
||||
|
You're quite right: That code is ten years old and deprecated.
Why not use https://vborg.vbsupport.ru/showthread.php?t=208538 Is that not what you want? Should work with vB4, too. |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|