Adriano Faria Posted June 20, 2015 Posted June 20, 2015 This plugin will create a new topic every time a user gets warned. If the user was already warned, a new post on his topic will be created. Settings: Topic/Post Author Topic Title Post Content, with several variables to be used Increment author content count Forum (where to create the topic/posts) Groups (users that will have a topic created when they got warned) Note: Due to the rework on plugin (every new resource has to be done from the scratch to run on IPS4), a new purchase is required. Thank you for your understanding. AZanetti 1
ScarletCox Posted September 30, 2015 Posted September 30, 2015 Hi Adriano, One problem for users of the previous version under 3.x who have upgraded to IPS4: Warn Log attempts to create a new column in core_members, but due to the existence of the previous version the column already exists. Installation then loops until manually halted. You'll need to adjust it a little so that on installation the plugin checks for existence of the column rather than assuming it doesn't exist. Otherwise, just as excellent as the previous version Adriano Faria 1
Adriano Faria Posted September 30, 2015 Author Posted September 30, 2015 45 minutes ago, ScarletCox said: Hi Adriano, One problem for users of the previous version under 3.x who have upgraded to IPS4: Warn Log attempts to create a new column in core_members, but due to the existence of the previous version the column already exists. Installation then loops until manually halted. You'll need to adjust it a little so that on installation the plugin checks for existence of the column rather than assuming it doesn't exist. Otherwise, just as excellent as the previous version It does. At least, it should. I'll take a look.
ScarletCox Posted September 30, 2015 Posted September 30, 2015 Many thanks. We ended up with 75 instances of Warn Log which Invision Support cleared out for us.
Adriano Faria Posted September 30, 2015 Author Posted September 30, 2015 1 hour ago, ScarletCox said: One problem for users of the previous version under 3.x who have upgraded to IPS4: Warn Log attempts to create a new column in core_members, but due to the existence of the previous version the column already exists. Installation then loops until manually halted. You'll need to adjust it a little so that on installation the plugin checks for existence of the column rather than assuming it doesn't exist. What's New in Version 2.0.1: Added checking for existing column from IP.Board 3.4 to avoid issues on IPS4 plugin installation. ScarletCox 1
Jed Rosenzweig Posted January 29, 2016 Posted January 29, 2016 (edited) I have a reproducible error (EX0) if I have Warn Logs enabled and I warn with these parameters. Edited January 29, 2016 by David T. Cole
Adriano Faria Posted January 29, 2016 Author Posted January 29, 2016 5 minutes ago, David T. Cole said: I have a reproducible error (EX0) if I have Warn Logs enabled and I warn with these parameters. Please, post the content for this plugin in your error log.
Jed Rosenzweig Posted January 29, 2016 Posted January 29, 2016 8 minutes ago, Adriano Faria said: Please, post the content for this plugin in your error log. Fri, 29 Jan 2016 18:28:03 +0000 (Severity: 2) 72.130.149.103 - http://XXXX.ipbhost.com/profile/13-GGGGG/warnings/add/ OutOfRangeException 0: #0 /var/www/html/XXXX/web/init.php(434) : eval()'d code(43): IPS\Patterns\_ActiveRecord::load(0) #1 /var/www/html/XXXX/web/system/Content/Item.php(344): IPS\core\Warnings\hook174->processAfterCreate(NULL, Array) #2 /var/www/html/XXXX/web/system/Content/Item.php(65): IPS\Content\_Item::createFromForm(Array, NULL) #3 /var/www/html/XXXX/web/applications/core/modules/front/system/warnings.php(141): IPS\Content\_Item::create() #4 [internal function]: IPS\core\modules\front\system\_warnings->warn() #5 /var/www/html/XXXX/web/system/Dispatcher/Controller.php(85): call_user_func(Array) #6 /var/www/html/XXXX/web/system/Content/Controller.php(46): IPS\Dispatcher\_Controller->execute() #7 /var/www/html/XXXX/web/applications/core/modules/front/system/warnings.php(43): IPS\Content\_Controller->execute() #8 /var/www/html/XXXX/web/system/Dispatcher/Dispatcher.php(129): IPS\core\modules\front\system\_warnings->execute() #9 /var/www/html/XXXX/web/index.php(13): IPS\_Dispatcher->run() #10 {main} ------------------------------------------------------------------------ Fri, 29 Jan 2016 18:28:46 +0000 (Severity: 2) 72.130.149.103 - http://XXXX.ipbhost.com/profile/13-GGGGG/warnings/add/ OutOfRangeException 0: #0 /var/www/html/XXXX/web/init.php(434) : eval()'d code(43): IPS\Patterns\_ActiveRecord::load(0) #1 /var/www/html/XXXX/web/system/Content/Item.php(344): IPS\core\Warnings\hook174->processAfterCreate(NULL, Array) #2 /var/www/html/XXXX/web/system/Content/Item.php(65): IPS\Content\_Item::createFromForm(Array, NULL) #3 /var/www/html/XXXX/web/applications/core/modules/front/system/warnings.php(141): IPS\Content\_Item::create() #4 [internal function]: IPS\core\modules\front\system\_warnings->warn() #5 /var/www/html/XXXX/web/system/Dispatcher/Controller.php(85): call_user_func(Array) #6 /var/www/html/XXXX/web/system/Content/Controller.php(46): IPS\Dispatcher\_Controller->execute() #7 /var/www/html/XXXX/web/applications/core/modules/front/system/warnings.php(43): IPS\Content\_Controller->execute() #8 /var/www/html/XXXX/web/system/Dispatcher/Dispatcher.php(129): IPS\core\modules\front\system\_warnings->execute() #9 /var/www/html/XXXX/web/index.php(13): IPS\_Dispatcher->run() #10 {main} ------------------------------------------------------------------------ Fri, 29 Jan 2016 18:38:12 +0000 (Severity: 2) 72.130.149.103 - http://XXXX.ipbhost.com/profile/61-SSSSS/warnings/add/ OutOfRangeException 0: #0 /var/www/html/XXXX/web/init.php(434) : eval()'d code(43): IPS\Patterns\_ActiveRecord::load(0) #1 /var/www/html/XXXX/web/system/Content/Item.php(344): IPS\core\Warnings\hook174->processAfterCreate(NULL, Array) #2 /var/www/html/XXXX/web/system/Content/Item.php(65): IPS\Content\_Item::createFromForm(Array, NULL) #3 /var/www/html/XXXX/web/applications/core/modules/front/system/warnings.php(141): IPS\Content\_Item::create() #4 [internal function]: IPS\core\modules\front\system\_warnings->warn() #5 /var/www/html/XXXX/web/system/Dispatcher/Controller.php(85): call_user_func(Array) #6 /var/www/html/XXXX/web/system/Content/Controller.php(46): IPS\Dispatcher\_Controller->execute() #7 /var/www/html/XXXX/web/applications/core/modules/front/system/warnings.php(43): IPS\Content\_Controller->execute() #8 /var/www/html/XXXX/web/system/Dispatcher/Dispatcher.php(129): IPS\core\modules\front\system\_warnings->execute() #9 /var/www/html/XXXX/web/index.php(13): IPS\_Dispatcher->run() #10 {main} ------------------------------------------------------------------------ Fri, 29 Jan 2016 18:38:51 +0000 (Severity: 2) 72.130.149.103 - http://XXXX.ipbhost.com/profile/61-SSSSS/warnings/add/ OutOfRangeException 0: #0 /var/www/html/XXXX/web/init.php(434) : eval()'d code(43): IPS\Patterns\_ActiveRecord::load(0) #1 /var/www/html/XXXX/web/system/Content/Item.php(344): IPS\core\Warnings\hook174->processAfterCreate(NULL, Array) #2 /var/www/html/XXXX/web/system/Content/Item.php(65): IPS\Content\_Item::createFromForm(Array, NULL) #3 /var/www/html/XXXX/web/applications/core/modules/front/system/warnings.php(141): IPS\Content\_Item::create() #4 [internal function]: IPS\core\modules\front\system\_warnings->warn() #5 /var/www/html/XXXX/web/system/Dispatcher/Controller.php(85): call_user_func(Array) #6 /var/www/html/XXXX/web/system/Content/Controller.php(46): IPS\Dispatcher\_Controller->execute() #7 /var/www/html/XXXX/web/applications/core/modules/front/system/warnings.php(43): IPS\Content\_Controller->execute() #8 /var/www/html/XXXX/web/system/Dispatcher/Dispatcher.php(129): IPS\core\modules\front\system\_warnings->execute() #9 /var/www/html/XXXX/web/index.php(13): IPS\_Dispatcher->run() #10 {main} ------------------------------------------------------------------------ Fri, 29 Jan 2016 18:54:12 +0000 (Severity: 2) 72.130.149.103 - http://XXXX.ipbhost.com/profile/13-GGGGG/warnings/add/ OutOfRangeException 0: #0 /var/www/html/XXXX/web/init.php(434) : eval()'d code(43): IPS\Patterns\_ActiveRecord::load(0) #1 /var/www/html/XXXX/web/system/Content/Item.php(344): IPS\core\Warnings\hook174->processAfterCreate(NULL, Array) #2 /var/www/html/XXXX/web/system/Content/Item.php(65): IPS\Content\_Item::createFromForm(Array, NULL) #3 /var/www/html/XXXX/web/applications/core/modules/front/system/warnings.php(141): IPS\Content\_Item::create() #4 [internal function]: IPS\core\modules\front\system\_warnings->warn() #5 /var/www/html/XXXX/web/system/Dispatcher/Controller.php(85): call_user_func(Array) #6 /var/www/html/XXXX/web/system/Content/Controller.php(46): IPS\Dispatcher\_Controller->execute() #7 /var/www/html/XXXX/web/applications/core/modules/front/system/warnings.php(43): IPS\Content\_Controller->execute() #8 /var/www/html/XXXX/web/system/Dispatcher/Dispatcher.php(129): IPS\core\modules\front\system\_warnings->execute() #9 /var/www/html/XXXX/web/index.php(13): IPS\_Dispatcher->run() #10 {main} ------------------------------------------------------------------------
Adriano Faria Posted January 29, 2016 Author Posted January 29, 2016 Warn directly on profile or via post ?
Jed Rosenzweig Posted January 29, 2016 Posted January 29, 2016 8 minutes ago, Adriano Faria said: Warn directly on profile or via post ? These were on profile. Let me check on post for you. Fri, 29 Jan 2016 19:08:31 +0000 (Severity: 2) 72.130.149.103 - http://XXXXXX.ipbhost.com/profile/13-GGGGGG/warnings/add/?ref=eyJhcHAiOiJmb3J1bXMiLCJtb2R1bGUiOiJmb3J1bXMtY29tbWVudCIsImlkXzEiOjgyLCJpZF8yIjo0NzB9 OutOfRangeException 0: #0 /var/www/html/XXXXXX/web/init.php(434) : eval()'d code(43): IPS\Patterns\_ActiveRecord::load(0) #1 /var/www/html/XXXXXX/web/system/Content/Item.php(344): IPS\core\Warnings\hook174->processAfterCreate(NULL, Array) #2 /var/www/html/XXXXXX/web/system/Content/Item.php(65): IPS\Content\_Item::createFromForm(Array, NULL) #3 /var/www/html/XXXXXX/web/applications/core/modules/front/system/warnings.php(141): IPS\Content\_Item::create() #4 [internal function]: IPS\core\modules\front\system\_warnings->warn() #5 /var/www/html/XXXXXX/web/system/Dispatcher/Controller.php(85): call_user_func(Array) #6 /var/www/html/XXXXXX/web/system/Content/Controller.php(46): IPS\Dispatcher\_Controller->execute() #7 /var/www/html/XXXXXX/web/applications/core/modules/front/system/warnings.php(43): IPS\Content\_Controller->execute() #8 /var/www/html/XXXXXX/web/system/Dispatcher/Dispatcher.php(129): IPS\core\modules\front\system\_warnings->execute() #9 /var/www/html/XXXXXX/web/index.php(13): IPS\_Dispatcher->run() #10 {main} This was from a post.
Jed Rosenzweig Posted January 29, 2016 Posted January 29, 2016 This isn't a public board so if you want admin access that is very doable.
Adriano Faria Posted January 29, 2016 Author Posted January 29, 2016 True, confirmed. Let me see what has changed. Just now, David T. Cole said: This isn't a public board so if you want admin access that is very doable. No, it's fine. I could reproduce it on my dev board. Let me see what has changed. Jed Rosenzweig 1
Adriano Faria Posted January 29, 2016 Author Posted January 29, 2016 What's New in Version 2.0.2: IPS 4.1.6+ compatibility Jed Rosenzweig 1
Gabriel Torres Posted February 5, 2016 Posted February 5, 2016 @Adriano Faria after upgrading to the new version, we lost all the translated words we had already translated. So make sure in the coming versions if there is a way for when upgrading using the "Upgrade" feature to not delete/reset the language words.
Adriano Faria Posted February 5, 2016 Author Posted February 5, 2016 36 minutes ago, Gabriel Torres said: So make sure in the coming versions if there is a way for when upgrading using the "Upgrade" feature to not delete/reset the language words. I don't think there is. There's only way for me, which is add a new version. There's only one way for you which is upgrade your install. I really never tested if plugins upgrade update language bits. If so, in this case, it is a "core" thing. I'll ask them and will let you know. Gabriel Torres 1
Adriano Faria Posted February 5, 2016 Author Posted February 5, 2016 1 hour ago, Gabriel Torres said: @Adriano Faria after upgrading to the new version, we lost all the translated words we had already translated. So make sure in the coming versions if there is a way for when upgrading using the "Upgrade" feature to not delete/reset the language words. 30 minutes ago, Adriano Faria said: I don't think there is. There's only way for me, which is add a new version. There's only one way for you which is upgrade your install. I really never tested if plugins upgrade update language bits. If so, in this case, it is a "core" thing. I'll ask them and will let you know. As I thought, a bug in the Core: Gabriel Torres 1
Gabriel Torres Posted February 7, 2016 Posted February 7, 2016 Thansk for confirming that this is a core bug, and not an issue with your plugin.
Jed Rosenzweig Posted February 10, 2016 Posted February 10, 2016 Under punishment: "Moderatore Content" should be "Moderated Content".
Adriano Faria Posted February 10, 2016 Author Posted February 10, 2016 54 minutes ago, David T. Cole said: Under punishment: "Moderatore Content" should be "Moderated Content". You mean a typo?
Jed Rosenzweig Posted February 11, 2016 Posted February 11, 2016 Yep! Just saw it and wanted to correct it but that bit isn't forward-facing. Adriano Faria 1
Tom Irons Posted March 3, 2016 Posted March 3, 2016 (edited) @Adriano Faria Here are a few features I think would be sweet to have. Option for the person warning the user be the topic author Option to use other {} tags in the title. Edited March 3, 2016 by Hulu Adriano Faria 1
Adriano Faria Posted May 10, 2016 Author Posted May 10, 2016 What's New in Version 2.0.3: Changed the link on post to link of mini profile Fixed dates of post content Gabriel Torres 1
Vianney Gantelmi Posted July 3, 2016 Posted July 3, 2016 Hello ! Great plugin, thank you. I have one issue: when I ban somebody and set an unban date, the unban date is not displayed correctly. It display a date in 1970 (IIRC).
Caez77 Posted October 1, 2016 Posted October 1, 2016 Hello It's possible to add a post when a warn is revoked ?
Adriano Faria Posted October 1, 2016 Author Posted October 1, 2016 Just now, Caez77 said: Hello It's possible to add a post when a warn is revoked ? I'll take a look for a next version.
Recommended Posts