Mobile Phones | Credit Cards | Remortgages | Loans | Free Ringtones
Would love some help with PHP (phpnuke) [Archive] - PCMech Forums

PDA

View Full Version : Would love some help with PHP (phpnuke)


Jeff_Xplane
04-13-2004, 06:24 PM
A friend told me that if I had a geeky type question this would be the place to ask it. Seeing as how I am a card carrying geek I will probably be frequenting these forums, hope you don't mind...:)

So I started a small phpnuke site for a clan that is an offshoot of our main website. I have a theme that I love except when you bring up the forums they take up 100% of the area. I would like it to show the left side blocks. I have a theme that is simiilar and I tried copying and pasting the part I thought affected it into the other and it ended up doing more harm than good. I have looked for a tutorial but they all seem to talk about everything but what I want to do.

Basically my phpnuke site is great except my forums take up 100% of the width in the page (banner displays on top but no left side blocks). I would like the left side blocks to display when bringing up the forums. Anyone know how to do that or is willing to show me how.

Thanks for taking the time to read my post. I really do appreciate it. I know this isn't a life or death matter but to me it is one of those pesky problems that is going to bug me until I can get it fixed. I have put 2 links below; the first is to the front page of the nuke site and the second is a link directly to the forums so you can see how they display.

http://clan.flightsimmer.com
http://clan.flightsimmer.com/modules.php?name=Forums

Again thanks so much for taking the time to read through all this gobbly gook.....keeping my fingers crossed...:D ;)

aym
04-14-2004, 05:29 PM
Hi and welcome to PC Mech :)

You need to edit theme.php, look for something like:

if ($name == "Forums") {
// ...
}

and change it to:
if ($name == "Forums") {
blocks(left);
// ...
}

If you still can't fix it, and the theme is available for download somewhere, post a link, and I'll tell you what to change exactly.