Jump to content
Announcing Achievements! ×

Community

Warn Log


Adriano Faria
 Share

Recommended Posts

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.

 

Link to comment
Share on other sites

  • 3 months later...

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.
Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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: 

 

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 months later...
  • 1 month later...
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy