Groups/Contributers Page

Post your MODs, receive and provide feedback!
Topics in this forum are not for MOD support, they are for giving the author feedback.
Forum rules
The topics in this forum are not for general MOD support, they are for giving the MOD author some feedback, ideas and bug reports.
Post Reply
User avatar
bonelifer
Administrator
Administrator
Posts: 477
Joined: 24 Jun 2006, 17:48
Real name: William
Location: htpc.MythBuntu

Groups/Contributers Page

Post by bonelifer »

This post was originally posted by Kenny at 6 String MODs. We will continue developing this thingy and release it as a MOD to the phpBB MODDB.

As requested by JohanNL, here is a simple page that lists all your custom groups and their members. It's a very simple snippet, requiring only 1 file edit :)

Some of the features:
  • Group name is now a link to the memberlist groups page
  • Groups rank image & title
  • Config options - decide whether or not to show group rank, title and description

I've set my page to show all custom groups as well as the pre-defined Administrators and Global Moderators. Guests, Bots ans Reg Users are hidden. You should note that any group marked as hidden will not show up on this page.

By default, the group leader is the 1st user in the list and their name is in bold. If there is no group leader, then none is shown. If there are no members, no members are shown. If there is neither a leader or any members, but the groups exists, the box will show but it will be empty. I plan on expanding on this to show messages like "The groups has no members" :)

All styling is done in the HTML file itself, so if you want to change font sizes or things like that, change them there. I also included a little bit of CSS3 - rounded corner borders. They only work on Mozilla and Webkit based browsers (Firefox, Safari). Just remove the CSS and the class="round" if you don't want that.

I should note that there is not pagination of any sort included with this script and it will pull all members of custom groups onto that one page. So if you have a group with 100 or 100 members, you may wish to exclude that group ;) This snippet is ideal for small groups of people you wish to give recognition to.

[url=http://www.phpbb.com/customise/db/mod/groups_page/]Link to Modification on phpBB[/url]

[url=https://github.com/phpbbmodders/groups_page]Link to Modification on github[/url]
Last edited by bonelifer on 13 Jan 2015, 00:00, edited 2 times in total.
Reason: Remove zip, add links
User avatar
Unknown Bliss
New member
New member
Posts: 45
Joined: 24 Oct 2010, 02:08
Real name: Michael.C.
Location: Inside your head.

Re: Groups/Contributers Page

Post by Unknown Bliss »

The repository is located here: https://github.com/phpbbmodders/groups_page
User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: Groups/Contributers Page

Post by Obsidian »

Clever, but question...you aren't using a query in a loop like I saw someone else's doing, right?

That'd be bad. Very bad.
User avatar
tumba25
Supporter
Supporter
Posts: 1052
Joined: 24 Oct 2007, 13:10
Real name: Jari Kanerva
Location: Kokkola, Finland.
Contact:

Re: Groups/Contributers Page

Post by tumba25 »

Rich is rewriting it to not use queries in loops. And to minimize the number of queries.
User avatar
EY
Supporter
Supporter
Posts: 204
Joined: 05 Nov 2006, 23:13
Real name: Elias
Location: Montreal

Re: Groups/Contributers Page

Post by EY »

Any screenshot or demo on how this would look?
Never Say Never!
User avatar
RMcGirr83
Supporter
Supporter
Posts: 6242
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: Groups/Contributers Page

Post by RMcGirr83 »

In it's current form

modders4.png
User avatar
tumba25
Supporter
Supporter
Posts: 1052
Joined: 24 Oct 2007, 13:10
Real name: Jari Kanerva
Location: Kokkola, Finland.
Contact:

Re: Groups/Contributers Page

Post by tumba25 »

This is in the MOD queue waiting for the wolfs (AKA validators) to do their thing.
User avatar
RMcGirr83
Supporter
Supporter
Posts: 6242
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: Groups/Contributers Page

Post by RMcGirr83 »

...and [url=http://www.phpbb.com/customise/db/mod/groups_page/]validated and released[/url]. Enjoy!!

First post updated. :)
Rashiki
New member
New member
Posts: 1
Joined: 22 Nov 2010, 15:41

Re: Groups/Contributers Page

Post by Rashiki »

Hey guys, im loving this mod so far. But there are a few things I want to add to it if you could help me out. I know this is 100% possible, i'm just not too familiar with phpbb, learning as i go.

This is what i need...

I need to display a custom profile field next to the user name, the profile field is called "title" for example.

I also need to display the user_rank through rank_title if the user has one, but if not, to display the group_rank through rank_title.

Ive spent days rummaging through this code and I usually can work things out myself but this one got me stumped, I am as stuck as I can be, please help me out some knowledgable great person!
Post Reply