Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Let users submit their own Adsense Adverts in posts Details »»
Let users submit their own Adsense Adverts in posts
Version: 1.00, by Foulish_Mitch Foulish_Mitch is offline
Developer Last Online: Mar 2009 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.6.8 Rating:
Released: 09-10-2007 Last Update: Never Installs: 1
 
No support by the author.

This is my first "release" and it's pretty simple.

This BBCode lets users post their own adsense code in their posts/threads.

By posting [ad]ACCOUNT CODE HERE[/ad]

----

Title: User Advertisment

Tag: ad

Replacement:
HTML Code:
<script type="text/javascript"><!-- google_ad_client = "{param}"; google_ad_width = 728; google_ad_height = 90; google_ad_format = "125x125_as"; google_ad_type = "text_image"; //2007-08-20: HW-Forum.Net google_ad_channel = "1395103917"; google_color_border = "000000"; google_color_bg = "333333"; google_color_link = "7b7b7b"; google_color_text = "717171"; google_color_url = "717171"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
Description: Insert Adsense in your posts

Use {option}: No

---

Usage: Enter your "PUB" code (Find it in your second line, it's the second line: google_ad_client = "pub-******************"; ) into the [ad] tags.

If you need any help. or I haven't explained it properly, please feel free to ask.

Ensure you leave the letters "Pub" in!

Tip: Edit the code accordingly to change the look and feel of adverts to better suit your forum template.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 09-11-2007, 08:56 PM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting. Thanx for sharing

Jacquii.
Reply With Quote
  #3  
Old 09-11-2007, 11:57 PM
993ti 993ti is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Won't this be against TOS if more then 1 user will use this on the same page?
Reply With Quote
  #4  
Old 09-12-2007, 06:19 AM
a1whs.com a1whs.com is offline
 
Join Date: Feb 2006
Location: Canada of Course
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 993ti View Post
Won't this be against TOS if more then 1 user will use this on the same page?
Yup but than again different accounts will be showing ads though, not single account, plus i wonder if it will show at random only for 1 user the ads and not for others ?

Wont this make forum messy if everyone were to post ad code in every post though ? Any idea how to put restrictions, like vbamanagement mod ?
Reply With Quote
  #5  
Old 03-08-2008, 03:35 AM
montsa007 montsa007 is offline
 
Join Date: Feb 2008
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

10 replies on 1 page = 10 ads on 1 page = straight away ban
Reply With Quote
  #6  
Old 07-03-2008, 03:03 PM
montsa007 montsa007 is offline
 
Join Date: Feb 2008
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone answer me?
Reply With Quote
Reply


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:56 AM.


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.06917 seconds
  • Memory Usage 2,246KB
  • Queries Executed 19 (?)
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)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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