It's an old add on so it uses PHP template hooks.
Probably with CSS.
Works great but I think add-on needs an update for 1.2 pairsJustified;
Code:<xen:if is="!{xen:property displayUserAge}"> <xen:elseif is="{$user.show_dob_year}" /> <dl class="pairsJustified"> <dt>{xen:phrase age}:</dt> <dd>{xen:helper userage, $user}</dd> </dl> </xen:if>
And it will fix dl class problem in message user info.
@Chris Deeming
Is it possible to move "Age" below "Gender" and then move the actual age number to the right side of the user info box to match the other items?
View attachment 67359
[9:52:41 PM] Jordan: I don't know how to do that.
[9:52:59 PM] Jordan: I don't know where the code is being placed to move it around.
[9:53:41 PM] Jordan: I know there's a 'displayuserage' template but that doesn't tell me where it's placed at in the postbit template or even if it's in the postbit template.
[10:18:26 PM] Amaury: Any way you can figure it out?
[10:19:15 PM] Jordan: What?
[10:19:26 PM] Jordan: Oh, no.
[10:19:29 PM] Jordan: I doubt it.
[10:19:43 PM] Jordan: I need to know where/how it's being included in the postbit.
There's probably not an easy way to do that.
please!Can you the Age after Username?
If this add-on is active, the online status indicator don't show, with XenForo 1.4 Beta 1.
Can you confirm?
It works perfectly with XenForo 1.4 RC2:
View attachment 82637
I would not be willing to change anything about this add-on. The location of the age is consistent with the location of other message user info elements.
Important: Please disable the add-on before upgrading or your users may be met with errors.
This update has improved compatibility with newer XenForo versions and as such is now compatible with XenForo 1.2 and above.
- Uses Template Modifications instead of template hooks.
- Uses an event hint while extending the Thread controller.
- Extends the Thread _getPostFetchOptions function properly so that it will be compatible with all new and future XenForo additions plus existing add-ons.
- Hence: The online status indicator now displays correctly while this add-on is enabled.
- Template code improved to only show the Age template if an age is actually returned.
We use essential cookies to make this site work, and optional cookies to enhance your experience.