i have random post but it shows members the admin club posts and lets them view it too . can anyone provide me with lastest forum post without it showing admin club posts or so at least it denies them from viewing the post ,
thanks
Started on the old forum in May 2008 · view the original in the archive · old links redirect here
i have random post but it shows members the admin club posts and lets them view it too . can anyone provide me with lastest forum post without it showing admin club posts or so at least it denies them from viewing the post ,
thanks
just copy and replace this code
$sql = mysql_fetch_array(mysql_query("SELECT a.name, b.uid, b.tid
FROM ibwf_topics a
INNER JOIN ibwf_posts b ON a.id = b.tid
ORDER BY b.id DESC
LIMIT 1"));
$a = htmlspecialchars($sql[0]);
$b = getnick_uid($sql[1]);
$c = "<a href=\"index.php?action=viewtpc&sid=$sid&tid=$sql[2]&go=last\">$a</a>";
$d = "<a href=\"index.php?action=viewuser&sid=$sid&who=$sql[1]\">$b</a>";
echo "[size="1"]Last post in $c By $d[/size]
";