This board is the new home for david63's extensions.

All of the extensions hosted here will need to be treated as a new install as there is no migration from the original ones to these, and furthermore, no support will be given to migrating to any of these extensions from previous versions.


Due to the selfishness of certain board members it has become necessary to apply a limit of how many downloads each member can make before making a donation. Once a donation has been made then you will have unlimited downloads.

[3.3.0] User Ranks

Fully working extensions for phpBB 3.3.x
User avatar
devspace
Owner
Owner
Posts: 343
Joined: October 2022

[3.3.0] User Ranks

Post by devspace »

User Ranks:

Displays a list of user ranks and the members in that rank.

Compatibility:

Image Image

Image

Notes:

If you are using any other version of this extension then it must be Disabled /Delete data and the original files deleted before installing this version - you will loose all settings.

Features:
  • Option to not list members for members.
  • Option to not list "special" ranks.
  • Option to ignore bots.
  • Option to only list members for Admins.
  • Option to list special ranks only for Admins.
Language(s):
  • en
Version:
  • 3.3.0
Installation:
  • Download the latest release and unzip it.
  • Upload the unzipped files to [board root]/ext/devspace/userranks and enable it in the ACP
Configuration:
  • ACP
  • Extensions
  • User ranks
  • Manage user ranks
Useage:
  • Select User ranks from either the top nav bar or the Quick links menu (depending on configuration)
Extension Download:

User avatar
devspace
Owner
Owner
Posts: 343
Joined: October 2022

User Ranks

Post by devspace »

Announcements:

User avatar
Fredisland
Donor
Donor
Posts: 7
Joined: May 2023

Re: [3.3.0] User Ranks

Post by Fredisland »

Thank you for this excellent extension.
You deserve three gifts :

1 - The Paypal donation I've done a few minutes ago
2 - The FRENCH translation I send you as attachment.
3 - All my gratitude 😊

Fred

User avatar
Fredisland
Donor
Donor
Posts: 7
Joined: May 2023

Re: [3.3.0] User Ranks

Post by Fredisland »

A small update to the french translation (one letter missing in one word).
I would have like to replace the previous file, but I can't. So here's the update.
Here is a flower to make me forgive : 🌻.
You do not have the required permissions to view the files attached to this post.

User avatar
Fredisland
Donor
Donor
Posts: 7
Joined: May 2023

Re: [3.3.0] User Ranks

Post by Fredisland »

What is suprising with this extension (on phpBB 3.3.10) is that I have no members displayed in Donator rank. But 2 members have really this rank. And it's confirmed in my ACP. Why ?

Thank you.
Image
Image

User avatar
devspace
Owner
Owner
Posts: 343
Joined: October 2022

Re: [3.3.0] User Ranks

Post by devspace »

Fredisland wrote: 06 May 2023 18:03
I have no members displayed in Donator rank. But 2 members have really this rank.
Have you given the Donor group the Donor rank?

User avatar
Fredisland
Donor
Donor
Posts: 7
Joined: May 2023

Re: [3.3.0] User Ranks

Post by Fredisland »

devspace wrote: 06 May 2023 21:41
Fredisland wrote: 06 May 2023 18:03
I have no members displayed in Donator rank. But 2 members have really this rank.
Have you given the Donor group the Donor rank?
Yes absolutely. And in the Team page, the two members are well displayed as donators.

User avatar
Fredisland
Donor
Donor
Posts: 7
Joined: May 2023

Re: [3.3.0] User Ranks

Post by Fredisland »

My concern is resolved.

There was on my part a confusion between the RANK and the GROUP.

For the first two contributors to my forum, a parameter had to be adjusted in the ACP because the extension could not automatically bring the two donors into the GROUP of contributors. So I did it manually. BUT: that the donors are actually in the GROUP of donors did not mean that they have the RANK of donor, so this morning I also had to perform this manipulation.

Image

When I had a forum under SMF, there weren't all these complexities specific to PHP. So it's solved. Thank you for paying attention to my concerns, and I am still waiting for your new work on the extensions that I am following very closely.
Friendly

Fred

(and sorry for my school english, but I'm a french living in France)

User avatar
profcaju
Donor
Donor
Posts: 2
Joined: April 2024

Re: [3.3.0] User Ranks

Post by profcaju »

Hello.

Thanks for the extension :D

Just installed but realized that there is no option in ACP->Extensions called User ranks.

My knowledge about extensions is very vague, but I could realize that in the .zip provided in this topic there is no template for the ACP... maybe it is missing some files? Or am I missing some instruction?

Kind regards,

User avatar
devspace
Owner
Owner
Posts: 343
Joined: October 2022

Re: [3.3.0] User Ranks

Post by devspace »

profcaju wrote: 30 Apr 2024 02:36
Hello.

Thanks for the extension :D

Just installed but realized that there is no option in ACP->Extensions called User ranks.

My knowledge about extensions is very vague, but I could realize that in the .zip provided in this topic there is no template for the ACP... maybe it is missing some files? Or am I missing some instruction?

Kind regards,
That sounds as if you have not installed the extension correctly - did you follow the Install instructions in the first post of this topic?

MrGaby
Member
Member
Posts: 2
Joined: April 2023

Re: [3.3.0] User Ranks

Post by MrGaby »

Hello

Thanks a lot for this extension!

Is it possible to not display ranks for which there are no users?

Thanks again.

User avatar
devspace
Owner
Owner
Posts: 343
Joined: October 2022

Re: [3.3.0] User Ranks

Post by devspace »

MrGaby wrote: 22 Oct 2024 18:14
Is it possible to not display ranks for which there are no users?
Not without some major changes to the code

MrGaby
Member
Member
Posts: 2
Joined: April 2023

Re: [3.3.0] User Ranks

Post by MrGaby »

Hello

Thanks for your answer.

I was able to solve my problem by adding these 2 lines in the main_controller.php file of the extension:

Search:

Code: Select all

		while ($row = $this->db->sql_fetchrow($result))
		{

Add after:

Code: Select all

		  $rank_users2 = $this->get_user_rank_data($row['rank_id']);
		  if (!empty($rank_users2) > 0) {

Search:

Code: Select all

					else
					{
						$this->template->assign_block_vars('ranks.rank_member', [
							'MEMBERS' => $this->language->lang('NO_MEMBERS'),
						]);
					}
				}
			}
Add after:

Code: Select all

		  }

But I am aware that this modification is not permanent in case of update of the extension