Jump to content

Forum Moderators

Featured Replies

  • Author

I can try to implement it, but no guarantee.

  • Replies 55
  • Views 5.4k
  • Created
  • Last Reply
  • Author

@alexxis you can now hide the block automatically! :) 

Just now, Hulu said:

@alexxis you can now hide the block automatically! :) 

Many thanks, Hulu! I'm testing it now.

  • Author

If you have any other suggestions, I'm all ears!

Just now, Hulu said:

If you have any other suggestions, I'm all ears!

hehe, yes, I have already one. :D 

As you know, usually we are assigning the forum sections to be moderated by the member GROUPS, and relatively seldom - by a certain member.

Your plugin currently shows all the users' names, but not the member groups who moderate the section.

I know, it has a possibility  to use the color group for the usernames, but what I suggest and would be happy to see is the ability to choose, how to show the moderators: by the group names, or just by usernames (as it currently works).

Example: section "Games", current moderators: Brian, Nick, Elisa - They all belongs for one group - lets call it "VIP moderators". Why not to show them as a "VIP moderators" without usernames?

But ! The usernames should be kept for the users, who assigned to the section as a user, not a usergroup!

Hopefully you understand my idea.

  • Author

@alexxis you can now choose how you want the list displayed!

I had a ticket where your plugin caused some troubles, so i've reviewed your code.. :p

I would suggest to cache the output! Moderators don't change often, so there's no need to run your queries to fetch the moderators and their data each time the widget is loaded. Keep in mind that some boards have > 20 moderators/groups, which can quickly escalate in 20 queries to fetch the moderators/groups + n queries for each moderator to fetch his data.

 

Another problem is that you're expecting that \IPS\Request::i()->id includes the forum id but that's not the case.

This client had placed the widget on the topic page, which of cause didn't work because

$forum = \IPS\forums\Forum::load( \IPS\Request::i()->id );

will try to load a forum with the id of the topic. If it exists, you'll get the wrong forum, if it doesn't exist, this will result in an exception!
So my next suggestion: Please either check for the controller, to see if you're in a topic or a forum or just allow the usage of this widget on the forum page

  • Author

Thank you for the heads up, I'll look into it today.

  • Author

@Daniel F changing the widget to extend the StaticCache class made a difference on the page load time just on my local machine! I can't imagine how much faster it would be on a huge community.

@ Hulu  обновил плагин - 500 ошибки ... это помогает просто удалить плагин (4.1.8.1)

  • Author

I don't know how your getting a 500 error, I've tested it on my live forum and everything runs smoothly.

9 hours ago, MGeek said:

@ Hulu  обновил плагин - 500 ошибки ... это помогает просто удалить плагин (4.1.8.1)

У меня всё работает. Не забывайте удалять плагин перед обновлением, автор же писал.

All works fine by me as well. Don't forget to remove the previous version. before installing a new one.

  • 1 month later...

@Tom Irons installed here on 4.1.10 but the moderatores are being displayed duplicated. See the screenshot below. Please advise!

moderators-duplicate.png

  • Author

The plugin filters through the core_moderators table so if the user is in there as a member and is also in one of the groups they will show twice.

@Tom Irons you gave me the technical information, but not the explanation on how I fix this issue. Please explain in layman terms. Thanks.

@Tom Irons I still need help with this. Thank you in advance.

  • Author

If the member has their own moderator permissions and is also in a group that has moderator permissions, you need to either delete their permissions or remove them from the group.

That should remove the duplicates.

  • 1 month later...

Not working, any ideas about this issue?

 

 

 

5744074115858_Capturadepantalla2016-05-24ala(s)09.46.55.thumb.png.b0730ec8ea6ad0138de8fc21f6c9de84.png

  • Author

You've already PMed me about the issue, so please don't post about it here.

  • 7 months later...

Just displaying nothing... :(

Might look bring mine updated as seem very little support on this, only reason placed mine on hold was see if would be replacement.

  • Author
5 hours ago, Theme Tent UK said:

Might look bring mine updated as seem very little support on this, only reason placed mine on hold was see if would be replacement.

There hasn't been much support on this cause I've been going through some changes in life. Also, you wouldn't be able to upload a plugin that already exists.

  • Author

This plugin still works on the latest version, you can see below.

Screenshot_1.thumb.png.413bf802711698a78fc5cc15af143983.png

5 hours ago, Tom Irons said:

There hasn't been much support on this cause I've been going through some changes in life. Also, you wouldn't be able to upload a plugin that already exists.

You must be confused why can't I upload plugin from update of old hook I have ? 

There never been rule on how many item look or act the same that can be uploaded here sorry not being rude just making facts.

And we all have life changes trust me I had few that I had to make.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.