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

Home » FUDforum » How To » New user properties.
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
New user properties. [message #15976] Sat, 10 January 2004 23:50 Go to next message
hello-world is currently offline  hello-world   India
Messages: 47
Registered: December 2003
Karma: 0
Member


When adding new users - either by admin or through mail - is there a
way to set their default properties.

I want to have a new user's mailing address hidden by default. The
current setup displays the email addresses by default.


One way is to modify the register.tmpl, but that would work only with
users who register themselves and not when they are automatically
added through mail.


Thanks in advance.

Re: New user properties. [message #15977 is a reply to message #15976] Sat, 10 January 2004 23:54 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
There is no way to set default prior to user creation. After you create the account you can modify the settings for it.

If you want to change that, you need to edit the sources.


FUDforum Core Developer
Re: New user properties. [message #15979 is a reply to message #15977] Sun, 11 January 2004 00:48 Go to previous messageGo to next message
hello-world is currently offline  hello-world   India
Messages: 47
Registered: December 2003
Karma: 0
Member
You mean, I have no other way other than get murdered by the mailing
list people? which they will too, when they see their addresses has
been publicly displayed.

Gosh, those folks are bit testy already.

Thanks anyway. Can you just point me to which source file I have to
drown my head in?


Thanks


Btw, I have noticed that the new user inherits the properties from
the "admin", but only in the registration panel.

It is not done when the user is added through mail.


[Updated on: Sun, 11 January 2004 00:53]

Report message to a moderator

Re: New user properties. [message #15983 is a reply to message #15979] Sun, 11 January 2004 03:29 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Most mailing list archives already do that Wink

If you are talking about the default values of accounts created by mailing list import you need to look at the users_reg.inc.t
if ($this->users_opt == -1) {
...

}

The 1st line in that if defines bitmask options for newly created users. Open fud_users.tbl for bitmask reference.


FUDforum Core Developer
Re: New user properties. [message #15985 is a reply to message #15983] Sun, 11 January 2004 06:28 Go to previous message
hello-world is currently offline  hello-world   India
Messages: 47
Registered: December 2003
Karma: 0
Member


Yeah, Got it! Thanks.

But even though my theme was "newstyle", when adding through mail, it
used the file from the "defaults" theme.

But it worked.

Thanks.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: header tmpl too easy
Next Topic: Spell Checker.
Goto Forum:
  

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

Current Time: Thu Nov 28 01:22:32 GMT 2024

Total time taken to generate the page: 0.02285 seconds