Smilies coming broken in notification email Smilies coming broken in notification email
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Smilies coming broken in notification email

Started by Abbas Ali, January 31, 2006, 08:52:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Abbas Ali

The smilies were coming broken in comment notification emails. Fixed it by modifying db_input.php

Fix committed to devel and stable. Please confirm.

For those who want to fix manually.....

Edit db_input.php

Replace (around line 152)


$mail_body = "<p>" . bb_decode(process_smilies($msg_body)) . "</p>\n\r ".$lang_db_input_php['email_comment_body'] . " " . $CONFIG['ecards_more_pic_target'].(substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/').$redirect;


with


$mail_body = "<p>" . bb_decode(process_smilies($msg_body, $CONFIG['ecards_more_pic_target'])) . "</p>\n\r ".$lang_db_input_php['email_comment_body'] . " " . $CONFIG['ecards_more_pic_target'].(substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/').$redirect;



Abbas
Chief Geek at Ranium Systems

Nibbler

That fixed it for anonymous users only, for logged in users a similar line further down required modification also.

ref: http://forum.coppermine-gallery.net/index.php?topic=28072.0

Marking as fixed.

Abbas Ali

Oops.....i missed that. Anyways thanks Nibbler.
Chief Geek at Ranium Systems