Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Reboot theme: How do I make sure rank badges are shown on mobile for all users?
Avatar
patrick182
Space
Member
sp_UserOfflineSmall Offline
Apr 7, 2016 - 4:09 pm

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/

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 7, 2016 - 8:26 pm

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...

Avatar
patrick182
Space
Member
sp_UserOfflineSmall Offline
Apr 7, 2016 - 10:02 pm

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.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 8, 2016 - 12:43 am

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...

Avatar
patrick182
Space
Member
sp_UserOfflineSmall Offline
Apr 8, 2016 - 4:12 am

Baseball Hobby Talk > Baseball Threads > Vintage

See posts by user, ChesterTheJet34. He should have the Silver Slugger badge. Click here to see the badges.

His badge is shown on desktop view but isn't shown on mobile view.

Are you seeing differently?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 8, 2016 - 5:23 am

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().

andy-signature.png
YELLOW
SWORDFISH
Avatar
patrick182
Space
Member
sp_UserOfflineSmall Offline
Apr 8, 2016 - 2:38 pm

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

Also, the function sp_PostIndexUserBagdes doesn't exist.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 8, 2016 - 3:07 pm

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?

andy-signature.png
YELLOW
SWORDFISH
Avatar
patrick182
Space
Member
sp_UserOfflineSmall Offline
Apr 8, 2016 - 4:51 pm

That's completely fine.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 8, 2016 - 8:18 pm

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

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626