Invision Community 5: A video walkthrough creating a custom theme and homepage By Matt Thursday at 04:02 PM
BankFodder Posted June 27, 2021 Posted June 27, 2021 Reputation Points I see that the new version 4.6 has removed reputation points. This is a real shame because these kinds of things are important to lots of people – both because they like to be able to demonstrate how they have been valued by others – and also because it gives newcomers a better sense of the value of the advice they are giving from other members. Now this has gone and there isn't even a choice to display reputation points. It's great that Invision regularly updates the platform, but it's not so great that Invision makes these kinds of decisions on behalf of all of its clients simply to remove features without too much consultation. Has there been any consultation about this? Maybe somebody could link me to the discussion.Current Ranks Having removed reputation points it seems that Invision has now introduced a ranking system. All well and good – but as usual this is to be no choice other than possibly to go round deleting each individual rank and if that happens, I'm not too sure what gets displayed. Anyway I have no problem with ranks but what I find been extraordinary is that even long-standing members of the community – and this includes administrators and other site team, seem to have had their "current ranks" set at – zero – Newbie. I have a sense that this wasn't intended and so something has been overlooked in the implementation. It would also be nice to have a choice "display current rank? – Y/N" we would probably choose to keep the current ranking system but streamlines a bit. We certainly like the reputation points back please Dave Baker and Ford Doctor 2
Dexter_X Posted June 27, 2021 Posted June 27, 2021 (edited) Hi, The reputation system is still "alive", it is just not displayed anymore in the author's pane (left side of a post). We've restored it back by modifying the template in the theme. It is a little "tricky" because there is three places where you need to do it in your theme forums/front/topics/postContainer template file : . to restore reputation badges/levels, around original line 110, add the following code after the </li> : {{if $comment->author()->reputationImage()}} <li data-role='reputation-image' class='ipsPadding:half'> <img src='{file="$comment->author()->reputationImage()" extension="core_Theme"}' title='{{if $comment->author()->reputation()}}{$comment->author()->reputation()}{{endif}}' alt=''> </li> {{endif}} so you'll obtain something that looks like this, considering surrounding code : </ul> </li> {{if $comment->author()->reputationImage()}} <li data-role='reputation-image' class='ipsPadding:half'> <img src='{file="$comment->author()->reputationImage()" extension="core_Theme"}' title='{{if $comment->author()->reputation()}}{$comment->author()->reputation()}{{endif}}' alt=''> </li> {{endif}} {{endif}} {{if $comment->author()->member_id}} so, it is important to place the new code after both </ul> and </li> ending the counters line. . To restore the reputation counter, add the following code around original line 96, just after the <ul class="ipsList_reset ipsType_light ipsFlex ipsFlex-ai:center ipsFlex-jc:center ipsGap_row:2 cAuthorPane_stats"> : <li data-role='reputation-badge'> {template="reputationBadge" group="global" app="core" params="$comment->author()"} </li> so you'll obtain something that looks like (considering surrounding code) : <ul class="ipsList_reset ipsType_light ipsFlex ipsFlex-ai:center ipsFlex-jc:center ipsGap_row:2 cAuthorPane_stats"> <li data-role='reputation-badge'> {template="reputationBadge" group="global" app="core" params="$comment->author()"} </li> {{if isset( $comment->author_solved_count )}} <li> Edit for mobile display (add back reputation counter on mobile devices display) : . To restore the reputation counter in mobiles display, add the following code around original line 57, inside the <h3> just after the {template="userLink" group="global" app="core" params="$comment->author(), $comment->warningRef(), TRUE, $comment->isAnonymous()"} and before the </h3> <span class="ipsType_medium">{template="reputationBadge" group="global" app="core" params="$comment->author()"}</span> so you'll obtain something that looks like (considering surrounding code) : <h3 class='ipsType_sectionHead cAuthorPane_author ipsType_break ipsType_blendLinks ipsFlex ipsFlex-ai:center'> {template="userLink" group="global" app="core" params="$comment->author(), $comment->warningRef(), TRUE, $comment->isAnonymous()"} <span class="ipsType_medium">{template="reputationBadge" group="global" app="core" params="$comment->author()"}</span> </h3> Save your template file, reload your topic : job done ! Edited July 16, 2021 by Dexter_X Dayton28, Iwooo, Squad Games and 8 others 5 6
BankFodder Posted June 27, 2021 Author Posted June 27, 2021 Thanks very much indeed for this rapid response. I'm afraid that I'm very chary of mucking around with the theme and we keep ours as a standard theme but with colour changes. Any time we get any problems with third-party routines, the first question is always whether we have a custom theme and so I prefer not to go there. I rather hope that somebody will come along with a plug-in which will deal with the matter – and of course it would be nice if the Invision team didn't assume to "know what's best" for their customers and the probably millions of people who rely on those forums for one reason or another. I understand that at the top of the Invision development tree are 11 developers. I'd be interested to know what the decision-making process is when they decide to change long-standing forum cultures and not even allow Choice. Seems a bit Republican to me. Thomas P, yevlem and Squad Games 1 1 1
Genestoy Posted June 27, 2021 Posted June 27, 2021 (edited) So, I see a change from the first "fix" a couple of days ago now you say -- so, it is important to place the new code after both </ul> and </li> ending the counters line. Which makes both the reputation points and the number of posts on the same line. Why can it not be like it was with the pic (where I had the new code originally)-- BTW I added the word "Posts" in the template Edited June 27, 2021 by Genestoy BankFodder 1
Genestoy Posted June 27, 2021 Posted June 27, 2021 (edited) Just tested and works fine in this location {{if $comment->author()->member_id}} <li data-role='stats' class='ipsMargin_top'> <li data-role='reputation-badge'> {template="reputationBadge" group="global" app="core" params="$comment->author()"} </li> <ul class="ipsList_reset ipsType_light ipsFlex ipsFlex-ai:center ipsFlex-jc:center ipsGap_row:2 cAuthorPane_stats"> <li> Edited June 27, 2021 by Genestoy Andy135 and Dexter_X 1 1
Dexter_X Posted June 27, 2021 Posted June 27, 2021 (edited) @Genestoy yes, you're right, i've put it in the same line as the other counters (posts & solved) to spare some vertical space, but yes, by changing the place where you put the code, you can display it into another line just like you've done ! Edited June 27, 2021 by Dexter_X Genestoy 1
BankFodder Posted June 27, 2021 Author Posted June 27, 2021 I wonder what Invision are going to do about the very obvious glitch that even people with large numbers of posts are ranked as newbies on their new ranking system. This has to be a bug
Dexter_X Posted June 27, 2021 Posted June 27, 2021 10 minutes ago, BankFodder said: I wonder what Invision are going to do about the very obvious glitch that even people with large numbers of posts are ranked as newbies on their new ranking system. This has to be a bug that's another question, part of the problem cames from a bug in the ranking rules that makes users get more points than expected (should be solved in next release 4.6.3 during next week, according to support). But you can also modify your rules system to reward users in the way you want to encourage more in your community. Did you even have take a look at the default rules ? Only by doing that you'll be able to better understand how it works. And you can also in the ACP go to a user profile (ACP mode) and click on the achievements details to see how the user has got his points. You've everything you need to better understand and to set it up as you need or expect.
BankFodder Posted June 27, 2021 Author Posted June 27, 2021 Thanks. I understand very well how it works but I know what is going to happen when we upgrade to 4.6 – will be overwhelmed by people contacting us and asking why they been relegated to Newbies when they are long-standing members with substantial postcards. I don't think I could stand it. I think I'll wait until 4.6.3 before upgrading.
Nathan Explosion Posted June 27, 2021 Posted June 27, 2021 (edited) Or you could run the provided rebuild tool, to retroactively apply the new rules, prior to reopening your site post-upgrade. Edited June 27, 2021 by Nathan Explosion Dexter_X and Clover13 2
Dexter_X Posted June 27, 2021 Posted June 27, 2021 1 hour ago, Nathan Explosion said: Or you could run the provided rebuild tool, to retroactively apply the new rules, prior to reopening your site post-upgrade. I think (and hope !) @BankFodder already knows about that tool. I think @BankFodder has already seen some inconsistencies in the retroactively application of rules on a community. If it is not the case, I'm sorry but @BankFodder : you need to test before to talk about it as you already know (!?)...
Nathan Explosion Posted June 27, 2021 Posted June 27, 2021 14 minutes ago, Dexter_X said: I think (and hope !) @BankFodder already knows about that tool. I think you are wrong, as evidenced by their reply to the topic I linked to. BankFodder 1
Dexter_X Posted June 27, 2021 Posted June 27, 2021 1 hour ago, Nathan Explosion said: I think you are wrong, as evidenced by their reply to the topic I linked to. Now I see, you're right, I was wrong...
Clover13 Posted June 27, 2021 Posted June 27, 2021 I'm working through the new ranks and badge system. The included rebuild process works well, but you'll have to run it initially to see how your members rank. I had too many already up to the max level so I'm reweighting and rebuilding again. Dexter_X 1
BankFodder Posted June 28, 2021 Author Posted June 28, 2021 (edited) Thanks for this. I started running it last night on the test site. It said it will take several days!Interestingly, there is an option to switch the system on or off. Invision has actually allowed customer choice here!However no choice allowed with reputation points.The lack of consistency in this kind of thing and elsewhere – data screens for instance – makes me think that the platform is planned by different committees which never talk to each other Edited June 28, 2021 by BankFodder
BankFodder Posted June 28, 2021 Author Posted June 28, 2021 And the rebuilding has finished and the achievements/ranks are working correctly. Thanks very much. Maybe there are instructions which I should have read more closely. And so now here's the next thing to ask – because there's always something else. Is there any way of turning off the achievements for different groups? I'd rather not have achievements in place for the site team. And ideally I'd like to have reputation points back on display without having to interfere with the theme
Clover13 Posted June 28, 2021 Posted June 28, 2021 7 hours ago, Clover13 said: I'm working through the new ranks and badge system. The included rebuild process works well, but you'll have to run it initially to see how your members rank. I had too many already up to the max level so I'm reweighting and rebuilding again. Quoted myself because this was actually incorrect. You can change the rank points and it will show you the number of members who fall into that before execute the rank updates. That's a great feature that saves the time crunch of doing the update. Lots of really cool features in this update, the rank/awards system is quite robust. Nicely done!
BankFodder Posted June 28, 2021 Author Posted June 28, 2021 (edited) I think the only tweak I'm asking is the choice to switch off for particular member groups. Edited June 28, 2021 by BankFodder
Clover13 Posted June 28, 2021 Posted June 28, 2021 (edited) 19 minutes ago, BankFodder said: I think the only tweak I'm asking is the choice to switch off for particular member groups. There is an "Exclude Groups" under Members >> Achievements >> Settings in the ACP Edited June 28, 2021 by Clover13 BankFodder 1
BankFodder Posted June 28, 2021 Author Posted June 28, 2021 Blow me. You're right! I need to be more careful. That makes it a near-perfect system then. However I would really like the return of the reputation points display. As the points are still in place, I'm sure somebody will come up with a plug-in to do it
waccoe.com Posted June 28, 2021 Posted June 28, 2021 19 hours ago, Genestoy said: So, I see a change from the first "fix" a couple of days ago now you say -- so, it is important to place the new code after both </ul> and </li> ending the counters line. Which makes both the reputation points and the number of posts on the same line. Why can it not be like it was with the pic (where I had the new code originally)-- BTW I added the word "Posts" in the template Hi, Where to insert the word "Posts" please? Thanks!
Genestoy Posted June 28, 2021 Posted June 28, 2021 (edited) 14 minutes ago, waccoe.com said: Hi, Where to insert the word "Posts" please? Thanks! ACP> Customizations> Themes> Your theme> </> > Templates tab Type postContainer in the search box above the templates tab forums> front> topics> postContainer add the word Posts on line 98 <i class="fa fa-comment"></i> {number="$comment->author()->member_posts" format="short"} Posts</a> </li> {{if isset( $comment->author_solved_count )}} Edited June 28, 2021 by Genestoy Clover13 and waccoe.com 1 1
Andy135 Posted June 28, 2021 Posted June 28, 2021 On 6/27/2021 at 5:25 AM, Dexter_X said: Hi, The reputation system is still "alive", it is just not displayed anymore in the author's pane (left side of a post). We've restored it back by modifying the template in the theme. It is a little "tricky" because there is two places where you need to do it in your theme forums/front/topics/postContainer template file : . to restore reputation badges/levels, around original line 110, add the following code after the </li> : {{if $comment->author()->reputationImage()}} <li data-role='reputation-image' class='ipsPadding:half'> <img src='{file="$comment->author()->reputationImage()" extension="core_Theme"}' title='{{if $comment->author()->reputation()}}{$comment->author()->reputation()}{{endif}}' alt=''> </li> {{endif}} so you'll obtain something that looks like this, considering surrounding code : </ul> </li> {{if $comment->author()->reputationImage()}} <li data-role='reputation-image' class='ipsPadding:half'> <img src='{file="$comment->author()->reputationImage()" extension="core_Theme"}' title='{{if $comment->author()->reputation()}}{$comment->author()->reputation()}{{endif}}' alt=''> </li> {{endif}} {{endif}} {{if $comment->author()->member_id}} so, it is important to place the new code after both </ul> and </li> ending the counters line. . To restore the reputation counter, add the following code around original line 96, just after the <ul class="ipsList_reset ipsType_light ipsFlex ipsFlex-ai:center ipsFlex-jc:center ipsGap_row:2 cAuthorPane_stats"> : <li data-role='reputation-badge'> {template="reputationBadge" group="global" app="core" params="$comment->author()"} </li> so you'll obtain something that looks like (considering surrounding code) : <ul class="ipsList_reset ipsType_light ipsFlex ipsFlex-ai:center ipsFlex-jc:center ipsGap_row:2 cAuthorPane_stats"> <li data-role='reputation-badge'> {template="reputationBadge" group="global" app="core" params="$comment->author()"} </li> {{if isset( $comment->author_solved_count )}} <li> Save your template file, reload your topic : job done ! 20 hours ago, Genestoy said: Just tested and works fine in this location {{if $comment->author()->member_id}} <li data-role='stats' class='ipsMargin_top'> <li data-role='reputation-badge'> {template="reputationBadge" group="global" app="core" params="$comment->author()"} </li> <ul class="ipsList_reset ipsType_light ipsFlex ipsFlex-ai:center ipsFlex-jc:center ipsGap_row:2 cAuthorPane_stats"> <li> Thank you @Dexter_X and @Genestoy. Both of these adjustments worked great on our forum. No longer having Reputation count on the author pane was frustrating for some of our users, but now they have it back. Appreciated. Dexter_X and yevlem 1 1
BankFodder Posted June 28, 2021 Author Posted June 28, 2021 2 minutes ago, Andy135 said: Thank you @Dexter_X and @Genestoy. Both of these adjustments worked great on our forum. No longer having Reputation count on the author pane was frustrating for some of our users, but now they have it back. Appreciated. @Jordan Invision @Matt @Rikki @bfarber @Andy Millne @Stuart Silvester @Mark @Ryan Ashbrook @Ehren Hey guys – I think probably quite a lot of people would like to have the reputation points being displayed again. How about simply having a choice to switch them on or off in the same way that is now possible with the achievement system? Consistency AND Choice. – What's not to like? Felipe13, TIKHONIN, Clover13 and 2 others 1 4
HRN-Admin Posted July 1, 2021 Posted July 1, 2021 This is really helpful and I also need to "put back" the rank title under the user avatar. Is there anyone who can help with this? Much appreciated. Hans
Recommended Posts