vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Is there a way to display a set of rules when a user clicks 'Post New Thread'? (https://vborg.vbsupport.ru/showthread.php?t=323676)

CC16 10-21-2016 10:42 PM

Is there a way to display a set of rules when a user clicks 'Post New Thread'?
 
Essentially I would like my users to be given a brief reminder of things like titling guidelines, acceptable hosts for media content etc at the top of the thread creation page.

Is there a plugin that can do such a thing?

MarkFL 10-22-2016 12:32 AM

1 Attachment(s)
I have attached a simple mod that will do what you want. It will display a bordered box (whose border is created using your native stylevars) into which a message will be put:

https://vborg.vbsupport.ru/attachmen...1&d=1477103209

To set the message you wish to be displayed, edit the following phrase:

https://vborg.vbsupport.ru/attachmen...1&d=1477103209

Note: In the screenshot, the wrong product is shown, but I have corrected that, the name of the phrase is the same.

I used a phrase so that you can use translations if needed.

You can format your message using HTML. If you aren't familiar with using HTML, then let me know what you want the reminder message to look like, and I will write the code for you.

Just import the attached .XML file...there are no settings, once you import it, it is active and working. If you want any added features or changes, please feel free to let me know. :)

Stratis 10-24-2016 04:34 AM

1 Attachment(s)
This would be very nice if it can be done in future:


* Option for who usergroups will be visible.
* Where to show up: newthread, newreply, showthread.
* Field for the three above option to write HTML


https://vborg.vbsupport.ru/attachmen...1&d=1477290780

MarkFL 10-24-2016 04:42 AM

Quote:

Originally Posted by Stratis (Post 2577229)
This would be very nice if it can be done in future:


* Option for who usergroups will be visible.
* Where to show up: newthread, newreply, showthread.
* Field for the three above option to write HTML


https://vborg.vbsupport.ru/attachmen...1&d=1477290780

I've been working on a more featured version of this, and selecting exempt usergroups is one feature. Also selecting active forums, setting a post count cut-off, and deciding whether users can collapse the element are among the new features.

I can see adding the choice for a new reply, but I don't see much use to show the message to people simply reading a thread and not replying. :)

Stratis 10-24-2016 05:41 AM

Very nice, actually showthread is when admins have in settings to show quick reply by default, with ought pressing the button, any way you know better. thanks

MarkFL 10-26-2016 01:31 AM

I have published my fully featured product here:

New Thread/Post Reminder Message

:)

Stratis 10-26-2016 03:09 AM

Very nice Mark, tested in vb4.2.0 and vb4.2.3, all ok for me except "Thread/Post Count Threshold" seems that it does not take effect :) at least for me.

MarkFL 10-26-2016 03:16 AM

Are you using thread or post count as the threshold type?

Stratis 10-26-2016 03:36 AM

In both situations, but i used wrong philosophy, Member has 10 post/treads
and i put in the settings 11 :)
I had to put 9.


Sorry

MarkFL 10-26-2016 03:43 AM

Quote:

Originally Posted by Stratis (Post 2577298)
In both situations, but i used wrong philosophy, Member has 10 post/treads
and i put in the settings 11 :)
I had to put 9.


Sorry

No worries, my friend! I did the same thing when I tested it at one point...:)


All times are GMT. The time now is 10:09 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01039 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete