Let me explain how to use it:
<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)
Like this:
Code:
<if condition="THIS_SCRIPT == 'showthread'AND ($post[postid] == $GLOBALS['qrlastpostid']) AND (!in_array($forum[forumid], array(2,3,32))) AND ($post['postcount'] > 1)">
If you want it to show to guests only use:
Code:
AND (!$show[member])
So it will be like:
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])">
:| your displaying one google ad per page and its just intergrated into your page whats the problem with that ?
Well, forgive me if I don't value your opinion, .....and who assumes Google only allows one ad per page (They allow up to 3, plus up to 2 search units and 1 link unit on each page.)[/i]
more than Google's ToS. I think I'll be safe and go with Google on this one.
Implementing google ads like you did here into your forum IS a violation of the ToS.
It is tricking the user to click.
Even if you name the user Google does not change this.
This was debated over and over in different webmaster forums and google was asked and said NO.
If you are using this hack contact google and ask them if they are ok with this.
If they are you are lucky if they are not change it and keep your account
You couldn't be more wrong. Just because one site uses it doesn't mean everyone else can. Maybe sitepoint got specific permission to use something at their site, but Google retains and often practices the right to deny other sites the same privileges. Or perhaps they might be in violation and Google hasn't seen it and dished out any penalties yet. I'm not saying this is the case, but you never know. I for one am sick and tired of so many people claiming to have some authoritative knowledge of Adsense, SEO, and Google's guidelines. The average forum owner sees your post and thinks you must be right since you're so adamant about it, but anyone with an ounce of experience can see your logic is very flawed. So until people stop misleading others, you can bet I'll be here to provide a more realistic and cautious view.