Question about Gallery2 integration install

Support for IntegraMOD 140

Moderator: Integra Moderator

Question about Gallery2 integration install

PostAuthor: atomhead » Tue May 30, 2006 8:17 am

#
#-----[ 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...
Last edited by atomhead on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

atomhead
Members
Members
 
Posts: 90
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 6:25 pm
Cash on hand: 0.00

Re: Question about Gallery2 integration install

PostAuthor: atomhead » Tue May 30, 2006 9:10 am

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.
Last edited by atomhead on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

atomhead
Members
Members
 
Posts: 90
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 6:25 pm
Cash on hand: 0.00


Return to IntegraMOD 140

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot], Helter