Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: MoreBloodWine on November 15, 2006, 03:45:52 PM

Title: User's profile and how to display the groups they are members of...
Post by: MoreBloodWine on November 15, 2006, 03:45:52 PM
See in the pic where it says Position: (Administrator) (Forum Founder)

Well my question is this... what files do I need to modify to have it show all the groups in a users profile but have each " position " be numberd in sequential order... so lets say in the pic I belonged to 2 more groups called Home & Away... How would I get it to show all groups on said user's profile but get it to look like this... and for each additional " position " the position number would go up ie... 4 , 5 , 6 , 7 etc...

Position: (Administrator) (Forum Founder)
Position 2: Home
Position 3: Away

(http://uotc.freeyellow.com/myprofile.gif)
Title: Re: User's profile and how to display the groups they are members of...
Post by: Oldiesmann on November 15, 2006, 04:24:39 PM
Do you want post-based groups counted in this or just regular ones?
Title: Re: User's profile and how to display the groups they are members of...
Post by: MoreBloodWine on November 15, 2006, 05:09:18 PM
Quote from: Oldiesmann on November 15, 2006, 04:24:39 PM
Do you want post-based groups counted in this or just regular ones?
Regular ones... So everything BUT post based groups as those change with a users post count... but I wnat it to be as described in the original post by with each group the count number goes up ie...

Position: <grp here>
Position 2: <grp here>
Position 3: <grp here>

So on and so forth... so with each new group a members added to comes a new Position with its sequential number... sorry if im not makin much sense here...
Title: Re: User's profile and how to display the groups they are members of...
Post by: MoreBloodWine on November 27, 2006, 12:37:45 AM
bump
Title: Re: User's profile and how to display the groups they are members of...
Post by: Daniel15 on December 16, 2006, 11:58:35 PM
Here's what you'll need to do:
Edit: This code has been posted as a mod, available at http://custom.simplemachines.org/mods/index.php?mod=620
Title: Re: User's profile and how to display the groups they are members of...
Post by: MoreBloodWine on December 17, 2006, 06:31:26 AM
Quote from: MoreBloodWine on November 15, 2006, 05:09:18 PM
Quote from: Oldiesmann on November 15, 2006, 04:24:39 PM
Do you want post-based groups counted in this or just regular ones?
Regular ones... So everything BUT post based groups as those change with a users post count... but I wnat it to be as described in the original post by with each group the count number goes up ie...

Position: <grp here>
Position 2: <grp here>
Position 3: <grp here>

So on and so forth... so with each new group a members added to comes a new Position with its sequential number... sorry if im not makin much sense here...
I just got home from work so I havent tested the code yet and wont til later but will doin those mods what what I want about with each new grp comes a new seuential number... **points up**
Title: Re: User's profile and how to display the groups they are members of...
Post by: Daniel15 on December 17, 2006, 08:23:21 AM
This is what my modifications do (see attached image)
Title: Re: User's profile and how to display the groups they are members of...
Post by: MoreBloodWine on January 09, 2007, 10:18:01 AM
Hey daniel were you ever able to package this up as a mod for 1.1 RC3 / 1.1 final ?
Title: Re: User's profile and how to display the groups they are members of...
Post by: Saku on January 09, 2007, 02:55:00 PM
thanks! I was looking for this,
Can you help me to display all members from an additional group please?
I can't figure it out with SleePy mod:
http://www.simplemachines.org/community/index.php?topic=125401.msg897582#msg897582
Title: Re: User's profile and how to display the groups they are members of...
Post by: Daniel15 on January 09, 2007, 10:22:55 PM
QuoteHey daniel were you ever able to package this up as a mod for 1.1 RC3 / 1.1 final ?
I just packaged this as a mod, and it's available from http://custom.simplemachines.org/mods/index.php?mod=620 :)

QuoteCan you help me to display all members from an additional group please?
That's not related to this topic; it's probably best to post in that topic instead ;)
Title: Re: User's profile and how to display the groups they are members of...
Post by: MoreBloodWine on January 10, 2007, 03:56:29 PM
thx dan
Title: Re: User's profile and how to display the groups they are members of...
Post by: jan.s on November 14, 2009, 07:57:07 AM
Hello,
this is exactly what i need, but for 2.0RC2

Now the question: How to install it there?
Title: Re: User's profile and how to display the groups they are members of...
Post by: jan.s on November 16, 2009, 07:50:18 AM
guess the better question is: what are the code changes? or will there soon be an update?
Title: Re: User's profile and how to display the groups they are members of...
Post by: Zockaaa on March 29, 2010, 07:43:50 PM
Moved this into an own Thread (http://www.simplemachines.org/community/index.php?topic=373544.0).
Title: Re: User's profile and how to display the groups they are members of...
Post by: M*I*B on July 24, 2010, 08:05:47 AM
Hello there...

... and 1st ty for the MOD!

But... It doesnt work on my side :(

I have installed it by hand and it also shows the Membergroups in the profiles but they show all available Groups my board have!

... see the picture taken from a User there is only in one group...

Any idea what's going wrong???