Jump to content

Ban from Topics


Tom Irons

Recommended Posts

Posted

Yes I did try clearing my cache. Where is it supposed to be appear? Since having this enabled I also have a problem with opening the options menu for a post. So yeah... This broke stuff.

bug.png

  • Replies 64
  • Created
  • Last Reply
Posted

You are the first one to report an issue like this, I'm willing to help you troubleshoot this issue if you'd like. But there is only so much I can do on my end.

It appears right after the Options dropdown.

Posted

I'm willing to accept the help. ^_^ That's why I came here, man. I can confirm that it doesn't appear at all, and I'd like to help you, help me, get to the bottom of this and fixing it. 

Posted

@Tom Irons this was a minor conflict with Kitchen Sink. I knew what it was the moment I saw the screenshot. KS grabs all that stuff to let users move it around so if KS isn't at the top of the plugin list it will over-write any modifications to that area that happened before the plugin loader gets to KS. Your plugin was just above it in the list.

Already tackled this with @Tripp_UK and he's good to go.

 

Posted
On 8/21/2016 at 5:38 PM, Tripp_UK said:

@Tom Irons - How do I change the error code number from banned_from_topic to say LOL69, or something?

You would have to edit the hook file itself and I don't recommend that.

Posted

Okay I've found another bug. If the topic is deleted or inaccessible (Say to that usergroup) and yet they still have the URL for whatever reason then it'll throw an Out Of Range Exception:

OutOfRangeException:  (0)
#0 /home/site/public_html/system/Content/Content.php(81): IPS\Patterns\_ActiveRecord::load('35')
#1 /home/site/public_html/init.php(434) : eval()'d code(73): IPS\_Content::loadAndCheckPerms('35')
#2 /home/site/public_html/init.php(434) : eval()'d code(89): IPS\forums\modules\front\forums\hook1257->manage()
#3 /home/site/public_html/system/Dispatcher/Controller.php(96): IPS\forums\modules\front\forums\hook1311->manage()
#4 /home/site/public_html/system/Content/Controller.php(46): IPS\Dispatcher\_Controller->execute()
#5 /home/site/public_html/applications/forums/modules/front/forums/topic.php(40): IPS\Content\_Controller->execute()
#6 /home/site/public_html/system/Dispatcher/Dispatcher.php(129): IPS\forums\modules\front\forums\_topic->execute()
#7 /home/site/public_html/index.php(13): IPS\_Dispatcher->run()
#8 {main}

 

  • 1 month later...
Posted
On 29/08/2016 at 3:59 PM, Tripp_UK said:

Okay I've found another bug. If the topic is deleted or inaccessible (Say to that usergroup) and yet they still have the URL for whatever reason then it'll throw an Out Of Range Exception:


OutOfRangeException:  (0)
#0 /home/site/public_html/system/Content/Content.php(81): IPS\Patterns\_ActiveRecord::load('35')
#1 /home/site/public_html/init.php(434) : eval()'d code(73): IPS\_Content::loadAndCheckPerms('35')
#2 /home/site/public_html/init.php(434) : eval()'d code(89): IPS\forums\modules\front\forums\hook1257->manage()
#3 /home/site/public_html/system/Dispatcher/Controller.php(96): IPS\forums\modules\front\forums\hook1311->manage()
#4 /home/site/public_html/system/Content/Controller.php(46): IPS\Dispatcher\_Controller->execute()
#5 /home/site/public_html/applications/forums/modules/front/forums/topic.php(40): IPS\Content\_Controller->execute()
#6 /home/site/public_html/system/Dispatcher/Dispatcher.php(129): IPS\forums\modules\front\forums\_topic->execute()
#7 /home/site/public_html/index.php(13): IPS\_Dispatcher->run()
#8 {main}

 

@Tom Irons: This is still an issue and I have over 3,000 objects in the last 30 days now spamming up my system error logs. Is there any update to this issue?

  • 1 month later...
  • 2 months later...
Posted

Having the same issue and thought it was related to something else. Response from IPS was as follows : 

The OutOfRangeException errors in the ACP system logs are not related to polls they are caused by a plugin attempting to load a content item that does not exist. Specifically the problem is caused by the "Ban From Topic" Plugin. Please disable this plugin or contact the modification author for assistance.

These are some examples from the logs : 

OutOfRangeException:  (0)
#0 /home/site/public_html/init.php(447) : eval()'d code(73): IPS\_Content::loadAndCheckPerms('29634')
#1 /home/site/public_html/system/Dispatcher/Controller.php(96): IPS\forums\modules\front\forums\hook562->manage()
#2 /home/site/public_html/system/Content/Controller.php(51): IPS\Dispatcher\_Controller->execute()
#3 /home/site/public_html/applications/forums/modules/front/forums/topic.php(40): IPS\Content\_Controller->execute()
#4 /home/site/public_html/system/Dispatcher/Dispatcher.php(129): IPS\forums\modules\front\forums\_topic->execute()
#5 /home/site/public_html/index.php(13): IPS\_Dispatcher->run()
#6 {main}

 

OutOfRangeException:  (0)
#0 /home/site/public_html/system/Content/Content.php(81): IPS\Patterns\_ActiveRecord::load('27106')
#1 /home/site/public_html/init.php(447) : eval()'d code(73): IPS\_Content::loadAndCheckPerms('27106')
#2 /home/site/public_html/system/Dispatcher/Controller.php(96): IPS\forums\modules\front\forums\hook562->manage()
#3 /home/site/public_html/system/Content/Controller.php(51): IPS\Dispatcher\_Controller->execute()
#4 /home/site/public_html/applications/forums/modules/front/forums/topic.php(40): IPS\Content\_Controller->execute()
#5 /home/site/public_html/system/Dispatcher/Dispatcher.php(129): IPS\forums\modules\front\forums\_topic->execute()
#6 /home/site/public_html/index.php(13): IPS\_Dispatcher->run()
#7 {main}

 

Please advise

  • 1 month later...
Posted

Hello!

I have a question. The current version is banning guest from every topic, even ones in public areas, and I can't seem to remove that ban. Is there a setting somewhere I am missing?

  • 2 weeks later...
Posted
On 4/10/2017 at 5:56 PM, Towal Moore said:

Hello!

I have a question. The current version is banning guest from every topic, even ones in public areas, and I can't seem to remove that ban. Is there a setting somewhere I am missing?

If you wouldn't mind, please try to re-install the plugin. If that doesn't work then I'll dig into the issue.

Also, what version of IPS are you using?

  • 2 weeks later...
Posted

@Tom Irons i have a suggestion. Do you think its possible to have temporary ban from topics?

For example, i ban someone from the topic, and it asks if it is indefinitely or to choose a time limit, like 1 hour or 1 day etc. If i choose the time limit, and the person enter the topic, it could say something like: "You are banned from the topic for the next 34 minutes".  

This would be very good to calm down a user.

Posted
On 5/3/2017 at 7:53 AM, RevengeFNF said:

@Tom Irons i have a suggestion. Do you think its possible to have temporary ban from topics?

For example, i ban someone from the topic, and it asks if it is indefinitely or to choose a time limit, like 1 hour or 1 day etc. If i choose the time limit, and the person enter the topic, it could say something like: "You are banned from the topic for the next 34 minutes".  

This would be very good to calm down a user.

I really like this idea, I'll have to think about how to structure it. If I can keep it as a plugin I'll be more than happy to add it.

On 5/3/2017 at 6:12 PM, RevengeFNF said:

@Tom Irons just to let you know in advance, that your plugin seems to not be working with 4.2.0 alpha. The button to ban does not appear in the posts.

I don't have the alpha version installed, so I don't know what to tell you about that. I'll see if I can get it installed sometime this weekend.

Posted
3 hours ago, Tom Irons said:

I really like this idea, I'll have to think about how to structure it. If I can keep it as a plugin I'll be more than happy to add it.

I don't have the alpha version installed, so I don't know what to tell you about that. I'll see if I can get it installed sometime this weekend.

Thanks you, it would really be a good addition.

Probably its related with the new layout. The Ban from Topic button simple does not appear in the posts.

  • 2 weeks later...
Posted
10 minutes ago, LinkMania said:

Hi, just bought the plugin. Cannot see the option to ban from topic.. Using 4.1.19.4, cleared cache, using custom theme from IPSfocus. Thanks!

Did you choose who can ban?

 

Posted
4 minutes ago, RevengeFNF said:

Did you choose who can ban?

 

Uhm.. i have enabled the two ban/unban options for my Administrator group in ACP/Staff/Moderators. I.. do not see the ban option in the posts on a topic..

Posted
1 minute ago, LinkMania said:

Uhm.. i have enabled the two ban/unban options for my Administrator group in ACP/Staff/Moderators.

This ones?

842fd823d6b04a54b3ddefb655152a3a.png

If yes, then you should see the option in the posts, like this:

4e88afe46c8c4a35b4e470b4753535b4.png

If you still don't see it, try changing to the default ips theme. If it appears there, then its an issue between this plugin and your current theme.

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...