Xucce
Member Tenure Badge Display Tutorial - Printable Version

+- Xucce (https://xucce.com)
+-- Forum: Forums (https://xucce.com/forum-1.html)
+--- Forum: MyBB Development (https://xucce.com/forum-4.html)
+---- Forum: Tutorials (https://xucce.com/forum-11.html)
+---- Thread: Member Tenure Badge Display Tutorial (/thread-25.html)



Member Tenure Badge Display Tutorial - Erik - 05-26-2025

Member Tenure Badge Display Tutorial

Quote:
[Image: Q1iAWCI.png]
Preview of what this tutorial creates on member profiles.


Requirements 
Before you begin, make sure you've installed the following plugin:

- Template ConditionalsDownload Here 
This plugin is necessary for using conditional logic in your templates.



Step 1: Go to the Member Profile Template 
In your Admin Control Panel: 
ACP → Templates & Style → Templates → Your Theme → Member Templates → member_profile



Step 2: Insert the Following Code 
Paste the following where you'd like the badge to appear on a member's profile:


Locked Content

Guests cannot view hidden content. Please log in.




Notes
- You can customize the [color], [label], or position in the template.
- Time is calculated in seconds (1 day = 60 × 60 × 24).
- This code won't work unless the Template Conditionals plugin is installed.



That’s it! Your member profiles will now show colorful badges based on how long each user has been registered.