vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - [DBTech] Post Templates v1 (vB4) (https://vborg.vbsupport.ru/showthread.php?t=277323)

DragonByte Tech 01-19-2012 11:00 PM

[DBTech] Post Templates v1 (vB4)
 
1 Attachment(s)
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 https://vborg.vbsupport.ru/external/2015/08/1.png button to the right ---->

Please remember to click the, https://vborg.vbsupport.ru/external/2015/08/2.png 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

thecore762 01-20-2012 10:33 PM

As always, DBTech releases quality plugins!

Xfer 01-20-2012 10:55 PM

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

Taurus1 01-21-2012 03:59 AM

Have been waiting for this for so long. Thank you so much!

S!p 01-21-2012 10:21 AM

Nice work! Thank You!! ;]

Lionel 01-22-2012 08:56 PM

The templates to edit editor_toolbar_on, showthread_quickreply and vbcms_editor_toolbar_on no longer exist in 4.1.10

DragonByte Tech 01-22-2012 09:07 PM

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


Fillip

Lionel 01-22-2012 09:09 PM

How to make it work with 4.1.1? This mod is super nice. I used it in the past.

DragonByte Tech 01-22-2012 09:10 PM

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


Fillip

Lionel 01-22-2012 09:12 PM

Which templates to edit then, since 4.1.10 no longer have those instructed to edit.


All times are GMT. The time now is 10:45 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.01139 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete