The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Creating a plugin to insert conditionals not working
Here is a sample of some working code
Code:
$find = 'class=\"afterlogo\">'; $replace = '<a href=\"forum/vote.php\" target=\"_blank\" title=\"Vote Today!\" style=\"text-decoration:none\"><img border=\"0\" src=\"1009.gif\"><br>Vote Today!</a>'; $vbulletin->templatecache['header'] = str_replace($find, $find . $replace, $vbulletin->templatecache['header']); Code:
<if condition="$userinfo['canvote']"> Vote Today! </if> How can I accomplish what I'm trying to do? |
#2
|
||||
|
||||
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|