$user info From Online Manual

Revision as of 01:10, 4 May 2012 by Live627 (talk | contribs) (Created page with "{{Needs work}} {{TOCright}} ==$user_info== These are all the keys defined for $user_info in loadUserSettings(). Some are self-explanatory, for sure. ===groups=== ===possibly_...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

$user_info

These are all the keys defined for $user_info in loadUserSettings(). Some are self-explanatory, for sure.

groups

possibly_robot

id

username

name

email

passwd

language

is_guest

is_admin

theme

last_login

ip

ip2

posts

time_format

time_offset

avatar

smiley_set

messages

unread_messages

total_time_logged_in

buddies

String. The list of their buddies delimited by commas.

ignoreboards

String. The list of boards they WANT to see delimited by commas.

ignoreusers

String. The list of users they have opted to ignore delimited by commas.

  • In SMF 1.1.x only PMs get ignored.
  • In SMF 2.0.x and onwards, this feature has been improved to also hide the posts of the ignored user.

warning

permissions

query_see_board

query_wanna_see_board

The list of boards they WANT to see as part of a prepared SQL statement.

mod_cache

Moderator cache.

is_mod

Boolean. Is false except in boards where the member is a moderator. It is always set.



Advertisement: