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 - Default Editor Messages (https://vborg.vbsupport.ru/showthread.php?t=281140)

Pandemikk 04-04-2012 10:00 PM

Default Editor Messages
 
1 Attachment(s)
About DEM:
Default Editor Messages (what a name) allows forum specific messages to populate the editor when users create newthreads. This, originally custom modification, has been converted into a proper vB product for vB.org users. DEM uses instances and messages in combination to allow for very specific message display and order.

Uses:
Have you or your moderators ever had to clean up messes in your community because your users simply ignore or forget the rules? Or maybe you have a specific forum where you want all new posts to follow a template and you find that no matter how much you ask it still isn't followed correctly?

Then this mod is for you! When a user makes a new thread they're most likely not going to go around reading all the rules before they do so (we can still hope, can't we?) but if a chunk of text appears right where they're typing they're bound to stop their fingers and open their eyes!

Features:
  • Fully phrased allowing for translations and multiple languages.
  • Instances! Allows for simple configuration amongst multiple forums with the same message(s).
  • Robust! If you delete a message any instances that used it will default to no bound message. Prevents errors without hindering usage.
  • An "override" setting allows for your message to populate the editor even if other text already exists in there.
  • Auto-delete / replace message(s) on post creation or, with javascript, in the editor itself with your own custom content.
  • Extensive message customization. Specify additional customizable content before and / or after message(s).
-----

Installation requires FTP access for the ACP options and navigation. Upload all files first then import the product.

Support:
Support will not be provided for vBulletin 4 Alpha, Beta or RC versions.
Low priority will be given to posters who do not have this marked as installed
In some cases, support can only be provided if I have an admin login and ftp access.

Changelog:
  • v1.0.0
    • Initial Release
  • v1.1.0
    • Feature: Auto-delete messages on post creation. Both text before and after the message(s) will remain.
    • Feature: Setting and phrase to replace deleted messages with specific text. BBCode is allowed and, if your settings allow it, HTML is allowed.
    • Feature: Phrase-able text on message quote tag. Let's your users know what exactly this message is.
    • Feature: Settings link added in the ACP navigation tab for easy access.
    • Change: Submit button text changed from edit to save when editing an instance or message.
  • v1.2.0
    • Feature: Auto-delete messages using javascript (immediately on editor focus).
    • Feature: Phrase-able text before and after notices without disrupting auto-delete / replace.
    • Feature: Expanded options for auto-delete / replace. Allows for never, always, only with javascript, only with post submission.
Notes:
See Mr. Running's post for screenshots on how to remove message wrap-arounds.

temsamane 04-05-2012 09:23 AM

is it possible to add a new feature: auto-delete this text after posting

Pandemikk 04-05-2012 09:32 AM

Quote:

Originally Posted by temsamane (Post 2316942)
is it possible to add a new feature: auto-delete this text after posting

It would be possible. I'll take it under consideration.

Mr_Running 04-05-2012 10:29 AM

Hi Pandemikk,
Note on the Edit Instance there is a Edit and Reset button

If I may suggest changing Edit to Save

Excellent mod.

Installed and testing it out.

Cheers

Edit: it's on the Manage Message --> Edit Message screen too

Please change Edit button to Save :)

ProFifaLeagues 04-05-2012 10:33 AM

Great Idea Marked up and will install thios evening when i get home thank you!

Trevor Matthews 04-05-2012 11:36 AM

Would be perfect with auto delete as suggested above.
I will wait until then.

Mr_Running 04-05-2012 11:49 AM

I am getting the message in title but not getting a message in the editor.

I have set Override Text = Yes

Pandemikk 04-05-2012 01:10 PM

Quote:

Originally Posted by Mr_Running (Post 2316962)
Hi Pandemikk,
Note on the Edit Instance there is a Edit and Reset button

If I may suggest changing Edit to Save

Excellent mod.

Installed and testing it out.

Cheers

Edit: it's on the Manage Message --> Edit Message screen too

Please change Edit button to Save :)

Ah yes. Sometimes copy and pasting leaves its traces.

Quote:

Originally Posted by Mr_Running (Post 2316983)
I am getting the message in title but not getting a message in the editor.

I have set Override Text = Yes

Not sure what you mean by this. You mean the message is showing not in the editor but in the title? That makes no sense. What version of vB are you using and do you have any other products / plugins enabled that may be interfering with this?

GKPet 04-05-2012 01:15 PM

Definitely an useful mod, will install it later. Please consider implementing temsamane's suggestion, it will be a great addition to this plugin.

Pandemikk 04-05-2012 01:18 PM

Quote:

Originally Posted by GKPet (Post 2317007)
Definitely an useful mod, will install it later. Please consider implementing temsamane's suggestion, it will be a great addition to this plugin.

Three requests for the same feature just hours after release? How can I say no now? ;)


All times are GMT. The time now is 09: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.01071 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)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