Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-21-2016, 10:42 PM
CC16 CC16 is offline
 
Join Date: Sep 2016
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 10-22-2016, 12:32 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:



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



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.
Attached Images
File Type: png markfl_ntm_1.png (6.7 KB, 0 views)
File Type: png markfl_ntm_2.png (31.6 KB, 0 views)
Attached Files
File Type: xml product-markflnewthreadmessage.xml (2.4 KB, 2 views)
Reply With Quote
2 благодарности(ей) от:
blind-eddie, Lynne
  #3  
Old 10-24-2016, 04:34 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


Reply With Quote
  #4  
Old 10-24-2016, 04:42 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stratis View Post
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


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.
Reply With Quote
Благодарность от:
Stratis
  #5  
Old 10-24-2016, 05:41 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 10-26-2016, 01:31 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have published my fully featured product here:

New Thread/Post Reminder Message

Reply With Quote
  #7  
Old 10-26-2016, 03:09 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 10-26-2016, 03:16 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you using thread or post count as the threshold type?
Reply With Quote
  #9  
Old 10-26-2016, 03:36 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Благодарность от:
MarkFL
  #10  
Old 10-26-2016, 03:43 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stratis View Post
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...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:28 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.04240 seconds
  • Memory Usage 2,282KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (4)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete