2006-03-10, 10:16 PM
hello, i make new mod that doing only when is 3 cats, it start new line(and not every one cat).
so i enter to index.php and
search that:
and if i am doing if ($csforums < 3) this is make all the time new line
what the problam?
hope you understand me, and sorry about the english
so i enter to index.php and
search that:
eval("\$forumlisting .= \"".$templates->get("forumbit_depth$depth$forumcat")."\";");
and replace with: $csforums = 11;
if ($csforums > 3)
{
eval("\$forumlisting .= \"".$templates->get("forumbit_depth$depth$forumcat")."\";"); \\\ This template make only the cat without new line
}
else
{
eval("\$forumlisting2 .= \"".$templates->get("1forumbit_depth$depth$forumcat")."\";"); \\\ This is the Template that make after 3 cats a new line
$csforums = $csforums - 3 /// this is that will not stay for ever the same numbers of cats, and he will do a new line for ever.;
}
but it not work, if i am doing if ($csforums > 3) it is not make new lineand if i am doing if ($csforums < 3) this is make all the time new line
what the problam?
hope you understand me, and sorry about the english