Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted July 31, 20222 yr On an author card there is info like number of posts and solutions, but any way to show number of achievement points? like... {number="$comment->author()->achievement_points"}? Thanks in advance!
July 31, 20222 yr Author 24 minutes ago, Nathan Explosion said: Thanks! This is just what I'm looking for. Going to stretch my luck and also ask; is there any way to make points also show on a profile? Say... to replace reputation. Edited July 31, 20222 yr by Dextro Energy
August 1, 20222 yr core -> front -> profile -> profile Find: {{if settings.reputation_enabled and settings.reputation_show_profile}} Add the following before it: <div class='ipsPadding_vertical:half'> <p class='ipsType_reset cProfileRepScore cProfileRepScore_neutral ipsRadius:full ipsDimension_height:4 ipsDimension_minWidth:4 ipsPadding_horizontal:half ipsType_large ipsFlex-inline ipsFlex-ai:center ipsFlex-jc:center'>{number="$member->achievements_points" format="short"}</p> <h3 class='ipsType_reset ipsType_unbold ipsType_medium ipsType_light ipsMargin_top:half'>{lang="achievement_points"}</h3> </div> Save Result: If you want to remove the reputation points, then delete the code block that begins at: {{if settings.reputation_enabled and settings.reputation_show_profile}} and ends with: {{endif}} <-delete this one {{if $solutions}} <- Don't delete this one
October 6, 20222 yr On 8/1/2022 at 12:06 PM, Nathan Explosion said: core -> front -> profile -> profile Find: {{if settings.reputation_enabled and settings.reputation_show_profile}} Add the following before it: <div class='ipsPadding_vertical:half'> <p class='ipsType_reset cProfileRepScore cProfileRepScore_neutral ipsRadius:full ipsDimension_height:4 ipsDimension_minWidth:4 ipsPadding_horizontal:half ipsType_large ipsFlex-inline ipsFlex-ai:center ipsFlex-jc:center'>{number="$member->achievements_points" format="short"}</p> <h3 class='ipsType_reset ipsType_unbold ipsType_medium ipsType_light ipsMargin_top:half'>{lang="achievement_points"}</h3> </div> Save Result: If you want to remove the reputation points, then delete the code block that begins at: {{if settings.reputation_enabled and settings.reputation_show_profile}} and ends with: {{endif}} <-delete this one {{if $solutions}} <- Don't delete this one So I added the code where you said but it does not show it in the Your Achievements section.