Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

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
  #92  
Old 03-20-2011, 12:41 PM
fxwoody's Avatar
fxwoody fxwoody is offline
 
Join Date: Jun 2010
Location: On Earth
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

up to know, it bugs with Lynne's move smilies below and vb4 Turbocharge.
Not sure that it will be upgraded to work with those any time soon

Choice to remove other plugins or not to use it. It's sad because it would be a great plugin to use.
Reply With Quote
  #93  
Old 03-20-2011, 04:13 PM
Marka Ragnos Marka Ragnos is offline
 
Join Date: May 2007
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the same problem it does not display the drop down list

i see the category option in user cp and that's it
Reply With Quote
  #94  
Old 03-31-2011, 07:29 PM
Gorgias's Avatar
Gorgias Gorgias is offline
 
Join Date: Aug 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tested in vB4.1.2 and works exactly as I hoped. Great mod!!!

Regards!!!
Reply With Quote
  #95  
Old 04-02-2011, 11:52 AM
fxwoody's Avatar
fxwoody fxwoody is offline
 
Join Date: Jun 2010
Location: On Earth
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Little update here, i got the PM-Quickreply problem that it doesn't show up if Lynne smilie below is set to "Add smiliebox below Quick Reply on showthread page".

As anyone else got this trouble with the plugin????

For the rest, it works like a charm!
Reply With Quote
  #96  
Old 04-05-2011, 05:22 PM
dnk.it dnk.it is offline
 
Join Date: Aug 2009
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by spikedrokecer
We've found that this mod breaks the CMS portion of the Suite. It breaks the New Article creation's WYSIWYG Editor.
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');
}
Thanks
Reply With Quote
  #97  
Old 04-17-2011, 12:25 PM
dnk.it dnk.it is offline
 
Join Date: Aug 2009
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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');
}
this fix works well for vbcms, but it doesnt works for photopost pro and classified. I've tried to add this, but without success

Code:
if (THIS_SCRIPT != 'vbcms')
{
	require(DIR . '/dbtech/posttemplates/hooks/editor_toolbar_end.php');
}

if (THIS_SCRIPT != 'pp_pro')
{
	require(DIR . '/dbtech/posttemplates/hooks/editor_toolbar_end.php');
}
Reply With Quote
  #98  
Old 04-17-2011, 03:37 PM
Mystics's Avatar
Mystics Mystics is offline
 
Join Date: Oct 2001
Location: Germany
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have to use one condition:
Code:
if (THIS_SCRIPT != 'vbcms' AND THIS_SCRIPT != 'pp_pro')
{
	require(DIR . '/dbtech/posttemplates/hooks/editor_toolbar_end.php');
}
Reply With Quote
  #99  
Old 04-17-2011, 03:50 PM
dnk.it dnk.it is offline
 
Join Date: Aug 2009
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks Mystics

if anyone has same problem with photopost pro and classified this is the code to use:

Code:
if (THIS_SCRIPT != 'vbcms' AND THIS_SCRIPT != 'showphoto' AND THIS_SCRIPT != 'showproduct')
{
	require(DIR . '/dbtech/posttemplates/hooks/editor_toolbar_end.php');
}
Reply With Quote
  #100  
Old 04-26-2011, 06:09 PM
ElfenLied1337's Avatar
ElfenLied1337 ElfenLied1337 is offline
 
Join Date: Aug 2009
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working excellently on vB 4.0.7. Abandoned Canned Replies for this, thanks a ton.

I'm not sure if anyone linked this already or if the download has been updated, but the apostrophe problem was fixed: http://www.dragonbyte-tech.com/threa...ng-up-the-page
Reply With Quote
  #101  
Old 05-13-2011, 01:41 PM
caracena caracena is offline
 
Join Date: Apr 2006
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

GREAT MOD!

If anybody is using the mod "MARCO1 Advanced Quick Reply And Edit With Smilies", you have to edit the template "MARCO1_Full_Reply" instead of showthread_quickreply and do as follows:

Find:
Code:
<vb:if condition="is_browser('ie') AND !is_browser('mac')">

Underneath add:
Code:
<!-- POST_TEMPLATES -->
Reply With Quote
Reply

Thread Tools

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 06:35 PM.


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.04689 seconds
  • Memory Usage 2,343KB
  • 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
  • (7)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
  • (8)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
  • 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