• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

How to put ads in a Forum?

yashved

New Member
I am a bit new to forum making and am trying to make a forum using open source PHP PBLang Forum Script (hope someone has heard of it!)

What I am unsure about is whether I can edit the php files so as to incorporate Google Ads or is it against GNU Public License to edit any of the files.... And if Yes, how do edit them to put the ads....

Also, is it allowed that I place ads on any place on a forum because as per Google Adsense TOS, "No Google ad may be placed on any non-content-based pages. This includes error, login, registration, "thank you" or welcome pages."

I would greatly appreciate even the slightest hint given in the matter....

Thanks in advance!
 
I haven't heard of this forum software until now but most forums now have addons/mods that allow you to easily include advertisements on the forums.

You are allowed to make changes to the code of most if not all forum scripts.
 
You are alowed to edit the scripts and you should place them inside maybe the footer template file, not sure what it's called as I've never heard of that software but it should be like the rest :).
 
The license means you may make changes as you wish.
Google adsense policies mean that if you put ads in the topic view (this page) or the main forum you'll be ok.

to put adverts in just after the list of forums, open up index and find this

echo "$VUsername:&nbsp;<input type=\"text\" name=\"user\">";
echo "&nbsp;&nbsp;$VPassword:&nbsp;<input type=\"password\" name=\"pass\">\n";
echo "<input type=\"submit\" name=\"Submit\" value=\"$VSubmit\">";
sbot(1);
}

now paste in this.
echo "$VUsername:&nbsp;<input type=\"text\" name=\"user\">";
echo "&nbsp;&nbsp;$VPassword:&nbsp;<input type=\"password\" name=\"pass\">\n";
echo "<input type=\"submit\" name=\"Submit\" value=\"$VSubmit\">";
sbot(1);
}

echo"HERE I WILL PUT MY GOOGLE ADSENSE CODE";

yay. all done.

To put ads above the forum list find

writeheader($newestm,0,0,0,$liusername,$loggedin,$VIndex);


and put in

writeheader($newestm,0,0,0,$liusername,$loggedin,$VIndex);
echo"HERE I WILL PUT MY GOOGLE ADSENSE CODE";

bear in mind, in your google adsense code, for every
you will need to put a escaping slash so you have
. k?:)


so help me I'd better get +rep for this:p
 
Last edited:
Thanks for your response. But if the software is not so much famous... Can you guys suggest some of the best forum scripts. (preferably without MySQL as my host does not allow Free MySQL)

Also, please explain is it better to go for Forum Script with MySQL or not....
 
MySql is better, simply because writing to flatfiles is expensive (in time). I'd suggest changing hosts, ask around here for someone with mysql.

In the meantime, I think your forum software should be fine, just because its not popular doesn't make it bad!
 
Yes I do know HTML and at the moment phpbb seems to be the best option for me. Do you think I can host a forum on awardspace.com? I would be really greatful if you could suggest some free webhost (Reputed only as I dont want it to disappear overnight) but without forced ads, i.e. one that allows Google Ads....

In short, I need the best platform to host a Long Term Forum and display Google Ads on it....
 
Last edited:
Depending on what you need I could host you. I run WebringAmerica which is a free forum host. We just launched free MyBB forum hosting with no forced ads, and we also allow you to put your own ads on your forum if you wish. We've been around since 2006 so we've been alive a while. Also, you can get a free backup at anytime so you can move to another host if you ever need to.

It's remotely hosted, but it may be what you need. We don't allow warez, spyware, virus or porn forums though. As long as you aren't planning on having a humongous forum we should be able to host you.

BMR777
 
Depending on what you need I could host you. I run WebringAmerica which is a free forum host. We just launched free MyBB forum hosting with no forced ads, and we also allow you to put your own ads on your forum if you wish. We've been around since 2006 so we've been alive a while. Also, you can get a free backup at anytime so you can move to another host if you ever need to.

It's remotely hosted, but it may be what you need. We don't allow warez, spyware, virus or porn forums though. As long as you aren't planning on having a humongous forum we should be able to host you.

BMR777


Your website says: "If you want FULL CONTROL over your forum, or the ability to also create a website, you might be interested in our Premium Web Hosting."

What is the meaning of FULL CONTROL in this context? If I go for Free Plan, what controls will I not get??

Also, please explain backup, for e.g: if I choose to move to another host in the future, does backup mean that I can transfer the entire forum (alongwith all the posts) to the new host??
 
Last edited:
With the free hosting we do disable a few features, such as the ability to add new themes to the forums or the ability to manage plugins or the database. We have to do this due to stability and security reasons because all of the free forums are hosted using the same files and database and allowing one forum to modify shared files would cause problems. Most of the core functionality of the forum software is still retained. With our premium hosting these features would not be disabled because you would be on a separate account and have your own forum separate with its own dedicated database and files.

As far as the backup goes, I would give you a copy of your portion of the database which would contain your forum's members, posts and other information that you could then transfer to another host somewhere else. (Assuming they support MySql).

You could always create a forum and see if it meets your needs for customization before committing to it. It's up to you. :)

BMR777
 
Well if you really are interested in trying a forum that has no SQL database, you can use what the call a flat database forum.

Basically, on the install of the forum, it makes a folder with a long complicated name and hides it. It stores all the information in there.
its not fool proof, but it does work quiet well.

The only good flat forum i know of is UPB.
http://www.myupb.com/
 
Back
Top