Plugin does not work
Ok, got it. :lol:
Well, can you post it Wink I'll need to implement this into my WelcomePanels Toungue
Well, it's easy.

First you have to get the unviewable forums:
$unviewable = getunviewableforums(); 
      $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. Wink

Forum Jump:

Users browsing this thread: 1 Guest(s)