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
Member info in the topic view
Avatar
Yao Li
Member
sp_UserOfflineSmall Offline
Oct 30, 2016 - 2:44 am

The user-role-function model is well supported by SP. I created some user groups and permission sets - bind them one by one separately.

See snapshot below, #1 is the rank badge, #2 is the rank name, #3 is the group name - in fact the 3 items are the same. Only #1 is necessary for me....how to remove #2 and #3?

rank.pngImage Enlarger

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 30, 2016 - 3:36 am

What Simple:Press theme are you using and are you using a child theme so that you can make changes safe from losing them on a future update? 

andy-signature.png
YELLOW
SWORDFISH
Avatar
Yao Li
Member
sp_UserOfflineSmall Offline
Oct 30, 2016 - 3:45 am

I'm using Reboot and it's child theme for some modification.

I guess I shall edit the spTopicView.php in the Theme Editor. but I don't know what to put in the php file...

Thank you.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 30, 2016 - 4:11 am

Well actually you will want to edit both the spTopicViewDesktop.php and the spTopicViewMobile.php files in their respective folders. Although come to think of it, it is possible that the mobile version already has the following change...

There are three template display tags one after the other in the 'post' section of the template. These are:

sp_PostIndexUserRank()
sp_PostIndexUserSpecialRank()
sp_PostIndexUserMemberships()

I would suggest you comment those out and replace them with a single tag:

sp_PostIndexUserBadges('tagClass=spCenter');

and see if that gives you what you want.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Yao Li
Member
sp_UserOfflineSmall Offline
Oct 30, 2016 - 12:01 pm

It's exactly what I want... Thank you!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 30, 2016 - 7:03 pm

cool...  thanks for the update...

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