![]() |
[DBTech] vB Post Templates 1.5.0 [AJAX]
1 Attachment(s)
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
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! :) |
Tagged, looks very promising.
|
Excellent! Finally I can make the jump to vB4! Tagged, donated and nominated for MOTM :D
|
Quote:
|
1 Attachment(s)
Excellent
good mod installed + 5 stars + nominated + translated to Arabic thank you very match man plzz add translation to 1st post |
tagged and thanks
|
I.. I didn't think I could love you more than I did before~! You have no idea how much I needed something like this! You are now my hero of the day!
The only thing that would make this more awesome is a future release not needing any template edits. >: D |
Thanks for this :)
|
Thanks for the update.
|
Is this similiar to what Canned Replies mod was for 3.8? https://vborg.vbsupport.ru/showthread.php?t=187043
Or is this totally different? |
Wow finnaly the list of my 3.8 Mods are now 4.0 , thanks you really for this great Mod , i loved it since 3.8 .. using it usually .. installed & MOTM & 5 Stars
God bless u |
Quote:
Thanks for the translation Dr.osamA :) |
Nice! Thanks. I also added
Quote:
|
I don't think I am reading very well this morning lol, but
Which of these scenarios can it create a template for: * My use only * Specific usergroup * Everyone (global) Or can it do all three of those? |
Quote:
- Your use only - Everyone - Specific groups Keep in mind, you can't do "everyone" and "specific groups", it's based on perms for "Who can use global templates". So you can set it up so everyone can use global items, or just specific groups :) |
Pls when I enable plugin I have problem with CMS Editor.I can't edit article
http://www.mobil-cestiny.cz/screen.jpg If disable plugin everything work fine.Please can you look for it.Thanks |
I don't get it..
I uploaded files on ftp. Imported .xml file, added <!-- POST_TEMPLATES --> in 2 templates (dont have cms), edited global posting rules for registered users, and admins and well - nothing changed! Still I've got previous WYSIWYG editor. Did I missed something? |
Bombera - Can you re-check the edit to the template vbcms_editor_toolbar_on? If it wasn't done correctly it may break the template, alternatively you can revert the edit in that template and PT will still work on the forum - I'm still looking up better ways to hook into the editor for now.
eksajlee - Do you have any templates created from your usercp? If you have none the menu won't show :) |
@Bombera
Quote:
ja si myslim ze mas nejke jine spatne style nez originalni mel jsem stjne problem english : tray other style you have an corrupted style , i had sea problem @ Deceptor thanxx for update bro |
hot damn - seriously this is too sexy.
|
Great to have this mod finally ported to vb4. I missed it a lot! Thx! :)
|
Hm... why you did a separate dir for hooks & JS ? A bit strange coding style. There no performance benefits, and potential difficulties for maintenance. Why manual template edits?
I can polish it a bit, as did with attachments bug in 3.8 branch. |
Quote:
As for the template edits, there's no "safe" way to apply edits in realtime on the templatecache because the new rendered states are different to vB3, so until I look at alternate routes it'll remain with edits. Lastly, the attachment bug has been fixed in the vB 3.8 version. Appreciate the feedback :) |
I also have the same problem than Bombera. I tried reverting the CMS template and I tried using original style, the editor does not display in CMS
|
Are you running vB 4.0.3 Lionel? I haven't tested on any version lower but it's working fine here.
|
Hi,
Yes I am using latest version |
Alright thanks for the info, I'll see what I can do to replicate the issue :)
|
No problem. Let me know if you'd like me to PM you access
|
editor button doesn't appreard :( although i edited permissions & made a Template .. any help please ?
EDIT :- fixed! |
http://github.com/rcdesign/vb-foreig...ost_templates/
Did all fixes as promissed, to simplify maintenance. + 1 fix for CMS. See readme for details. Hope to be included to upstream :) |
I have a strange issue. In one of my external mod I use the editor. The post template appears in it, which is fine by me. However, when I do a Preview post, entire editor disappears. Any idea what could be causing that? I have no problems when I disable mod. Is there something I need to add to my mod to prevent that while using Post Templates?
Thanks. |
Hey Lionel - PT will implement itself automatically into all editors by default (using the standard vB method), is there something you do differently with the editor when you preview a post?
|
Hi Deceptor. Nothing different. When I disable mod, it works as designed.
|
I ended up disabling the plugin editor_toolbar_end for THIS_SCRIPT.
It's a pity, because your mod is getting to be my favorite mod :-) |
Hi Lionel, which plugin was disabled exactly? Not sure what you mean :)
|
hi, that was your plugin. if(THIS_SCRIPT is not my script) then execute yours.
|
Any way of forcing an Admin to globally force the using of these templates for certain forums? I'd like to set up a global template, which everyone MUST use if they create a new thread in a specific forum (but not for replies to threads).
Any chance of making this work with this mod? Nice mod, btw! |
Hi, was there a fix for CMS? When using Post Templates the textarea disappears and article creation is no longer possible. Not a big deal for me as I only create article once per section and never touched again after publication. So I simply disable the product and re enable after I put in my content.
I thought I'd mention it to you, as I am strongly recommending your product to my customers who are using my Priority Support option. |
Quote:
|
This is perfect, so useful...but I don't know if maybe I don't see the option, or something like that, but if someone (not the autor) wants to edit a global template...they can't do it.
It would be very important to have that ability into the admin panel at least ;) |
All times are GMT. The time now is 01:23 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|