Li3D Posted November 29, 2016 Posted November 29, 2016 (edited) 9 minutes ago, Adriano Faria said: Well, the description is pretty clear: On 08/02/2016 at 9:39 PM, Adriano Faria said: This plugin will create a specific rule for the forums you want, so users of specific groups, set by the administrator, must agree before they are able to create topics. You could do that on main form page 6 minutes ago, Adriano Faria said: You can ask of course... I just don't have any ETA now. Working in other things. OK, here it is Would be nice if we can display rule content directly in the topic with optionnal mandatory checkbox and for every topic (without cookie). Thank You ! EDIT : I know this is the New Topic Rules but for me those rules apply to new responses too. Would be great if they were diplayed before the response form too Edited November 29, 2016 by Li3D
Li3D Posted November 29, 2016 Posted November 29, 2016 Re, I have a lot of sub-forums, I would like to have a template system in order to modify them in mass
Adriano Faria Posted November 29, 2016 Author Posted November 29, 2016 Not possible. It doesn't use a template and you need to enable it per forum.
Li3D Posted November 29, 2016 Posted November 29, 2016 Misspoke, I would like to have differents messages for some sub-forums and possibility to edit them in mass. It is one more feature request. Anyway the plugin is runing, not as I would like exactly but thanks !
Kjell Iver Johansen Posted February 22, 2017 Posted February 22, 2017 On 2/9/2016 at 0:45 PM, Adriano Faria said: I'll take a look for a new resource. I don't want to mix things here. Hello Adriano - do you think you could make an option - or maybe better as mentioned above - a new plugin - so that users must accept a rule before beeing able to post in a spesific topic? I still have this topic with thousands of posts that always gets off-topic...
Adriano Faria Posted February 22, 2017 Author Posted February 22, 2017 Unfortunately, no. Once the user goes to a topic, the editor is already there. User just need to type and hit submit. I would use something like that in your specific case:
Kjell Iver Johansen Posted February 22, 2017 Posted February 22, 2017 I understand. In 3.4.x I had this Javascript just covering the editor in that single topic all the time - and they had to push button Yes to be allowed to post there. This plugin is working as intended BTW and it is really helpful in the forum for buy and sell.
Adriano Faria Posted September 5, 2017 Author Posted September 5, 2017 What's New in Version 4.0.2: IPS 4.2 compatible.
Andrzej Pindor Posted September 29, 2017 Posted September 29, 2017 Just bought this plugin and when I tried to save rules, I've got this error: UPDATE `forums_forums` forums_forums SET `parent_id`=3,`icon`=(IPS\File\FileSystem::__set_state(array( 'temporaryFilePath' => NULL, 'configuration' => array ( 'dir' => '/var/www/forum.vw-passat.pl/httpdocs/uploads', 'url' => 'uploads', ), 'configurationId' => 1, 'storageExtension' => 'forums_Icons', 'originalFilename' => 'forum_old-48.png', 'filename' => 'forum_old-48.png.d48ca786900d618a3c495c66230b6ad1.png', 'container' => 'monthly_2017_09', 'contents' => NULL, 'url' => IPS\Http\Url\Internal::__set_state(array( 'base' => 'none', 'isInternal' => true, 'isFriendly' => false, 'url' => 'https://forum.vw-passat.pl/uploads/monthly_2017_09/forum_old-48.png.d48ca786900d618a3c495c66230b6ad1.png', 'data' => array ( 'scheme' => 'https', 'host' => 'forum.vw-passat.pl', 'port' => NULL, 'user' => NULL, 'pass' => NULL, 'path' => '/uploads/monthly_2017_09/forum_old-48.png.d48ca786900d618a3c495c66230b6ad1.png', 'query' => '', 'fragment' => NULL, ), 'queryString' => array ( ), 'hiddenQueryString' => array ( ), )), 'tempId' => NULL, 'attachmentThumbnailUrl' => NULL, 'thumbnailName' => NULL, 'thumbnailContainer' => NULL, ))),`skin_id`='0',`can_view_others`=true,`permission_showtopic`=false,`show_rules`='0',`forum_allow_rating`=true,`disable_sharelinks`=false,`inc_postcount`=true,`allow_poll`=true,`tag_predefined`='',`show_prefix_in_desc`=false,`topicrules_onoff`=true,`topicrules_tipo`='ipsMessage_info ipsMessage_information',`sub_can_post`=true,`redirect_on`=false WHERE id=33 IPS\Db\Exception: Data too long for column 'topicrules_tipo' at row 1 (1406) #0 /var/www/forum.vw-passat.pl/httpdocs/system/Db/Db.php(990): IPS\_Db->preparedQuery('/*IPS\\Node\\_Mod...', Array) #1 /var/www/forum.vw-passat.pl/httpdocs/system/Patterns/ActiveRecord.php(492): IPS\_Db->update('`forums_forums`...', '`parent_id`=?,`...', 'WHERE id=?') #2 /var/www/forum.vw-passat.pl/httpdocs/system/Node/Model.php(2237): IPS\Patterns\_ActiveRecord->save() #3 [internal function]: IPS\Node\_Model->save() #4 /var/www/forum.vw-passat.pl/httpdocs/init.php(448) : eval()'d code(217): call_user_func_array('parent::save', Array) #5 /var/www/forum.vw-passat.pl/httpdocs/system/Node/Model.php(3021): IPS\Node\advancedtagsprefixes_hook_nodeModel->save() #6 [internal function]: IPS\Node\_Model->saveForm(Array) #7 /var/www/forum.vw-passat.pl/httpdocs/init.php(448) : eval()'d code(145): call_user_func_array('parent::saveFor...', Array) #8 /var/www/forum.vw-passat.pl/httpdocs/system/Node/Controller.php(391): IPS\Node\advancedtagsprefixes_hook_nodeModel->saveForm(Array) #9 /var/www/forum.vw-passat.pl/httpdocs/applications/forums/modules/admin/forums/forums.php(123): IPS\Node\_Controller->form() #10 /var/www/forum.vw-passat.pl/httpdocs/system/Dispatcher/Controller.php(85): IPS\forums\modules\admin\forums\_forums->form() #11 /var/www/forum.vw-passat.pl/httpdocs/system/Node/Controller.php(62): IPS\Dispatcher\_Controller->execute() #12 /var/www/forum.vw-passat.pl/httpdocs/applications/forums/modules/admin/forums/forums.php(39): IPS\Node\_Controller->execute() #13 /var/www/forum.vw-passat.pl/httpdocs/system/Dispatcher/Dispatcher.php(146): IPS\forums\modules\admin\forums\_forums->execute() #14 /var/www/forum.vw-passat.pl/httpdocs/admin/index.php(13): IPS\_Dispatcher->run() #15 {main}
Adriano Faria Posted September 29, 2017 Author Posted September 29, 2017 (edited) 33 minutes ago, Andrzej Pindor said: Just bought this plugin and when I tried to save rules, I've got this error: UPDATE `forums_forums` forums_forums SET `parent_id`=3,`icon`=(IPS\File\FileSystem::__set_state(array( 'temporaryFilePath' => NULL, 'configuration' => array ( 'dir' => '/var/www/forum.vw-passat.pl/httpdocs/uploads', 'url' => 'uploads', ), 'configurationId' => 1, 'storageExtension' => 'forums_Icons', 'originalFilename' => 'forum_old-48.png', 'filename' => 'forum_old-48.png.d48ca786900d618a3c495c66230b6ad1.png', 'container' => 'monthly_2017_09', 'contents' => NULL, 'url' => IPS\Http\Url\Internal::__set_state(array( 'base' => 'none', 'isInternal' => true, 'isFriendly' => false, 'url' => 'https://forum.vw-passat.pl/uploads/monthly_2017_09/forum_old-48.png.d48ca786900d618a3c495c66230b6ad1.png', 'data' => array ( 'scheme' => 'https', 'host' => 'forum.vw-passat.pl', 'port' => NULL, 'user' => NULL, 'pass' => NULL, 'path' => '/uploads/monthly_2017_09/forum_old-48.png.d48ca786900d618a3c495c66230b6ad1.png', 'query' => '', 'fragment' => NULL, ), 'queryString' => array ( ), 'hiddenQueryString' => array ( ), )), 'tempId' => NULL, 'attachmentThumbnailUrl' => NULL, 'thumbnailName' => NULL, 'thumbnailContainer' => NULL, ))),`skin_id`='0',`can_view_others`=true,`permission_showtopic`=false,`show_rules`='0',`forum_allow_rating`=true,`disable_sharelinks`=false,`inc_postcount`=true,`allow_poll`=true,`tag_predefined`='',`show_prefix_in_desc`=false,`topicrules_onoff`=true,`topicrules_tipo`='ipsMessage_info ipsMessage_information',`sub_can_post`=true,`redirect_on`=false WHERE id=33 IPS\Db\Exception: Data too long for column 'topicrules_tipo' at row 1 (1406) #0 /var/www/forum.vw-passat.pl/httpdocs/system/Db/Db.php(990): IPS\_Db->preparedQuery('/*IPS\\Node\\_Mod...', Array) #1 /var/www/forum.vw-passat.pl/httpdocs/system/Patterns/ActiveRecord.php(492): IPS\_Db->update('`forums_forums`...', '`parent_id`=?,`...', 'WHERE id=?') #2 /var/www/forum.vw-passat.pl/httpdocs/system/Node/Model.php(2237): IPS\Patterns\_ActiveRecord->save() #3 [internal function]: IPS\Node\_Model->save() #4 /var/www/forum.vw-passat.pl/httpdocs/init.php(448) : eval()'d code(217): call_user_func_array('parent::save', Array) #5 /var/www/forum.vw-passat.pl/httpdocs/system/Node/Model.php(3021): IPS\Node\advancedtagsprefixes_hook_nodeModel->save() #6 [internal function]: IPS\Node\_Model->saveForm(Array) #7 /var/www/forum.vw-passat.pl/httpdocs/init.php(448) : eval()'d code(145): call_user_func_array('parent::saveFor...', Array) #8 /var/www/forum.vw-passat.pl/httpdocs/system/Node/Controller.php(391): IPS\Node\advancedtagsprefixes_hook_nodeModel->saveForm(Array) #9 /var/www/forum.vw-passat.pl/httpdocs/applications/forums/modules/admin/forums/forums.php(123): IPS\Node\_Controller->form() #10 /var/www/forum.vw-passat.pl/httpdocs/system/Dispatcher/Controller.php(85): IPS\forums\modules\admin\forums\_forums->form() #11 /var/www/forum.vw-passat.pl/httpdocs/system/Node/Controller.php(62): IPS\Dispatcher\_Controller->execute() #12 /var/www/forum.vw-passat.pl/httpdocs/applications/forums/modules/admin/forums/forums.php(39): IPS\Node\_Controller->execute() #13 /var/www/forum.vw-passat.pl/httpdocs/system/Dispatcher/Dispatcher.php(146): IPS\forums\modules\admin\forums\_forums->execute() #14 /var/www/forum.vw-passat.pl/httpdocs/admin/index.php(13): IPS\_Dispatcher->run() #15 {main} Data too long for column 'topicrules_tipo' Let me see what has changed. Edited September 29, 2017 by Adriano Faria
Adriano Faria Posted September 29, 2017 Author Posted September 29, 2017 34 minutes ago, Andrzej Pindor said: and when I tried to save rules, I've got this error What's New in Version 4.0.3: Fix error when saving a rule
Andrzej Pindor Posted October 4, 2017 Posted October 4, 2017 (edited) Hi, css from your plugin breaks default IPS styles: You must adjust padding in this style: Quote .ipsMessage { padding: 3px 15px 15px 45px; border-radius: 2px; position: relative; margin-bottom: 10px; } I had to add this to my custom.css: Quote .ipsMessage{ padding: 15px 45px !important; } to display correctly Edited October 4, 2017 by Andrzej Pindor Nebthtet and Adriano Faria 2
Nebthtet Posted December 6, 2017 Posted December 6, 2017 @Adriano Faria I'm having the same issue as on the screen in the picture above. The fix with custom.css helps but not entirely (fontawesome icon is a bit misaligned anyway). This persists even when the plugin is turned off in admin panel, only uninstalling it entirely fixes the issue. Could you please advise how to remove the problem?
Adriano Faria Posted December 6, 2017 Author Posted December 6, 2017 No, I don’t know. Need to install it and fix the CSS. I’ll release a new version when it’s done, probably tomorrow. Nebthtet 1
Adriano Faria Posted December 7, 2017 Author Posted December 7, 2017 What's New in Version 4.0.4: Fix error on message styles
Bluto Posted December 19, 2017 Posted December 19, 2017 (edited) I made some modifications to the plugin. Here they are if you want them and you know what you're modifying. Obviously, if you change stuff, make sure you change things back if there is an update. Normal Message instead of warning: Template: core/global/plugins/newTopicRulesForm <!--- MODIFICATION START ---> <div class='ipsType_normal ipsType_richText ipsSpacer_bottom'> <div class="ipsAreaBackground ipsPad ipsPad_double"> {$msg|raw} </div> </div> <div class='ipsType_normal ipsType_richText'> <div class="ipsAreaBackground ipsPad"> {$form|raw} </div> </div> <!--- MODIFICATION END ---> Tip: Always include the Modification(s) so you can search your template for modifications you made. You might also have to remove / delete the css file for the plugin. Use at your own risk and all that fun stuff. Edited December 19, 2017 by Bluto
Adriano Faria Posted December 19, 2017 Author Posted December 19, 2017 1 minute ago, Bluto said: I made some modifications to the plugin. Here they are if you want them and you know what you're modifying. Obviously, if you change stuff, make sure you change things back if there is an update. Normal Message instead of warning: Template: core/global/plugins/newTopicRulesForm <!--- MODIFICATION START ---> <div class='ipsType_normal ipsType_richText ipsSpacer_bottom'> <div class="ipsAreaBackground ipsPad ipsPad_double"> {$msg|raw} </div> </div> <div class='ipsType_normal ipsType_richText'> <div class="ipsAreaBackground ipsPad"> {$form|raw} </div> </div> <!--- MODIFICATION END ---> Tip: Always include the Modification(s) so you can search your template for modifications you made. You might also have to remove / delete the css file for the plugin. Use at your own risk and all that fun stuff. A screenshot?
Bluto Posted December 19, 2017 Posted December 19, 2017 Sure, it's a dark customized theme, but here it is. Someone might want to try it out on the default theme. Though, all the classes are ips classes. Adriano Faria 1
Bluto Posted December 19, 2017 Posted December 19, 2017 (edited) @Adriano Faria Just an FYI. Wiping the cache will delete all the settings for the plugin (cooke expire after and cookie prefix) and result in an error on the front end. I have Spacious ACP and just wiped the cache and got an error trying to add something in the forum I set this up for. Edited December 19, 2017 by Bluto
Adriano Faria Posted December 19, 2017 Author Posted December 19, 2017 There's nothing wrong with the settings in this plugin. It is as it is in any other plugin. There's a discussion topic in Contributor Chat regarding this issue with settings: https://invisioncommunity.com/forums/topic/442431-what-could-cause-plugin-settings-to-be-wiped/ I'll link your post to it to make sure IPS will be aware. Bluto 1
Bluto Posted December 19, 2017 Posted December 19, 2017 Thanks for the info! I can't read the thread, but it's good to know it's on IPSs end - well maybe it's not that good to know - I'll disable this for now. Let me know if IPS ends up fixing the issue and I'll re-enable it after that. I'm afraid I'd wipe the caches and forget to add back the cookie settings.
Adriano Faria Posted December 19, 2017 Author Posted December 19, 2017 There's a ticket submitted by another dev and Daniel F said that made some change. It will probably be available in 4.2.7, not sure. No new reply for a week.
Bluto Posted December 19, 2017 Posted December 19, 2017 Sounds good. Let me know if they fix it. I can't access the dev forum and the release notes are well - not so informative. Steph40 and Adriano Faria 2
gabs007 Posted January 18, 2018 Posted January 18, 2018 Hi Adriano. Any plans to add this feature to club topics ? Just asking. Sonya* 1
Recommended Posts