forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 modpack by Stramm => Topic started by: redlock on October 27, 2006, 10:57:33 am
-
in the email notification is following link to read at present the message:
http://www.s-bahn-berlin.de/erleben/foto-community/pms.php
user those announced do not get then however an error message
I find the following link better:
http://www.s-bahn-berlin.de/erleben/foto-community/login.php?referer=pms.php
how can I change that?
-
easiest way would be to change thr error message... something like you need to login to use that feature or something similar.
What you want to do would lead to an error message if a user's already's logged in (Error. You are already logged in !)
-
can I mark this as solved or do you need help changing the error message?
-
sorry,
i need to help
-
find in pms.php
if (!USER_ID) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
and replace with
if (!USER_ID) cpg_die(ERROR, "Du musst Dich <a href='login.php?referer={$_SERVER['PHP_SELF']}'>einloggen</a>, um Deine PNs zu lesen ", __FILE__, __LINE__);
-
after the replace:
Parse error: parse error, unexpected ';' in /home/192839/html/erleben/foto-community/pms.php on line 13
any idea?
-
try again, works as expected for me. The line you're supposed to replace is no. 9
-
it works
thanks