- License Information
- Compatible XF 2.x versions 2.2
- Developer
- XenForo FR
Easily identify your genius members on your forum by placing an icon of your choice after their username.
The options allow you to select the usergroup(s) that can participate in the Genius Member program.
There are 5 selection criteria to be identified as a genius member (The criteria are cumulative and can be individually disabled in the options):
-----
The 5 criteria to reach the Genius rank are also criteria that can be found for the promotions of user groups: allows to match the Genius criteria with the promotion criteria in order to trigger a group promotion of user when Genius rank is reached.
Widget You're almost a genius! (PC view)
Widget You're almost a genius! (Mobile view)
Widget Genius Member goals - narrow spaces
Administrator Panel - Options :
User Cell in Messages :
User tooltip :
User profile :
Use of widgets:
when configuring widgets remember to define a display condition according to the user group(s) you have chosen to participate in the Genius Member program, so only the groups concerned will see the widgets.
You can define these conditions like this:
To display the widget for one usergroup use this syntax :
$xf.visitor.isMemberOf(X)
Where X is the usergroup ID
To display the widget for multiple groups use this syntax :
$xf.visitor.isMemberOf([X, Y, Z])
Where X, Y, Z are usergroup IDs
Can the Genie Member block be placed elsewhere than on the list of forums?
No. The block is configured to display either above or below nodes on the list of forums.
But you can create an HTML widget and copy/paste the code below into the required field.
Please note that the block is made to be placed in wide spaces and is therefore not suitable for side bars.
The options allow you to select the usergroup(s) that can participate in the Genius Member program.
There are 5 selection criteria to be identified as a genius member (The criteria are cumulative and can be individually disabled in the options):
- Number of posts
- Number of solutions
- Ratio
- Trophy points
- Reaction score
- Wide spaces: Your goals for the Genius grade!
- Narrow spaces: Genius grade goals
- When a level is reached (equal or higher value) a green pass of success replaces the values of the user and the value of the objective.
- If a lens is disabled in the options, a gray deactivation badge is automatically displayed.
-----
The 5 criteria to reach the Genius rank are also criteria that can be found for the promotions of user groups: allows to match the Genius criteria with the promotion criteria in order to trigger a group promotion of user when Genius rank is reached.
- The Ratiocriterion is the result of the reaction score divided by the number of messages from users, the values to be defined according to the desired difficulty are these:
- easy : 0,05 to 0.25
- medium: 0.3 to 0.45
- difficult: 0.5 to 0.7
- above 0.7 the goal is very difficult
- The Ratio criterion is locked until the user reaches 500 posts in order to avoid fanciful values when the user is new and has few posts published.
Widget You're almost a genius! (PC view)
Widget You're almost a genius! (Mobile view)
Widget Genius Member goals - narrow spaces
Administrator Panel - Options :
User Cell in Messages :
User tooltip :
User profile :
Use of widgets:
when configuring widgets remember to define a display condition according to the user group(s) you have chosen to participate in the Genius Member program, so only the groups concerned will see the widgets.
You can define these conditions like this:
To display the widget for one usergroup use this syntax :
$xf.visitor.isMemberOf(X)
Where X is the usergroup ID
To display the widget for multiple groups use this syntax :
$xf.visitor.isMemberOf([X, Y, Z])
Where X, Y, Z are usergroup IDs
Can the Genie Member block be placed elsewhere than on the list of forums?
No. The block is configured to display either above or below nodes on the list of forums.
But you can create an HTML widget and copy/paste the code below into the required field.
Please note that the block is made to be placed in wide spaces and is therefore not suitable for side bars.
PHP:
<div class="block">
<div class="block-container">
<div class="block-header">
{{ phrase('geniusBlockTitle') }} {$xf.visitor.username} !<span class="genius-link"><a href="{$xf.options.geniusExplainURL}">{$xf.options.geniusExplainTitle}</a></span>
</div>
<div class="genius-flex">
<div class="block-row">
<h3 class="block-textHeader">{{ phrase('posts') }}</h3>
<div class="genius-level">
<xf:if is="$xf.visitor.message_count > $xf.options.geniusMemberPosts.level">
<i class="fas fa-check-circle genius-green"></i>
<xf:else />
<span class="genius-dimmed">{$xf.visitor.message_count|number} / <b>{$xf.options.geniusMemberPosts.level}</b></span>
</xf:if>
</div>
</div>
<div class="block-row">
<h3 class="block-textHeader">{{ phrase('solutions') }}</h3>
<div class="genius-level">
<xf:if is="$xf.visitor.question_solution_count > $xf.options.geniusMemberSolutions.level">
<i class="fas fa-check-circle genius-green"></i>
<xf:else />
<span class="genius-dimmed">{$xf.visitor.question_solution_count|number} / <b>{$xf.options.geniusMemberSolutions.level}</b></span>
</xf:if>
</div>
</div>
<div class="block-row">
<h3 class="block-textHeader">{{ phrase('vote_score') }}</h3>
<div class="genius-level">
<xf:if is="$xf.visitor.vote_score > $xf.options.geniusMemberVote.level">
<i class="fas fa-check-circle genius-green"></i>
<xf:else />
<span class="genius-dimmed">{$xf.visitor.vote_score|number} / <b>{$xf.options.geniusMemberVote.level}</b></span>
</xf:if>
</div>
</div>
<div class="block-row">
<h3 class="block-textHeader">{{ phrase('reaction_score') }}</h3>
<div class="genius-level">
<xf:if is="$xf.visitor.reaction_score > $xf.options.geniusMemberReaction.level">
<i class="fas fa-check-circle genius-green"></i>
<xf:else />
<span class="genius-dimmed">{$xf.visitor.reaction_score|number} / <b>{$xf.options.geniusMemberReaction.level}</b></span>
</xf:if>
</div>
</div>
<div class="block-row">
<h3 class="block-textHeader">{{ phrase('trophy_points') }}</h3>
<div class="genius-level">
<xf:if is="$xf.visitor.trophy_points > $xf.options.geniusMemberTrophy.level">
<i class="fas fa-check-circle genius-green"></i>
<xf:else />
<span class="genius-dimmed">{$xf.visitor.trophy_points|number} / <b>{$xf.options.geniusMemberTrophy.level}</b></span>
</xf:if>
</div>
</div>
</div>
</div>
</div>