PDA

View Full Version : BB Code Enhancements - Let users submit their own Adsense Adverts in posts


Foulish_Mitch
09-10-2007, 10:00 PM
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 ACCOUNT CODE HERE

----

Title: User Advertisment

Tag: ad

Replacement: <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.

PoetJA-1975
09-11-2007, 08:56 PM
Interesting. Thanx for sharing ;)

Jacquii.

993ti
09-11-2007, 11:57 PM
Won't this be against TOS if more then 1 user will use this on the same page?

a1whs.com
09-12-2007, 06:19 AM
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 ?

montsa007
03-08-2008, 03:35 AM
10 replies on 1 page = 10 ads on 1 page = straight away ban :mad:

montsa007
07-03-2008, 03:03 PM
Can someone answer me?