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

Reply
 
Thread Tools
[AJAX] vB Post Templates 1.5.0 Details »»
[AJAX] vB Post Templates 1.5.0
Version: 1.5.1, by Deceptor Deceptor is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.8.x Rating:
Released: 12-26-2008 Last Update: 05-14-2010 Installs: 259
DB Changes Uses Plugins Auto-Templates
Additional Files  
No support by the author.

vB Post Templates

vB4 Version: https://vborg.vbsupport.ru/showthread.php?t=242246

This modification adds an extension to your User CP, and posting interface. Both which allow you to pre-create "Post Templates". This is useful for repetitive posts, such as common replies to commonly answered questions.

A quick example would be here on vBulletin.org, all the moderators post nearly the same reply to users who are unlicensed, with this modification they would only need to insert a post template in their User CP, and then they could easily push that template into any post, quickly.

Ofcourse this could be used as an actual "Template", for users who make certain posts that are always constructed in some way or form, an example for that could be people who release modifications who like to structure their first post, and generally try to do universally.

Another use would be simply storing common responses or phrases, and you'd simply be able to push them into posts quickly without typing them


How does it work?

Very simple, in your User CP you can create two new things. One is categories for your post templates, and you'll need atleast one category before you can create a post template. Then secondly ofcourse, you can create post templates.

Once you have atleast one of each, when making new topics, or replies, or blogs, or anywhere with the full post editor, you'll see a new option integrated into the vBulletin WYSIWYG called 'Post Templates', clicking it will open a menu showing you your post templates categorised. Click any of the post templates, and AJAX will quickly request then spit the contents of that post template, into your post!



Features
  • Fully Integrates into vBulletin WYSIWYG editor
  • Unlimited amount of categories/templates allowed.
  • Fast template inclusion, through AJAX.


Translations
Spanish - Thanks to dvbusuario

FAQ
1) Does this work on lower vB versions?
A) I've not tested it, so feel free if you wish, but you may experience errors.


Change Log

- Version 1.5.1
Fixed bug with attachment bbcode manager in editor toolbar

- Version 1.5.0
Enhanced User CP Interface - More user friendly I hope!
Cleaned WYSIWYG Integration - Empty categories hidden, and PT hidden if no categories with templates are found
Usergroup Permissions - Ability to decide who can use PT, who can create items in PT, who can create "defined" items in PT, and who can use "defined" items in PT.
Defined Items - For those with permission to create defined items, they can create categories and templates and with the defined option make the category/template "Public" to all users who can use "defined" items.


If you have any questions, suggestions, or anything else then feel free to let me know

Download Now

File Type: zip vB Post Templates 1.0.0.zip (9.2 KB, 160 views)
File Type: zip vB Post Templates 1.5.0.zip (11.0 KB, 964 views)
File Type: zip [DBTech] vB Post Templates 1.5.1.zip (11.0 KB, 469 views)

Screenshots

File Type: jpg Screen 2.jpg (35.0 KB, 0 views)
File Type: jpg Screen 4.jpg (38.2 KB, 0 views)
File Type: jpg Screen 5.jpg (62.0 KB, 0 views)
File Type: jpg Screen 6.jpg (22.7 KB, 0 views)
File Type: jpg Screen 1.jpg (298.7 KB, 0 views)
File Type: jpg Screen 7.jpg (371.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:

Comments
  #12  
Old 12-27-2008, 04:22 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This works perfect. It's a good alternative to canned entries. I second the usergroup options, and perhaps you could also auto-insert a title?
Reply With Quote
  #13  
Old 12-27-2008, 04:32 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One more option could be "common templates" If a template is set as common, then it would be available for all authorized users. At template creation, you'd check a box to mark it as common.
Reply With Quote
  #14  
Old 12-27-2008, 04:53 AM
dvbusuario's Avatar
dvbusuario dvbusuario is offline
 
Join Date: Oct 2007
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's a wonderfull hack!!

Install!! & Nominated!!!

Attachment 91253

Attachment 91254

Translated in Spanish:up:

Attachment 91256
Attached Files
File Type: zip vB Post Templates_spanish.zip (5.4 KB, 38 views)
Reply With Quote
  #15  
Old 12-27-2008, 04:53 AM
lolo? lolo? is offline
 
Join Date: Jun 2005
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very good idea i think it's better to give group permission for use like moderator and admin
and one ption like make possibility to close a thread directly
Reply With Quote
  #16  
Old 12-27-2008, 04:56 AM
Spank Spank is offline
 
Join Date: Jan 2007
Location: Scotland
Posts: 809
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome, I like this. I would want usergroup controls though, and Lionel's idea is a good one.

Does this work anywhere the WYSIWYG editor is? Like Pms, Blog, etc
Reply With Quote
  #17  
Old 12-27-2008, 06:53 AM
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Location: Romania
Posts: 731
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice idea dude, good job !

*Marks for later installation*
Reply With Quote
  #18  
Old 12-27-2008, 08:49 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is very nice. I was thinking of doing something to auto add "sources" for the news. Last week my moderators requested it. So this came in very handy. I could not have done it better than that. I simply made it so it does not display in editor if the build is empty.

I can also confirm that it works fine in 3.74
Reply With Quote
  #19  
Old 12-27-2008, 09:49 AM
Forum Lover Forum Lover is offline
 
Join Date: Jun 2007
Location: Sydney
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lionel View Post
I can also confirm that it works fine in 3.74
SWEET waiting most eagerly for usergroup thing now.
Reply With Quote
  #20  
Old 12-27-2008, 10:13 AM
valdet's Avatar
valdet valdet is offline
 
Join Date: Feb 2007
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great concept. I also would welcome usergroup permissions.

Installed and waiting for an update.
Reply With Quote
  #21  
Old 12-27-2008, 02:15 PM
adhmwagde adhmwagde is offline
 
Join Date: Sep 2006
Location: Egypt
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good Idea But Sorry i Have Problems http://localhost/vb0/profile.php?do=pt_addcategory error page ...!
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 05:06 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.07340 seconds
  • Memory Usage 2,355KB
  • Queries Executed 26 (?)
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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)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_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
  • 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_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • fetch_musername
  • 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