![]() |
Make adsense look like a post
Hey,
This will let you show your add after x posts, put a referal box as a false avatar, and show a 336x280 banner. Please note this has been made for my skin (legacy). You will have to alter this i think. Add this at the end of your postbit template: Code:
<!-- START ADSENSE REVENUE --> <if condition="THIS_SCRIPT == 'showthread'AND ($post[postid] == $GLOBALS['qrlastpostid']) AND (!in_array($forum[forumid], array(2,3,32)))"> In the array() you put the forums where you don't want to show the ads. Here (($post[postid] == $GLOBALS['qrlastpostid'])) you choose where to show it. Use $GLOBALS['qrlastpostid'] to show it at the end of all the posts, $GLOBALS['qrfirstpostid'] to show it after the first post, or you can use a number. For the picture blocks use <img src="random.php"> to where ever random.php is. Please remember to update the settings for random.php. I reccomend you use a table to put your ads in. If you want to show the ads only where there is more than 1 post use: Code:
AND ($post['postcount'] > 1) Code:
<if condition="THIS_SCRIPT == 'showthread'AND ($post[postid] == $GLOBALS['qrlastpostid']) AND (!in_array($forum[forumid], array(2,3,32))) AND ($post['postcount'] > 1)"> Code:
AND (!$show[member]) Code:
<if condition="THIS_SCRIPT == 'showthread'AND ($post[postid] == $GLOBALS['qrlastpostid']) AND (!in_array($forum[forumid], array(2,3,32))) AND ($post['postcount'] > 1) AND (!$show[member])"> |
<a href="https://vborg.vbsupport.ru/attachment.php?attachmentid=51007" target="_blank">Screenshot</a>
|
Any Screen Shot ???
|
screenshot ?? please
|
Demo's? Please :)
|
its like a Sponsor User (faked) and it looks like if the Sponsor user make a post just like the others post looks like (it wont ad any postcount or something) and it will display the ads in there :P
and this i think this is a violation of the google's tos (ads) |
AWESOME although i already coded this for myself i didnt share :) lol
|
what about screen shot or demo????
|
Can you pinpoint something in the Google ToS or Webmaster Guidelines that allows such a hack on any and all forums? Or a letter from Google expressing given permission for not only your boards, but for everyone's forums to use something like this? I was under the impression that something like this is still a violation of their ToS.
|
Quote:
|
All times are GMT. The time now is 05:15 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|