[advanced search]
Results from the most recent live auction are here.
20 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Domain Name Industry Newsletter
Go Back   NamePros.Com > Design and Development > Programming
User Name
Password

Old 05-30-2006, 09:53 PM   · #1
Phronesis
Senior Member
 
Phronesis's Avatar
 
Name: The cake is a lie...
Trader Rating: (25)
Join Date: Feb 2006
Posts: 1,774
NP$: 211.35 (Donate)
Phronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to all
Adsense on PHPBB?

How do you put Adsense up on PHPbb? Is it possible?


Please register or log-in into NamePros to hide ads
__________________
Web-Page.info - A FREE browser tool that searches Domain Names as you type!
Phronesis is offline   Reply With Quote
Old 05-30-2006, 10:15 PM   · #2
Corky
www.prosportsnow.com
 
Corky's Avatar
 
Trader Rating: (19)
Join Date: May 2006
Posts: 1,084
NP$: 3.15 (Donate)
Corky is a glorious beacon of lightCorky is a glorious beacon of lightCorky is a glorious beacon of lightCorky is a glorious beacon of lightCorky is a glorious beacon of light
If you want it in your header edit the overall_header.tpl or overall_footer.tpl files and add the javascript code.

Also, if thats no help talk to my good friend Mr. Google
__________________
Baseball Trade Rumors - Coming Soon! | Any passionate baseball fans out there, send me a PM. Looking for some real baseball fans to be apart of this new community.
Corky is offline   Reply With Quote
Old 05-30-2006, 10:18 PM   · #3
SecondVersion
while ($awake){ code(); }
 
SecondVersion's Avatar
 
Name: Eric
Location: Kentucky
Trader Rating: (142)
Join Date: Mar 2005
Posts: 4,268
NP$: 1152.00 (Donate)
SecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond repute
Member of the Month
MOTM September 2005 Save a Life Child Abuse 9/11/01 :: Never Forget Baby Health Marrow Donor Program AIDS/HIV Breast Cancer Cystic Fibrosis Ethan Allen Fund Animal Cruelty Ethan Allen Fund Ethan Allen Fund Cancer Alzheimer's Protect Our Planet
Depends on where you want it. Give me a location, I'll find you the template

-Eric
__________________

SecondVersion.com - The Personal Blog of SecondVersion
Domain Name Portfolio - Get your free copy. - Version 1.0.3 now available!!
SecondVersion is offline   Reply With Quote
Old 05-30-2006, 10:33 PM   · #4
iNod
Eating Pie
 
iNod's Avatar
 
Name: Steve
Location: Canada
Trader Rating: (66)
Join Date: Nov 2004
Posts: 2,284
NP$: 91.30 (Donate)
iNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud of
Special Olympics AIDS/HIV Cystic Fibrosis Save The Children Baby Health Cystic Fibrosis
Search on www.phpbbhacks.com/ for adsense or banner.

- Steve
__________________
RegisterDub.com - 200th Customer Milestone
ZuneParts.net - International Zune Parts and Accessories
FeaturedFont.com - One Top Free Font a Day!
iNod is offline   Reply With Quote
Old 05-30-2006, 10:36 PM   · #5
Phronesis
Senior Member
 
Phronesis's Avatar
 
Name: The cake is a lie...
Trader Rating: (25)
Join Date: Feb 2006
Posts: 1,774
NP$: 211.35 (Donate)
Phronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to all
Thanks all - I actually installed a template from phpbbhacks already. Maybe I need to look at another one. I'd like to put a landscape adsense banner just below the main header. This is the first time messing with a forum.
__________________
Web-Page.info - A FREE browser tool that searches Domain Names as you type!
Phronesis is offline   Reply With Quote
Old 05-30-2006, 10:43 PM   · #6
SecondVersion
while ($awake){ code(); }
 
SecondVersion's Avatar
 
Name: Eric
Location: Kentucky
Trader Rating: (142)
Join Date: Mar 2005
Posts: 4,268
NP$: 1152.00 (Donate)
SecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond repute
Member of the Month
MOTM September 2005 Save a Life Child Abuse 9/11/01 :: Never Forget Baby Health Marrow Donor Program AIDS/HIV Breast Cancer Cystic Fibrosis Ethan Allen Fund Animal Cruelty Ethan Allen Fund Ethan Allen Fund Cancer Alzheimer's Protect Our Planet
Open, overall_header.tpl and find the following (bottom of file):
PHP Code:
<br />

Add below:
PHP Code:
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
  <
tr>
    <
td align="center" valign="middle">your adsense code</td>
  </
tr>
</
table>
<
br />
__________________

SecondVersion.com - The Personal Blog of SecondVersion
Domain Name Portfolio - Get your free copy. - Version 1.0.3 now available!!
SecondVersion is offline   Reply With Quote
Old 05-30-2006, 10:45 PM   · #7
siradio
Online Broadcaster
 
siradio's Avatar
 
Trader Rating: (9)
Join Date: Feb 2006
Posts: 511
NP$: 192.55 (Donate)
siradio has a spectacular aura aboutsiradio has a spectacular aura about
AIDS/HIV
In that case its the overall_header.tpl file, located within whichever template folder you're using for your forums theme (subsilver is default)

Basically you want to look towards the end of that file for where the header content ends, and then pop in your adsense code, providing you don't break any tables or screw up the alignment etc.

Also - are you using the inline adsense code hack from phpbbhacks? (the one that puts the adsense ad after either each post or every first post. I have that installed on one of my developing forums which doesn't have a great deal of visitors, so curious about the sort of feedback on usage of that (more intrusive) adsense placement

Edit: Darn, beaten to it :P
siradio is offline   Reply With Quote
Old 05-31-2006, 01:16 AM   · #8
Peter
NamePros Staff
 
Peter's Avatar
 
Name: Peter
Location: Scotland
Trader Rating: (47)
Join Date: Nov 2003
Posts: 4,337
NP$: 2039.40 (Donate)
Peter has much to be proud ofPeter has much to be proud ofPeter has much to be proud ofPeter has much to be proud ofPeter has much to be proud ofPeter has much to be proud ofPeter has much to be proud ofPeter has much to be proud ofPeter has much to be proud ofPeter has much to be proud of
Child Abuse Save The Children Save The Children
Just a note, ensure you do not have adsense ads on pages such as login pages etc (non content pages) as it is a violation of their tos.
Peter is offline   Reply With Quote
Old 05-31-2006, 01:04 PM   · #9
Phronesis
Senior Member
 
Phronesis's Avatar
 
Name: The cake is a lie...
Trader Rating: (25)
Join Date: Feb 2006
Posts: 1,774
NP$: 211.35 (Donate)
Phronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to all
Attached is the template I'm using. I looked at phpbbhacks and found an adsense mod but wasn't sure which file to alter b/c it refers to the default subsilver.

This is the code for the overall_header.tpl

PHP Code:
<?xml version="1.0" encoding="{S_CONTENT_ENCODING}"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="Content-Style-Type" content="text/css" />
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/fisubgreen/{T_HEAD_STYLESHEET}" type="text/css" />
<!-- BEGIN switch_enable_pm_popup -->
<script type="text/javascript">
<!--
    if ( {PRIVATE_MESSAGE_NEW_FLAG} )
    {
        window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
    }
//-->
</script>
<!-- END switch_enable_pm_popup -->
</head>
<body>
<a name="top" id="top"></a>
<table class="bodyline" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<table class="topbkg" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td><a href="{U_INDEX}"><img src="templates/fisubgreen/images/phpbb2_logo.jpg" border="0" alt="{L_INDEX}" title="{L_INDEX}" width="240" height="110" /></a></td>
<td align="center" width="100%">&nbsp;</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td align="center" class="topnav">&nbsp;<a href="{U_FAQ}">{L_FAQ}</a>&nbsp; •&nbsp; <a href="{U_SEARCH}">{L_SEARCH}</a>
&nbsp;• &nbsp;<a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a>&nbsp; •
&nbsp;<a href="{U_GROUP_CP}">{L_USERGROUPS}</a>
<!-- BEGIN switch_user_logged_out -->
&nbsp; • &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a>
<!-- END switch_user_logged_out -->
&nbsp;• &nbsp;<a href="{U_PROFILE}">{L_PROFILE}</a>&nbsp; • &nbsp;<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>&nbsp;
• &nbsp;<a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="10">
<tr>
<td>


Maybe I'm blind - I don't see the <br /> you mentioned Second.
Thanks for continued help!
Attached Files
File Type: zip 719.zip (144.9 KB, 1 views)
__________________
Web-Page.info - A FREE browser tool that searches Domain Names as you type!
Phronesis is offline   Reply With Quote
Old 05-31-2006, 07:15 PM   · #10
Phronesis
Senior Member
 
Phronesis's Avatar
 
Name: The cake is a lie...
Trader Rating: (25)
Join Date: Feb 2006
Posts: 1,774
NP$: 211.35 (Donate)
Phronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to all
anybody?
__________________
Web-Page.info - A FREE browser tool that searches Domain Names as you type!
Phronesis is offline   Reply With Quote
Old 05-31-2006, 08:49 PM   · #11
Rudy
NamePros Regular
 
Rudy's Avatar
 
Name: David
Location: United States
Trader Rating: (17)
Join Date: Jul 2005
Posts: 532
NP$: 566.72 (Donate)
Rudy is just really niceRudy is just really niceRudy is just really niceRudy is just really nice
Save a Life
The following is directly below your header:

Code:
<table class="topbkg" width="100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td><a href="{U_INDEX}"><img src="templates/fisubgreen/images/phpbb2_logo.jpg" border="0" alt="{L_INDEX}" title="{L_INDEX}" width="240" height="110" /></a></td> <td align="center" width="100%">&nbsp;</td> </tr> </table>


Try putting the ad directly below this. If this doesn't work, or if you want the ad to go below the text links, which I assume is at the top, put the ad directly below this:

Code:
</table> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td align="center" class="topnav">&nbsp;<a href="{U_FAQ}">{L_FAQ}</a>&nbsp; •&nbsp; <a href="{U_SEARCH}">{L_SEARCH}</a> &nbsp;• &nbsp;<a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a>&nbsp; • &nbsp;<a href="{U_GROUP_CP}">{L_USERGROUPS}</a> <!-- BEGIN switch_user_logged_out --> &nbsp; • &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a> <!-- END switch_user_logged_out --> &nbsp;• &nbsp;<a href="{U_PROFILE}">{L_PROFILE}</a>&nbsp; • &nbsp;<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>&nbsp; • &nbsp;<a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></td> </tr> </table>


I've done a lot of phpBB template modifications, etc... in the past. If I actaully saw the template it would help. But try those two places, and if you don't like the way it looks, post back with a link to the template. Then I could probably tell you for sure.

Good luck,
David
__________________
Smooth Stone Services
Affordable Web Hosting Solutions Starting at only $4.95/month, IT Consulting and Technical Support


Hunt Sources - Hunting Resources Online
Rudy is offline   Reply With Quote
Old 05-31-2006, 10:29 PM   · #12
ThaiN
NamePros Member
 
Trader Rating: (2)
Join Date: May 2006
Posts: 187
NP$: 62.65 (Donate)
ThaiN is an unknown quantity at this point
i am expert at phpBB i been doing it for 3 1/2 years now. I used to have a free hosting site but it got shutdown. The forum was too big

http://phpbbhacks.com is what i recommended.

Or

http://phpbb-amod.com
ThaiN is offline   Reply With Quote
Old 06-01-2006, 05:52 AM   · #13
Phronesis
Senior Member
 
Phronesis's Avatar
 
Name: The cake is a lie...
Trader Rating: (25)
Join Date: Feb 2006
Posts: 1,774
NP$: 211.35 (Donate)
Phronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to all
Originally Posted by Rudy
I've done a lot of phpBB template modifications, etc... in the past. If I actaully saw the template it would help. But try those two places, and if you don't like the way it looks, post back with a link to the template. Then I could probably tell you for sure.

Good luck,
David




Hey David, I attached the template in my last post. Thanks.
__________________
Web-Page.info - A FREE browser tool that searches Domain Names as you type!
Phronesis is offline   Reply With Quote
Old 06-01-2006, 01:46 PM   · #14
Phronesis
Senior Member
 
Phronesis's Avatar
 
Name: The cake is a lie...
Trader Rating: (25)
Join Date: Feb 2006
Posts: 1,774
NP$: 211.35 (Donate)
Phronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to all
Thanks all - got it working!
__________________
Web-Page.info - A FREE browser tool that searches Domain Names as you type!
Phronesis is offline   Reply With Quote
Old 06-01-2006, 03:43 PM   · #15
SecondVersion
while ($awake){ code(); }
 
SecondVersion's Avatar
 
Name: Eric
Location: Kentucky
Trader Rating: (142)
Join Date: Mar 2005
Posts: 4,268
NP$: 1152.00 (Donate)
SecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond reputeSecondVersion has a reputation beyond repute
Member of the Month
MOTM September 2005 Save a Life Child Abuse 9/11/01 :: Never Forget Baby Health Marrow Donor Program AIDS/HIV Breast Cancer Cystic Fibrosis Ethan Allen Fund Animal Cruelty Ethan Allen Fund Ethan Allen Fund Cancer Alzheimer's Protect Our Planet
Good to see you got it working.
__________________

SecondVersion.com - The Personal Blog of SecondVersion
Domain Name Portfolio - Get your free copy. - Version 1.0.3 now available!!
SecondVersion is offline   Reply With Quote
Old 06-02-2006, 03:32 PM   · #16
Phronesis
Senior Member
 
Phronesis's Avatar
 
Name: The cake is a lie...
Trader Rating: (25)
Join Date: Feb 2006
Posts: 1,774
NP$: 211.35 (Donate)
Phronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to allPhronesis is a name known to all
Originally Posted by filth@flexiwebhost
Just a note, ensure you do not have adsense ads on pages such as login pages etc (non content pages) as it is a violation of their tos.




Oops. I noticed this has happened. How do I correct?
__________________
Web-Page.info - A FREE browser tool that searches Domain Names as you type!
Phronesis is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

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
Forum Jump


Site Sponsors
Proof is in the Parking Hunting Moon Proof is in the Parking
Advertise your business at NamePros
All times are GMT -7. The time now is 09:24 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0