News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Display Additional Membergroups

Started by margarett, March 03, 2014, 11:02:35 AM

Previous topic - Next topic

NanoSector

You can. However, the lines you pointed out in the profile view are already at the place you want them in topic view.

Do you also want to move them in profile view?
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

SumairAli

hmm but only names not stars

margarett

In topic view it will show you the stars, if defined in the membergroup, and the name if you check that option in Modifications Settings.
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

SumairAli

no i want to remove
Additional Membergroups:
    (Admin of DeathMatch)
Additional Membergroups:
    (Admin of Clanwar) on profile view

and add them like that
i use inspect element for example :D

SumairAli


margarett

Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair


Westwegoman

Quote from: SumairAli on July 07, 2014, 01:56:21 PM
please work it now i want it now :D
WOW! :o

If I were a mod author, that would be a sure way to get me to put something on hold, just on principal. Just sayin...

Everybody here works on their own time. You have to be patient when asking for assistance or when asking for something which is free. Even if you were paying for a service, most of the time there would be a wait time.

Once again, just sayin.

Owdy

Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Burke ♞ Knight

Quote from: SumairAli on July 07, 2014, 02:14:06 PM
yes :D

Learn some patience.
We all are VOLUNTEERS, and there's no need for demanding, for something you WANT.
Have a problem with that? TOUGH LUCK.

redone

Quote from: BurkeKnight on July 07, 2014, 02:40:17 PM
Quote from: SumairAli on July 07, 2014, 02:14:06 PM
yes :D

Learn some patience.
We all are VOLUNTEERS, and there's no need for demanding, for something you WANT.
Have a problem with that? TOUGH LUCK.
+1 being rude and obnoxious oddly enough does not propel people into action for you. The entire project is based on volunteer help and time together will good will. You should really think twice before posting.

SumairAli

Sorrrrrrrrrrrrrrrrrrrrrrrrrrrrrry

Burke ♞ Knight

Saying it like that, one would tend to doubt your sincerity. :(

Xarkurai

Thanks for the mod :).

Using it with a simple hack to show only one additional membergroup:
if (!empty($modSettings['show_additional_groups_name']) && ($temp['group'] == "Groupname"))

It's not perfect but hell, it works and is exactly what I need!
Useful paid mod: Badge Awards - Award members for actions

NW Dreamer

Hi, I just tried out your mod (I have Child Board Removal and Like Posts as the only other mods and I'm using the Default theme).  I found I was getting some weird behavior with the group memberships (which disappeared when I uninstalled your mod).

I have two membership-based groups and the usual slew of point-based groups.  What I came here for was a way to show what groups a member belongs to (none, one or both) as well as showing their post-based group.

After install I looked at a test account that was a member of both groups and it showed one group's color (without a name) then showed the second group's name and color.  Going into the Forum Profile and looking at the "Group membership" area is where things got really weird.  It only showed the member as being in one of the two groups (even though they could access the forums for the other group).  The other group was back down at the bottom with "Join Group" next to it.  Then it got a bit stranger, if you selected "Registered Members" and clicked on the "Make Primary Group" button, the non-points based group was dropped and now appeared in the bottom section with "Join Group" next to it!  This time, the member really was knocked out of that group so now there are two groups at the bottom (both saying you could join them), but one was already joined and the other wasn't.

I did have one custom profile field and saw some comment about those above so I deleted it as a test - but no change.

Any idea why I was seeing this type of behavior?  I'd love to use this mod if possible.

Thanks,

Craig
Craig

NW Dreamer

FYI - I just realized that there was a button for enabling Advanced Profile Fields in the Core Features area so I turned that off and tried things again.  This time, the display was correct (i.e., a yellow star for the point-based group, then separate areas for each member-based group with names and stars).  I started to get excited that this was going to work (and loved being able to see the memberships when viewing a profile), then I went into the Profile area for my test account and, in the Group Membership area, it only showed that the member was in the Registered Members group.  Both of the other groups were down in the bottom section with "Join Group" next to them...  I was more than a little bummed, I thought I had figured it out - oh well.

:(
Craig

margarett

Hmmmm... How odd. I guess I never tried joinable groups. I need to check if I can reproduce this behavior...
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

NW Dreamer

That would be very appreciated (and you definitely don't need to do it NOW - lol).  :)

If it helps, the groups were set up as "Free (User may leave and join group at will)".

Thanks for the help!

Craig
Craig

NW Dreamer

Craig

margarett

Humm it really seems there's a bug in that area... As soon as I get there I see an "undefined error" after installing my MOD :(

Have to check further ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Advertisement: