Bräuchte hilfe beim Mod Post Notification ....

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Pabba
Mitglied
Beiträge: 11
Registriert: 17.03.2004 11:34

Bräuchte hilfe beim Mod Post Notification ....

Beitrag von Pabba »

Hallo,

ich bekomme beim einfügen vom , user_notify_mod=$notifymod einen parse_error.

Das Problem ist ich hab kein Schimmer an welcher stelle das , user_notify_mod=$notifymod hinkommt ! :x

Code: Alles auswählen

# 
#-----[ OPEN ]------------------------------------------ 
# 
admin/admin_users.php
.
.
.
.

# 
#-----[ FIND ]------------------------------------------ 
# 
# BEWARE OF OTHER MODS!!
#
$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_viewemail = $viewemail, user_aim = '" . str_replace("\'", "''", $aim) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_attachsig = $attachsig, user_sig_bbcode_uid = '$signature_bbcode_uid', user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowavatar = $user_allowavatar, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_allow_pm = $user_allowpm, user_notify_pm = $notifypm, user_popup_pm = $popuppm, user_lang = '" . str_replace("\'", "''", $user_lang) . "', user_style = $user_style, user_timezone = $user_timezone, user_dateformat = '" . str_replace("\'", "''", $user_dateformat) . "', user_active = $user_status, user_rank = $user_rank" . $avatar_sql . "

# 
#-----[ IN-LINE FIND ]---------------------------------- 
# 
" . $avatar_sql . "        

# 
#-----[ IN-LINE BEFORE, ADD ]--------------------------- 
# 
, user_notify_mod=$notifymod 


Danke im voraus..

Pabba
Benutzeravatar
Leuchte
Ehemaliges Teammitglied
Beiträge: 9179
Registriert: 26.05.2003 14:57
Wohnort: Duisburg
Kontaktdaten:

Beitrag von Leuchte »

Suchen

Code: Alles auswählen

user_rank = $user_rank" . $avatar_sql . "
ersetzen mit

Code: Alles auswählen

user_rank = $user_rank, user_notify_mod = $notifymod" . $avatar_sql . "
Pabba
Mitglied
Beiträge: 11
Registriert: 17.03.2004 11:34

Beitrag von Pabba »

Danke Leuchte,
da hätte ich noch lange rumgemacht !

Gruß

Pabba
Antworten

Zurück zu „phpBB 2.0: Mod Support“