Page 1 of 1

Question about Gallery2 integration install

PostPosted: Tue May 30, 2006 8:17 am
Author: atomhead
#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_register.php

#
#-----[ FIND ]------------------------------------------
#
$sql = "UPDATE " . USERS_TABLE . "
SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("'", "''", $email) ."', user_icq = '" . str_replace("'", "''", $icq) . "', user_website = '" . str_replace("'", "''", $website) . "', user_occ = '" . str_replace("'", "''", $occupation) . "', user_from = '" . str_replace("'", "''", $location) . "', user_interests = '" . str_replace("'", "''", $interests) . "', user_sig = '" . str_replace("'", "''", $signature) . "', user_sig_bbcode_uid = '$signature_bbcode_uid', user_viewemail = $viewemail, user_aim = '" . str_replace("'", "''", str_replace(' ', '+', $aim)) . "', user_yim = '" . str_replace("'", "''", $yim) . "', user_msnm = '" . str_replace("'", "''", $msn) . "', user_attachsig = $attachsig, user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_notify_pm = $notifypm, user_popup_pm = $popup_pm, user_timezone = $user_timezone, user_dateformat = '" . str_replace("'", "''", $user_dateformat) . "', user_lang = '" . str_replace("'", "''", $user_lang) . "', user_style = $user_style, user_active = $user_active, user_actkey = '" . str_replace("'", "''", $user_actkey) . "'" . $avatar_sql . "
WHERE user_id = $user_id";

#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Update user in gallery
require($phpbb_root_path . 'g2helper.inc');
$g2h = new g2helper($db);
$g2h->updateUser($user_id, $username, $password, $email);


Trying to add this but that file doesn't exist in IntergraMod.. can someone point me in the direction of the file that would have this information to change? Or is it done completely differently...

Re: Question about Gallery2 integration install

PostPosted: Tue May 30, 2006 9:10 am
Author: atomhead
Also, I added the necessary files to enable this is the admin menu, but I think there is a problem with Slide Menu. The Gallery2 link is not showing up.