The Arcive of vBulletin Modifications Site. |
|
Ads in Memberinfo Details »»
|
|||||||||||||||||||||||||||
Search in the template Memberinfo
Code:
$blocks[stats_mini] Code:
<div id="ads" class="tborder content_block">
<h4 class="thead block_title">
<a href="#top" class="collapse_gadget" onclick="return toggle_collapse('ads')"><img id="collapseimg_ads" src="$stylevar[imgdir_button]/collapse_generic{$vbcollapse['collapseimg_ads']}.gif" alt="" border="0" /></a>
<a name="ads"></a>
<span class="block_name">Ads</span>
</h4>
<div class="block_content" id="collapseobj_ads" align="center">
<table cellpadding="0" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center">
<tr>
<td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr align="center">
<td class="alt1">Your Ad Code...</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</div>
Product and template edits will be included automatically then. After importing addon please add in the TMS your ad code! It will look like: Demo My CTR is about 1,06% with a 200x200 image. Download Now
Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
thanks
|
|
#3
|
|||
|
|||
|
No problem...
Please click install
|
|
#4
|
|||
|
|||
|
Did it but the add won't show up....it's just blank
Code:
<div id="ads" class="tborder content_block">
<h4 class="thead block_title">
<a href="#top" class="collapse_gadget" onclick="return toggle_collapse('ads')"><img id="collapseimg_ads" src="$stylevar[imgdir_button]/collapse_generic{$vbcollapse['collapseimg_ads']}.gif" alt="" border="0" /></a>
<a name="ads"></a>
<span class="block_name">Ads</span>
</h4>
<div class="block_content" id="collapseobj_ads" align="center">
<table cellpadding="0" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center">
<tr>
<td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr align="center">
<td class="alt1"><script type="text/javascript"><!--
google_ad_client = "pub-3010515223597560";
/* 200x200, created 16/09/09 */
google_ad_slot = "9446574801";
google_ad_width = 200;
google_ad_height = 200;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
</tr>
</table>
|
|
#5
|
|||
|
|||
|
You have forgot the 2 closing div?s.
Try: Code:
<div id="ads" class="tborder content_block">
<h4 class="thead block_title">
<a href="#top" class="collapse_gadget" onclick="return toggle_collapse('ads')"><img id="collapseimg_ads" src="$stylevar[imgdir_button]/collapse_generic{$vbcollapse['collapseimg_ads']}.gif" alt="" border="0" /></a>
<a name="ads"></a>
<span class="block_name">Ads</span>
</h4>
<div class="block_content" id="collapseobj_ads" align="center">
<table cellpadding="0" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center">
<tr>
<td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr align="center">
<td class="alt1"><script type="text/javascript"><!--
google_ad_client = "pub-3010515223597560";
/* 200x200, created 16/09/09 */
google_ad_slot = "9446574801";
google_ad_width = 200;
google_ad_height = 200;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
</tr>
</table>
</div>
</div>
|
|
#6
|
|||
|
|||
|
My CTR is about 1,06% with a 200x200 image.
|
|
#7
|
|||
|
|||
|
If I'm not using TMS, does the product do anything? For example set up a place in admincp to change the ad or enable/disable? Assuming the answer is no, I would just need to manually edit the template, correct?
|
|
#8
|
|||
|
|||
|
Quote:
![]() If it is need it can include more function like editing the settings via vB settings. If it is wished...
|
|
#9
|
||||
|
||||
|
still using this one. works for 3.7/3.8
https://vborg.vbsupport.ru/showthrea...ight=paulsonny but thanks. |
|
#10
|
|||
|
|||
|
It would be cool if you could change the ad code from within the admincp and enable/disable the hack. Maybe as an advanced setting enable/disable for various usergroups.
I'm personally not planning to put ads in this spot but rather use it for a place to put announcements and site features. So having a place in admincp to easily change the graphic and associated link would be nice. |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|