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] Post Templates v1 (vB4) Details »»
[DBTech] Post Templates v1 (vB4)
Version: 1.6.1pl1, by DragonByte Tech DragonByte Tech is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.x.x Rating:
Released: 01-19-2012 Last Update: 08-16-2017 Installs: 116
DB Changes Uses Plugins Template Edits
Additional Files Translations  
No support by the author.

vB Post Templates

This is a conversion of the mod Deceptor originally developed for vBulletin 3.8.x located here, due to popular request he updated it to work fully with vBulletin 4.0.x and released it under the DBTech banner, and the DBTech team has now updated it further to work with the new CKEditor.

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 template right into your post!

-------------------------------------------------------------------------------------------

If you like this mod please hit the button to the right ---->

Please remember to click the, button to the right if you installed the mod ---->

What does 'Marking As Installed' do ?

* It helps you to stay on top of updates - members who have installed modifications will be notified by us whenever new updates are available.

*
For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.

* Marking a modification as installed also helps us know how many people are using our work, giving us extra incentive to provide more features and new modifications.

We appreciate the support!
-------------------------------------------------------------------------------------------

Features
  • Fully Integrates into vBulletin WYSIWYG editor (including CKEditor)
  • 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.


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.


This mod displays a copyright notification in the footer of all pages which includes:
  • 1 Link to DragonByte Technologies homepage
  • 1 Link to Product Description page of this modification

Download Now

File Type: zip [DBTech] Post Templates v1.6.1pl1.zip (16.9 KB, 40 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)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
bing11, lagrace

Comments
  #2  
Old 01-20-2012, 10:33 PM
thecore762 thecore762 is offline
 
Join Date: Jul 2008
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As always, DBTech releases quality plugins!
Reply With Quote
  #3  
Old 01-20-2012, 10:55 PM
Xfer Xfer is offline
 
Join Date: Jan 2012
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hallo,
on loading the XML file I get an database error:

Quote:
Invalid SQL:
CREATE TABLE `posttemplate` (
`pid` int(15) NOT NULL auto_increment,
`userid` int(15) NOT NULL default '0',
`parentid` int(15) NOT NULL default '0',
`type` enum('category','template') NOT NULL default 'category',
`title` varchar(255) NOT NULL,
`content` mediumtext NOT NULL,
PRIMARY KEY (`pid`),
KEY `userid` (`userid`)
) Type=MyISAM;

MySQL-Fehler : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Type=MyISAM' at line 10
I've changed "Type=MyISAM" to "ENGINE=MyISAM", now it works.

cu
Xfer
Reply With Quote
Благодарность от:
OldSchoolDSL
  #4  
Old 01-21-2012, 03:59 AM
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have been waiting for this for so long. Thank you so much!
Reply With Quote
  #5  
Old 01-21-2012, 10:21 AM
S!p S!p is offline
 
Join Date: May 2010
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work! Thank You!! ;]
Reply With Quote
  #6  
Old 01-22-2012, 08:56 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The templates to edit editor_toolbar_on, showthread_quickreply and vbcms_editor_toolbar_on no longer exist in 4.1.10
Reply With Quote
  #7  
Old 01-22-2012, 09:07 PM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, those instructions are for < 4.1.4 or whenever CKEditor was introduced


Fillip
Reply With Quote
  #8  
Old 01-22-2012, 09:09 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How to make it work with 4.1.1? This mod is super nice. I used it in the past.
Reply With Quote
  #9  
Old 01-22-2012, 09:10 PM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The mod works with all vBulletin 4.x.x versions


Fillip
Reply With Quote
  #10  
Old 01-22-2012, 09:12 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Which templates to edit then, since 4.1.10 no longer have those instructed to edit.
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 01:07 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.05210 seconds
  • Memory Usage 2,340KB
  • Queries Executed 25 (?)
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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (3)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (8)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • 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_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete