Jump to content

New Topic Rules

Featured Replies

Posted

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.

 

  • Replies 103
  • Views 11.9k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Andrzej Pindor
    Andrzej Pindor

    Hi, css from your plugin breaks default IPS styles: You must adjust padding in this style: I had to add this to my custom.css: to display correctly

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

  • Adriano Faria
    Adriano Faria

    That's exacly what it does. Take a look in the last screenshot.

Posted Images

Can this plugin be set per forum? For example, I'd like to create different rules for different topics/forums. Would this be possible?

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

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

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

Just now, Adriano Faria said:

You mean accept a rule to post in that topic ?

Yes - 

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

  • 2 months later...

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 by klierik

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

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:
Изменение раздела: Проблемы верстки 2016-05-02 15-25-46.png

So as you can see i make some word bold and that what get on front-end:

Правила Новой Темы - htmlforum для разработчиков 2016-05-02 15-25-24.png

Edited by klierik

  • Author
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:
Изменение раздела: Проблемы верстки 2016-05-02 15-25-46.png

So as you can see i make some word bold and that what get on front-end:

Правила Новой Темы - htmlforum для разработчиков 2016-05-02 15-25-24.png

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:

Capturar.png

Capturar.png

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

 Forums 2016-05-02 16-40-25.png

like infinity loading... never finish

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

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?

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

  • 1 month later...

Works great with IPB 4.1.12.3 PHP 7.0.8 Nginx 1.11.1 :thumbsup:

  • 2 months later...

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.

  • 2 months later...

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 by Li3D

  • Author

No, Checkbox is required because  the user must agree first. 

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

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

Hum ok, and no feature request I guess ? :(

  • Author

You can ask of course... I just don't have any ETA now. Working in other things.

Recently Browsing 0

  • No registered users viewing this page.