2010-06-13, 02:40 AM
2010-06-13, 02:53 AM
You could prob add
<tr>
<td class="trow_sep" colspan="{$colspan}">{$lang->normal_threads}</td>
</tr>
to "forumdisplay_threadlist" around </tr>
{$announcementlist}
{$threads}
<tr>
If that is what you want to do as I do not quite understand you2010-06-13, 02:56 AM
It would have to be at the PHP level I think. Whatever is telling "forumdisplay_threads_sep" to display when there are announcements or stickied threads present I need to make say "display it at all times."
2010-06-13, 02:58 AM
So you would like to remove the "Important Threads" and "Normal Threads" and have a different title instead for example "Threads"?
2010-06-13, 04:29 AM
No no no. I just need "forumdisplay_threads_sep" to display at ALL times. It only displays, by default, when there are stickied threads or announcements in a forum. I found this in forumdisplay.php:
if($thread['sticky'] == "1" && !$donestickysep)
{
eval("\$threads .= \"".$templates->get("forumdisplay_sticky_sep")."\";");
$shownormalsep = true;
$donestickysep = true;
}
Do you know how I could change it to just display all the time?
Nevermind, I figured it out. I played around with the code and finally got it to work by adding this in:
if($thread['sticky'] == 0 && !$donestickysep)
{
eval("\$threads .= \"".$templates->get("forumdisplay_threads_sep")."\";");
$shownormalsep = false;
$donestickysep = true;
}
else if($thread['sticky'] == 0 && $shownormalsep)
{
$shownormalsep = false;
$donenormalsep = true;
}
if($thread['sticky'] == "1" && !$donestickysep)
{
eval("\$threads .= \"".$templates->get("forumdisplay_sticky_sep")."\";");
$shownormalsep = true;
$donestickysep = true;
}
Do you know how I could change it to just display all the time?
Nevermind, I figured it out. I played around with the code and finally got it to work by adding this in:
if($thread['sticky'] == 0 && !$donestickysep)
{
eval("\$threads .= \"".$templates->get("forumdisplay_threads_sep")."\";");
$shownormalsep = false;
$donestickysep = true;
}
else if($thread['sticky'] == 0 && $shownormalsep)
{
$shownormalsep = false;
$donenormalsep = true;
}