Mail message on new comment Mail message on new comment
 

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

Mail message on new comment

Started by Ron, November 19, 2003, 03:17:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ron

In the db_input.php file there is a new option for a mail message to be sent when a new comment is added. How do I enable this, there is no config setting for it right now.

Nibbler

Simplest way would be to remove the if condition  :D

Ron

Thats right, but there was supposed to be option in the config menu!

Joachim Müller

try switching the language to english and see if it turns up in the config screen. If yes, it isn't in the dutch language file.

GauGau

Nibbler

Add it yourself-

Add row to config table containing:

name :  email_comment_notification
value: 1

And add into your language file:

array('Send mail on new comment', 'email_comment_notification', 1),

inside the $lang_config_data in whichever section of the options you want it in.

(Check your spam folder before you complain it doesnt work :wink: )

Ron

It isn't in the english language file either!

So it is not my fault  :D

This feature is added After the beta testing!

Ron

There is a difference between what is in the database and what db_input is refering to.

in the database there is a field : comment_email_notification

in db_input.php it is called email_comment_notification.

The easiest way is to change this in the db_input.php file.

I have added this to my dutch.php file. and can be downloaded from my website. www.ronbos.nl/download

Ron.

Nibbler


Ron

also the redirect is flawed, it goes to the root of the website, not the coppermine page.

AND the $lang_db_input_php['email_comment_subject'] entry is missing in the language files

I have update the dutch file again. :D

Tarique Sani

I think files are mixed up some how.

Mail comment is not supposed to be a 1.2 feature....
SANIsoft PHP applications for E Biz

Joachim Müller

yes, and possibly I'm to blame :oops:
I'll try to sort this out later today...

GauGau

Ron

If this feature is going to be removed for now, then please let me know, I'll remove it then from the dutch downloadable file, on my site.

Joachim Müller

yes, it's gonna be removed: it's supposed to be in the next version (1.3.0?), not in the current release 1.2.0final.

GauGau

Ron

Ok, I will remove the lines from the dutch language file, tonight.

Removed the "comment" bits from the dutchlanguage file again.