Adriano Faria Posted February 8, 2016 Posted February 8, 2016 About This File 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. Global Settings: Number of days to expire the cookie Cookie prefix. If you want everybody to agree again to your rules, just change the cookie prefix Per Forum Settings: Enable the plugin in the forum Message style: option to choose between 4 predefined styles Groups that will be required to agree to the rules Rule Content The rule content is translatable, which means that you can use a specific message for each language you have installed on your board. tolik777, gtalg and PresidentPL 2 1
Martin1980 Posted February 8, 2016 Posted February 8, 2016 Can this plugin be set per forum? For example, I'd like to create different rules for different topics/forums. Would this be possible?
Adriano Faria Posted February 8, 2016 Author Posted February 8, 2016 22 minutes ago, Martin1980 said: Can this plugin be set per forum? For example, I'd like to create different rules for different topics/forums. Would this be possible? That's exacly what it does. Take a look in the last screenshot. Martin1980 1
EmpireKicking Posted February 9, 2016 Posted February 9, 2016 I keep this in mind for when my community gets bigger Adriano Faria 1
Kjell Iver Johansen Posted February 9, 2016 Posted February 9, 2016 @Adriano Faria - do you think you could add Topic as well? I have one popular topic and need to have people to accept the rule before posting in that one topic only. Sonya* 1
Adriano Faria Posted February 9, 2016 Author Posted February 9, 2016 Just now, Kjell Iver Johansen said: @Adriano Faria - do you think you could add Topic as well? I have one popular topic and need to have people to accept the rule before posting in that one topic only. You mean accept a rule to post in that topic ?
Kjell Iver Johansen Posted February 9, 2016 Posted February 9, 2016 Just now, Adriano Faria said: You mean accept a rule to post in that topic ? Yes -
Adriano Faria Posted February 9, 2016 Author Posted February 9, 2016 2 minutes ago, Kjell Iver Johansen said: Yes - I'll take a look for a new resource. I don't want to mix things here. Kjell Iver Johansen 1
klierik Posted May 2, 2016 Posted May 2, 2016 (edited) Good day, @Adriano Faria I download and install New Topic Rules plugin. When i try disable forum rules system show error: EX1054 Something went wrong. Please try again. UPDATE `ibf2_forums_forums` forums_forums SET `skin_id`='0',`can_view_others`=true,`permission_showtopic`=false,`show_rules`='2',`forum_allow_rating`=true,`disable_sharelinks`=false,`inc_postcount`=true,`allow_poll`=true,`topicrules_onoff`=false,`topicrules_texto`=NULL,`sub_can_post`=NULL,`redirect_on`=true WHERE id=false IPS\Db\Exception: Unknown column 'topicrules_texto' in 'field list' (1054) #0 /system/Db/Db.php(836): IPS\_Db->preparedQuery('UPDATE `ibf2_fo...', Array) #1 /system/Patterns/ActiveRecord.php(460): IPS\_Db->update('forums_forums', Array, Array) #2 /system/Node/Model.php(1974): IPS\Patterns\_ActiveRecord->save() #3 /system/Node/Model.php(2613): IPS\Node\_Model->save() #4 /system/Node/Controller.php(376): IPS\Node\_Model->saveForm(Array) #5 /applications/forums/modules/admin/forums/forums.php(124): IPS\Node\_Controller->form() #6 [internal function]: IPS\forums\modules\admin\forums\_forums->form() #7 /system/Dispatcher/Controller.php(85): call_user_func(Array) #8 /system/Node/Controller.php(63): IPS\Dispatcher\_Controller->execute() #9 /applications/forums/modules/admin/forums/forums.php(40): IPS\Node\_Controller->execute() #10 /system/Dispatcher/Dispatcher.php(129): IPS\forums\modules\admin\forums\_forums->execute() #11 /control/index.php(13): IPS\_Dispatcher->run() #12 {main} * i copy current settings from other forum branch. What i need todo to fix it? Edited May 2, 2016 by klierik
Adriano Faria Posted May 2, 2016 Author Posted May 2, 2016 IPS\Db\Exception: Unknown column 'topicrules_texto' in 'field list' (1054) This happened on my dev install and thought I uploaded the fix. Sorry. Give one hour max and I'll upload the fix. Disable the plugin in the meantime.
klierik Posted May 2, 2016 Posted May 2, 2016 (edited) Thank you Also i defined that front-end notification don't support HTML-format, for example text bold (test is in Russian lang, but don't care). Text format in AdminCP: So as you can see i make some word bold and that what get on front-end: Edited May 2, 2016 by klierik
Adriano Faria Posted May 2, 2016 Author Posted May 2, 2016 47 minutes ago, klierik said: Thank you Also i defined that front-end notification don't support HTML-format, for example text bold (test is in Russian lang, but don't care). Text format in AdminCP: So as you can see i make some word bold and that what get on front-end: Not sure I follow this. Are you saying that the format you used on ACP isn't showing on front end ? If so, works for me:
klierik Posted May 2, 2016 Posted May 2, 2016 Yes, it is true... i recheck and get the same. Maybe something i've done wrong before. Also i try copy settings to other branch and get like infinity loading... never finish
Adriano Faria Posted May 2, 2016 Author Posted May 2, 2016 8 minutes ago, klierik said: Also i try copy settings to other branch and get like infinity loading... never finish Not sure... works fine for me too: http://www.screencast.com/t/Gayet727 Maybe because of the error you posted before... as it ajaxed, the output wasn't throwing the error. I will update the file here on IPS. Give it a try. What's New in Version 4.0.1: Fixed error when disabling the rules in a forum
klierik Posted May 2, 2016 Posted May 2, 2016 Now disable work fine. Thanks. But redirect don't work. And "Copy" feature too... Video: http://take.ms/4FcnX How can i help you the define why this happened?
Adriano Faria Posted May 2, 2016 Author Posted May 2, 2016 16 minutes ago, klierik said: Now disable work fine. Thanks. But redirect don't work. And "Copy" feature too... Video: http://take.ms/4FcnX How can i help you the define why this happened? I guess you are kinda confused on how COPY SETTINGS works. Your video shows clearly you copying the Enable New Topic Rules setting for other category. All it does it copy THAT setting to the selected categories, not the ENTIRE form. To make sure, I have made a quick test on DOWNLOADS and FORUMS and made a quick video on FORUMS. Same behaviour: http://www.screencast.com/t/52JYbKgULTB Btw, the COPY SETTING feature does not appear to Editor fields.
tolik777 Posted September 6, 2016 Posted September 6, 2016 It would be excellent to add a timer. For example countdown of 30 seconds until the end, the user can not press the button agreement.
Li3D Posted November 29, 2016 Posted November 29, 2016 (edited) Hi, Could be possible to display rules directly before the new topic form (with and without checkbox) ? And without cookie (I would like to display rules all the time) ? Edited November 29, 2016 by Li3D
Adriano Faria Posted November 29, 2016 Author Posted November 29, 2016 No, Checkbox is required because the user must agree first.
Li3D Posted November 29, 2016 Posted November 29, 2016 I bought the plugin to customize the page of writing a new topic :s Is it possible to display it directly on the form page ? Is it possible to disable cookie (I want to display the message for every new topic) ?
Adriano Faria Posted November 29, 2016 Author Posted November 29, 2016 2 minutes ago, Li3D said: I bought the plugin to customize the page of writing a new topic :s Well, the description is pretty clear: On 08/02/2016 at 6: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. If you had doubt, you could ask before you buy. 3 minutes ago, Li3D said: Is it possible to display it directly on the form page ? No. 3 minutes ago, Li3D said: Is it possible to disable cookie (I want to display the message for every new topic) ? No, minimum days is 1.
Adriano Faria Posted November 29, 2016 Author Posted November 29, 2016 You can ask of course... I just don't have any ETA now. Working in other things.
Recommended Posts