Tom Irons Posted April 1, 2016 Share Posted April 1, 2016 About This File This plugin will allow moderators to ban/unban members from topics. I took in the consideration of the forum permissions, so the links will only show up in topics in forums that they are allowed to moderate. Link to comment
RevengeFNF Posted May 26, 2016 Share Posted May 26, 2016 Hello, I just bought your plugin, installed it, but in the permissions i don't see the options like on your example. Im using IPS 4.1.12. Can you check it please? Link to comment
RevengeFNF Posted May 27, 2016 Share Posted May 27, 2016 Hey again. I think it was a problem with 4.1.12. Its working with 4.1.12.1. Link to comment
Tom Irons Posted May 27, 2016 Author Share Posted May 27, 2016 It may have been something with your system, but I'm glad it's fixed now. Link to comment
RevengeFNF Posted June 1, 2016 Share Posted June 1, 2016 Hello, The System Logs are being spammed with this exception: OutOfRangeException: (0) #0 /home/admin/web/public_html/init.php(434) : eval()'d code(73): IPS\_Content::loadAndCheckPerms('65023') #1 /home/admin/web/public_html/system/Dispatcher/Controller.php(96): IPS\forums\modules\front\forums\hook149->manage() #2 /home/admin/web/public_html/system/Content/Controller.php(46): IPS\Dispatcher\_Controller->execute() #3 /home/admin/web/public_html/applications/forums/modules/front/forums/topic.php(40): IPS\Content\_Controller->execute() #4 /home/admin/web/public_html/system/Dispatcher/Dispatcher.php(129): IPS\forums\modules\front\forums\_topic->execute() #5 /home/admin/web/public_html/index.php(13): IPS\_Dispatcher->run() #6 {main} BACKTRACE #0 /home/admin/web/public_html/init.php(498): IPS\_Log::log('OutOfRangeExcep...', 'uncaught_except...') #1 [internal function]: IPS\IPS::exceptionHandler(Object(OutOfRangeException)) #2 {main} Hook149 is your plugin. How can we solve this? Link to comment
Tom Irons Posted June 1, 2016 Author Share Posted June 1, 2016 Are you sure about that? I don't see how the plugin would throw any error unless the topic has been deleted. Link to comment
RevengeFNF Posted June 1, 2016 Share Posted June 1, 2016 Well, in the table of the Hooks, says the the hook 149 refers to the plugin 4. I then went to the plugin table, and the plugin 4 is Ban from Topic. Link to comment
RevengeFNF Posted June 3, 2016 Share Posted June 3, 2016 On 01/06/2016 at 4:13 AM, Tom Irons said: Are you sure about that? I don't see how the plugin would throw any error unless the topic has been deleted. Hello, So i opened a ticket with IPS, they disabled the plugin and for the past2 days i did not receive any more Exceptions. Which means is a problem with the plugin. Possible to check it? Link to comment
Tom Irons Posted June 4, 2016 Author Share Posted June 4, 2016 Can you tell me which plugin file hook149 refers to? That may help me narrow down the issue. Link to comment
RevengeFNF Posted June 4, 2016 Share Posted June 4, 2016 17 hours ago, Tom Irons said: Can you tell me which plugin file hook149 refers to? That may help me narrow down the issue. Hello, This? Link to comment
Tom Irons Posted June 5, 2016 Author Share Posted June 5, 2016 Can you tell me when your getting this error? Is it when your signed in as a guest? Link to comment
RevengeFNF Posted June 5, 2016 Share Posted June 5, 2016 8 minutes ago, Tom Irons said: Can you tell me when your getting this error? Is it when your signed in as a guest? Nope. It seems kind of random. Always 4 at the same time. Look here at the hours of the day: Link to comment
Tom Irons Posted June 5, 2016 Author Share Posted June 5, 2016 It looks like that user doesn't have permission to view the topic. I just tested the functionality of the plugin on my dev install and everything is still working as it should be, I don't get any errors. Link to comment
RevengeFNF Posted June 5, 2016 Share Posted June 5, 2016 1 hour ago, Tom Irons said: It looks like that user doesn't have permission to view the topic. I just tested the functionality of the plugin on my dev install and everything is still working as it should be, I don't get any errors. Just tested that. If a guest or a user try to enter a topic they do not have permission, it will throw 4 exceptions in the logs. Its a easy fix? Just to not spam te logs. I also have another feedback from my staff. The ban from topic button don't ask for a confirmation, and when using the phone, it already happened banning a user without the staff noticing it. A confirmation would be good Link to comment
Tom Irons Posted June 5, 2016 Author Share Posted June 5, 2016 The exception is thrown by IPS, not the plugin. So I can't help with that one since it doesn't have anything to do with the plugin. I can work on adding a confirmation function when banning/unbanning users. Link to comment
lostaussie Posted July 6, 2016 Share Posted July 6, 2016 On 6/6/2016 at 4:18 AM, Tom Irons said: The exception is thrown by IPS, not the plugin. So I can't help with that one since it doesn't have anything to do with the plugin. Hi I did not see this topic until now but last night IPB support informed me it was this plugin causing the same error logs as the other poster and when disabled the logs stop. Quote Hello, These errors are being caused by the 3rd party plugin "Ban from Topic". Disabling this will stop these errors from appearing. Kind Regards, Marc Stridgen Invision Power Services, Inc. Link to comment
marklcfc Posted August 10, 2016 Share Posted August 10, 2016 Just purchased, set my admin group to be able to ban/unban from topics but the option isn't there in topics. Link to comment
Tom Irons Posted August 10, 2016 Author Share Posted August 10, 2016 You need to setup the moderator permissions for the group as well. Link to comment
marklcfc Posted August 10, 2016 Share Posted August 10, 2016 Got it working, think it would be better placed in the options dropdown though, I don't plan on using it regularly but it appears in every post Also, there was no confirmation screen, it just banned the user even though confirm appeared in text, no option was there for me. Link to comment
Tom Irons Posted August 10, 2016 Author Share Posted August 10, 2016 5 minutes ago, marklcfc said: Got it working, think it would be better placed in the options dropdown though, I don't plan on using it regularly but it appears in every post Also, there was no confirmation screen, it just banned the user even though confirm appeared in text, no option was there for me. Weather it shows or not depends on what forums the user is allowed to moderate. I just updated the file and removed the confirmation dialog... I may add it back in down the road if I can get it working. Link to comment
marklcfc Posted August 10, 2016 Share Posted August 10, 2016 Could easily ban someone by accident with no confirmation, puts me off using it a bit. But if it was in the options dropdown would be ideal, don't know how possible that is Link to comment
Tom Irons Posted August 10, 2016 Author Share Posted August 10, 2016 I will try to add it back in today when I get home, but I can't make any guarantees. Link to comment
Tom Irons Posted August 10, 2016 Author Share Posted August 10, 2016 Update: I was able to get the confirmation dialog working, I've updated the file in the marketplace. Link to comment
Tripp★ Posted August 15, 2016 Share Posted August 15, 2016 This doesn't work for me at all and isn't very intuitive. I have set the moderator permissions up; and the option appeared, as well as added myself as a moderator to all forums in question. However when I go the thread there is no mention of banning anyone from the topic. On both the custom theme I use and the IPS Default. No offence the but the instructions are not very clear at all, either. From what I understand I install it as a plugin (check), I set up the moderator permissions (check) I also see if they can moderate the forums (check) and then I should be able to ban someone from a topic? Link to comment
Tom Irons Posted August 15, 2016 Author Share Posted August 15, 2016 Have you tried running the support tool to clear the cache? Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.