Tom Irons Posted March 5, 2016 Author Posted March 5, 2016 I can try to implement it, but no guarantee.
Tom Irons Posted March 7, 2016 Author Posted March 7, 2016 @alexxis you can now hide the block automatically!
alexxis Posted March 7, 2016 Posted March 7, 2016 Just now, Hulu said: @alexxis you can now hide the block automatically! Many thanks, Hulu! I'm testing it now.
Tom Irons Posted March 7, 2016 Author Posted March 7, 2016 If you have any other suggestions, I'm all ears!
alexxis Posted March 7, 2016 Posted March 7, 2016 Just now, Hulu said: If you have any other suggestions, I'm all ears! hehe, yes, I have already one. 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.
Tom Irons Posted March 8, 2016 Author Posted March 8, 2016 @alexxis you can now choose how you want the list displayed!
Daniel F Posted March 9, 2016 Posted March 9, 2016 I had a ticket where your plugin caused some troubles, so i've reviewed your code.. 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.
Daniel F Posted March 9, 2016 Posted March 9, 2016 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
Tom Irons Posted March 9, 2016 Author Posted March 9, 2016 Thank you for the heads up, I'll look into it today.
Tom Irons Posted March 9, 2016 Author Posted March 9, 2016 @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.
MGeek Posted March 13, 2016 Posted March 13, 2016 @ Hulu обновил плагин - 500 ошибки ... это помогает просто удалить плагин (4.1.8.1)
Tom Irons Posted March 13, 2016 Author Posted March 13, 2016 I don't know how your getting a 500 error, I've tested it on my live forum and everything runs smoothly.
alexxis Posted March 14, 2016 Posted March 14, 2016 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.
Gabriel Torres Posted April 15, 2016 Posted April 15, 2016 @Tom Irons installed here on 4.1.10 but the moderatores are being displayed duplicated. See the screenshot below. Please advise!
Tom Irons Posted April 15, 2016 Author Posted April 15, 2016 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.
Gabriel Torres Posted April 16, 2016 Posted April 16, 2016 @Tom Irons you gave me the technical information, but not the explanation on how I fix this issue. Please explain in layman terms. Thanks.
Gabriel Torres Posted April 23, 2016 Posted April 23, 2016 @Tom Irons I still need help with this. Thank you in advance.
Tom Irons Posted April 23, 2016 Author Posted April 23, 2016 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.
Tom Irons Posted May 24, 2016 Author Posted May 24, 2016 You've already PMed me about the issue, so please don't post about it here.
Pete T Posted January 21, 2017 Posted January 21, 2017 Might look bring mine updated as seem very little support on this, only reason placed mine on hold was see if would be replacement.
Tom Irons Posted January 21, 2017 Author Posted January 21, 2017 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.
Tom Irons Posted January 21, 2017 Author Posted January 21, 2017 This plugin still works on the latest version, you can see below.
Pete T Posted January 21, 2017 Posted January 21, 2017 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.