vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Show Thread Enhancements - Put - Embed Google AdSense inside - beside - in first post [Just template edit] (https://vborg.vbsupport.ru/showthread.php?t=222389)

abdobasha2004 09-02-2009 10:00 PM

Put - Embed Google AdSense inside - beside - in first post [Just template edit]
 
1 Attachment(s)
This template edit will make any adsense code or even any advertisement code run beside and embedded in the first post of showthread

as seen on : http://www.nmisr.com/vb/ - e.g : http://www.nmisr.com/vb/showthread.php?t=34327

screen shot :
http://img338.imageshack.us/img338/364/adso.jpg
Value :
1- Markedly increases CTR
2- better look than other places
3- Any code can be implemented
4- Other Ad networks also can be used, you can put any thing beside every first post

Steps :
Find template : postbit
Find :
Code:

<!-- message -->
After it put :
Code:

<if condition="(($post[postcount] % $vboptions[maxposts] == 1))">
      <div class="postbit_adcode">
<span style="float: right; width: 340px; height: 285px;">
                        Your Code Goes Here
</span>
</div>
</if>

you should notice that you can edit values in Green to suit your ad.
float : right or left ... as you like
width : ad width in pixels (usually give some extra 3 or 5 pixles for better look)
height : ad height in pixels (usually give some extra 3 or 5 pixles for better look)

elzarie 09-03-2009 06:19 PM

Thanks abdo
جامد اوي المودفيكشن دا

avsunforum 09-03-2009 08:20 PM

thanks :)

bakry3d 09-03-2009 09:03 PM

شكرا الك يا مان

m2006 09-04-2009 04:05 AM

thank you good

saso2.com 09-04-2009 06:36 AM

thank you
جامد يا عبده يعطيك الف عافيه

Sureshkumar 10-03-2009 03:43 AM

Cool Dude. it worked great

imported_silkroad 10-03-2009 05:47 AM

Nice and simple, thanks abdobasha2004.

OBTW, abdobasha2004,

What was your actual increase in CTR?

imported_silkroad 10-03-2009 06:05 AM

PS: One issue with this template mod is that the Quote button inside the post no longer appears at the bottom of the page when the size (height) of the text in the post is less than the height of the placement.

maxie 10-08-2009 03:33 AM

not work for me...

i want to put here

http://img44.imageshack.us/img44/3381/snap288.png

but not visible

here is my code

Code:

<if condition="(($post[postcount] % $vboptions[maxposts] == 1))">
      <div class="postbit_adcode">
<span style="float: right; width: 250px; height: 250px;">
                        <script type="text/javascript"><!--
google_ad_client = "pub-2822467022212632";
/* 250x250, created 10/7/09 gsm-phone */
google_ad_slot = "2149853735";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</span>
</div>
</if>


any idea please


All times are GMT. The time now is 03:09 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01184 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete