Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
New Thread/Post Reminder Message Details »»
New Thread/Post Reminder Message
Version: 1.4.1, by MarkFL MarkFL is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.2.x Rating:
Released: 10-25-2016 Last Update: 02-21-2017 Installs: 22
Uses Plugins Auto-Templates
Translations  
No support by the author.

Overview:

This product allows you to define a message that can be displayed above the ckeditor anywhere new posts are created and edited. We know our users read our carefully constructed rules about as carefully as people read instruction manuals in general. This product can be used to display a message or even list of reminders for proper posting conduct on our sites, which will make it more likely that your users are actually aware of what is allowed and expected when posting.

You may select the forums in which this product is active and the active areas in those forum from showing it only when new threads are created to everywhere new posts are created/edited. You may select certain usergroups to be exempt from seeing the message, and for those users set to see the message, you may decide to stop showing the message once they reach a certain post count, or have started a certain number of threads. You may decide whether the message element is collapsible or not and you may set a maximum height for the message element in case you message takes up a lot of vertical space and you don't want it taking up too much space on your pages.

New Thread/New Reply (Advanced)/Edit Post (Advanced):



Quick Reply:



Quick Edit:



Updates:

Version 1.1:
  • Updated query for thread count to only include the active forums.

Version 1.2:
  • Declared $foruminfo array global in plugins that render custom template.

Version 1.3:
  • Now allows for different messages/titles to be displayed in different forums.

For example, if you edit your message to read:

BEGINFORUMIDS 2,3,4 ENDFORUMIDSMessage 1...BEGINFORUMIDS 5,6,7 ENDFORUMIDSMessage 2...

Then (given that forums with forumids 2-7 are in the "Active Forums"), forums with a forum id of 2, 3 or 4 will display "Message 1..." and forums with a forumid of 4, 6 or 7 will display "Message 2..."

Messages may be stacked as well, that is you can define a message that appears in all forum messages, and then have additional messages that are specific to certain forums that will get added to any previous messages that apply to the forum.

For example, if you edit your message to read:

BEGINFORUMIDS 2,3,4,5,6,7 ENDFORUMIDSMessage 1...BEGINFORUMIDS 2,3,4 ENDFORUMIDSMessage 2...BEGINFORUMIDS 5,6,7 ENDFORUMIDSMessage 3...

Then (given that forums with forumids 2-7 are in the "Active Forums"), forums with a forum id of 2, 3 or 4 will display "Message 1...Message 2..." and forums with a forumid of 4, 6 or 7 will display "Message 1...Message 3..."

The stacked messages will appear in the order in which they are defined.

Block titles work the same way.

Version 1.4:
  • Added setting for header CSS.
  • Added setting for content CSS.

Version 1.4.1:
  • Resolved issue with activity stream.

Compatibility:

Tested and working on VB 4.2.x and may work on all 4.x versions of vBulletin.

Backup/Warning:

This product does not alter your database, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.

As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.

To Install:
  1. Download and extract the attached .zip file.
  2. Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
  3. Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
  4. Click "Import."
  5. You MUST enable the product in the settings before it will function.
  6. Configure the remaining settings to your liking. Each setting has a detailed explanation of its use.



Support for this product can be found here:

Download Now

File Type: zip MarkFL - New Thread & Post Reminder Message v1.4.1.zip (6.9 KB, 43 views)

Screenshots

File Type: jpg markfl_ntm_acp.jpg (86.5 KB, 0 views)
File Type: jpg markfl_ntm_newreply.jpg (44.4 KB, 0 views)
File Type: jpg markfl_ntm_quickreply.jpg (42.0 KB, 0 views)
File Type: jpg markfl_ntm_quickedit.jpg (71.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
BolS^, gsk8, oneill

Comments
  #22  
Old 10-28-2016, 02:12 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update - Version 1.2:
  • Declared $foruminfo array global in plugins that render custom template.
Reply With Quote
  #23  
Old 10-28-2016, 03:01 PM
scottkoz20 scottkoz20 is offline
 
Join Date: Dec 2015
Location: Lewiston, NY
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks Mark - makes it easier
Reply With Quote
  #24  
Old 11-10-2016, 08:16 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mark I have an issue with the update v1.2, I will try to describe it...


In the Activity stream, all threads posts shows - redirect to the same forum.
Code at thread phrase is:
<a href="{1}" class="username">{2}</a> started a thread <a href="{3}">{4}</a> in <a href="{5}">{6}</a>


This <a href="{5}">{6}</a>
always shows, example: Mydomain/forumdisplay.php?7
--------------------------------------------------------------------------
Same with posts
<a href="{1}">{2}</a> replied to a thread <a href="{3}">{4}</a> in <a href="{5}">{6}</a>




This <a href="{5}">{6}</a> shows the same forumdisplay as above.


When I put OFF the modification does not fix, only fixes when disable from Plugins & Products

Maybe I did not manage to describe well, sorry for my bad English.
Reply With Quote
  #25  
Old 11-11-2016, 12:07 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello Stratis,

This product doesn't do anything with the activity stream. None of the sites on which I have installed this have had the activity stream affected at all from what I can tell.
Reply With Quote
  #26  
Old 11-11-2016, 07:03 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe so for you and others

For me what I did:
I uninstalled v1.2 and installed v1.1 All works fine.
To test I installed again v1.2 and voila problem came up again.
Return now to 1.1 and I am staying here. Just have it in mind.
Probably something happens only to my forum.


Thanks Mark
Reply With Quote
  #27  
Old 11-11-2016, 06:26 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Stratis, for the information...I appreciate it. I guess declaring $foruminfo as global in this product's plugins is interfering with your Activity Stream somehow.
Reply With Quote
  #28  
Old 11-12-2016, 05:22 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, actually yesterday I found wich piece of code makes the problem to me.

Plugin "Add Message To Quick Edit (If Applicable)"
This on top ( global $vbulletin, $foruminfo; )

Deleting $foruminfo like this ( global $vbulletin; ) problem does not exists, but I did not leave v1.2 because I do not know if excepting it having other issues.


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

That's the only difference between v1.1 and v1.2, and I only added it because it wouldn't work for Scott without it, and adding it didn't cause me any issues on several sites.
Reply With Quote
  #30  
Old 11-18-2016, 09:11 AM
unrealbaz27 unrealbaz27 is offline
 
Join Date: Oct 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Love this addon and thanks buddy.
Is there anyway thoe...we can set different text for different parts of forum?

example..ive added this as thread format rules for requests,,,,but would be great to have different text and assign to our troubleshhoting area etc
Reply With Quote
Благодарность от:
MarkFL
  #31  
Old 11-19-2016, 05:56 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 unrealbaz27 View Post
Love this addon and thanks buddy.
Is there anyway thoe...we can set different text for different parts of forum?

example..ive added this as thread format rules for requests,,,,but would be great to have different text and assign to our troubleshhoting area etc
I will certainly consider that for a future update.
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 04:25 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08081 seconds
  • Memory Usage 2,357KB
  • Queries Executed 28 (?)
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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_postinfo_query
  • fetch_postinfo
  • 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
  • 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_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete