This hack don't work with "Advanced IP Tools Pack"

Makes it possible for admin to create users from admin panel
Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

This hack don't work with "Advanced IP Tools Pack"

Postby andrea75 on Thu 24. Nov, 2005 10:22

This hack is not compatible with the "Advanced IP Tools Pack" by Pentapenguin

http://www.phpbb.com/phpBB/viewtopic.php?t=234613

When I make this modification in the file includes/functions.php, I see the error message "User does not exist" when I try to add an user from ACP.

Code: Select all
#
#-----[ OPEN ]------------------------------------------
#
includes/functions.php


#
#-----[ FIND ]------------------------------------------
#
   if ( !($result = $db->sql_query($sql)) )
   {
      message_die(GENERAL_ERROR, 'Tried obtaining data for a non-existent user', '', __LINE__, __FILE__, $sql);
   }


#
#-----[ AFTER, ADD ]------------------------------------------
#

   // Start Advanced IP Tools Pack MOD
   if ( $db->sql_affectedrows() == 0 )
   {
      message_die(GENERAL_ERROR, 'User does not exist.');
   }
   // End Advanced IP Tools Pack MOD


Have you got a solution for that?

Excuse for my english! :oops:
andrea75
Poster
Poster
 
Posts: 2
Joined: Sun 28. Aug, 2005 19:54

Return to Admin add users [2.0.8/EM]

Who is online

Users browsing this forum: No registered users and 0 guests

cron