Resource icon

xF1 Add-on Display User's Age in Message User Info 1.0.1

No permission to download
Compatible XF Versions
  1. 1.2
  2. 1.3
  3. 1.4
This add-on enables the displaying of a user's age in the Message User Info area. You as an admin can turn this on/off as a Style Property.

Admin CP > Appearance > Styles Properties > Message Elements

This is what it looks like:

xenforo_com_community_attachments_age_png_30930__.png


Of course, (thanks to Jake Bunce) this honours the user's profile option. Their age will not display if the option is unchecked:

xenforo_com_community_attachments_show_dob_year_png_30931__.png


Finally, this add-on makes available a template helper, allowing you to use the age of the user elsewhere. (Subject to the parameter being available in the template).

I haven't tested this, but in theory this could be used to prevent access to a forum based on age using template conditionals.

The helper is called with: {xen:helper userage, $user}

HOW TO INSTALL

1) Download the zip file. Extract its contents.
2) Upload the contents of the upload folder to the root of your XenForo installation.
3) Install using the XML file provided.
  • Like
Reactions: jomar3
Author
AnimeHaxor
Size
5.6 KB
Extension
zip
Downloads
10
Views
1,338
First release
Last update

More resources from AnimeHaxor

Similar resources

ITD] Display Crossed Staff Ribbon at Message User Info AnimeHaxor
Display Crossed Staff Ribbon at Message User Info in XF 1.4
0.00 star(s) 0 ratings
Downloads
24
Updated
Adds display name field which will be shown instead of username in case it is set.
0.00 star(s) 0 ratings
Downloads
6
Updated
Limit Who's Online to display only registered users AnimeHaxor
0.00 star(s) 0 ratings
Updated
Thread Display Options AnimeHaxor
Adds Thread & Conversation Display Options above thread and conversation list
0.00 star(s) 0 ratings
Downloads
1
Updated
Display various forum stats in a WordPress Widget
0.00 star(s) 0 ratings
Downloads
1
Updated