forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 modpack by Stramm => Topic started by: Willow69 on November 27, 2006, 01:13:18 pm
-
Hello everybody,
I wonder if there is a way to hand over the titel of a picture as the subject of a PM.
Right now the Send PM Button just hands over the owner_id to automaticaly determine the receipiant of the PM.
I tried it this way:
<a href='".(PM_LINK).$pic_data['owner_id']."&subject=".$pic_data['title']."'>
and the result is a URL like this :
http://www.meineseite.de/cpg/pms_send.php?id=1&subject=Testbild
However the PM opens with the right receipiant (in this example its Admin) but no subject. Any clue?
Cheers and THX in advance,
Willow
-
after
if (!$CONFIG['pms_enabled'] || (!USER_ID)) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
add
isset($_GET['subject']) ? $subject = $_GET['subject'] : $subject = '';
-
Works perfect ;D
BIG THANK YOU for the quick response and for the modpack itself!!
THX and greets,
Willow