[RC]Multiple ranks (not linked to usergroups) - 1.01

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Ideas Centre
User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: [RC]Multiple ranks (not linked to usergroups) - 1.01

Post by Oyabun1 »

Read page 49.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests
Brinda
Registered User
Posts: 41
Joined: Fri Mar 02, 2007 7:54 pm

Re: [RC]Multiple ranks (not linked to usergroups) - 1.01

Post by Brinda »

Oyabun1 wrote:If you used the 1.0.3 version of the MOD that has the multiple_ranks_install.php, run that again it should default to uninstall and and it will remove the database changes.

Then download and edit the file. Find these lines

Code: Select all

			array('phpbb_users', 'user_rank2', array('UINT', '0')),
			array('phpbb_users', 'user_rank3', array('UINT', '0')),
and add the same lines again but substitute user_rank4 anduser_ranks5 for 2 and 3, so you will then have 4 lines.

Save it, upload it, and run it again. It should add 4 columns rather than the standard 2 and if you ever want to remove the MOD running that install file again will also remove the extra columns as well.
I've already done it, but it removes the rank 2 and 3, already setted on my board. I need to keep them, if it's possible.
If there isn't any other solution, I will remove and reinstall with all new ranks:

Code: Select all

			array('phpbb_users', 'user_rank2', array('UINT', '0')),
			array('phpbb_users', 'user_rank3', array('UINT', '0')),
			array('phpbb_users', 'user_rank4', array('UINT', '0')),
			array('phpbb_users', 'user_rank5', array('UINT', '0')),
			array('phpbb_users', 'user_rank6', array('UINT', '0')),
			array('phpbb_users', 'user_rank7', array('UINT', '0')),
User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: [RC]Multiple ranks (not linked to usergroups) - 1.01

Post by Oyabun1 »

Page 47.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests
Brinda
Registered User
Posts: 41
Joined: Fri Mar 02, 2007 7:54 pm

Re: [RC]Multiple ranks (not linked to usergroups) - 1.01

Post by Brinda »

I worked it alone, thank you
Last edited by Brinda on Sun Oct 04, 2015 9:08 am, edited 1 time in total.
messikecil
Registered User
Posts: 115
Joined: Fri Oct 24, 2014 11:42 pm

Re: [RC]Multiple ranks (not linked to usergroups) - 1.01

Post by messikecil »

its great, can i install it to 3.0.12 im using zaroon style based on subsilver???
User avatar
Diyasena
Registered User
Posts: 26
Joined: Wed Feb 25, 2015 5:51 am
Location: Sri Lanka
Name: diyasena

Re: [RC]Multiple ranks (not linked to usergroups) - 1.01

Post by Diyasena »

It is great MOD. I used it with phpBB 3.0.12. Waiting for 3.1.x :|
User avatar
DevMakoto
Registered User
Posts: 66
Joined: Tue Jun 23, 2015 3:38 pm
Name: Carlos Mayorga

Re: [RC]Multiple ranks (not linked to usergroups) - 1.01

Post by DevMakoto »

Diyasena wrote:It is great MOD. I used it with phpBB 3.0.12. Waiting for 3.1.x :|
view viewtopic.php?f=456&t=2345856
User avatar
Diyasena
Registered User
Posts: 26
Joined: Wed Feb 25, 2015 5:51 am
Location: Sri Lanka
Name: diyasena

Re: [RC]Multiple ranks (not linked to usergroups) - 1.01

Post by Diyasena »

DevMakoto wrote:
Diyasena wrote:It is great MOD. I used it with phpBB 3.0.12. Waiting for 3.1.x :|
view viewtopic.php?f=456&t=2345856
Thank you. But it can assign only special ranks. Cannot assign ranks to post count. Isn't it?
User avatar
mrgoldy
Former Team Member
Posts: 1394
Joined: Tue Oct 06, 2009 7:34 pm
Location: The Netherlands
Name: Gijs

Re: [RC]Multiple ranks (not linked to usergroups) - 1.01

Post by mrgoldy »

That extension indeed only provides the ability to assign three Special Ranks.
If you would like to show Special Ranks and a user's normal rank, look at this extension: viewtopic.php?f=456&t=2345541
phpBB Studio / Member of the Studio

Contributing: You can do it too! Including testing Pull Requests (PR).
phpBB Development and Testing made easy.

Return to “[3.0.x] MODs in Development”