Member Tenure Badge Display Tutorial
Quote:Preview of what this tutorial creates on member profiles.
Requirements
Before you begin, make sure you've installed the following plugin:
- Template Conditionals — Download 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.
Signature
Forum is under development