Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
March 7, 20169 yr Just now, Hulu said: @alexxis you can now hide the block automatically! Many thanks, Hulu! I'm testing it now.
March 7, 20169 yr 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.
March 9, 20169 yr 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.
March 9, 20169 yr 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
March 9, 20169 yr 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.
March 13, 20169 yr @ Hulu обновил плагин - 500 ошибки ... это помогает просто удалить плагин (4.1.8.1)
March 13, 20169 yr Author I don't know how your getting a 500 error, I've tested it on my live forum and everything runs smoothly.
March 14, 20169 yr 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.
April 15, 20168 yr @Tom Irons installed here on 4.1.10 but the moderatores are being displayed duplicated. See the screenshot below. Please advise!
April 15, 20168 yr 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.
April 16, 20168 yr @Tom Irons you gave me the technical information, but not the explanation on how I fix this issue. Please explain in layman terms. Thanks.
April 23, 20168 yr 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.
January 21, 20178 yr Might look bring mine updated as seem very little support on this, only reason placed mine on hold was see if would be replacement.
January 21, 20178 yr 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.
January 21, 20178 yr 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.