Support Forum
Hello SP Team !
And here my next question
At components, forum ranks it is able to put in special ranks but only connected to registered Members. For me it is very bad because at the end i will have some hundred members in 1 group (MNSG Members). so atm i dont want to put all registered to a group and then again in a special rank group - this is double work...
Is it posible to connect to a group? so i can put a badge to 1 whole group to let shown it in the forum... ?
ng, markus/mong
www.mnsg.net
hello, thx for the answers. i try to answer more specific.
When i go to Components, Forum Rank and put in a Special Forum Rank like Moderator and put in a badge all is ok but there i have to put in users instead of grps. But this works, then i see the badges below the avatar in forum.
when i type in into Forum Ranks ae. Super-Moerator withour any post for rank or <1000 and i put in a badge i cant see it below the avatar - i cant see it anywhere.
and when i got to manage user groups and edit the user grp and put in a badges there, i also cant see it below the avatar icon....
sorry for my bad english and for my questions - maybe i am doing something completely wrong ...
ng markus / mong
www.mnsg.net
yes it is enabled.
i can see the special ranks and also the badges below the avatar, but i must put single users to a special rank. in our community we have some hundreds members and so i want to connect a group like MNSG Member to a special rank.
for this i have to create this group, then put all people who deserve it to this grp. This Group is not the members group wehre u get in when u register on the page.
in special ranks i only can get the users by hand... user by user. so i have to do this job twice. once when they register to put them into the group and then to put them into the special ranks.
as special rank u get a badge below your avatar and this is a bonus for our members VS the normal registered and it gives them home
and the other badges in group menu or forum rank doesnt work like the special rank....
thx in advance for your help and your time
PS: At the Special Rank it would be kewl not only to get a button "add member" there but also a button with add group .... i hope u understand what i mean
www.mnsg.net
yes, you can only add individual users to a special rank (though multiple at once)...
As Andy said in post #3 you might be better off looking at usergroup badges... that way you can specify a badge for an entire usergroup which sounds like what you want...
just edit the usergroup on forum - usergroups - manage usergroups and you can select a badge for any or all of the usergroups...
to display the usergroup badges, see: https://simple-press.com/docum.....mberships/
by default, our themes show ranks, not usergroup badges... but you can add them with that template tag...
Visit Cruise Talk Central and Mr Papa's World
thx for the answer but...
after some long searching i found the right file... so i see this in it:
function sp_PostIndexUserMemberships($args='', $noMembershipLabel='', $adminLabel='') {
global $spThisPost, $spThisPostUser, $spPaths;
how must it looks like ? like that ?
function sp_PostIndexUserMemberships('showBadge=1' $args='', $noMembershipLabel='', $adminLabel='') {
global $spThisPost, $spThisPostUser, $spPaths;
www.mnsg.net
It looks like you are looking at the core files which is incorrect. In the article posted by Mr Papa in post #7 it explains that the function is not used anywhere in our themes, so the only place you would find it if searching would be the core files which you don't want to change.
You will need to put the template function into the theme templates in a place where you would like it to display.
Theme templates for default theme as an example are in sp-resources > forum-themes > default > templates
If you want it to appear under a users avatar for example in a post, then you will need to open spTopicView.php from the default templates folder, and add the function sp_PostIndexUserMemberships() additionally, or instead of the current ranks function sp_PostIndexUserSpecialRank() (located on line 125 I believe)
In the brackets you can add arguments in the same way the surrounding functions in the template work, leaving it blank will display the default arguments as outlined in the article posted by Mr Papa in post #7
Hope this helps..
1 Guest(s)