MyBB Community Forums

Full Version: index.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In the install.txt of a theme it says I have to go to
if($fcollapse[$forum[fid]] == "y") {
$excol = "expand";
} else {
$excol = "collapse";
}

in index.php, the problem however is that I can't find this if-statement in there.

btw, nice smilies :grin:
I've just had a quick look and I see the statement there. It's towards the end of the "getforums" function. Undecided

If you still can't find it, try looking for...

eval("\\$forums .= \\"".$templates->get("forumbit_depth$depth$forumcat")."\\";");

...and placing the new line before it.

The theme should still work without this small modification, as long as you don't have the moderators column enabled. Wink

Let me know how you get on. Smile

Kryptonate Wrote:btw, nice smilies :grin:

Glad you like them. :p
hm, at first I looked at the index.php on the server, but when I checked the index.php at my computer where I unzipped it at the install of MyBB, I do find

if($fcollapse[$forum[fid]] == "y") {
$excol = "expand";
} else {
$excol = "collapse";
}