The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
"Compiled template"
Hi everybody! Let's start
Here what kh99 Quote:
I tried your code (FOR SHOWTHREAD) and it gets me a blank text file, so nothing This is the code that i need to "convert" Code:
<vb:comment><h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2></vb:comment> <h2 class="forumtitle"><div id="scanu"><a <vb:if condition="$show[\'forumdescription\']">title=\'<scanu>{vb:raw forum.description}</scanu>\'</vb:if> href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></div></h2> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> <script src="http://cdn.jquerytools.org/1.2.6/all/jquery.tools.min.js"></script> <script> $("#scanu a[title]").tooltip({ position: \'center right\', effect: \'slide\' }); </script> <style> scanu { background:black; color:white; padding: 5px 10px; -moz-border-radius: 8px; -webkit-border-radius: 8px; filter:alpha(opacity=68); -moz-opacity:.68; opacity:.68; } </style> thanks in advance --------------- Added [DATE]1324331782[/DATE] at [TIME]1324331782[/TIME] --------------- I see the database and i've tried this code Code:
$find = '<h2 class="forumtitle"><a href="' . vB_Template_Runtime::linkBuild("forum", $forum) . '">' . $forum['title'] . '</a></h2>'; $replace = ' <h2 class="forumtitle"><div id="scanu"><a title=\'<scanu>' . $forum['description'] . '</scanu>\' href="' . vB_Template_Runtime::linkBuild("forum", $forum) . '">' . $forum['title'] . '</a></div></h2> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> <script src="http://cdn.jquerytools.org/1.2.6/all/jquery.tools.min.js"></script> <script> $("#scanu a[title]").tooltip({ position: \'center right\', effect: \'slide\' }); </script> <style> scanu { background:black; color:white; padding: 5px 10px; -moz-border-radius: 8px; -webkit-border-radius: 8px; filter:alpha(opacity=68); -moz-opacity:.68; opacity:.68; } </style>'; $vbulletin->templatecache['forumhome_forumbit_level2_post'] = str_replace($find, $replace, $vbulletin->templatecache['forumhome_forumbit_level2_post']); --------------- Added [DATE]1324332260[/DATE] at [TIME]1324332260[/TIME] --------------- Code:
$find = '' . $forum['title'] . ''; $replace = ''; $vbulletin->templatecache['forumhome_forumbit_level2_post'] = str_replace($find, $replace, $vbulletin->templatecache['forumhome_forumbit_level2_post']); Code:
$find = 'test'; $replace = ''; $vbulletin->templatecache['forumhome_forumbit_level2_post'] = str_replace($find, $replace, $vbulletin->templatecache['forumhome_forumbit_level2_post']); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|