Memberships in Profile
Author Message
MyBB allows users to have a primary group and a number of secondary groups, but unfortunately, users can only have one of the groups they are a member of on display.
This plugin allows users to see all the groups the user is a part of, displayed in their profile, as per screenshot below:


Attached File(s) Thumbnail(s)
   
(This post was last modified: 12-05-2014 04:34 PM by ZiNgA BuRgA.)
Find all posts by this user
Quote this message in a reply
Download: grpinprof.php (1.74 KB)
Plugin Version: 1.0
Last Updated: 03-16-2010, 08:28 PM

Downloads: 1,447
MyBB Compatibility: 1.2.x, 1.4.x, 1.6.x, 1.8.x
Plugin License: WTFPLv2
Uploader: ZiNgA BuRgA
Pirata Nervo Offline
Member
***
Posts: 235
Joined: Jan 2008
Post: #2
RE: Memberships in Profile
Thanks Smile
03-31-2010 11:42 PM
Find all posts by this user Quote this message in a reply
Imran Offline
Member
***
Posts: 204
Joined: Apr 2010
Post: #3
RE: Memberships in Profile
Very good Plug-in Smile

[Image: logo.png]

[Image: twitter.png]
04-26-2010 05:48 PM
Visit this user's website Find all posts by this user Quote this message in a reply
alvarorojas4 Offline
Junior Member
**
Posts: 3
Joined: May 2010
Post: #4
RE: Memberships in Profile
Nice plugin Smile
Thanks!
05-23-2010 03:22 AM
Find all posts by this user Quote this message in a reply
Firefox Wins Offline
Member
***
Posts: 164
Joined: Mar 2008
Post: #5
RE: Memberships in Profile
How did I miss this before? Really useful, thank you. Smile
05-23-2010 01:47 PM
Find all posts by this user Quote this message in a reply
Jumper Offline
Member
***
Posts: 75
Joined: Aug 2010
Post: #6
RE: Memberships in Profile
a very helpful plugin for me and a really simple code.
we need it cause we have many secondary groups, which we can see now in profile
without a long travel through the admin cp Tongue

thanks Wink
(This post was last modified: 09-02-2010 08:50 AM by Jumper.)
09-02-2010 08:50 AM
Find all posts by this user Quote this message in a reply
Turel Offline
Junior Member
**
Posts: 5
Joined: Oct 2010
Post: #7
RE: Memberships in Profile
Useful plugin, but how to make a group membership NOT in profile but in the posts below avatar.? (Only primary group) Like in IPB
(This post was last modified: 10-20-2010 04:40 AM by Turel.)
10-20-2010 04:36 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #8
RE: Memberships in Profile
Dunno if this works, but maybe something like this in a postbit template somewhere:

Code:
{$groupscache[$post['usergroup']]['title']}


My Blog
10-20-2010 09:04 AM
Find all posts by this user Quote this message in a reply
Turel Offline
Junior Member
**
Posts: 5
Joined: Oct 2010
Post: #9
RE: Memberships in Profile
@up Yes it works, it show a usergroup in posts, but the name of usergroup is not in color.
10-20-2010 09:36 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #10
RE: Memberships in Profile
You'd need a plugin for it to be in colour unfortunately.
If you have PHP in Templates plugin installed, you could probably use:

Code:
<?php echo format_name($groupscache[$post['usergroup']]['title'], $post['usergroup']); ?>


My Blog
10-20-2010 10:25 PM
Find all posts by this user Quote this message in a reply


Forum Jump: