vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - New Thread/Post Reminder Message (https://vborg.vbsupport.ru/showthread.php?t=323705)

MarkFL 10-25-2016 09:00 PM

New Thread/Post Reminder Message
 
1 Attachment(s)
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):

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

Quick Reply:

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

Quick Edit:

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

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.

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

Support for this product can be found here:

Stratis 10-26-2016 04:01 AM

I had my own code in all templates for each skin.
Now with this mod all is easy and clean.


Tested in vb4.2.0 & vb4.2.3
Works fine as all tests i could make.


Thank you very much. :)

MarkFL 10-26-2016 04:07 AM

Quote:

Originally Posted by Stratis (Post 2577300)
I had my own code in all templates for each skin.
Now with this mod all is easy and clean.


Tested in vb4.2.0 & vb4.2.3
Works fine as all tests i could make.


Thank you very much. :)

Thank you for letting me and others know it works with vB 4.2.0...I tested on vB 4.2.1-4.2.3, but don't have vB 4.2.0 to test. :)

MarkFL 10-26-2016 04:40 AM

Sorry for such a quick update, but I realized when counting new threads for a user, only those threads started in the product's active forums should be counted. :o

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

Sforums 10-26-2016 05:06 AM

Not compatible with 4.1?

Stratis 10-26-2016 05:57 AM

Quote:

Originally Posted by Sforums (Post 2577303)
Not compatible with 4.1?


Quote:

Originally Posted by MarkFL
Compatibility:
Tested and working on VB 4.2.x and may work on all 4.x versions of vBulletin.

Quote:

Originally Posted by MarkFL (Post 2577301)
Thank you for letting me and others know it works with vB 4.2.0...I tested on vB 4.2.1-4.2.3, but don't have vB 4.2.0 to test. :)

Sorry for answering, but needed to be tested.

MarkFL 10-26-2016 04:35 PM

Quote:

Originally Posted by Sforums (Post 2577303)
Not compatible with 4.1?

I don't have vB 4.1.x with which to test, and so I don't know whether it will work with those versions or not. In order for me to be more specific about which version are compatible, I depend on those with versions to which I don't have access to let me know if it works on their version or not. :)

scottkoz20 10-27-2016 05:31 PM

Mark -

Would I be able to modify the checklist to suit my sites needs?

Scott

MarkFL 10-27-2016 05:56 PM

Quote:

Originally Posted by scottkoz20 (Post 2577357)
Mark -

Would I be able to modify the checklist to suit my sites needs?


Scott

Yes, there are links in the settings to modify the title of the block and the contents of the block. You can use whatever you like there, and if you want help using HTML to make it look exactly like you want, let me know and I will be glad to assist. :)

Alan_SP 10-27-2016 05:58 PM

In what way you want to edit it?


All times are GMT. The time now is 02:00 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.01215 seconds
  • Memory Usage 1,753KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete