15 years on The Web
miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Specific miniBB Support Forums / Specific /   

Displaying Google AdSense

Author miniBBuser
#1 | Posted: 24 Jul 2007 00:41 
I have read the topics on Google AdSense and also have downloaded the AdSense code. It is working well. Here is the issue:

A website can display upto three Google advertisements on the webpage. The code helps me to display one ad after the first post. How can we make a website display (a) Ad after first post (b) Ad after 3rd post, if there is no post the ad will not display and (c) Ad after the last post, if there is only one post the ad will not display becasue it is already displayed as in (a).

Can you please help me? Thanks in advance.

Code from MiniBB.com forum:

function parseMessage(){

//Use $GLOBALS['anchor'] for determining the anchor value

if ($GLOBALS['anchor']==1 or $GLOBALS['anchor']==9){

//You Adsense generated code here
$GLOBALS['adsense'] = <<




Author Prince
#2 | Posted: 20 Aug 2010 15:28 
How can I use other ads like that in between posts?

Author Paul
Lead Developer
#3 | Posted: 21 Aug 2010 15:24 | Edited by: Paul 
Honestly saying, I don't understand what these requests are about. Too badly explained.

Author Prince
#4 | Posted: 22 Aug 2010 15:19 
For example in this topic (Minibb Demo)


In post number (#1)

you can see google ads..

and in other post there is no ads..

and you can see ads on post (#9)

so I meant that.. how about other ads company to make like this same as minibb demo.. not in everyposts...

Author tom322
Active Member
#5 | Posted: 22 Aug 2010 19:59 | Edited by: tom322 
Here it is: Adsense Support

Author freebird
#6 | Posted: 24 Aug 2010 23:17 
Google AdSense is a free program that empowers online publishers to earn revenue by displaying relevant ads on a wide variety of online content.

Specific miniBB Support Forums / Specific / Displaying Google AdSense Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB