The Genie Member block is now as widgets, one for large spaces and another suitable for sidebars:
Wide spaces PC view :
![]()
Wide Spaces Mobile View :
Narrow spaces (sidebar)![]()
[IMG...
$xf.visitor.isMemberOf([3, 4])
and the widget only displays for them. Good!Criteria seems to be cumulative !I need to check this, unless you already know?
reaction_ratio
value seems to be difficult to use... How about if you wrap the whole block in a conditional, or use it as a display criteria?@Miri @MapleOne @Wanji @Lee @Kintaro
Hi guys, i wanted to share with you a little thought :
The problem I encounter with the widgets is that they will remain displayed even if the objectives are all achieved.
To solve this problem there are 3 steps currently:
You see right away that for a very active forum it will quickly become unmanageable!!
- The first is to indicate a display condition according to the user groups selected in the options of the Genius Member add-on.
If I select user groups 3 and 4 (ID) in the add-on options then I apply the condition$xf.visitor.isMemberOf([3, 4])
and the widget only displays for them. Good!- A member has achieved all goals, automatically the genius icon is displayed near his username. Perfect. But he is surprised to always see the Genius Member widget, what is it for now since he has achieved his goals? To nothing ! Second step, random this one, the member makes the remark to a moderator or an administrator.
- If it is a moderator who is notified, he must himself notify an administrator since he does not have the power to resolve this situation. So the administrator, once notified, has only one choice: to manually promote the new Genius to a new user group, one that is not selected for the Genius Member program of course. This is also interesting because the Geniuses could be granted new privileges in this user group that has been reserved for them.
However, there is a very simple solution: create a user group promotion with criteria modeled on those of the Genie Member program. So when the objectives of the Genius Member program are reached and the promotion of the user group is triggered, the widgets delete themselves!
Unfortunately, everything is never easy, and the Vote Score criterion does not exist in user group promotions... So the solution falls through!
Unless... Unless I replace this Vote Score criterion with one that is present in user group promotions! And the only answer to that is the reaction/messages ratio...
What do you guys think? Is it worth replacing the Vote Score with this ratio?
@Kintaro already suggested it in his last message.
All this would be perfect provided that the criteria of the promotions of the user groups are cumulative! If a single criterion reached triggers the promotion then everything is screwed! I need to check this, unless you already know?
<xf:if is="{{$xf.visitor.message_count < $xf.options.geniusMemberPosts.level}} || {{$xf.visitor.question_solution_count < $xf.options.geniusMemberSolutions.level}} || {{$xf.visitor.vote_score < $xf.options.geniusMemberVote.level}} || {{$xf.visitor.reaction_score < $xf.options.geniusMemberReaction.level}} || {{$xf.visitor.trophy_points < $xf.options.geniusMemberTrophy.level">
Block HTML
</xf:if>
You might want to check that the criteria is enabled too.How about if you wrap the whole block in a conditional, or use it as a display criteria?
HTML:<xf:if is="{{$xf.visitor.message_count < $xf.options.geniusMemberPosts.level}} || {{$xf.visitor.question_solution_count < $xf.options.geniusMemberSolutions.level}} || {{$xf.visitor.vote_score < $xf.options.geniusMemberVote.level}} || {{$xf.visitor.reaction_score < $xf.options.geniusMemberReaction.level}} || {{$xf.visitor.trophy_points < $xf.options.geniusMemberTrophy.level"> Block HTML </xf:if>
This way the block will only show if any of the goals have not been met.
Thanks for your answer.I would honestly leave it simple as it is. All I can suggest is: that once the threshold of the 'criteria' is reached, the criterion itself is hidden from view, leaving only the criteria not reached. When all criteria are reached, display a thank-you sentence.
Thanks @Lee for this solution.This way the block will only show if any of the goals have not been met.
Perfect.@Miri @MapleOne @Wanji @Lee @Kintaro
Hi guys, i wanted to share with you a little thought :
The problem I encounter with the widgets is that they will remain displayed even if the objectives are all achieved.
To solve this problem there are 3 steps currently:
You see right away that for a very active forum it will quickly become unmanageable!!
- The first is to indicate a display condition according to the user groups selected in the options of the Genius Member add-on.
If I select user groups 3 and 4 (ID) in the add-on options then I apply the condition$xf.visitor.isMemberOf([3, 4])
and the widget only displays for them. Good!- A member has achieved all goals, automatically the genius icon is displayed near his username. Perfect. But he is surprised to always see the Genius Member widget, what is it for now since he has achieved his goals? To nothing ! Second step, random this one, the member makes the remark to a moderator or an administrator.
- If it is a moderator who is notified, he must himself notify an administrator since he does not have the power to resolve this situation. So the administrator, once notified, has only one choice: to manually promote the new Genius to a new user group, one that is not selected for the Genius Member program of course. This is also interesting because the Geniuses could be granted new privileges in this user group that has been reserved for them.
However, there is a very simple solution: create a user group promotion with criteria modeled on those of the Genie Member program. So when the objectives of the Genius Member program are reached and the promotion of the user group is triggered, the widgets delete themselves!
Unfortunately, everything is never easy, and the Vote Score criterion does not exist in user group promotions... So the solution falls through!
Unless... Unless I replace this Vote Score criterion with one that is present in user group promotions! And the only answer to that is the reaction/messages ratio...
What do you guys think? Is it worth replacing the Vote Score with this ratio?
@Kintaro already suggested it in his last message.
All this would be perfect provided that the criteria of the promotions of the user groups are cumulative! If a single criterion reached triggers the promotion then everything is screwed! I need to check this, unless you already know?
Fixed in the next version. Thanks.Just a small detail. I see there is a colon there.
Thanks, the next version will include the ratio instead of the voting score. I renamed ratio by reputation but it can be changed in phrases.Perfect.
We use essential cookies to make this site work, and optional cookies to enhance your experience.