Author Topic: Change existing user prefs?  (Read 2684 times)

Offline Blackice000

  • Newbie
  • *
  • Posts: 7
Change existing user prefs?
« on: February 19, 2017, 01:38:31 PM »
Once a user has logged on, their prefs (taken from the defaults) can be modified by them. These changes are stored in the database, so changing the defaults has no effect.

Is there a mechanism to change a users preferences once they modify them?

Particularly, I am looking to modigy the CHECK MAIL interval time.

I am using 1.3 on a Centos 7.3 system if that has any relevance.

Thanks!

Rick

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,878
    • SKaero - Custom Roundcube development
Re: Change existing user prefs?
« Reply #1 on: February 19, 2017, 01:51:46 PM »
The moduserprefs.sh in the <RC root>bin folder should do what you are looking for.

Offline Blackice000

  • Newbie
  • *
  • Posts: 7
Re: Change existing user prefs?
« Reply #2 on: February 19, 2017, 05:41:50 PM »
OK I see the moduserprefs.sh in the bin folder and have tried the following syntax:

 ./moduserprefs.sh --user=username refresh_interval 200

Something is wrong. It executes but there is no change. Must be something I am doing wrong.

Rich

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,878
    • SKaero - Custom Roundcube development
Re: Change existing user prefs?
« Reply #3 on: February 20, 2017, 06:04:13 AM »
You need to use the user id not the username.