Profilestuff
Hello, World!Hello, World!
| Symbol name / example |
Purpose |
| 1 |
The Member-ID of the current user |
| 1 |
Whether the current user is a Guest |
| larrytau |
The username of the current user / given user (optionally takes a member ID, otherwise assumes the current user). If the second parameter is passed as '1', the display name is used (if configured). |
| admin |
Turns a username into a display name, using the configured display name generator (if there is one – otherwise, no change) |
| https://narcfix.kull.ws/themes/default/images/cns_default_avatars/default_set/cool_flare.png |
The member's avatar (optionally takes a member ID, else assumes current user) |
| db@websterkin.com |
The member's e-mail address (optionally takes a member ID, else assumes current user) |
| https://narcfix.kull.ws/uploads/cns_photos_thumbs/unclesam.jpg |
The member's photo (optionally takes a member ID, else assumes current user) |
| https://narcfix.kull.ws/index.php?page=members&type=view&id=narcbb |
The member's profile URL (optionally takes a member ID, else assumes current user) |
|
|
The member's information box (optionally takes a member ID, else assumes current user) |
|
The member's rank images in composed HTML format (optionally takes a member ID, else assumes current user) |
| 0 |
Find whether the current member is in a usergroup (parameters together constitute an Selectcode list, except if the last is primary or secondary then this specifies that the check be limited to checking such usergroup membership). |
| San Antonio Ativars |
Find the raw (unrendered) value of a custom profile field (pass in the ID number of a custom profile field, which can be found from the URL of where you to edit it – or pass in the human-readable name of the field – or pass in a field name from the f_members table). If you pass a second parameter, it will specify the member ID to use (if not passed, it will default to the current member). Note that Tempcode is not context-sensitive apart from the parameters passed into a template. The current member is whoever is logged in; if you are editing a template displaying a member's details (e.g. CNS_MEMBER_PROFILE_SCREEN) then you will need to explicitly specify the member ID in the second parameter using the member ID passed into that template (typically {MEMBER_ID}). |