The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
text replacements help
I have this code below...but I also want to have multiple replacements. Like {userid} for example. How can I add multiple replacements to this line of code?
Code:
$test = @str_replace("{username}", $vbulletin->userinfo['username'], $message); Code:
$test = @str_replace("{username}", $vbulletin->userinfo['username'], $message); $test = @str_replace("{userid}", $vbulletin->userinfo['userid'], $message); but it didnt work, and still only outputted the userid and not both |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|