Support Forum

"No Forum Access" label for members/moderators

SD Stan Dahl
Stan Dahl
Member

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

5 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

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?

SD Stan Dahl
Stan Dahl
Member

Yes, it looks like that’s the case.

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

 

Thanks.

IK Ike
Ike
Member

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.

SD Stan Dahl
Stan Dahl
Member

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?

MP Mr Papa
Mr Papa
Member

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…