2forumsame Member Mod - NBS






 

 

2forumsame Member Mod - NBS

View Full Version : 2forumsame Member Mod


ProtocolX
12-Jan-2004, 02:32 AM
Was adding m3n's mod that allows people to login to a second forum if they are registered on the main ones...anyways, I get this error everytime:

Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /home/protocol/public_html/download/sources/Drivers/mySQL.php on line 449

Fatal error: Cannot instantiate non-existent class: db_driver in /home/protocol/public_html/download/index.php on line 133

heres the part of the code I had to add only putting my SQL details in there:


/*================================================= =======================*/

// Process a query

/*================================================= =======================*/

   

     function query($the_query, $bypass=0) {

   

               $the_query = ereg_replace("ibf_members","protocol_ibfdb.ibf_mem bers",$the_query);



               $the_query = ereg_replace("ibf_titles","protocol_ibfdb.ibf_titl es",$the_query);



               $the_query = ereg_replace("ibf_groups","protocol_ibfdb.ibf_grou ps",$the_query);



               $the_query = ereg_replace("ibf_forum_perms","protocol_ibfdb.ibf _forum_perms",$the_query);



               $the_query = ereg_replace("ibf_forum_moderators","protocol_ibfd b.ibf_forum_moderators",$the_query);



               $the_query = ereg_replace("ibf_member_extra","protocol_ibfdb.ib f_member_extra",$the_query);



               $the_query = ereg_replace("ibf_contacts","protocol_ibfdb.ibf_co ntacts",$the_query);


   
   function query($the_query, $bypass=0) {