$user info From Online Manual
| This article needs some work for the following reason: (no reason given)
This template may be removed when cleanup is complete.
These are all the keys defined for $user_info in loadUserSettings(). Some are self-explanatory, for sure.
array. All possible membergroups attached too a user. Keys do not matter. Values are the groups, sanitized as int, just in case. This includes:
- Primary group
- Post count group
- Additional groups. These are stored in the database as a comma-delimited string.
bool. Is true if the agent matches a known spider if the feature is enabled, and if disabled, makes an educated guess.
int Corresponds to the member's database value 'id_member'.
string. Login name may be different than display name.
string. Their displayed name.
int. Unix timestamp.
int. Post count.
string. Custom format for strtftime().
int. User's hourly offset from the forum time.
- url: string
- filename: string
- custom_dir: bool
- id_attach: int
int. Number of PMs they have.
int. Number of unread PMs they have.
String. The list of their buddies delimited by commas.
String. The list of boards they have ignored delimited by commas.
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.
int. Their warning points.
The list of all the boards they can see as part of a prepared SQL statement.
The list of boards they WANT to see as part of a prepared SQL statement.
Boolean. Is false except in boards where the member is a moderator. It is always set.