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]   Go Down

Author Topic: Mail message on new comment  (Read 5850 times)

0 Members and 1 Guest are viewing this topic.

Ron

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Posts: 28
Mail message on new comment
« on: November 19, 2003, 03:17:38 pm »

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.
Logged

Nibbler

  • Guest
Mail message on new comment
« Reply #1 on: November 19, 2003, 03:45:34 pm »

Simplest way would be to remove the if condition  :D
Logged

Ron

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Posts: 28
Mail message on new comment
« Reply #2 on: November 19, 2003, 04:34:42 pm »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Mail message on new comment
« Reply #3 on: November 19, 2003, 05:56:41 pm »

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
Logged

Nibbler

  • Guest
Mail message on new comment
« Reply #4 on: November 19, 2003, 06:14:27 pm »

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: )
Logged

Ron

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Posts: 28
Mail message on new comment
« Reply #5 on: November 19, 2003, 09:36:03 pm »

It isn't in the english language file either!

So it is not my fault  :D

This feature is added After the beta testing!
Logged

Ron

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Posts: 28
Mail message on new comment
« Reply #6 on: November 19, 2003, 09:59:56 pm »

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.
Logged

Nibbler

  • Guest
Mail message on new comment
« Reply #7 on: November 19, 2003, 10:06:08 pm »

Didn't notice that  :)
Logged

Ron

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Posts: 28
Mail message on new comment
« Reply #8 on: November 19, 2003, 10:10:50 pm »

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
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Mail message on new comment
« Reply #9 on: November 20, 2003, 03:52:52 am »

I think files are mixed up some how.

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Mail message on new comment
« Reply #10 on: November 20, 2003, 07:08:57 am »

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

GauGau
Logged

Ron

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Posts: 28
Mail message on new comment
« Reply #11 on: November 20, 2003, 07:43:33 am »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Mail message on new comment
« Reply #12 on: November 20, 2003, 08:00:36 am »

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
Logged

Ron

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Posts: 28
Mail message on new comment
« Reply #13 on: November 20, 2003, 08:54:58 am »

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

Removed the "comment" bits from the dutchlanguage file again.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 14 queries.