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
How remove or hide the display of the user rank or group?
Avatar
Dobrodukh
Moscow
Member
Free Members
sp_UserOfflineSmall Offline
May 18, 2015 - 6:55 am

Hi. I deleted all the forum ranks, but he still displayed. How to completely remove or hide the display of the user rank? For example here, on this forum, are not displayed neither the rank nor the Image-6.jpgImage Enlarger. How do I do that?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 18, 2015 - 7:03 am

If you have completely removed everyone from special ranks and removed the standard rank entries then nothing should display anywhere. If things are still showing then that suggests either there is still data to be removed or you may be using a caching plugin of some kind. At least I can see no other reason...?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Dobrodukh
Moscow
Member
Free Members
sp_UserOfflineSmall Offline
May 19, 2015 - 3:01 am

It is not clear, where does this rank. Cash I've already cleaned.1.jpgImage Enlarger2.jpgImage Enlarger

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 19, 2015 - 3:20 am

I am not sure what the non-English one says of course but I think what you are seeing is the the user group membership tag.

Take a look at the topic view template in the /templates folder (or, if this is reboot /templates/desktop and /templates/mobile).  If it calls the function 'sp_PostIndexUserMemberships' then comment it out to see what happens and see if that resolves it for you.

If it does then remember as always we recommend the use of a child theme to ensure changes are not lost when upgrading. There are now Child Theme Frameworks available to download for all of our themes to make this simple and full and extensive details can be found on our Codex - Creating a Child Theme page: https://simple-press.com/docum.....ild-theme/

andy-signature.png
YELLOW
SWORDFISH
Avatar
Dobrodukh
Moscow
Member
Free Members
sp_UserOfflineSmall Offline
May 20, 2015 - 12:12 am

Here's another example on . Now all ranks are removed entirely, but it still appears - "Member".Image-5-1.jpgImage Enlarger

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 20, 2015 - 4:33 am

Well - as above - try also commenting out the calls to:

  • sp_PostIndexUserRank
  • sp_PostIndexUserSpecialRank

and I will take a closer look to see if any baggage gets left behind after a removal  but quick tests yesterday did not show anything. But I will investigate further.

Let me know if the above fixes it please.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Dobrodukh
Moscow
Member
Free Members
sp_UserOfflineSmall Offline
May 20, 2015 - 5:22 am

Thanks for the tips. It's very difficult. I decided to leave it as is.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 20, 2015 - 6:36 am

OK sorry.
I have it on my list to investigate and of we find any problems then it will get fixed in the next update but so far I have not found anything relevant.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 20, 2015 - 6:52 am

OK - I have delved further into this.

If you turn off the user ranking system - as you have done - then the display reverts to show one of the 4 user types which are 'admin', 'moderator', 'member' or 'guest'. The prescribed method for removing this is, as I said above, to remove the call from the template. This is actually quite an easy thing to do, especially as we now have child theme frameworks to use.

andy-signature.png
YELLOW
SWORDFISH
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