The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[AJAX] vB Post Templates 1.5.0 Details »» | |||||||||||||||||||||||||||||||||||||||||||
vB Post Templates
vB4 Version: https://vborg.vbsupport.ru/showthread.php?t=242246 This modification adds an extension to your User CP, and posting interface. Both which allow you to pre-create "Post Templates". This is useful for repetitive posts, such as common replies to commonly answered questions. A quick example would be here on vBulletin.org, all the moderators post nearly the same reply to users who are unlicensed, with this modification they would only need to insert a post template in their User CP, and then they could easily push that template into any post, quickly. Ofcourse this could be used as an actual "Template", for users who make certain posts that are always constructed in some way or form, an example for that could be people who release modifications who like to structure their first post, and generally try to do universally. Another use would be simply storing common responses or phrases, and you'd simply be able to push them into posts quickly without typing them 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, 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, into your post! Features
Translations Spanish - Thanks to dvbusuario FAQ 1) Does this work on lower vB versions? A) I've not tested it, so feel free if you wish, but you may experience errors. Change Log - Version 1.5.1 Fixed bug with attachment bbcode manager in editor toolbar - Version 1.5.0 Enhanced User CP Interface - More user friendly I hope! Cleaned WYSIWYG Integration - Empty categories hidden, and PT hidden if no categories with templates are found Usergroup Permissions - Ability to decide who can use PT, who can create items in PT, who can create "defined" items in PT, and who can use "defined" items in PT. Defined Items - For those with permission to create defined items, they can create categories and templates and with the defined option make the category/template "Public" to all users who can use "defined" items. If you have any questions, suggestions, or anything else then feel free to let me know Download Now
Screenshots
Show Your Support
|
Благодарность от: | ||
Comments |
#102
|
|||
|
|||
Works on my board in PM.
|
#103
|
||||
|
||||
I have written a small plugin to show the post templates within Quick Reply:
Attachment 96312 Just import the plugin xml file (it's just a plugin, not a product/addon!). You also have to add this code to the existing plugin vB Post Templates: Cache Templates: Code:
if (THIS_SCRIPT == 'showthread') { $globaltemplates[] = 'editor_posttemplates'; $globaltemplates[] = 'editor_posttemplates_js'; } |
#104
|
|||
|
|||
I uploaded everything, and then imported v1.5 and nothing is showing up.
any ideas? shame really, cause this could be a huge addon for the site im working on. |
#105
|
||||
|
||||
I think you have to edit and save an usergroup to update the cache.
|
#106
|
||||
|
||||
Original mod have bug, that breakes attachments button. Since I couldn't contact with Deceptor to send patches, fixed version attached to this post.
Just install over. If you like - you can only upload JS file. If you don't wish to explain everyone hit Ctrl+F5 to refresh browser cache, then reimport product from archive too. Tested with 3.8.1 |
#107
|
||||
|
||||
It did not work for me.
I have re uploaded all and re import product. I have also clear browser cache. Great you took the effort to patch it. I have 3.8.1 unpathced. |
#108
|
|||
|
|||
Is that do not support Double-byte? alwas show: ??? with chinese.
but enligh is fine. |
#109
|
||||
|
||||
What EXACTLY doesn't work? Post Templates are ok, but attachments button not? Which browser/OS ? Could you try in Firefox?
|
#110
|
||||
|
||||
Sorry , my bad to not give all details:
- I use Firefox (last version) - Attachment menu does not work (same as before and the reason to install patched version) In rest behaves the same (OK) . Unfortunately I don't have time to look more into it. I most probably did the upgrade correctly. I however first uploaded the xml file and then upload the files via ftp. Maybe this is the reason? After I have re uploaded the xml file just in case. No luck. You wont believe but in IE it does work! (I can select attachements in the menu) At least some users get it working. In FF i have noscript Msoft Net framework 1.0 (dont know why) delicious, skype, fast video download add-ons. |
#111
|
||||
|
||||
Hmmm...
The only real change, that was done - in javascript file. 2 function (event hooks) were done less intrusive. With inreritance, instead of bulk override. There're no any "new" line of code, just more correct event handling. XML has only cosmetic change of single template, to enforce browser load new JS instead old one from cache. Seems, problem can be in your FF (?), because no problems in my FF 3.0.7/Vista & FF/Linux. But I can't imagine how your addons can break anything, if noscript doen't block anything at your site. No ideas, really. I'm not javascript expert. May be, php/mysql/other, but not javascript |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|