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 :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
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 15:21 Go to next message
tux99   Switzerland
Messages: 44
Registered: September 2010
Karma: 0
Member
add to buddy list
ignore all messages by this user
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 15:40 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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 15:46 Go to previous messageGo to next message
tux99   Switzerland
Messages: 44
Registered: September 2010
Karma: 0
Member
add to buddy list
ignore all messages by this user
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 15:50 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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 18:06 Go to previous message
tux99   Switzerland
Messages: 44
Registered: September 2010
Karma: 0
Member
add to buddy list
ignore all messages by this user
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 18:07]

Report message to a moderator

Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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 Oct 20 01:19:56 EDT 2017

Total time taken to generate the page: 0.00636 seconds