Adsense Advertisement Sharing
#1
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 Smile
Reply
#2
How does this work exactly?

Thanks
Reply
#3
Great idea.
But how it can be displayed in pm or in the index page?
Reply
#4
^ 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
[ad][/ad]


Reply
#5
But how I can use MyCodeeeeeeeeeeeeeeeeeeeeee in forum?
Reply
#6
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]

[Image: quotationspage-banner.jpg]
Reply
#7
Isn't sharing advertisements against Google's TOS?
Reply
#8
isn't this an issue and may cause your adsense account being banned?
Reply
#9
(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 Undecided
Reply
#10
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?
www.vubscs.com ( A new way of Mybb)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)