Resource icon

Display User's Age in Message User Info 1.0.1

No permission to download
Compatible XF 1.x versions
  1. 1.2
  2. 1.3
  3. 1.4
This add-on is not affiliated with XenForo Ltd.


Thank you so much for donating. It is always appreciated!

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:

Age.webp


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

show_dob_year.webp


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.
Author
Chris D
Downloads
165
Views
1,164
First release
Last update

Ratings

5.00 star(s) 3 ratings

More resources from Chris D

Latest updates

  1. A few bug fixes and XF 1.2+ improvements

    Important: Please disable the add-on before upgrading or your users may be met with errors...
  2. Fixes Age not displaying

    This update is a minor bug fix which would prevent the user's age showing up in the...

Latest reviews

This plugin has always served us well and Chris was very quick to rewrite it for 1.4 as well as addressing a long standing but never reported flaw. It is very nice to see a developer support older and free work as well as he does his current paid work.
This is a core feature in vBulletin, so definitely nice!
Another cool eye candy toy. Useful for those members who wish to display their age (and who believe it means more than it is ... ie .. forum drama. lol)
Back
Top Bottom