Adriano Faria Posted October 23, 2015 Posted October 23, 2015 This plugin will create an automatic post when moving a topic. Compatibility: IPS Community 4.1.X IPS Community 4.0.X Note: Upgrade to IPS4 authorized by @-RAW- https://community.invisionpower.com/files/file/7796-automatic-post-when-moving-topic/
Simonx Posted October 27, 2015 Posted October 27, 2015 Hi, is it possible to make this plugin same when you close a thread? Hello {username}, we closed your thread because it's resolved. If you have any questions, please feel free to contact us again. Regards, {username2}
Adriano Faria Posted October 27, 2015 Author Posted October 27, 2015 Just now, PMP.Mani said: Hi, is it possible to make this plugin same when you close a thread? Hello {username}, we closed your thread because it's resolved. If you have any questions, please feel free to contact us again. Regards, {username2} And if you lock a topic for another reason rather than RESOLVED ?
Simonx Posted October 27, 2015 Posted October 27, 2015 You should can edit the text in the Admin Panel. So everyone can decide what is the standard message. Thhe close message was an example. Thank you.
Adriano Faria Posted October 27, 2015 Author Posted October 27, 2015 Just now, PMP.Mani said: You should can edit the text in the Admin Panel. So everyone can decide what is the standard message. Thhe close message was an example. The issue will exist in same way. You can choose lock a topic with automatic post when you set it as RESOLVED (Saved Actions probably). Other user can lock if a user are spamming, etc. A default text on ACP won't handle all situations.
Simonx Posted October 27, 2015 Posted October 27, 2015 So if I close a thread manually, it closed without message. Would be nice, if I click on "Lock", that a automatic message will write in the thread (where you can edit in Admin Panel) Sorry for my english.
Lee69 Posted January 20, 2016 Posted January 20, 2016 When I try add anything to the Post Content within the Plugin, I get: EX4096 Something went wrong. Please try again. Any ideas @Adriano Faria? Tried just placing a basic text string, no {SOURCE} or {MOVETO} and still the same.
Adriano Faria Posted January 20, 2016 Author Posted January 20, 2016 1 minute ago, Lee69 said: When I try add anything to the Post Content within the Plugin, I get: EX4096 Something went wrong. Please try again. Any ideas @Adriano Faria? Tried just placing a basic text string, no {SOURCE} or {MOVETO} and still the same. Weird 'cause the error 4096 is about the column maximum row size: http://dev.mysql.com/doc/refman/5.7/en/column-count-limit.html I'll make a test tomorrow.
Lee69 Posted January 20, 2016 Posted January 20, 2016 1 minute ago, Adriano Faria said: Weird 'cause the error 4096 is about the column maximum row size: http://dev.mysql.com/doc/refman/5.7/en/column-count-limit.html I'll make a test tomorrow. That's interesting. I also get a different error when installing this plugin: 1S111/1 Data too long for column 'plugin_location' at row 1 Could be related? If not I'll post in the above topic. Looking forward to the test results.
Adriano Faria Posted January 21, 2016 Author Posted January 21, 2016 20 hours ago, Lee69 said: When I try add anything to the Post Content within the Plugin, I get: EX4096 Something went wrong. Please try again. Any ideas @Adriano Faria? Tried just placing a basic text string, no {SOURCE} or {MOVETO} and still the same. That's weird. I get this error only once... then I tried a bunch of combinations and couldn't reproduce anymore. Not sure what to say.
Adriano Faria Posted January 21, 2016 Author Posted January 21, 2016 20 hours ago, Lee69 said: That's interesting. I also get a different error when installing this plugin: 1S111/1 Data too long for column 'plugin_location' at row 1 Could be related? If not I'll post in the above topic. Looking forward to the test results. This other one was built yet on 4.0, so the folder name will appear as something like p509b3bfcd4. See: Installed on my live board and running fine:
Luis Manson Posted January 30, 2016 Posted January 30, 2016 Adriano, is this working in .7? ErrorException 4096: Object of class IPS\Member could not be converted to string #0 /var/www//system/Db/Db.php(291): IPS\IPS::errorHandler(4096, 'Object of class...', '/var/www/...', 291, Array) #1 /var/www//system/Db/Db.php(820): IPS\_Db->preparedQuery('UPDATE `gacore_...', Array) #2 /var/www//system/Helpers/Form/Form.php(607): IPS\_Db->update('core_sys_conf_s...', Array, Array) #3 /var/www//applications/core/modules/admin/applications/plugins.php(851) : eval()'d code(28): IPS\Helpers\_Form->saveAsSettings() #4 /var/www//applications/core/modules/admin/applications/plugins.php(851): eval() #5 [internal function]: IPS\core\modules\admin\applications\_plugins->settings() #6 /var/www//system/Dispatcher/Controller.php(85): call_user_func(Array) #7 /var/www//system/Node/Controller.php(63): IPS\Dispatcher\_Controller->execute() #8 /var/www//applications/core/modules/admin/applications/plugins.php(39): IPS\Node\_Controller->execute() #9 /var/www//system/Dispatcher/Dispatcher.php(129): IPS\core\modules\admin\applications\_plugins->execute() #10 /var/www//admin/index.php(13): IPS\_Dispatcher->run() #11 {main} (i removed my site's path from the log. thats why you see /var/www//xxxx)
Adriano Faria Posted January 31, 2016 Author Posted January 31, 2016 18 hours ago, Luis Manson said: Adriano, is this working in .7? Just tested and works fine: http://www.screencast.com/t/GF0rUp0Ok4K Have you chosen a valid topic author? What was your settings?
Luis Manson Posted January 31, 2016 Posted January 31, 2016 Thanks adriano. its working now. i enabled bot mode with my username once and the settings were saved OK. went to settings again, disabled bot mode and it worked
Phil7789 Posted February 11, 2016 Posted February 11, 2016 I can confirm the EX4096 Something went wrong. Please try again. Bug. As long as you're not choosing yourself as a bot this bug comes up. Having the bot disabled results in the above error. Cheers EDIT: Tested it with 4.1.8.0 and the plugin does not work for me. It does nothing at all, the topic does not even get moved, as long as the plugin is installed. After uninstalling it, I can move topics again. Tested with bot enabled/disabled and with/without links in the old forum.
Adriano Faria Posted February 12, 2016 Author Posted February 12, 2016 13 hours ago, Phil7789 said: I can confirm the EX4096 Something went wrong. Please try again. Bug. As long as you're not choosing yourself as a bot this bug comes up. Having the bot disabled results in the above error. Cheers EDIT: Tested it with 4.1.8.0 and the plugin does not work for me. It does nothing at all, the topic does not even get moved, as long as the plugin is installed. After uninstalling it, I can move topics again. Tested with bot enabled/disabled and with/without links in the old forum. It works fine for me: http://www.screencast.com/t/zpVPL2F3p1uK Is there anything related to this plugin in your logs ?
Phil7789 Posted February 12, 2016 Posted February 12, 2016 Quote Wed, 10 Feb 2016 14:30:16 +0000 (Severity: 2) 195.66.0.121 - admin/?adsess=***&app=core&module=applications&controller=plugins&do=settings&id=** ErrorException 4096: Object of class IPS\Member could not be converted to string #0 /system/Db/Db.php(291): IPS\IPS::errorHandler(4096, 'Object of class...', '/var...', 291, Array) #1 /system/Db/Db.php(820): IPS\_Db->preparedQuery('UPDATE `***_cor...', Array) #2 /system/Helpers/Form/Form.php(611): IPS\_Db->update('core_sys_conf_s...', Array, Array) #3 /applications/core/modules/admin/applications/plugins.php(851) : eval()'d code(28): IPS\Helpers\_Form->saveAsSettings() #4 /applications/core/modules/admin/applications/plugins.php(851): eval() #5 [internal function]: IPS\core\modules\admin\applications\_plugins->settings() #6 /system/Dispatcher/Controller.php(85): call_user_func(Array) #7 /system/Node/Controller.php(63): IPS\Dispatcher\_Controller->execute() #8 /applications/core/modules/admin/applications/plugins.php(39): IPS\Node\_Controller->execute() #9 /system/Dispatcher/Dispatcher.php(129): IPS\core\modules\admin\applications\_plugins->execute() #10 admin/index.php(13): IPS\_Dispatcher->run() #11 {main} This might be the bug with enabling / disabling the bot. After this time I used the hint in this topic to leave the bot enabled. I could not find any other errors in the logs. According to the moderator log, the topic got moved, but that never happend, nor was a post created inside the topic. I've tested it again on non-internal forums. It kinda works on them, the topics get moved, but with an odd behaviour. The moved from ... to ... post does not appear on the topic that got moved, but on a random topic inside the forum the topic got moved out of. Here it says the random topic got moved from forum A to forum A (so inside the same forum). I am not sure what I could've possilby done wrong while installing the plugin I am glad if I can help resolve this issue or even when it's just a configuration problem on my site Cheers
Adriano Faria Posted February 12, 2016 Author Posted February 12, 2016 My test was done with bot enabled. Are you saying the error happens with it disabled?
Adriano Faria Posted February 12, 2016 Author Posted February 12, 2016 2 hours ago, Phil7789 said: This might be the bug with enabling / disabling the bot. 1 hour ago, Adriano Faria said: My test was done with bot enabled. Are you saying the error happens with it disabled? Now tested with BOT disabled, which will make the moderator (who is moving the topic) the author, still works: http://www.screencast.com/t/pf0Adb65 You need to be more specific, so I can try to reproduce the error to fix it, if that's the case.
Gabriel Torres Posted May 22, 2016 Posted May 22, 2016 @Adriano Faria Thanks for pointing me to this plugin. It may solve our issues here. Question/suggestion: is there a way for, instead of configuring the name of the user that will be used in the automatic messages, making the automatic messages to be posted as the moderador who actually moved the topic? This would help us a lot, as the name of the moderador who moved the topic would be recorded publicly.
Adriano Faria Posted May 22, 2016 Author Posted May 22, 2016 12 hours ago, Gabriel Torres said: Question/suggestion: is there a way for, instead of configuring the name of the user that will be used in the automatic messages, making the automatic messages to be posted as the moderador who actually moved the topic? You just need to not enable the BOT. See the settings:
wisin Posted September 4, 2016 Posted September 4, 2016 Hi When i try to config post content and save it, i got an error " EX4096 " what can i do for good working hook? Solved
Daddy Posted September 21, 2016 Posted September 21, 2016 @Adriano Faria When moving a thread 50% of the time it leaves the reply on the desired thread the other 50% it adds it to a random thread in a different category.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.