Advanced search  

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]

Pages: 1 [2]   Go Down

Author Topic: ECard - sender's email missing on web display  (Read 28003 times)

0 Members and 1 Guest are viewing this topic.

beni

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 6
    • http://www.fotoalbum.for-all.ch
Re: [Solved]: ECard - sender's email missing on web display
« Reply #20 on: June 21, 2004, 08:12:02 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: ECard - sender's email missing on web display
« Reply #21 on: June 22, 2004, 07:22:29 am »

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

GauGau
Logged

beni

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 6
    • http://www.fotoalbum.for-all.ch
Re: [Solved]: ECard - sender's email missing on web display
« Reply #22 on: June 22, 2004, 11:25:33 pm »

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

Code: [Select]
// 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

Code: [Select]
// 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) == '/' ? '' : '/');
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: ECard - sender's email missing on web display
« Reply #23 on: June 23, 2004, 05:13:55 am »

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
Logged

phishpics

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: [Solved]: ECard - sender's email missing on web display
« Reply #24 on: August 28, 2004, 07:40:46 pm »

THANK YOU!!!


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

much aprpeciated!

Craig
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.036 seconds with 20 queries.