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
  #202  
Old 08-29-2011, 03:58 PM
furnival furnival is offline
 
Join Date: Mar 2008
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yotsume View Post
Latest version works on vb3.7x just to let you know. (zero errors)

SUGGESTIONS:
  1. Your term "Defined" should be changed to "Shared" in the phrases. Shared is much clearer then defined.
  2. The usergroup permissions should be set to off for all usergroups by default. Even banned usergroups have permission to use the templates!
I second both of these suggestions. Respect to you sir!
Reply With Quote
  #203  
Old 11-16-2011, 02:22 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

An admin deleted a user's shared category and template but it is still being shown to all members as if it was shared. The admin logged in as the user to do the deletions.

Is there a way for the admin to manage all the templates to delete them?

We have a mystery category and template that simply will not go away!
Reply With Quote
  #204  
Old 11-26-2011, 02:12 PM
Jo_RHU Jo_RHU is offline
 
Join Date: Jan 2010
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This seems to be working for me now, at first I didn't realise I had to go in to each usergroup to enable it and although it was already enabled by default it didn't appear in the User CP until after I had saved the settings on the usergroups.

Thanks a lot, this seems like a great mod and something I've been hunting for for ages! I'm adding some search phrases here to help other people looking for the same thing:

Vbulletin Insert text from link
Vbulletin Insert bbcode from link
Vbulletin insert text from dropdown menu
Reply With Quote
  #205  
Old 05-04-2012, 01:49 AM
I.M.O.G. I.M.O.G. is offline
 
Join Date: Aug 2010
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would be nice if you could only permit certain groups to use certain defined templates (semi global templates). I could give my staff a set of defined templates for PMs/warnings/infractions, and give users a different set of defined templates.

Is this an existing feature and I am not seeing it? It appears that any "defined/global" template can be viewed by everyone, but I'm not sure I understand correctly.
Reply With Quote
  #206  
Old 05-24-2012, 01:42 PM
Cla75 Cla75 is offline
 
Join Date: Aug 2009
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can I ask if you could include this mod in its quick reply?
Thanks for your help
Reply With Quote
  #207  
Old 05-25-2012, 12:24 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cla75 View Post
Can I ask if you could include this mod in its quick reply?
Thanks for your help
Quote:
Originally Posted by Mystics View Post
I have written a small plugin to show the post templates within Quick Reply:
Attachment 96312

Just import the plugin xml file (it's just a plugin, not a product/addon!).

You also have to add this code to the existing plugin vB Post Templates: Cache Templates:
Code:
if (THIS_SCRIPT == 'showthread')
{
	$globaltemplates[] = 'editor_posttemplates';
	$globaltemplates[] = 'editor_posttemplates_js';
}

Top of this page to the right, just below navbar is search this mod...it comes in handy.
Reply With Quote
Благодарность от:
Simon Lloyd
  #208  
Old 07-18-2012, 12:50 PM
ChiNa ChiNa is offline
 
Join Date: Jul 2012
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its not showing up on my USERCP, Anyone can maybe update me about this...
And where do I enable and disable the optiones, I dont seem to find it in AdminCP vBulleting Options... Any answer?
Reply With Quote
  #209  
Old 07-18-2012, 04:54 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesn't show in usercp unless enabled withing each usergroups settings, go to each usergroup and turn it on.
Reply With Quote
  #210  
Old 09-20-2012, 11:18 PM
singabaloo's Avatar
singabaloo singabaloo is offline
 
Join Date: May 2008
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this add on allow fields in a template ? So a user just fills in the blank fields and the template wil then post the formatting needed along with the values ?
Reply With Quote
  #211  
Old 12-30-2013, 05:47 PM
Dj Smuggla Dj Smuggla is offline
 
Join Date: Sep 2009
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I used this mod on my site before & it worked great, but i've just installed it on my new site & now it doesn't seem to work.
Ive created a category & template inside the category, i go to make a new post, select the template but it doesn't get added to the post. Is there a problem with the ajax loading?

I've disabled all other mods leaving just this mod, but it's the same.
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 03:28 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.04971 seconds
  • Memory Usage 2,361KB
  • 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_code
  • (3)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
  • (1)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
  • (9)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_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
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete