2005-10-10, 09:35 PM
Pages: 1 2
2005-10-11, 02:44 AM
Well, can you post it I'll need to implement this into my WelcomePanels
2005-10-11, 12:05 PM
Well, it's easy.
First you have to get the unviewable forums:
First you have to get the unviewable forums:
$unviewable = getunviewableforums();
if($unviewable)
{
$unviewwhere = "WHERE fid NOT IN ($unviewable)";
}
And then you have to insert it into your query:$last_threads = mysql_query ("SELECT subject,username,uid,tid,fid,replies FROM ".TABLE_PREFIX."threads $unviewwhere ORDER BY tid DESC LIMIT 0,".$mybb->settings['overview_max']."");
That was it! I found it somewhere in the MyBB Code. Pages: 1 2