*********************************************************************
*                       New thread count                            *
*          by illogicalx ( illogicalx@vbhacks.net)                  *
*                                                                   * 
*                For vBulletin all versions                         *
*                    http://vbhacks.net                *
*********************************************************************
   

      

1-   
index.php 

      : 
        // prepare template vars
        if (!$showforumdescription) {
          $forum['description']='';
        }


    :

         if ($bbuserinfo[userid]!=0) {
        $newforumthreads = $DB_site->query_first("SELECT COUNT(threadid) AS total FROM thread WHERE dateline>$bbuserinfo[lastvisit] and forumid=$forum[forumid]  ");
        $newforumthreadvew = $newforumthreads[total];
       eval("\$forum[newforumthreadvew] = \"".gettemplate('forumhome_newforumthreads')."\";");
        
         }




2-  
forumhome_forumbit_level2_post

 

$forum[title]

  
$forum[title] >>  $forum[newforumthreadvew]



3-    
forumhome_newforumthreads

    :

     $newforumthreadvew  




illogicalx