I have installed ver 6.5
but there is seemse to be a problem with forums block.
only the new topics are being dispayed by time posted
and does not apply for replies
so for example, if somebody opens an new topic
that topic will stay on top of forums block
until another NEW topic has been posted
in short words, forums block
is only working for NEW TOPICS
and NOT for NEW REPLIES
any idea?
thank you
p.s. this is my code fot block-forums.php
Quote:
<?php
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2002 by Francisco Burzi (fbc@mandrakesoft.com) */
/* http://phpnuke.org */
/* */
/* This is a 2 min hack of the old forum block to work with the phpBB2 */
/* port. */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
if (eregi("block-Forums.php", $PHP_SELF)) {
Header("Location: index.php");
die();
}
global $prefix, $dbi, $sitename;
$result = sql_query("SELECT forum_id, topic_id, topic_title FROM ".$prefix."_bbtopics ORDER BY topic_time DESC LIMIT 10", $dbi);
$content = "<center><font class=\"blue\"><b> Last Subisions</b></font></center><br>";
while(list($forum_id, $topic_id, $topic_title) = sql_fetch_row($result, $dbi)) {
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum