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
  #22  
Old 07-16-2012, 11:42 AM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The latest version of PT should have it fixed, I'm unable to replicate it anymore on any browser or OS I have access to.

Fillip
Reply With Quote
  #23  
Old 07-16-2012, 07:56 PM
princesspepper princesspepper is offline
 
Join Date: May 2010
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this working with 4.2 PL2? I used to have it installed, but it was removed by VB support some time ago as it was causing probs on my forum. I don't half miss it, so if it works I will try to reinstall
Reply With Quote
  #24  
Old 07-17-2012, 04:28 PM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is indeed


Fillip
Reply With Quote
  #25  
Old 07-18-2012, 01:32 AM
Amaury Amaury is offline
 
Join Date: Nov 2011
Location: Ellensburg, WA
Posts: 1,075
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DragonByte Tech View Post
The latest version of PT should have it fixed, I'm unable to replicate it anymore on any browser or OS I have access to.


Fillip
Thanks for the response.
Reply With Quote
  #26  
Old 07-24-2012, 08:53 AM
nacaruncr nacaruncr is offline
 
Join Date: Nov 2010
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I install it I have a DB error....

Code:
Database error in vBulletin 4.1.12:

Invalid SQL:
CREATE TABLE `myweb_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 Error   : 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
Error Number  : 1064
Request Date  : Tuesday, July 24th 2012 @ 04:49:30 AM
Error Date    : Tuesday, July 24th 2012 @ 04:49:31 AM
Script        : http://www.myweb.com/admincp/plugin.php?do=productimport
Referrer      : http://www.myweb.com/admincp/plugin.php?do=productadd
IP Address    : 
Username      : 
Classname     : vB_Database
MySQL Version : 5.5.24-cll
Reply With Quote
  #27  
Old 07-24-2012, 10:26 PM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Change Type=MyISAM to Engine=MyISAM in the product XML file


Fillip
Reply With Quote
Благодарность от:
nacaruncr
  #28  
Old 07-25-2012, 10:00 AM
Mazide Mazide is offline
 
Join Date: Sep 2010
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

With the application, determined without the need to control the forum users, can add a template ready are we?

The editor's time he started the forum thread it will be hard template. Such a thing can be done?
Reply With Quote
  #29  
Old 07-25-2012, 11:19 AM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, I don't understand what you're asking


Fillip
Reply With Quote
  #30  
Old 07-25-2012, 11:26 AM
thenashy thenashy is offline
 
Join Date: May 2011
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This has killed my forum!

Warning: require_once([path]/dbtech/posttemplates/hooks/global_start.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/class_bootstrap.php(117) : eval()'d code on line 6

Fatal error: require_once() [function.require]: Failed opening required '/home/broncos/public_html/dbtech/posttemplates/hooks/global_start.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/broncos/public_html/includes/class_bootstrap.php(117) : eval()'d code on line 6
Reply With Quote
  #31  
Old 07-25-2012, 11:32 AM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please upload the contents of the upload folder to your public_html folder.

Fillip
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 06:48 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.04662 seconds
  • Memory Usage 2,356KB
  • Queries Executed 27 (?)
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
  • (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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (3)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
  • (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_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