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
[DBTech] vB Post Templates 1.5.0 [AJAX] Details »»
[DBTech] vB Post Templates 1.5.0 [AJAX]
Version: 1.5.0, by Deceptor Deceptor is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.0.x Rating:
Released: 05-10-2010 Last Update: Never Installs: 122
Uses Plugins Template Edits
Additional Files  
No support by the author.

vB Post Templates

This is a conversion of the mod I originally developed for vBulletin 3.8.x located here, due to popular request I've updated it to work fully with vBulletin 4.

Priority support is handled at the Developers Website @ www.DragonByte-Tech.com/forum

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 - including the vB CMS Article Editor, CMS Quick Reply and Forum Quick Reply! 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 templateright into your post!

Features
  • Fully Integrates into vBulletin WYSIWYG editor
  • Unlimited amount of categories/templates allowed.
  • Fast template inclusion, through AJAX.
  • Permission based through usergroups.
  • Ability for users to create/user "global" templates, handy to share common replys in a team or between groups.
  • Integrates into: Any standard WYSIWYG Editor (forums, blogs, custom modifications, etc...), Forum Quick Reply Editor, vB CMS Article Editor & vB CMS Article Quick Reply Editor

Differences between vB3 version
This is pretty much a replica of the vB3 version except for two things:

1) "Defined" was changed to "Global", to make it easier to understand.
2) The User CP for Post Templates is a lot easier to use and maintain than previously.

Available Translations

Arabic - v1.5.0 - Thanks to Dr.osamA

FAQ
Q) I've installed, I got to my usercp but don't see a post templates menu?
A) You'll need to grant your usergroup permissions to use Post Templates, edit your UG permissions like you would normally within vBulletin.

Q) What is a "Global" template?
A) Global means the template/category can be seen/used by those who have permission to do so.

As always, enjoy!

Download Now

File Type: zip [DBTech] vB Post Templates 1.5.0.zip (14.5 KB, 840 views)

Screenshots

File Type: jpg screen-1.jpg (200.3 KB, 0 views)
File Type: jpg screen-2.jpg (34.7 KB, 0 views)
File Type: jpg screen-3.jpg (17.5 KB, 0 views)
File Type: jpg screen-4.jpg (54.0 KB, 0 views)
File Type: jpg screen-5.jpg (23.7 KB, 0 views)
File Type: jpg screen-6.jpg (73.5 KB, 0 views)
File Type: jpg screen-7.jpg (132.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 11-21-2010, 12:32 PM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Super Addon, I really want to use it but if I activate it QUICK REPLY box dissapears.
Can we have a fix? (vb 4.0.8 PL2)
Reply With Quote
  #63  
Old 12-15-2010, 06:34 PM
Faskis's Avatar
Faskis Faskis is offline
 
Join Date: Jul 2008
Location: Illinois
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Issue with this: if you include an apostrophe into the title of a template, the whole thing basically breaks and you can't make any posts.


More particular, it gives an error such as this:

Code:
Parse error: syntax error, unexpected T_STRING in /forums/includes/class_core.php(4414) : eval()'d code on line 112
Reply With Quote
  #64  
Old 12-20-2010, 08:39 AM
Mystics's Avatar
Mystics Mystics is offline
 
Join Date: Oct 2001
Location: Germany
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this "fix" for the CMS problem - this just disables the plugin inside the CMS.

Edit Plugin "vB Post Templates: Integrate Into vB Editor" and change it to:
Code:
if (THIS_SCRIPT != 'vbcms')
{
	require(DIR . '/dbtech/posttemplates/hooks/editor_toolbar_end.php');
}
Reply With Quote
  #65  
Old 12-31-2010, 05:00 PM
flegul flegul is offline
 
Join Date: Dec 2009
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Many Thanks to Deceptor for this mod "Stunning"

Quote:
Originally Posted by Mystics View Post
Try this "fix" for the CMS problem - this just disables the plugin inside the CMS.

Edit Plugin "vB Post Templates: Integrate Into vB Editor" and change it to:
Code:
if (THIS_SCRIPT != 'vbcms')
{
	require(DIR . '/dbtech/posttemplates/hooks/editor_toolbar_end.php');
}
And thanks to Mystics for the above fix :up:
Reply With Quote
  #66  
Old 01-05-2011, 03:28 AM
owning_y0u owning_y0u is offline
 
Join Date: Dec 2008
Location: Netherlands
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, nominated, 5 stars

And thnx mystic for the fix
Reply With Quote
  #67  
Old 01-06-2011, 05:05 PM
flegul flegul is offline
 
Join Date: Dec 2009
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Stunning Mod, LOVE IT!!!

Could anyone tell me if there is something similar for the Thread Title that will allow the poster to preselect an input , I am in the UK and I want the user to be able to select there County before they add there Thread Title

Heres an example
Attached Images
File Type: jpg vBulletin Title.JPG (12.5 KB, 0 views)
Reply With Quote
  #68  
Old 01-06-2011, 07:56 PM
Mystics's Avatar
Mystics Mystics is offline
 
Join Date: Oct 2001
Location: Germany
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by flegul View Post
Could anyone tell me if there is something similar for the Thread Title that will allow the poster to preselect an input , I am in the UK and I want the user to be able to select there County before they add there Thread Title
I would just use Thread Prefixes for this.
Reply With Quote
  #69  
Old 01-07-2011, 06:08 AM
flegul flegul is offline
 
Join Date: Dec 2009
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mystics View Post
I would just use Thread Prefixes for this.
Thanks for the info Mystics, new to vBulletin and Forum software and was not aware of this feature just what I need thanks :up:
Reply With Quote
  #70  
Old 01-07-2011, 02:50 PM
SBKTR SBKTR is offline
 
Join Date: Oct 2010
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Simply does not work with 4.1.0
Reply With Quote
  #71  
Old 01-08-2011, 01:59 AM
SpikedRocker SpikedRocker is offline
 
Join Date: Jul 2009
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We've found that this mod breaks the CMS portion of the Suite. It breaks the New Article creation's WYSIWYG Editor. We've disabled it for now, but would really love if a fix would come down on this.

Thanks for all your hard work!
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:58 PM.


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.05047 seconds
  • Memory Usage 2,351KB
  • 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
  • (3)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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_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
  • 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