rastafari Posted February 1, 2022 Posted February 1, 2022 (edited) wrong Edited February 1, 2022 by rastafari wrong pls delete
Jirinex Posted February 1, 2022 Posted February 1, 2022 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}
Adriano Faria Posted February 5, 2022 Author Posted February 5, 2022 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?
Jirinex Posted February 7, 2022 Posted February 7, 2022 /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.
Adriano Faria Posted February 7, 2022 Author Posted February 7, 2022 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.
Jordan Miller Posted October 31, 2022 Posted October 31, 2022 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.
Adriano Faria Posted October 31, 2022 Author Posted October 31, 2022 Dumb question: is there anyone else who posted beyond you or people that already posted? The settings are ok?
Adriano Faria Posted November 2, 2022 Author Posted November 2, 2022 FROM NOVEMBER 1ST TO NOVEMBER 30TH.
Jordan Miller Posted November 2, 2022 Posted November 2, 2022 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.
Adriano Faria Posted November 2, 2022 Author Posted November 2, 2022 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? Jordan Miller 1
Jordan Miller Posted November 2, 2022 Posted November 2, 2022 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: Thanks again! Adriano Faria 1
The Box Office Theory Posted January 18, 2023 Posted January 18, 2023 Hello, Apologies if this is already answered somewhere, but will this plugin allow me to ban entire member groups (rather individual members)?
Adriano Faria Posted January 18, 2023 Author Posted January 18, 2023 Not in my plans, sorry. The Box Office Theory 1
The Box Office Theory Posted January 18, 2023 Posted January 18, 2023 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!
Jirinex Posted February 1, 2023 Posted February 1, 2023 (edited) We recently found out that banned member does not receive notification or email. Below are our settings Αlso in the user's notification settings the menu does not appear. For admins and mods everything works fine. We are on the latest version forum and app. Thanks in advance Edited February 1, 2023 by Jirinex
Adriano Faria Posted February 1, 2023 Author Posted February 1, 2023 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. rastafari 1
Jirinex Posted February 1, 2023 Posted February 1, 2023 So there is no way to notify banned member, except from manual?
Adriano Faria Posted February 1, 2023 Author Posted February 1, 2023 That was never a feature nor is described as such. It would be in file description if it was. Jirinex 1
Jirinex Posted February 1, 2023 Posted February 1, 2023 You are right !! Thanks for your quick responses 🙂
Adriano Faria Posted February 11, 2023 Author Posted February 11, 2023 15 hours ago, Jirinex said: Missing language strings? Where is that exactly? I didn't find a "notifications" stats in the Stats ACP area.
Daniel F Posted February 11, 2023 Posted February 11, 2023 That’s the email statistics chart Adriano Faria 1
Daniel F Posted February 16, 2023 Posted February 16, 2023 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. Adriano Faria 1
Adriano Faria Posted February 16, 2023 Author Posted February 16, 2023 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.
Adriano Faria Posted February 16, 2023 Author Posted February 16, 2023 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 a topic Link to bun/unban members in posts Fix: Missing language bits: https://invisioncommunity.com/forums/topic/452864-ban-members-from-topics/?do=findComment&comment=2926664 AlexJ and Afrodude 2
Recommended Posts