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

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. Wink
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)