View Full Version : Profile Enhancements - Ads in Memberinfo
Kolbi
09-10-2009, 10:00 PM
Search in the template Memberinfo
$blocks[stats_mini]
Add after:
<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>
The attached product is for people who use the TMS.
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 (http://www.2-wheel-planet.de/members/kolbi.html)
My CTR is about 1,06% with a 200x200 image.
t6mnt
09-11-2009, 10:35 AM
thanks :)
Kolbi
09-11-2009, 10:44 AM
No problem...
Please click install :)
matthewhotdude
09-16-2009, 04:00 PM
Did it but the add won't show up....it's just blank
<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>
Kolbi
09-16-2009, 05:37 PM
You have forgot the 2 closing div?s.
Try:
<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>
Kolbi
11-08-2009, 02:16 PM
My CTR is about 1,06% with a 200x200 image.
jimsflies
11-22-2009, 09:40 PM
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?
Kolbi
11-23-2009, 09:41 AM
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?
You are right :)
If it is need it can include more function like editing the settings via vB settings.
If it is wished... :)
ShawneyJ
11-23-2009, 11:36 AM
still using this one. works for 3.7/3.8
https://vborg.vbsupport.ru/showthread.php?t=174640&highlight=paulsonny
but thanks.
jimsflies
11-23-2009, 07:02 PM
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.
Palace55
11-25-2009, 02:50 AM
Can I see a screenshot, or a preview of it please? Thanks!
Kolbi
11-25-2009, 03:59 AM
Live preview: http://www.2-wheel-planet.de/members/kolbi.html
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.