Jump to content

Ban Members From Topics

Featured Replies

wrong

Edited by rastafari
wrong pls delete

  • Replies 132
  • Views 9.8k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Adriano Faria
    Adriano Faria

    What's New in Version 1.0.1: Added option to temporarily ban a member from a topic    

  • Adriano Faria
    Adriano Faria

    Hello, The "follow" from the topic is removed when a user is banned so they won't receive further notifications.

  • Adriano Faria
    Adriano Faria

    What's New in Version 1.2.0: New Features: New notifications: when a moderator bans you from a topic when a moderator unbans you from

Posted Images

Hey hey @Adriano Faria

Have you got any idea about this type of error?

I have the latest version of plugin in 4.6.9.

Thanks

TypeError: flock(): Argument #1 ($stream) must be of type resource, bool given in 
/var/www/vhosts/*****/httpdocs/system/Theme/Cache/Template.php:90 Stack trace: #0 
/var/www/vhosts/*****/httpdocs/system/Theme/Cache/Template.php(90): flock() #1 
/var/www/vhosts/*****/httpdocs/system/Theme/Theme.php(777): IPS\Theme\Cache\_Template->exists() #2 
/var/www/vhosts/*****/httpdocs/system/Theme/Theme.php(860) : eval()'d code(3633): IPS\_Theme->getTemplate() #3 
/var/www/vhosts/*****/httpdocs/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_topics->topic() #4 
/var/www/vhosts/*****/httpdocs/applications/forums/modules/front/forums/topic.php(553): IPS\Theme\_SandboxedTemplate->__call() #5 
/var/www/vhosts/*****/httpdocs/init.php(903) : eval()'d code(24): IPS\forums\modules\front\forums\_topic->manage() #6 
/var/www/vhosts/*****/httpdocs/system/Dispatcher/Controller.php(101): IPS\forums\modules\front\forums\banfromtopics_hook_bftTopicController->manage() #7 
/var/www/vhosts/*****/httpdocs/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute() #8 
/var/www/vhosts/*****/httpdocs/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute() #9 
/var/www/vhosts/*****/httpdocs/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_topic->execute() #10 
/var/www/vhosts/*****/httpdocs/index.php(13): IPS\_Dispatcher->run() #11 {main}
  • Author
On 2/1/2022 at 3:42 PM, Jirinex said:

Hey hey @Adriano Faria

Have you got any idea about this type of error?

I have the latest version of plugin in 4.6.9.

Thanks

TypeError: flock(): Argument #1 ($stream) must be of type resource, bool given in 
/var/www/vhosts/*****/httpdocs/system/Theme/Cache/Template.php:90 Stack trace: #0 
/var/www/vhosts/*****/httpdocs/system/Theme/Cache/Template.php(90): flock() #1 
/var/www/vhosts/*****/httpdocs/system/Theme/Theme.php(777): IPS\Theme\Cache\_Template->exists() #2 
/var/www/vhosts/*****/httpdocs/system/Theme/Theme.php(860) : eval()'d code(3633): IPS\_Theme->getTemplate() #3 
/var/www/vhosts/*****/httpdocs/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_topics->topic() #4 
/var/www/vhosts/*****/httpdocs/applications/forums/modules/front/forums/topic.php(553): IPS\Theme\_SandboxedTemplate->__call() #5 
/var/www/vhosts/*****/httpdocs/init.php(903) : eval()'d code(24): IPS\forums\modules\front\forums\_topic->manage() #6 
/var/www/vhosts/*****/httpdocs/system/Dispatcher/Controller.php(101): IPS\forums\modules\front\forums\banfromtopics_hook_bftTopicController->manage() #7 
/var/www/vhosts/*****/httpdocs/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute() #8 
/var/www/vhosts/*****/httpdocs/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute() #9 
/var/www/vhosts/*****/httpdocs/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_topic->execute() #10 
/var/www/vhosts/*****/httpdocs/index.php(13): IPS\_Dispatcher->run() #11 {main}

You seem to had a theme cache issue. The error doesn’t point to my resource. Dis you try to clean cache? Still happening?

/var/www/vhosts/*****/httpdocs/system/Dispatcher/Controller.php(101): IPS\forums\modules\front\forums\banfromtopics_hook_bftTopicController->manage() #7

Not even the above line ??

With the previous version of your plugin the errors were more and decreased with the latest.

When the plugin is inactive the errors dissapear.

I haven`t located any cache issue and the all the tasks runs normally in cron.

  • Author

This is there because there's a hook from this app running on it. Did you run the tool to rebuild the cache?

Latest version removed only a blank space from a table name, like ' mytable' to 'mytable'.

This has absolutely nothing to do with your report.

  • 8 months later...

Hey @Adriano Faria, I'm seeing this error when trying to use the application inside a topic: 

There are no members that can be banned from this topic

I'm on version 4.7.3. 

Any help would be greatly appreciated!

Thanks.

  • Author

Dumb question: is there anyone else who posted beyond you or people that already posted? The settings are ok?

  • Author

Could contain: Text, Number, Symbol

FROM NOVEMBER 1ST TO NOVEMBER 30TH.

On 10/31/2022 at 11:28 AM, Adriano Faria said:

Dumb question: is there anyone else who posted beyond you or people that already posted? The settings are ok?

Hey, I am not 100% sure what you mean. 

  • Author

This resource bans only people that posted in the topic. Are all members already banned? Are members who posted and they’re not banned? Are their groups properly chosen in the app settings?

39 minutes ago, Adriano Faria said:

This resource bans only people that posted in the topic. Are all members already banned? Are members who posted and they’re not banned? Are their groups properly chosen in the app settings?

Ahhh, the settings must have reset when I updated because the Members group was not selected. I selected that box and it's working now 🙂 

Thanks for getting back to me - I really appreciate it!

For anyone in the future who may be experiencing something similar:

Screen-Shot-2022-11-02-at-1-34-25-PM.png

Thanks again!

  • 2 months later...

Hello,

Apologies if this is already answered somewhere, but will this plugin allow me to ban entire member groups (rather individual members)?

20 minutes ago, Adriano Faria said:

Not in my plans, sorry.

No worries. Bummer, but thanks for the quick reply!

If you or anyone else know of something that can achieve this, I'd appreciate a heads-up!

  • 2 weeks later...

We recently found out that banned member does not receive notification or email.

Below are our settings

Could contain: Page, Text

 

Αlso in the user's notification settings the menu does not appear.

Could contain: Page, Text, File

 

For admins and mods everything works fine.

We are on the latest version forum and app.

Thanks in advance

Edited by Jirinex

  • Author
26 minutes ago, Jirinex said:

For admins and mods everything works fine

Yes, basically because this is a moderation tool and notifications are sent to moderators only, not to the member who was banned. It’s enough to read the notifications titles: … when another moderator does something… and not …when a moderator add ME in a ban list.

Notifications appears and are sent only to moderators who can manage ban in topics. That’s how it was designed. 

So there is no way to notify banned member, except from manual?

  • Author

That was never a feature nor is described as such. It would be in file description if it was.

You are right !!

Thanks for your quick responses 🙂

 

  • 2 weeks later...
  • Author
15 hours ago, Jirinex said:

Could contain: Page, Text, Plot, Chart

 

Missing language strings?

Where is that exactly? I didn't find a "notifications" stats in the Stats ACP area.

That’s the email statistics chart 

The task ( applications/banfromtopics/tasks/banFromTopics.php ) could/should be optimized to avoid that it times out because of the lacking MySQL limit in the DB query.

  • Author
Just now, Daniel F said:

The task ( applications/banfromtopics/tasks/banFromTopics.php ) could/should be optimized to avoid that it times out because of the lacking MySQL limit in the DB query.

Will take a look. 

Recently Browsing 0

  • No registered users viewing this page.