Quick Login   
 
Register AdminFusion Tutorials
 
Featured Sponsors


One.com Domain and Hosting


Register
Forum of the Month
Australian Webmaster
fotm

A webmaster forum specifically catering for Australian site owners. We discuss site development, marketing and management issues.

Tag Cloud
Latest Threads
Forum Stats
7,900 Members
165,091 Posts
33 Users Online

Please welcome our newest member, Jors308932!

Affiliates
Go Back AdminFusion » Getting Started » Software » phpBB » phpbb sidebar mod
Welcome to the AdminFusion. AdminFusion is the ultimate resource for forum administrators and moderators. With exclusive articles, interviews with the experts, free downloadable skins, and the revolutionary post exchange system - PostFusion, AdminFusion is the place to go for all of your forum needs.  By joining AdminFusion, you will become part of a thriving admin community and immediately gain access to all of these resources. Registration is fast, simple and absolutely free so please join us today!
Want more than our forums? Try these: Post Fusion Forum Matrix
Old 12-01-2005, 08:08 PM   #1

Sportslitter's Avatar

Title: Member

Points: 2,257, Level: 13Points: 2,257, Level: 13Points: 2,257, Level: 13
Level up: 14%, 193 Points neededLevel up: 14%, 193 Points neededLevel up: 14%, 193 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Oct 2005

Posts: 99

Location: Jacksonville, FL

Sportslitter is on a distinguished road
 
 
phpbb sidebar mod

I'm looking to add a sidebar to my phpbb forum (similar to the one here, but on the left side). I want to put things like links or advertisements (adsense) on it. I'm pretty sure you start the sidebar code in the overall_header file and finish the code in the overall_footer file because it needs to be seen on all pages.

I'm just having a hard time finding any hacks/mods that do this for me. Or where can I find the code to add a sidebar?

I need one that is easily customizable. because the sidebar will have to match to forum skin.
__________________
Gator Envy
Mature Florida Gator sports discussion.
Reply With Quote
Old 12-01-2005, 08:11 PM   #2

Sportslitter's Avatar

Title: Member

Points: 2,257, Level: 13Points: 2,257, Level: 13Points: 2,257, Level: 13
Level up: 14%, 193 Points neededLevel up: 14%, 193 Points neededLevel up: 14%, 193 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Oct 2005

Posts: 99

Location: Jacksonville, FL

Sportslitter is on a distinguished road
 
 
Well, I found this

http://www.phpbbhacks.com/download/4319

Do you think I can easily ad adsense to it?
__________________
Gator Envy
Mature Florida Gator sports discussion.
Reply With Quote
Old 12-01-2005, 11:29 PM   #3

Ryan's Avatar

Title: Administrator

Points: 47,649, Level: 67Points: 47,649, Level: 67Points: 47,649, Level: 67
Level up: 68%, 701 Points neededLevel up: 68%, 701 Points neededLevel up: 68%, 701 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Sep 2005

Posts: 10,246

Location: Athens, GA

Ryan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond repute
 
 
I would say backup, install, and try it out - the first step is important when you're trying out mods you are unfamiliar with

As far as adding adsense code, I'm not quite sure...the demo shown there doesnt show your traditional sidebar in block format...It might can be modified to do so, but I'm not sure it would look great
__________________
...some super-sweet signature
Reply With Quote
Old 12-02-2005, 02:56 AM   #4

Sportslitter's Avatar

Title: Member

Points: 2,257, Level: 13Points: 2,257, Level: 13Points: 2,257, Level: 13
Level up: 14%, 193 Points neededLevel up: 14%, 193 Points neededLevel up: 14%, 193 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Oct 2005

Posts: 99

Location: Jacksonville, FL

Sportslitter is on a distinguished road
 
 
any idea where I can find a traditional block side bar similar to yours? and perhaps an installation guide along with it?

And how exactly do you back things up? like on a cd-r or something?
__________________
Gator Envy
Mature Florida Gator sports discussion.
Reply With Quote
Old 12-02-2005, 03:36 AM   #5

Ryan's Avatar

Title: Administrator

Points: 47,649, Level: 67Points: 47,649, Level: 67Points: 47,649, Level: 67
Level up: 68%, 701 Points neededLevel up: 68%, 701 Points neededLevel up: 68%, 701 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Sep 2005

Posts: 10,246

Location: Athens, GA

Ryan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond repute
 
 
I don't exactly know of any sidebar hacks for phpBB - It's been years since I've used it, but I would continue to search around at www.phpbbhacks.com and www.phpbb.com/phpbb/ I will say that I took a few minutes and played around with a copy of phpBB I have and achieved this

http://www.adminfusion.com/test/phpbb2018

I don't have time to work with it more to set up actual blocks, but I'm sure I could do it once I have time to sit down and do so...it could take me 3-4 days before I get that time though, I'm going to be busy over the next few days.

As far as backing up - I am referring to your php files and your MySQL database. Before you modify any phpBB files, it is a good idea to save a copy of the untouched version first - bad things can happen if you do not.

If you want to play around with this bit of code I have, open your overall_header.tpl file in your templates folder and add the following to the very bottom of it

Code:
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="150">Sidebar Here</td>
<td>
Save and upload it

Now open overall_footer.tpl and add the following to the very top of it

Code:
</td>
</tr>
</table>
Again, this is as far as I can get right now...but feel free to play around with it yourself
__________________
...some super-sweet signature
Reply With Quote
Old 12-02-2005, 04:09 AM   #6

LarryB's Avatar

Title: AF Lead Developer

Points: 6,450, Level: 23Points: 6,450, Level: 23Points: 6,450, Level: 23
Level up: 24%, 100 Points neededLevel up: 24%, 100 Points neededLevel up: 24%, 100 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Sep 2005

Posts: 1,186

Location: OHIO, US

LarryB has much to be proud ofLarryB has much to be proud ofLarryB has much to be proud ofLarryB has much to be proud ofLarryB has much to be proud ofLarryB has much to be proud ofLarryB has much to be proud ofLarryB has much to be proud of
Send a message via MSN to LarryB  
 
yeah this is just about it. I had made one a long time ago that a few sites that me and my friens ran used, and the above looks about right. One change that I would suggest:

change this line
HTML Code:
<td width="150">Sidebar Here</td>
to
HTML Code:
<td width="150" valign="top">Sidebar Here</td>
Then what you want to do is look at the style classes used on the main forum tables and then mimic them for the look on the side table.
__________________
Do not post your PF private key in public.

Did I help you with this post? If so, pls click the rep button or send money.
Reply With Quote
Old 12-03-2005, 04:34 AM   #7

Chris's Avatar

Title: Apprentice

Points: 2,275, Level: 13Points: 2,275, Level: 13Points: 2,275, Level: 13
Level up: 14%, 175 Points neededLevel up: 14%, 175 Points neededLevel up: 14%, 175 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Nov 2005

Posts: 171

Location: Wisconsin, USA

Chris is on a distinguished road
Send a message via AIM to Chris  
 
I looked around a bit on phpbb.com and it looks like you just need to modify your overall header and footer.tpl files on your own to insert the sidebar.
__________________
Reply With Quote
Reply



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

 
Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Sidebars to phpBB Bob Tutorials 8 04-16-2008 10:21 AM
Adding a basic sidebar to IPB 2.1.x through the board wrapper Bob Invision Power Board 2 05-05-2006 02:34 AM
phpBB Resource Thread gprime phpBB 1 02-12-2006 01:11 AM
phpBB Book Guide Ryan phpBB 0 12-20-2005 05:35 PM
[phpBB News] phpBB announces its community coding projects Industry News phpBB 0 11-18-2005 08:00 AM

AdminFusion

All times are GMT +1. The time now is 02:10 AM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0 © 2005-2008 AdminFusion - All Rights Reserved



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72