ECard - sender's email missing on web display - Page 2 ECard - sender's email missing on web display - Page 2
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

ECard - sender's email missing on web display

Started by Sikes, June 11, 2004, 05:52:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

beni

I have checked the html code of the emails.

Everywhere in V 1.13 ("missing pictures-version") the directory "Coppermine" dont appear:

V 1.13 <p align="center"><a href="http://www.mindermode.ch/displayecard.php?data=YTo2OntzOjI6InJu
V 1.12 <p align="center"><a href="http://www.mindermode.ch/coppermine/displayecard.php?data=YTo2OntzOj

V 1.13 <img src="http://www.mindermode.ch/albums/userpics/brautmode11skaliert_h400.jpg" border="1" alt="" /><br />
V 1.12 <img src="http://www.mindermode.ch/coppermine/albums/userpics/brautmode11skaliert_h400.jpg" border="1" alt="" /><br />

V 1.13 <div align="right"><img src="http://www.mindermode.ch/images/stamp.gif" alt="" border="0" /></div>
V 1.12 <div align="right"><img src="http://www.mindermode.ch/coppermine/images/stamp.gif" alt="" border="0" /></div>

Thanks for help!

PS At this moment i have installed V 1.13: http://www.mindermode.ch/coppermine

Joachim Müller

what do you have in config for "link to ecards"?

GauGau

beni

Hallo

I have replaced in ecard.php the following (line 75 & 76) new code by the old code from ecard.php V 1.12
Now the pictures appears.

Are the new code wrong / incomplete?


Code "create and send the e-card" in ecard.php,v 1.13

// Create and send the e-card
if (count($HTTP_POST_VARS) > 0 && $valid_sender_email && $valid_recipient_email) {
    $gallery_url_prefix = $CONFIG['ecards_more_pic_target'] . '/';



Code "create and send the e-card" in ecard.php,v 1.12

// Create and send the e-card
if (count($HTTP_POST_VARS) > 0 && $valid_sender_email && $valid_recipient_email) {
    $gallery_dir = strtr(dirname($PHP_SELF), '\\', '/');
$gallery_url_prefix = 'http://' . $HTTP_SERVER_VARS['HTTP_HOST'] . $gallery_dir . (substr($gallery_dir, -1) == '/' ? '' : '/');

Joachim Müller

That's what I was suggesting: modify the "Target address for the 'See more pictures' link in e-cards" setting in coppermine config and you should be fine as well, but if your solution works, then go ahead and smile ;)

GauGau

phishpics

THANK YOU!!!


I was racking my brain trying to figure this one out forever!

much aprpeciated!

Craig