Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Bidding Directory   ClickBooth Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 02-21-2004, 05:07 PM   #1 (permalink)
Inactive
 
Join Date: 02-21-04
Posts: 1
iTrader: 0 / 0%
Latest Blog:
None

Power is liked by many
Adding Google adsense to PhpBB

Hello friends need a little help

I need to add on a forum a code Google Adsense, And i dont have an idea how. The forum is phpBB 2.0.6

Any one can help me?




I read some treats here but I`m a newbie and sorry for that question, But dont know where to add it in Each file..

thanks
Power is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 02-21-2004, 05:34 PM   #2 (permalink)
sim
Banned
 
Join Date: 01-23-04
Posts: 2,373
iTrader: 0 / 0%
Latest Blog:
None

sim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nicesim is just really nice
phpbb.com =)
sim is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-21-2004, 06:09 PM   #3 (permalink)
CEO, V7 Inc
 
John Scott's Avatar
 
Join Date: 09-27-03
Location: Japan, mostly
Posts: 42,618
iTrader: 2 / 100%
John Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster material
Send a message via AIM to John Scott Send a message via Yahoo to John Scott
overall_header.tpl
__________________
Buy Permanent Contextual Links - V7N Web Directory

Questions? Call V7 toll free @ 1.888.876.8762
John Scott is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-21-2004, 08:42 PM   #4 (permalink)
Inactive
 
Join Date: 02-21-04
Posts: 3
iTrader: 0 / 0%
Latest Blog:
None

Zach is liked by many
I just felt like posting - like the forums design. So as someone that has been using vBulletin since 1.1 and got turned down by google (to many bad words I guess - (its a freaking sports forum))

Anyway - something like this people can make complicated - its simple, find the header and footer templates - as I said, never used phpbb so no clue what they are called - but should be easy to find


then just drop in at the end of the header template, (or if there is a table starting at the end just before that)

[code:1:9183b01121]
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
[/code:1:9183b01121]

then at the very start of the footer template (same thing, if there was a table started in the header, it would end at the start of the footer - so if that is the case, after that)


[code:1:9183b01121]
</td>
<td width="120" style="padding-left:10px"><script type="text/javascript"><!--
google_ad_client = "";
google_alternate_ad_url = "";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_color_border = "C8C2B3";
google_color_bg = "F7F5EE";
google_color_link = "536D89";
google_color_url = "536D89";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
</tr>
</table>
[/code:1:9183b01121]








} else if ($yourdesire=="on the right side") {










header end would be

[code:1:9183b01121]
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="120" style="padding-right:10px">
<script type="text/javascript"><!--
google_ad_client = "";
google_alternate_ad_url = "";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_color_border = "C8C2B3";
google_color_bg = "F7F5EE";
google_color_link = "536D89";
google_color_url = "536D89";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
<td>
[/code:1:9183b01121]

and footer would be



[code:1:9183b01121]
</td>
</tr>
</table>
[/code:1:9183b01121]






Thats if you want it on the side - if you want it on the top, just find the header - and throw the code in there and see what happens


I have no clue why - but every time I see a hack for a side bar on a forum, its like this hack actually - when all it should be a simple a table with two cells
Zach is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-21-2004, 08:43 PM   #5 (permalink)
Inactive
 
Join Date: 02-21-04
Posts: 3
iTrader: 0 / 0%
Latest Blog:
None

Zach is liked by many
well ignore the [code] tags - I guess they dont work ?
Zach is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-21-2004, 09:23 PM   #6 (permalink)
Possible Terrorist
 
kwvarga's Avatar
 
Join Date: 10-13-03
Location: Tuscaloosa, AL or Atlanta
Posts: 4,904
iTrader: 0 / 0%
Latest Blog:
A+ Certification

kwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web pro
Send a message via AIM to kwvarga
fix the top ones .. you have [\code]
__________________
Kyle Varga
"m3lt/theSpear"
student, web designer/coder, future IT consultant
Experience: PHP/MySQL, Java, C++, MS-SQL
kwvarga is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-22-2004, 02:59 PM   #7 (permalink)
Inactive
 
Join Date: 02-21-04
Posts: 3
iTrader: 0 / 0%
Latest Blog:
None

Zach is liked by many
Boy, its amazing how well things work when you do them right. Guess I have been doing to much escaping the last few days, fingers just can stop hitting the back slash
Zach is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-22-2004, 04:17 PM   #8 (permalink)
Inactive
 
Join Date: 10-13-03
Location: South west UK
Posts: 265
iTrader: 0 / 0%
Latest Blog:
None

Pudd is on the right pathPudd is on the right pathPudd is on the right path
Are overall_header.tpl and overall_footer.tpl the templates you would use for adding something like that?
The ones you find in subsilver (or whatever template you are using)?
Pudd is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-22-2004, 04:22 PM   #9 (permalink)
SVB
Inactive
 
SVB's Avatar
 
Join Date: 10-13-03
Posts: 7,481
iTrader: 0 / 0%
Latest Blog:
None

SVB is a web professional of the highest orderSVB is a web professional of the highest orderSVB is a web professional of the highest orderSVB is a web professional of the highest orderSVB is a web professional of the highest orderSVB is a web professional of the highest orderSVB is a web professional of the highest orderSVB is a web professional of the highest orderSVB is a web professional of the highest orderSVB is a web professional of the highest orderSVB is a web professional of the highest order
Send a message via Yahoo to SVB
Yep, at the bottom of overall_header.tpl add the adsense code and it will come out like on my forum.
SVB is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-22-2004, 04:26 PM   #10 (permalink)
Inactive
 
Join Date: 10-13-03
Location: South west UK
Posts: 265
iTrader: 0 / 0%
Latest Blog:
None

Pudd is on the right pathPudd is on the right pathPudd is on the right path
Ahh, I see... So can you add what ever you want there and it'll just show in that area of the forum?
I shall have a play with this new found information... lol
Pudd is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-22-2004, 04:29 PM   #11 (permalink)
SVB
Inactive
 
SVB's Avatar
 
Join Date: 10-13-03
Posts: 7,481
iTrader: 0 / 0%
Latest Blog:
None

SVB is a web professional of the highest orderSVB is a web professional of the highest orderSVB is a web professional of the highest orderSVB is a web professional of the highest orderSVB is a web professional of the highest orderSVB is a web professional of the highest orderSVB is a web professional of the highest orderSVB is a web professional of the highest orderSVB is a web professional of the highest orderSVB is a web professional of the highest orderSVB is a web professional of the highest order
Send a message via Yahoo to SVB
Yup thats right :-D
Just add it to the very bottom of overall_header.tpl and you can add all sorts of things, like links, banners, and text etc :-D
If you need any examples of it just ask
SVB is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-23-2004, 03:49 PM   #12 (permalink)
Inactive
 
Join Date: 10-13-03
Location: South west UK
Posts: 265
iTrader: 0 / 0%
Latest Blog:
None

Pudd is on the right pathPudd is on the right pathPudd is on the right path
Spend a few hours playing with most of the template files, I'm suprised to find how easy phpbb is to customise!!! I've pretty much totally redesigned it (keeping the copyrights and everything.... Is that allowed :s ?)... However I am having a few problems with relative referencing... Where should I reference from "forums/"?

Also, when you log in, which file is used for the overall_header? Cause I took out the CSS from overall_header (I will put in a link to a seperate CSS when I figure out how to! lol) to save bandwidth (as it suggests), but the whole lot appears in the sourse code when you're logged in....
Pudd is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding a button (phpBB) DOS Coding Forum 3 01-18-2007 01:16 PM
adding images to adsense funguru Contextual Networks 22 11-19-2006 03:43 AM
Adding script to phpbb forums DOS Coding Forum 2 10-24-2004 07:39 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 02:18 PM.
© Copyright 2008 V7 Inc