FusionBB
Bugs Welcome to our Bugs Forum!
Since this software is still in development, there are bound to be bugs. Please post them here. As bugs are fixed they will be filed in the "Fixed" subforum.
Also Note templates used is particular forum is not part of the standard fusion package and was modified by couchtomatoe.
Username Post: [3.1] Finished 1 - increment post count
Couchtomatoe
Code Monkey
Total Posts: 3049
*
Birthday: 02-03 
Location: Richmond, Virginia
Average Post Ranks%:                       
11-04-10 09:36 AM - Post#84807    
    In response to sb1963

Fixed in 3.2 to fix it yourself now in docontact.php

find

Code:

     $post->setForumId($conf['contact_forum']);  





add above it

Code:

      // +----------------------------------     // Get some info on forum     $sql = "         SELECT forum_postcount         FROM " . TABLE_PREFIX . "forums         WHERE forum_id = '".addslashes($conf['contact_forum'])."'     ";     if(!$results=$db->executeQuery($sql)) {         dieHere(1,$lang_str['BAD_QUERY'],__LINE__,__FILE__,$sql);     }     list ($fpostcount) = $db->fetchRow($results);     $db->clearResults($results);     // See if posts in this forum incriment the user's post count     $post->setPostCount($fpostcount);  



The artist formerly known as scroungr
Couch-Tomatoe

NOTE: You are viewing an individual Post. View the Entire Topic
FusionBB™ Version 3.2 | ©2003-2013 InteractivePHP, Inc.
Execution time: 0.064 seconds.   Total Queries: 42   Zlib Compression is on.
All times are (GMT-4). Current time is 01:02 PM
Top