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: automatic notify off  (Read 4522 times)

0 Members and 1 Guest are viewing this topic.

torkio

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 94
automatic notify off
« on: September 18, 2007, 07:40:30 pm »

hi stramm et all ...

sorry my english is very bad

is it possible to set for default "notify mail" comments to OFF forever?
To do in manner that it is the user to activate it with the click on "get notify"? 

thank you
Antonio
« Last Edit: September 19, 2007, 04:05:27 pm by Stramm »
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: automatic notify off
« Reply #1 on: September 18, 2007, 08:06:46 pm »

You'll have to use a tool like phpmydmin for that.
Open the coppermine db and click on the users table (tablöe list on the left side)... now click the edit button next to enable_admin_email (the pencil) and set default to '0' (from a '1')
Do the same for auto_subscribe_post and auto_subscribe_comment

Before messing around with the db a backup is recommended. That wont change already existing user settings but has just an effect for users that register after the edit

torkio

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 94
Re: automatic notify off
« Reply #2 on: September 18, 2007, 09:14:19 pm »

and per old users nothing?
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: automatic notify off
« Reply #3 on: September 18, 2007, 09:21:08 pm »

for that you'd need to run some queries

torkio

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 94
Re: automatic notify off
« Reply #4 on: September 18, 2007, 09:23:13 pm »

many complicated?
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: automatic notify off
« Reply #5 on: September 18, 2007, 09:43:42 pm »

not really... something like
UPDATE CPG_users SET enable_admin_email= '0'

backup your stuff, change CPG to the prefix you're actually using (like cpg1413) and paste that query into phpmyadmins sql box

do the same for the two other fields

But it's not recommended at all. It's not good to change user settings after they signed up. At least I'd lose trust into your site and you as admin when I'd recognize changes in my profile.

torkio

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 94
Re: automatic notify off
« Reply #6 on: September 19, 2007, 09:59:23 am »

thanks Stramm

 now I think about it before to do the change

best regards
Antonio
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.