FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Imported user default settings, where to change?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Imported user default settings, where to change? [message #163215] Fri, 08 October 2010 19:21 Go to next message
tux99   Switzerland
Messages: 44
Registered: September 2010
Karma: 0
Member
Which file (and which lines in it) do I have to edit to change the default settings for users imported from a ML?

I mean the settings that are available in the Preferences section of the Account settings page of the Control Panel for each user (notificatios on/of, email on/off, etc..).

Basically I want to change it, that ML imported users have different default settings than normal registered users, for example i want them to have PM and Email off by default.
Re: Imported user default settings, where to change? [message #163216 is a reply to message #163215] Fri, 08 October 2010 19:40 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
See
$this->users_opt = 4|16|128|256|512|2048|4096|8192|16384|131072|4194304;
in users_reg.inc.t

Values are documented at fud30_users.
Re: Imported user default settings, where to change? [message #163217 is a reply to message #163216] Fri, 08 October 2010 19:46 Go to previous messageGo to next message
tux99   Switzerland
Messages: 44
Registered: September 2010
Karma: 0
Member
Thanks, is that specific for ML imported users or is it a single default setting for all new users (i.e. i can't set it differently for ML imported users)?
Re: Imported user default settings, where to change? [message #163218 is a reply to message #163217] Fri, 08 October 2010 19:50 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
One line up:
/* This is used when utilities create users (aka nntp/mlist/xmlagg imports). */
Re: Imported user default settings, where to change? [message #163219 is a reply to message #163215] Fri, 08 October 2010 22:06 Go to previous message
tux99   Switzerland
Messages: 44
Registered: September 2010
Karma: 0
Member
Sorry Embarassed , I should have really looked at the code before asking questions, but I didn't have access to my fudforum install at that time.

Anyway, that sounds great, exactly what I was looking for, thanks.

[Updated on: Fri, 08 October 2010 22:07]

Report message to a moderator

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: setting up user groups and permissions
Next Topic: using favicon.ico
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 06:23:23 GMT 2024

Total time taken to generate the page: 0.01780 seconds