vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Show Thread Enhancements - Adsense as second post. 2 Sizes - Big for guests, small for members (https://vborg.vbsupport.ru/showthread.php?t=136743)

Mrdby 04-18-2007 03:42 PM

what do u mean? I thought soon as I ad that code..the ads should come up? I did just add google ad at the footer of my forum and they start running asap.

StarBuG 04-19-2007 03:47 AM

Read the adsense FAQ.

This is not a problem of this modification, it is a normal adsense behavior

Mrdby 04-19-2007 03:49 AM

Quote:

Originally Posted by StarBuG (Post 1230985)
Read the adsense FAQ.

This is not a problem of this modification, it is a normal adsense behavior

So how long does it take?

StarBuG 04-19-2007 02:45 PM

Normaly 3-5 days.

Take a read in the forum I suggested above.
You'll find every question answered there plus hundrets of tips to improve your adsense earnings. ;)

StarBuG 05-06-2007 07:43 AM

I have changed the condition to show the advertising on every page as second post, not just on page one.

The old condition was:
Code:

<if condition="THIS_SCRIPT == 'showthread' AND  $post[postid] == $GLOBALS['qrfirstpostid'] AND ($show[member])">
the new condition is:
Code:

<if condition="THIS_SCRIPT == 'showthread' AND !$GLOBALS['FIRSTPOSTID'] AND ($show[member])">
Simply replace the old conditions (2x) with the new one and the ads will show on every page of every thread as second post.

StarBuG

The hack is now version 1.1

Best regards

StarBuG

Propozime 06-09-2007 10:09 PM

hi guys i done everything what is sayis in the install pack but nothing is showing up can some one help me please

StarBuG 06-10-2007 08:46 AM

Do you use an adblock software?

Propozime 06-10-2007 09:12 AM

i fixt this thanks :)

StarBuG 06-10-2007 09:29 AM

You'r welcome ;)

StarBuG 06-11-2007 09:52 AM

I have just released an add-on for this mod.


ADD-ON:
In addition you can add a Google Adsense link unit as last post of a thread on any page for members and guests. This advertising will only show if the thread has more then one post so that it does not show 2 advertisings directly below each other in case that the thread has no replies yet. Google Adsense has updated its ToS so that you are now allowed to use up to three link units on one page. So if you already use my "Adsense Link Unit in Navbar" Mod there woun't be a problem.

I hope you like it.

Let me know how it works out ;)

StarBuG


All times are GMT. The time now is 12:02 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.01108 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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