squawell
04-19-2003, 01:32 PM
hey guys..i have a problem with this code hope someone can tell me what's wrong?
open forumdisplay.php find
while ($thread=$DB_site->fetch_array($threads)) { // and $counter++<$perpage) {
below it add this code
if ($thread['replycount'] >= 50){
$hot='<font color=yellow face="times new roman" size="2"><b><i><u>?iHotTopic?j</u></i></b></font>';}
than put the $hot in forumdisplaybit template.......and the problem
is when in the same page if one thread reach the setting
(50 post replys)..than in same page's all threads show up the
[hottopic] nomatter the thread reach the setting or not?
so how should i make this work.......if not clear u can take look
the attach pic..thankz~
open forumdisplay.php find
while ($thread=$DB_site->fetch_array($threads)) { // and $counter++<$perpage) {
below it add this code
if ($thread['replycount'] >= 50){
$hot='<font color=yellow face="times new roman" size="2"><b><i><u>?iHotTopic?j</u></i></b></font>';}
than put the $hot in forumdisplaybit template.......and the problem
is when in the same page if one thread reach the setting
(50 post replys)..than in same page's all threads show up the
[hottopic] nomatter the thread reach the setting or not?
so how should i make this work.......if not clear u can take look
the attach pic..thankz~