PDA

View Full Version : Forum Questions


TokyoRacer
December 23rd, 2007, 12:34 PM
I'm using phpBB2 for a forum now and am confused about somthing. I know this place uses vbulletin, but I'll assume it's somewhat the same.

I want to make my forum have my logo on the left (like top) and have an advertisment on the right.

I have no idea how to do this..so far what I've got is.. http://quintestreetscene.com/phpBB2/ I'd like to know how to add a second stationary image (such as an ad) to the top right and to move the login and other links to jsut below the two iamges if possible? Also how to make the advertisments appear randomly if there was more then one.

I didn't know where to ask this so I just decided to do it here. Thanks

Perma
December 23rd, 2007, 12:42 PM
I can't remember the code library for phpBB2 off the top of my head, so I can't name off the exact files you need to edit, but...

For random advertising, you can whip up an easy javascript randomizer that displays based on random number as generated by each pageview. Or you can use clickcount software which will have random advert generator built in. I'd recommend the javascript way, though... just easier

Also, how did you want the page to look? We have the logo on the left, and adverts on the right with an html table with hidden borders. You could do the same, but with phpbb looking so ugly, it would be an interesting task, even given a new theme because the base layout isn't.. nice.

I suppose you could have a 3 colum table, ie logo left, login crap etc center, and ads on the right. But that may be a little cramped and you'd have to add a colspan to everything after which may not be possible without it being a huge piss off. That is, unless there is already a colspan for the part of the header you want to edit, but it doesn't look like there is.

Hope you have a firm grasp of HTML else what I just typed is just me rambling...

I also recommend that you check out what phpBB2 hacks/mods are already available so you can just plug and play them without having to dev them for yourself. Even if it's not exactly what you want it to look like, you're probably better off than having to deal with the mess that is phpBB

Shasta
December 24th, 2007, 10:31 AM
If I remember correctly theres a couple of ways to do it. Either directly edit the , I think its called overall_header.html file or better yet upload the image you want to use into the correct theme your using and put in the 'imageset' folder. Then using the admin page go to ImageSets->Edit then choose the image you uploaded.

It's been some time playing that forum but you can always go to the support site, its a common question I believe. I think that will just the header for you, as for advertisements you might have to dig deeper.