Multiple Special Ranks

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Get Involved
Post Reply
Bruce Banner
Registered User
Posts: 624
Joined: Thu Sep 25, 2014 10:36 am

Multiple Special Ranks

Post by Bruce Banner » Fri Sep 28, 2018 4:32 pm

Could someone give this a try, please? Or tell me where I can find it if it exists already?

Restless Rancor
Registered User
Posts: 95
Joined: Tue Sep 18, 2018 1:51 pm

Re: Multiple Special Ranks

Post by Restless Rancor » Fri Sep 28, 2018 5:02 pm

Hi, I'd like to register my interest in an extension that would allow this. To provide a bit more information than the OP provided, here's how I'd envision it working. It would essentially expand the functionality of the built in ranks system whilst touching on what this extension already does: https://www.phpbb.com/customise/db/exte ... ial_ranks/

Uses

Normal Ranks
Expanding on the existing system you would be able to set a new set of normal ranks with different criteria such as total topics and date of registration.
You could also have rank criteria based on other extensions, such as Thanks for Posts (times thanked/been thanked etc.), Referrals, Mentions count, Ultimate Points balance - the list can go on.
Example usage could be if someone has X Posts, Y Topics and have been a member for Z years they would have an "X Posts", "Y Topics" and "Z Years of Membership" rank.

Special Ranks
Simply allowing someone to have more than one special rank.
Example usage would be having one rank for "Admin", "Moderator", "Contributor", "VIP" etc.

I wouldn't know the first step about making an extension but would imagine having integration with many other extensions would be a mammoth task.

User avatar
GanstaZ
Registered User
Posts: 510
Joined: Wed Oct 11, 2017 10:29 pm
Location: Zverse

Re: Multiple Special Ranks

Post by GanstaZ » Fri Sep 28, 2018 6:34 pm

About above post & ranks: Well.. i'm doing something similar for my own project, but it's not directly connected to ranks (at least not at the moment), but can be used/integrated with anything that have numerical values.
"When answer lies in the question,.. question becomes redundant!"

Restless Rancor
Registered User
Posts: 95
Joined: Tue Sep 18, 2018 1:51 pm

Re: Multiple Special Ranks

Post by Restless Rancor » Fri Sep 28, 2018 6:57 pm

GanstaZ wrote:
Fri Sep 28, 2018 6:34 pm
About above post & ranks: Well.. i'm doing something similar for my own project, but it's not directly connected to ranks (at least not at the moment), but can be used/integrated with anything that have numerical values.
You have my attention :lol:

User avatar
Noomcat
Registered User
Posts: 16
Joined: Tue May 15, 2018 3:26 pm

Re: Multiple Special Ranks

Post by Noomcat » Fri Oct 12, 2018 11:19 am

I would like to see this made a reality too. Currently I use Poseys's "Multi Ranks" which works with the latest PHPBB but it only allows up too 3 special ranks. I would like to see an extension that goes beyond that perhaps up to 5 special ranks? Is that possible?

Naomi

Restless Rancor
Registered User
Posts: 95
Joined: Tue Sep 18, 2018 1:51 pm

Re: Multiple Special Ranks

Post by Restless Rancor » Fri Oct 12, 2018 11:52 am

Noomcat wrote:
Fri Oct 12, 2018 11:19 am
I would like to see this made a reality too. Currently I use Poseys's "Multi Ranks" which works with the latest PHPBB but it only allows up too 3 special ranks. I would like to see an extension that goes beyond that perhaps up to 5 special ranks? Is that possible?

Naomi
Hi Naomi, is it this extension you're referring to? I've not installed it as it's been abandoned.
Recently I've been looking into this a lot more and have found a way to make template edits to have extra ranks display, but it can get a bit messy. I'm in the process of writing it up in a readable "how to install" post for myself, but can share it with you once it's finished if you'd like?

User avatar
KevC
Support Team Member
Support Team Member
Posts: 68301
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Multiple Special Ranks

Post by KevC » Fri Oct 12, 2018 12:03 pm

If you have more than one rank image that will be fairly 'permanent' for that user, you can always make them one graphic file. That way they have two visible ranks but it's only actually one rank 'slot'. Not the exact solution but for some instances it'll work fine.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

Restless Rancor
Registered User
Posts: 95
Joined: Tue Sep 18, 2018 1:51 pm

Re: Multiple Special Ranks

Post by Restless Rancor » Fri Oct 12, 2018 12:16 pm

KevC wrote:
Fri Oct 12, 2018 12:03 pm
If you have more than one rank image that will be fairly 'permanent' for that user, you can always make them one graphic file. That way they have two visible ranks but it's only actually one rank 'slot'. Not the exact solution but for some instances it'll work fine.
Occam's Razor (kind of). I always forget.

I am still interested in seeing an extension which enables more customization features for ranks. I don't want to use the term 'to give us more freedom when assigning them', but it would essentially be this, but a key factor would be to include Normal and Special ranks- hopefully with multiple of each.

koraldon
Registered User
Posts: 483
Joined: Sat Jun 30, 2007 12:42 pm

Re: Multiple Special Ranks

Post by koraldon » Sat Oct 13, 2018 9:22 am

Check out the profile flair extension

User avatar
Noomcat
Registered User
Posts: 16
Joined: Tue May 15, 2018 3:26 pm

Re: Multiple Special Ranks

Post by Noomcat » Mon Oct 15, 2018 10:28 am

Restless Rancor wrote:
Fri Oct 12, 2018 11:52 am
Noomcat wrote:
Fri Oct 12, 2018 11:19 am
I would like to see this made a reality too. Currently I use Poseys's "Multi Ranks" which works with the latest PHPBB but it only allows up too 3 special ranks. I would like to see an extension that goes beyond that perhaps up to 5 special ranks? Is that possible?

Naomi
Hi Naomi, is it this extension you're referring to? I've not installed it as it's been abandoned.
Recently I've been looking into this a lot more and have found a way to make template edits to have extra ranks display, but it can get a bit messy. I'm in the process of writing it up in a readable "how to install" post for myself, but can share it with you once it's finished if you'd like?
Oh yes, that is the one I am currently using. It works brilliantly but I would love to be add extra ranks if needed. Did you say you know a method or is it too complicated?
KevC wrote:
Fri Oct 12, 2018 12:03 pm
If you have more than one rank image that will be fairly 'permanent' for that user, you can always make them one graphic file. That way they have two visible ranks but it's only actually one rank 'slot'. Not the exact solution but for some instances it'll work fine.
I have done this but unfortunatley I have to change the ranks frequently as it's kinda oa rewards thing!

Restless Rancor
Registered User
Posts: 95
Joined: Tue Sep 18, 2018 1:51 pm

Re: Multiple Special Ranks

Post by Restless Rancor » Mon Oct 15, 2018 2:29 pm

Noomcat wrote:
Mon Oct 15, 2018 10:28 am

Oh yes, that is the one I am currently using. It works brilliantly but I would love to be add extra ranks if needed. Did you say you know a method or is it too complicated?
The method I found was to use IF statements to read the members posts and display an image true or move onto the next IF statement if false. If you have the NASR extension installed you only need to do this to the memberlist to get them to show, as they show by default on the viewtopic screens, but you can apply the same method basically anywhere to get the desired result without the extension installed.

With the extension installed it's quite simple to add to the memberlist with an IF statement like this:
<!-- IF memberrow.POSTS < 500 and memberrow.POSTS >= 250 --><br /><img src="images/ranks/new/250.png"><!-- ENDIF -->
You need to add to the memberlist.php file though:

Find:

Code: Select all

'FORUMS'		=> $row['forums'],
'FORUM_OPTIONS'	=> (isset($row['forums_options'])) ? true : false,
'RANK_TITLE'	=> $user_rank_data['title'],
Add After:

Code: Select all

'U_POSTS'	    => $row['user_posts'],
So as I said the method is very messy and requires core file changes. If you understand what I mean and can take it from there, great, but I am writing these up as instructions for myself today so I can poke you the link if you'd like :)

Post Reply

Return to “Extension Requests”

Who is online

Users browsing this forum: Exabot [Bot] and 9 guests