News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

User's profile and how to display the groups they are members of...

Started by MoreBloodWine, November 15, 2006, 03:45:52 PM

Previous topic - Next topic

MoreBloodWine

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

Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


Oldiesmann

Do you want post-based groups counted in this or just regular ones?

MoreBloodWine

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...
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


MoreBloodWine

Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


Daniel15

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
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

MoreBloodWine

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**
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


Daniel15

Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

MoreBloodWine

Hey daniel were you ever able to package this up as a mod for 1.1 RC3 / 1.1 final ?
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


Saku

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

Daniel15

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 ;)
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

MoreBloodWine

Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


jan.s

Hello,
this is exactly what i need, but for 2.0RC2

Now the question: How to install it there?

jan.s

guess the better question is: what are the code changes? or will there soon be an update?

Zockaaa

Moved this into an own Thread.

M*I*B

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???



WriteYaa...

Micha

Advertisement: