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
"No Forum Access" label for members/moderators
Avatar
Stan Dahl
Member
sp_UserOfflineSmall Offline
Jun 1, 2015 - 2:06 pm

Hi guys.  All of our members and moderators have have a "No Forum Access" label under their names.  They have access, but it's causing some confusion.

Can anyone tell us how to get rid of that?

Thanks.

sp-image.pngImage Enlarger

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 1, 2015 - 3:42 pm

Are those all SP User Groups? I.e., SWS Instructors, Members...? If you are listing peoples user group membership then that suggests all these people are also a member of a user group called 'No Forum Access? If this the case?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Stan Dahl
Member
sp_UserOfflineSmall Offline
Jun 1, 2015 - 5:32 pm

Yes, it looks like that's the case.

Is there a way to not list the user groups like that?

 

Thanks.

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jun 1, 2015 - 6:53 pm

Hey Stan,

Yes you can add the argument 'showTitle' to the template function sp_PostIndexUserMemberships found for example using default theme - forum-themes > default > templates > spTopicView.php.

It would then appear:

sp_PostIndexUserMemberships('tagClass=spPostUserMemberships spCenter&showTitle=0');

As mentioned in the other post tonight, you should do this through a child theme, adding the entire spTopicView.php template to your child themes templates folder, then making the change there.

Avatar
Stan Dahl
Member
sp_UserOfflineSmall Offline
Jun 1, 2015 - 7:57 pm

Thanks for the help, Ike.

Yeah, I know we need to get a child theme set up at some point... we're just looking to patch things up for a new group of clients (and picky mods) that we just brought on today.

That code didn't get rid of the list of groups.

Any other options?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jun 1, 2015 - 9:25 pm

can you elaborate what you are trying to do again?  remove usergroups?  the code Ike gave you would remove the title but leave the badge...  if you want to remove the entire display of usergroup memberhsips, remove the entire line from the theme... 

again, strongly recommend child or custom theme to keep from losing changes on updates...

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: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625