On these pages are my WordPress plugins, the odd article and my Support Forum.

For my random rantings on everything else please visit my blog at Yellow Swordfish

WP Plugins


Articles

If you find any of my plugins useful, please comsider a donation towards my running costs.

Thank you

In preparation for the release of Simple:Press Version 4.0, the Support Forum has moved to a new site dedicated to the plugin. This will also be the future home for Simple:Press Forum.


Version 3.1.4 will still be available for download here in the short term.


For the support forum - and to visit our new site and to get details of version 4.0, click on the logo to take you to simplepressforum.com

This forum is currently locked - access is read only
Current User: Guest
Please consider registering

 
Search Forums:


 




Ads only on Forum homepage?

UserPost

1:39 pm
18 Feb 2008


Phil

Guest

1

The sf-hook-template is a very convenient way to place Google Adsense ads in Simple Forum.


Unfortunately, though, by using sf-hook-template, the Adsense ads are placed on every single page in the forum—even “page cannot be found” pages and registration pages.  This is strictly against Google Adsense TOS and could get a user banned from the program (Adsense ads are only allowed on “content” pages).


I make a good deal of money using Google Adsense with Simple Forum, and I really don't want to risk my inclusion in the program.  Tell me, is there a simple way to include ads only at the top of the forum homepage and posts, and not on any other pages?  Thanks!

2:57 pm
18 Feb 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

2

The answer is not as it stands. However, hooks are cheap and I will add a few page specific hooks to V3. But, as a wrokaround in the meantime you could add something like this to your code:

if(isset($_GET['topic']))
{
    // it's a topic page (posts)
} else {
    if(isset($_GET['forum']))
    {
        // it's a forum page (topics)
    } else {
        // it's the group page (front)
    }
}

which will allow you to determine where you are…

Might help…

3:21 pm
18 Feb 2008


-Radio-

Moderator

Florida - USA

posts 558

3

Google will also penilize you for selling your adspace… but not if you sell it to Google.


Click Fraud is rampant on the google system…


Hit fraud is rampant on the google system…


Google takes 3 months to pay you for clicks you earned, and then penalizes you for clickfraud or hit fraud without prooving it actually happened.


I have an alternative and will post the info, if Andy allows it, (heck I'm currently thinking I should bundle it into my own chat plugin to help dev costs)

4:01 pm
18 Feb 2008


Phil

Guest

4

Thanks for the suggestion, Andy, but I'm afraid that I'm no programmer and the code you suggested is Greek to me (and I wouldn't know where to put it or how to include the Adsense code anyway).  I will just keep my fingers crossed that the new version will allow me to place ads only on the forum homepage (ads on my homepage bring me about 95 percent of my earnings).


Radio, I agree with you that Adsense is not a good option for most people, but I have to say that I've really lucked out and done quite well with it in my niche.  I am now making more with Adsense than I do at my “real” fulltime dayjob, but those earnings didn't start coming until I decided to turn my website into a forum and installed Simple Forum (thanks, Andy!).


I do know, however, that Adsense is famously touchy and that they ban publishers easily, so I do plan on diversifying my monetization this year.  But don't frown on Adsense, it really is very profitable for the right niches.  I'm just trying to play by all of the rules and keep Google happy! :)



Reply to Topic: Ads only on Forum homepage?

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 4 + 3        (Required)

Topic Reply:


 
 

About the Stuff at Yellow Swordfish forum

Currently Online:

9 Guests

Maximum Online: 71

Forums:

Groups: 3

Forums: 16

Topics: 2068

Posts: 14091

Members:

There are 1003 members

There are 837 guests


Yellow Swordfish has made 5252 posts

Top Posters:

Mr Papa - 1602

-Radio- - 558

ovizii - 114

jfv - 82

angelic007 - 72

Administrator: Yellow Swordfish | Moderators: Yellow Swordfish, Mr Papa, -Radio-


© Simple:Press Forum - Version 3.1.4 (Build 357)