View Single Post
  #8  
Old 5th November 2010, 06:29
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
open phpBB3/includes/db/dball.php and find
PHP Code:
}

/**
* This variable holds the class name to use later
*/
$sql_db = (!empty($dbms)) ? 'dbal_' basename($dbms) : 'dbal';

?> 
and add before
PHP Code:
        function sql_numrows($query_id 0)
        {
                if(!
$query_id)
                {
                        
$query_id $this->query_result;
                }
                if(
$query_id)
                {
                        
$result = @mysql_num_rows($query_id);
                        return 
$result;
                }
                else
                {
                        return 
false;
                }
        } 
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
Giorgatzelos (5th November 2010)