Writing /var/www/vhosts/claromentis.com/httpdocs/wiki/data/cache/4/4c182a4c8a1e1b2453ed864c18ca3e8e.i failed
Writing /var/www/vhosts/claromentis.com/httpdocs/wiki/data/cache/4/4c182a4c8a1e1b2453ed864c18ca3e8e.i failed
Writing /var/www/vhosts/claromentis.com/httpdocs/wiki/data/cache/4/4c182a4c8a1e1b2453ed864c18ca3e8e.xhtml failed
Update users’ ‘What’s New’ settings globally
Each ‘What’s New’ option has an associated code. Added together, these create binary values which are used to set users’ options in the DB.
The following binary values correspond to various combinations of the ‘What’s New’ settings.
Documents and Forums - 96
Documents and Publish Pages - 34
Forums and Publish Pages - 66
All - 12386
Breakdown of actual codes:
Documents - 32
Publish Pages - 2
Forum - 64
Bookshelf - 4096
Bookshelf Pages - 8192
There are 2 ways to update the settings for multiple users:
1. Using ‘bulk user update’ functionality via CSV
Modify the CSV file as required, i.e. insert the correct binary value for users into the what’s new mask column. You can apply the same settings for all users, or different settings for specific users
2. Directly in the Claromentis Database (only use this method if you are an experienced DB administrator)
UPDATE users SET whats_new_mask = *value*;
NB: The query above would update all users with the same value
Discussion