Jump to content

HTML/PHP help needed !~solved


nulled

Recommended Posts

How to add google ad to forums?

 

 

 

Also seen them automaticly added to users signatures...

 

 

 

I have tryed to modify forum files but always mysql or php error came when added ads... On adminpanel I have swiched HTML ON and added to allowed HTML codes list '

 

 

 

My editing level is medium on HTML, low on graphics and never tryed to modify PHP or used it...

 

 

 

I am using latest version of phpbb (same as tip.it)

 

 

 

Website http://www.forum.dayofdarkness.net

Link to comment
Share on other sites

Excellent - phpbb... makes it easy :)

 

 

 

 

 

 

 

Just don't paste the code in the overall_header and the overall_footer.

 

 

 

 

 

 

 

 

 

 

 

Essentially any tpl that loads content.

 

 

 

 

 

 

 

 

 

 

 

forum index

 

 

 

topic body

 

 

 

privmsg

 

 

 

 

 

 

 

 

 

 

 

Mercifull could give you a better list - he sent me one but i can't seem to find it :(

Link to comment
Share on other sites

In the TPL files (ie: template files) NEVER touch the .php files unless you're manually install a mod.

 

 

 

 

 

 

 

 

 

 

 

/templaes//

 

 

 

 

 

 

 

 

 

 

 

index_body.tpl

 

 

 

message_body.tpl

 

 

 

viewforum_body.tpl

 

 

 

viewtopic_body.tpl

 

 

 

 

 

 

 

Try them for a start. And it's your call on where in the HTML you want to paste the code - depends entirely on where you want the ad displayed. Top, buttom, side...

Link to comment
Share on other sites

Where exactly do you want the adverts to go? Perhaps make a mockup in paint. Then i'll tell you which files to edit to make it work.

612d9da508.png

Mercifull.png

Mercifull <3 Suzi

"We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12

Link to comment
Share on other sites

Putting the ad where it is on tip.it is easy. I cant tell you the exact code right now because I do not have access to the files but its in the overall_header.tpl.

 

 

 

 

 

 

 

As for putting a google advert in your sig.. do you mean putting the advert after EVERY post or just your own? As far as i know you cant do the latter. And the former could mean you have over 15 banner ads on one page.

612d9da508.png

Mercifull.png

Mercifull <3 Suzi

"We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12

Link to comment
Share on other sites

I was under the impression that putting the code in overall_header was against their TOS as the ads were then appearing on form confirmation pages (which they specify they should not appear on) :-?

Link to comment
Share on other sites

I was under the impression that putting the code in overall_header was against their TOS as the ads were then appearing on form confirmation pages (which they specify they should not appear on) :-?
Technically yes, but every site does it... including tipi

612d9da508.png

Mercifull.png

Mercifull <3 Suzi

"We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12

Link to comment
Share on other sites

I will post when I get home the change you have to make, its quite simple.

 

 

 

 

 

 

 

As for your own email address with msn, youll need to sign up for an MSN Passport with your own email address first.

612d9da508.png

Mercifull.png

Mercifull <3 Suzi

"We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12

Link to comment
Share on other sites

Code for banner ad at the top of the page.

 

 

 

 

 

 

 

FIND

 

 

 

			













 

 

 

 

 

 

 

ADD AFTER

 

 

 




[your google code]



 

 

 

 

 

 

 

As for the email... Work it out yourself. Its not hard.

 

 

 

http://www.passport.net

612d9da508.png

Mercifull.png

Mercifull <3 Suzi

"We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.