Hi Guys,
I'm trying to work with this code... itself....
Code:
Open your postbit(legacy) template: vBulletin AdminCP > Styles & Templates > Edit Templates > Postbit Templates > postbit(legacy)
(First post and last shown post)
Find:
<!-- / message -->
Add below:
<if condition="(($post[postcount]==1) or ($post[islastshown] and !$GLOBALS['vbulletin']->GPC['ajax']))">
<center>
<script type="text/javascript"><!--
google_ad_client = "youradsensecode";
google_alternate_ad_url = "http://www.yourwebsite.com/collapsible_ad.html";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="yourchannelcode";
google_color_border = "F5F5FF";
google_color_bg = "F5F5FF";
google_color_link = "FF0000";
google_color_url = "000000";
google_color_text = "22229C";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>
</if>
However I got few questions to ask very quickly...
in
1) "youradsensecode" part do I put it in my google adsense pub-id? Or is it the full code that goes with it?
and
2) what do I put in here? :-- "yourchannelcode"
3) and how do I put in a usergroup permissions in here? Do I just add this code:
<if condition="is_member_of($bbuserinfo, X, Y, Z)">
AFTER
<if condition="(($post[postcount]==1) or ($post[islastshown] and !$GLOBALS['vbulletin']->GPC['ajax']))">
4) I'm using vB 3.8.x .. Is this going to stuff anything up?
Please let me know... Thanks...!