Add picturetitle as the subject to PM Add picturetitle as the subject to PM
 

News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

Add picturetitle as the subject to PM

Started by Willow69, November 27, 2006, 01:13:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Willow69

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

Stramm

after
if (!$CONFIG['pms_enabled'] || (!USER_ID)) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
add
isset($_GET['subject']) ? $subject = $_GET['subject'] : $subject = '';

Willow69

Works perfect  ;D

BIG THANK YOU for the quick response and for the modpack itself!!

THX and greets,
Willow