The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
if ($show['forumdescription']) doesn't work in process_templates_complete
Ok the question is simple the conditional "if ($show['forumdescription'])" always retur false..
this code works Code:
$replace = '<h2 class="forumtitle"><div id="scanu"><a '; $replace .= 'title="<scanu>\' . $forum[\'description\'] . \'</scanu>" '; $replace .= 'href="\' . vB_Template_Runtime::linkBuild("forum", $forum) . \'">\' . $forum[\'title\'] . \'</a></div></h2>'; Code:
$replace = '<h2 class="forumtitle"><div id="scanu"><a '; if ($show['forumdescription']) { $replace .= 'title="<scanu>\' . $forum[\'description\'] . \'</scanu>" '; } $replace .= 'href="\' . vB_Template_Runtime::linkBuild("forum", $forum) . \'">\' . $forum[\'title\'] . \'</a></div></h2>'; |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|