Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 04-03-2007, 07:35 AM
Satana666 Satana666 is offline
 
Join Date: Feb 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 3.6.x Adsense afer every post

Hello all I would like to know if exist or can someone help me to create a modification to put a small adsense after every post in my forum.
I searched already here but I only find after 1 only or after last or after 5/10/15 ecc
Address is www.theocseries.com/forums and I've 15 post per page.

Please help me
Reply With Quote
  #2  
Old 04-03-2007, 07:45 AM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Stupid as it sounds that I'm not sure, but I think you can do that with mine.

https://vborg.vbsupport.ru/showthread.php?t=131150

After every single post, really? Gosh.
Reply With Quote
  #3  
Old 04-03-2007, 08:08 AM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Satana666 View Post
Hello all I would like to know if exist or can someone help me to create a modification to put a small adsense after every post in my forum.
I searched already here but I only find after 1 only or after last or after 5/10/15 ecc
Address is www.theocseries.com/forums and I've 15 post per page.

Please help me


You better read Google's Adsense TOS and find out how many ads you can have PER page, you are only allowed up to 3 ads only per page:

Quote:

https://www.google.com/adsense/suppo...=link&hl=en_US


Ad Placement
AdSense offers a number of ad formats and advertising products. Publishers are encouraged to experiment with a variety of placements, provided the following policies are respected:
  • Up to three ad units may be displayed on each page.
  • A maximum of two Google AdSense for search boxes may be placed on a page.
  • A single link unit may also be placed on each page.
  • Up to two referral units from each referral product or offering may be displayed on a page, in addition to the ad units, search boxes, and link units specified above.
  • AdSense for search results pages may show only a single ad link unit in addition to the ads Google serves with the search results. No other ads may be displayed on your search results page.
  • No Google ad or Google search box may be displayed in a pop-up, pop-under, or in an email.
  • Elements on a page must not obscure any portion of the ads.
  • No Google ad may be placed on any non-content-based pages.
  • No Google ad may be placed on pages published specifically for the purpose of showing ads, whether or not the page content is relevant.
Just fair warning
Reply With Quote
  #4  
Old 04-03-2007, 08:09 AM
Satana666 Satana666 is offline
 
Join Date: Feb 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes redtyger, after every single post.
I see that product, I don't need a table to put in adsense i think only a div code, and i would put ad between posts only and non also in thread ecc..
only a simple thing or a simple code to put in a template if exist

Quote:
Originally Posted by blogtorank View Post
You better read Google's Adsense TOS and find out how many ads you can have PER page, you are only allowed up to 3 ads only per page:



Just fair warning
Ok thank you I'm not boss of adsense in my forum , I know that my friend (the boss) create various link for adsense, so all differents.
I tried to have the same for 3 times but only 1 allowed
Reply With Quote
  #5  
Old 04-03-2007, 09:46 AM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wait, what am I thinking? Just put the advertisement at the bottom of the postbit template. It will appear with every post. If you want to exclude it appearing with private messages, surround your advertisement code with this:

<if condition="THIS_SCRIPT == 'private'">
YOUR AD CODE
</if>
Reply With Quote
  #6  
Old 04-03-2007, 11:14 AM
Satana666 Satana666 is offline
 
Join Date: Feb 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nope thank you the same, it work for 1st post, second a white stripe, from 3rd anymore....
Reply With Quote
  #7  
Old 04-03-2007, 11:52 AM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's because it's impossible to have more than 3 examples of adsense on the page. They control that, not you. And sometimes you might not even get three. But what I said will put whatever you choose with every post.
Reply With Quote
  #8  
Old 04-04-2007, 07:46 AM
Satana666 Satana666 is offline
 
Join Date: Feb 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you for your availability redtyger!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:40 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04549 seconds
  • Memory Usage 2,224KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete