Adsense Advertisement Sharing - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Resources (https://community.mybb.com/forum-8.html) +--- Forum: MyCodes (https://community.mybb.com/forum-117.html) +--- Thread: Adsense Advertisement Sharing (/thread-96526.html) |
Adsense Advertisement Sharing - Laughynose - 2011-06-13 Hello everyone, this MyCode is mainly based at adsense sharing communitys, now you can edit this to you're liking. Preview: No preview required Title: Adsense Sharing Short Description: Gives you a chance to quickly share adsense advertisments. Regular Expression: \[ad\](.*?)\[/ad\] Replacement: [/code]<script type="text/javascript"><!-- google_ad_client = "ca-pub-6467932014654897"; /* 468x60, created 29/05/11 */ google_ad_slot = "$1"; google_ad_width = 468; google_ad_height = 60; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>[/code] Enabled: Yes I do realise this is a pretty dumb idea but I thought it'll help some people RE: Adsense Advertisement Sharing - FooFighter - 2011-06-19 How does this work exactly? Thanks RE: Adsense Advertisement Sharing - Real.Hyder - 2011-07-05 Great idea. But how it can be displayed in pm or in the index page? RE: Adsense Advertisement Sharing - ranjani - 2011-07-05 ^ it is a customized MyCode like BB code ; to be added in to admin panel --> configuration --> MyCodes can be used like this in posts & PMs RE: Adsense Advertisement Sharing - Real.Hyder - 2011-07-11 But how I can use MyCodeeeeeeeeeeeeeeeeeeeeee in forum? RE: Adsense Advertisement Sharing - alirex - 2011-07-12 He have actually made wrong. To give users chance to share there adsense it will be like this Title: Adsense Sharing Short Description: Gives you a chance to quickly share adsense advertisments. Regular Expression: \[ad=(.*?)\](.*?)\[/ad\] Replacement: <script type="text/javascript"><!-- google_ad_client = "ca-pub-$2"; /* 468x60, created 29/05/11 */ google_ad_slot = "$1"; google_ad_width = 468; google_ad_height = 60; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> Enabled: Yes now how to use it ? [ad=write ad slot here]your publisher id[/ad] RE: Adsense Advertisement Sharing - lucasbytegenius - 2011-07-12 Isn't sharing advertisements against Google's TOS? RE: Adsense Advertisement Sharing - enhu - 2011-07-12 isn't this an issue and may cause your adsense account being banned? RE: Adsense Advertisement Sharing - lucasbytegenius - 2011-07-12 (2011-07-12, 04:38 PM)enhu Wrote: isn't this an issue and may cause your adsense account being banned? That's what I said RE: Adsense Advertisement Sharing - sunjava1 - 2011-09-02 You can show adds anywhere, in the posts too. This is not against TOS. I like this mybb code, I was looking for it. How does it works btw? |