Support Forum

Reboot theme: How do I make sure rank badges are shown on mobile for all users?

PA patrick182
patrick182
Member

Hi there,

The new Reboot theme is incredible but I’ve noticed that when viewed on mobile, it shows rank badges for admins only. How can we change it so that rank badges are shown for all users?

Link to forum: https://www.forum.radicards.com/

9 Answers

New Answer

MP Mr Papa
Mr Papa
Member

when you say rank badges, do you mean standard forum ranks?  or special ranks?

by default, it should show badges (must admit I didnt even know this function existed) for forum rank, special rank and usergroups… but only badges, not titles…

are you sure you have defined badges for the ranks?

how you modified your reboot?

do you see badges here in mobile?

when I view your site, I see exactly the same appearance (checked 4 topics) of badges in desktop and mobile…

PA patrick182
patrick182
Member

These are my standard (not special) forum ranks that I set up back in 2011. Click here, then scroll down to the bottom of the page to see them. They work just fine on desktop view. However, when I view the forum on mobile, the only badge I see is my own. Badges for my users aren’t shown on mobile.

MP Mr Papa
Mr Papa
Member

but you didnt answer what I asked…  I do not see any badges on desktop.. just looked at another 6 topics…  I have not found one yet that was different between desktop and mobile…

please give us a direct link to a topic where you see badges on desktop but not mobile…

YS Yellow Swordfish
Yellow Swordfish
Member

My problem, actually, is that I am unable to replicate the issue. On my tests the standard rank badges show up as expected.

It may be because I am using the next update to Reboot so I may need to check back through the current changes awaiting release.

Meanwhile – if you can look at the template spTopicViewMobile.php in the SP theme editor (in the /templates/mobile/ folder) – literally half way down (on line 146 although we can’t show line numbers in the edit window!) there should be a call to the function sp_PostIndexUserRank(). If this has a # symbol in front of it – remove the # and save. See if that deals with the issue. 

And please tell me if, just 3 or 4 lines below that, there is a call to the function sp_PostIndexUserBadges().

PA patrick182
patrick182
Member

A # sign doesn’t exist in front of the function sp_PostIndexUserRank.

Also, the function sp_PostIndexUserBagdes doesn’t exist.

YS Yellow Swordfish
Yellow Swordfish
Member

OK – so there will be an update to reboot coming along next week (as long as WordPress releases 4.5 on schedule) which will change these calls and should do as you want. My advice would be to hang in there for a few more days and wait for that. Is that acceptable?

MP Mr Papa
Mr Papa
Member

WP seems to be on track with their release.. ours will follow shortly afterwards…