Jump to content

Warn Log

Featured Replies

Posted

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.

 

  • 3 months later...
  • Replies 51
  • Views 5.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I disabled it and re-enable it and is working now. I dont know why. If something will happen again, I will come back to you. Thanks for your fast answer.

  • 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 v

  • Adriano Faria
    Adriano Faria

    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.

Posted Images

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 :D

  • Author
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 :D

It does. At least, it should. I'll take a look.

Many thanks. We ended up with 75 instances of Warn Log which Invision Support cleared out for us.

  • Author
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.
  • 3 months later...

I have a reproducible error (EX0) if I have Warn Logs enabled and I warn with these parameters.

1_29_16__8_38_AM.thumb.png.ffe683e225103

 

Edited by David T. Cole

  • Author
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.

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}
------------------------------------------------------------------------

 

  • Author

Warn directly on profile or via post ?

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.

This isn't a public board so if you want admin access that is very doable.

  • Author

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.

@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.

  • Author
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.

  • Author
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: 

 

Thansk for confirming that this is a core bug, and not an issue with your plugin.

Under punishment: "Moderatore Content" should be "Moderated Content". 

  • Author
54 minutes ago, David T. Cole said:

Under punishment: "Moderatore Content" should be "Moderated Content". 

You mean a typo?

Yep! :) Just saw it and wanted to correct it but that bit isn't forward-facing.

  • 3 weeks later...

@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 by Hulu

  • 2 months later...
  • Author

What's New in Version 2.0.3:

  • Changed the link on post to link of mini profile
  • Fixed dates of post content
  • 1 month later...

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).

  • 2 months later...

Hello

It's possible to add a post when a warn is revoked ? 

  • Author
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.

Recently Browsing 0

  • No registered users viewing this page.