Not Solved index.php
#1
Not Solved
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:
Reply
#2
Not Solved
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
Reply
#3
Not Solved
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";
}

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)