The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Can someone help me with this. I am trying to add google to the vBadvanced CMPS v2.1.0 but am having no luck.
here is what I am using. From vBadvanced's page Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat smallfont" style="font-weight: bold;"><a style="float: $stylevar[right]" href="#" onclick="return toggle_collapse('forumhome_$mods[filename]')"><img id="collapseimg_forumhome_$mods[filename]" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_randomtopic].gif" width="15" height="15" border="0" alt="Collapse/Expand" /></a>$vba_options[portal_blockbullet] $mods[title]</td>
</tr>
</thead>
<tfoot style="display: none;"></tfoot>
<tbody id="collapseobj_forumhome_$mods[filename]">
<tr style="$vbcollapse[collapseobj_forumhome_randomtopic]">
<td class="$getbgrow">
<center><script type="text/javascript"><!--
google_ad_client = "pub-XXX";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_as";
google_ad_channel ="";
google_color_border = "669966";
google_color_bg = "99CC99";
google_color_link = "000000";
google_color_url = "00008B";
google_color_text = "336633";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center>
</td>
</tr>
</tbody>
</table>
<br />
|
|
#2
|
|||
|
|||
|
You're missing the necessary table stuff for modules. You need to add:
Code:
<tr><td> at the top of the template. </td></tr> at the bottom of the template. |
|
#3
|
|||
|
|||
|
cool thanks!
|
|
#4
|
||||
|
||||
|
Quote:
With the advent of the new 'Generic Module Shell' option in the CMPS 2.x series the module template now requires it to be encapsulated inside of a the <tr><td>{content}</td></tr> format. Modules that don't use the generic shell don't need the extra tags.
|
|
#5
|
|||
|
|||
|
Awesome. Do either of you know how i can get my Custom BB templates to open in the same window? They all open in a new wondow now.
Thanks! Ryan |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|