Jump to content

  •  

  • Tutorial info Visit support topic

    • Added on: Nov 21 2008 03:34 PM
    • Date Updated: Nov 25 2008 09:26 AM
    • Views: 1451
     


    * * * * *
    0 Ratings

    Bug fix: Increase user's post count on post file when create new topic

    This tuto will fix the bug that don't inscrease the user's post count when he creates a new topic.

    Posted by Adriano Faria on Nov 21 2008 03:34 PM
    Open sources\components_public\downloads\lib\lib_topics.php and find:

    $this->ipsclass->DB->simple_update( 'members', 'posts=posts+1', 'id='.intval( $mid ) );
    Change to:

    $this->ipsclass->DB->simple_update( 'members', 'posts=posts+1', 'id='.intval( $file['file_submitter'] ) );
    Bug already reported and fixed on IP.Downloads 2.0!

    Powered by Tutorials 1.4.1 © 2012, by Michael McCune