vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Show Thread Enhancements - Display ads in the reply box (https://vborg.vbsupport.ru/showthread.php?t=253555)

final kaoss 11-11-2010 10:00 PM

Display ads in the reply box
 
1 Attachment(s)
First go to your Style Manager and open the skin of your choice.

Expand the Editor Templates and open editor_clientscript

Find

Code:

<!-- Editor Scripts -->
Below that add your adsense code like so. (do not copy this adsense ad, instead add your own adsense leaderboard that is 728 x 90) And don't forget to add center tags.

Code:

<center>
<script type="text/javascript"><!--
google_ad_client = "pub-*****************";
/* 728x90, created on a certain day */
google_ad_slot = "not saying";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>


Here is where your new ads will be found.

Brandon Sheley 11-12-2010 03:26 PM

interesting placement
do you members not mind the ads?

final kaoss 11-12-2010 03:30 PM

Haven't had one complaint so far and they've been in the editor for about 8 months now :D

It used to be below the icon legend.... but how often do you find yourself scrolling down that far lol.

M@rc 11-17-2010 12:21 AM

Quote:

Originally Posted by extreme-gaming (Post 2121005)
Haven't had one complaint so far and they've been in the editor for about 8 months now :D

That's great, but your members might not share the same opinion as other forum owner's members, :(

This is an interesting placement, as Loco said. Nice tutorial, :)

BadgerDog 11-18-2010 11:51 AM

Great idea .. :)

Tried some testing on our v4.04 and unfortunately, it seems to to cause the right border of the ad to "spill" over the border of the screen when attempting "New Thread"...

Size is correct?

Code is:

Code:

<center><script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxx";
/* 728x90, created 1/4/10 */
google_ad_slot = "999999999";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center>

Regards,
Doug

schlottkej 11-18-2010 02:19 PM

Quote:

Originally Posted by M@rc (Post 2122629)
That's great, but your members might not share the same opinion as other forum owner's members, :(

Heh... he can't really speak for other communities...

final kaoss 11-18-2010 04:15 PM

Can you give me a screenshot or link? Are you using a style that isn't very wide?

Yes the size that I linked is correct, it's a copy from the screenshots I took.

Quote:

Originally Posted by BadgerDog (Post 2123146)
Great idea .. :)

Tried some testing on our v4.04 and unfortunately, it seems to to cause the right border of the ad to "spill" over the border of the screen when attempting "New Thread"...

Size is correct?

Code is:

Code:

<center><script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxx";
/* 728x90, created 1/4/10 */
google_ad_slot = "999999999";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center>

Regards,
Doug


BadgerDog 11-22-2010 11:31 AM

Quote:

Originally Posted by extreme-gaming (Post 2123231)
Can you give me a screenshot or link? Are you using a style that isn't very wide?

Yes the size that I linked is correct, it's a copy from the screenshots I took.

I went with a smaller horizontal Adsense ad and that worked ... thanks .. :)

Still testing to see if it adds value to our forums or not ...

Appreciate your efforts ... :up:

Regards,
Doug

final kaoss 11-23-2010 08:32 PM

no problem enjoy!

final kaoss 12-23-2010 10:32 PM

*bumped


All times are GMT. The time now is 04:11 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.01074 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
  • (4)bbcode_code_printable
  • (4)bbcode_quote_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