Features / Usability

Features / Usability

Changing default on PM

posts: 2

With 1.9, the default for members' PM is 'no' which causes me problems when they don't look in their Preferences and instead try and PM me...
I need to change the default to allow all members to use PM.

Is this in tiki_user_preferences?
Can you please advise which 'exactly' I should change.


posts: 2881 United Kingdom

You would need to do two steps, firstly change the prefence in tiki_user_preferences for all existing users, then a code modification to make the default option yes.

Personally I feel it should be yes anyway, as this is new behaviour in 1.9

FREE TikiWiki Hosting now available!

posts: 32 Greece

Hi Bluey,

I suggest doing a surgery to the Tiki Database if you feel comfortably with blood...

Run the following script to find the users who have problem with PM:

SELECT 'user'
FROM `tiki_user_preferences`
WHERE `prefName` = 'allowMsgs' AND `value` = 'n' LIMIT 0 , 30;

Then you can change the option "Allow messages from other users" in user Preferences/Other Preferences for every user of this select.

Or you can "kill" all these ennoying rows by

FROM `tiki_user_preferences`
WHERE `prefName` = 'allowMsgs' AND `value` = 'n'.

The oprion will be "YES" in the next login.


PS I tried creating a new user in my Tiki (v.1.9.0) and the oprion "Allow messages from other users" is by deafault YES.