View Full Version : New Posting Features - [DBTech] Post Templates v1 (vB4)
DragonByte Tech
01-19-2012, 11:00 PM
vB Post Templates
This is a conversion of the mod Deceptor originally developed for vBulletin 3.8.x located here (https://vborg.vbsupport.ru/showthread.php?t=199869), 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 (http://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 EditorDifferences 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!
Hallo,
on loading the XML file I get an database error:
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!
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.
DragonByte Tech
01-22-2012, 09:21 PM
There are no templates to edit, you just need to upload all files and then import the XML file :)
Fillip
Lionel
01-22-2012, 09:27 PM
Ouch, I was looking for it on first line.
Nice job! Thanks for it. I had recommended that mod to a lot of my customers.
Lionel
01-22-2012, 09:30 PM
The old CMS bug remains though. Editor disappears when you try to create/edit article.
Taurus1
01-23-2012, 02:56 AM
The old CMS bug remains though. Editor disappears when you try to create/edit article.
I am having the same issue. I opened a bug report on their site.
DragonByte Tech
01-24-2012, 03:00 AM
The old CMS bug remains though. Editor disappears when you try to create/edit article.
Disable the DragonByte Tech: Post Templates / editor_toolbar_end plugin in Plugin Manager, and it will work like it should.
Chris
Alex@bulletin
06-14-2012, 04:52 PM
German translation now available here (http://www.vbulletin-germany.org/showthread.php?9617-DB-Tech-Post-Templates-goes-DB-Tech-1-Klick-Beitr%E4ge)!
nacaruncr
07-14-2012, 07:32 AM
It does not work in 4.1.12
I don't know what templates I have to edit, because the optiones aren't appear :S
DragonByte Tech
07-14-2012, 10:33 AM
It works perfectly fine in 4.1.12, there are no template edits for that version.
Fillip
nacaruncr
07-14-2012, 01:46 PM
mmmmm strange... it does not working for me :S
I'm going to uninstall it and install it again ;)
thanks and regards ;)
Amaury
07-15-2012, 06:07 PM
One of our other administrators reported (http://www.kh-mediaflare.net/showthread.php?75-Forum-Bugs-and-Other-Issues&p=3785#post3785) (screenshot in there) that the menu for the post templates in the post editor stretches all the way down.
Is there a way to fix this?
DragonByte Tech
07-16-2012, 11:42 AM
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
princesspepper
07-16-2012, 07:56 PM
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 :)
DragonByte Tech
07-17-2012, 04:28 PM
It is indeed :)
Fillip
Amaury
07-18-2012, 01:32 AM
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.
nacaruncr
07-24-2012, 08:53 AM
When I install it I have a DB error....
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
DragonByte Tech
07-24-2012, 10:26 PM
Change Type=MyISAM to Engine=MyISAM in the product XML file :)
Fillip
Mazide
07-25-2012, 10:00 AM
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?
DragonByte Tech
07-25-2012, 11:19 AM
Sorry, I don't understand what you're asking :(
Fillip
thenashy
07-25-2012, 11:26 AM
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
DragonByte Tech
07-25-2012, 11:32 AM
Please upload the contents of the upload folder to your public_html folder.
Fillip
Mr_Running
07-25-2012, 01:12 PM
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?
Sorry, I don't understand what you're asking :(
Fillip
I will guess and try to answer. :)
If a template is made global a user can choose a template in the editor.
Mazide
07-25-2012, 02:06 PM
Sorry, I don't understand what you're asking :(
Fillip
Add a template function can be ready for the forum admin panel? When the subject member, could see this template.
For example:
http://community.mybb.com/post-309591.html
Mr_Running
07-25-2012, 03:11 PM
No, it does not function in the vB Admin panel.
The Admin can set up the template within the forum user settings (Profile) and set a template to Global for all user groups who have permission to use the post template.
See
here (https://vborg.vbsupport.ru/attachment.php?attachmentid=135927&d=1327102133)
more screen shots at the top of this thread. :)
does this also show in Quick Reply?
DragonByte Tech
07-25-2012, 06:47 PM
does this also show in Quick Reply?Yeah it does :)
Fillip
nacaruncr
07-25-2012, 09:08 PM
Change Type=MyISAM to Engine=MyISAM in the product XML file :)
Fillip
When I install it... my site is blank... does not appear nothing.. appears this way (in the screen)
excuse me my english
Amaury
08-06-2012, 09:22 PM
Alright, a question.
Because this is a modification, when managing post templates, the user's activity simply says Viewing User Control Panel.
Is there something I can add so it says Managing Post Templates?
Amaury
08-08-2012, 01:35 AM
Alright, a question.
Because this is a modification, when managing post templates, the user's activity simply says Viewing User Control Panel.
Is there something I can add so it says Managing Post Templates?
Bump.
DragonByte Tech
08-08-2012, 04:28 PM
Alright, a question.
Because this is a modification, when managing post templates, the user's activity simply says Viewing User Control Panel.
Is there something I can add so it says Managing Post Templates?I don't believe so, no :(
Fillip
Amaury
08-08-2012, 04:58 PM
I don't believe so, no :(
Fillip
Not even a plugin of sorts?
DragonByte Tech
08-11-2012, 08:11 PM
Not as far as I'm aware, sorry :(
We don't really do much with WOL since it's such a minor part of our mods.
Fillip
nyenius
08-13-2012, 04:52 AM
Very helpfull and usefull. Thanks :)
nerowolfe
09-12-2012, 12:23 PM
Hi Fillip
I have a 4.2.0 PL2.
I've installed and I've some problems.
First: I'm setting one template but when I test this is the results (look the pictures):
Can you help me?
Thanks in advanced
DragonByte Tech
09-12-2012, 02:44 PM
In the following folder the following file should exist:
/clientscript/ckeplugins/PostTemplates/plugin.alt.js
Go into that folder on your server, delete plugin.js, and rename plugin.alt.js to plugin.js. With any luck, it should work for you.
Fillip
nerowolfe
09-12-2012, 05:48 PM
In the following folder the following file should exist:
/clientscript/ckeplugins/PostTemplates/plugin.alt.js
Go into that folder on your server, delete plugin.js, and rename plugin.alt.js to plugin.js. With any luck, it should work for you.
Fillip
In my server plugin.alt.js is'nt it!
DragonByte Tech
09-12-2012, 05:53 PM
Try downloading it from here: http://www.dragonbyte-tech.com/vbecommerce.php?do=demo&productid=129 instead then, maybe I didn't update vb.org with the version containing that file :)
Fillip
nerowolfe
09-12-2012, 05:59 PM
Try downloading it from here: http://www.dragonbyte-tech.com/vbecommerce.php?do=demo&productid=129 instead then, maybe I didn't update vb.org with the version containing that file :)
Fillip
Try and test...:)
jluerken
09-15-2012, 10:12 AM
I removed /clientscript/ckeplugins/PostTemplates/plugin.js and uploaded plugin.alt.js as plugin.js but still I see HTML code in the template :-(
Also disabled plugin "Integrate Into vB Editor" - "editor_toolbar_end" but no chance.
How can I get rid of the HTML code? vBulletin 4.2
DragonByte Tech
09-15-2012, 01:09 PM
Then it cannot be fixed, sorry :(
Fillip
jluerken
09-15-2012, 03:24 PM
Hi Fillip,
there must be a reason why it is working for some and not for others.
If it is working for some there is also the option to fix it for everyone.
I provided you via PM on your system with access info to our system and hope
you find time to take a short look on this.
Kind regards
jluerken
jluerken
10-17-2012, 06:07 AM
Is there a kind of a "fix" in the meanwhile?
DragonByte Tech
10-18-2012, 01:06 PM
Nothing has changed from my previous post in this thread, sorry.
Fillip
kamrandahir
11-03-2012, 10:12 PM
iv the same problem in vb 4.2 hope you ll fix it :-(
i wonder why it loads HTML code instead of BB code !! isnt any way that save that simple bb code and load it on editor ?!
thanks
DragonByte Tech
11-06-2012, 01:44 PM
Nothing has changed from my previous post in this thread, sorry.
Fillip
JesterP
01-12-2013, 05:51 PM
I updated to use the alt.js file. This removed the <br /> tags, but it still leaves a space. Is there anything i can change in the js file to remove the spaces that are inserted?
When I switch the editor to code view and then insert the post template, it works fine without adding spaces.
vb4.2.0 pl3
DragonByte Tech
01-14-2013, 06:23 PM
Unfortunately there's nothing more I can do to fix these issues :(
Fillip
Gecuba
01-25-2013, 03:45 PM
Try downloading it from here: http://www.dragonbyte-tech.com/vbecommerce.php?do=demo&productid=129 instead then, maybe I didn't update vb.org with the version containing that file :)Worked for me, thanks!
Now all templates are pasting in bb-codes, not in htlm.
datoneer
01-28-2013, 07:43 PM
When i click create category i get this message: A required field called title is missing or has an invalid value.
datoneer
01-28-2013, 07:47 PM
Oh sorry what a stupid mistake. It's working! Anyway great mod
jluerken
03-25-2013, 03:26 PM
I want to buy and use it for vb 4.2 PL3. Does it work now? Do I get a refund if it does not?
DragonByte Tech
03-25-2013, 05:39 PM
This mod is free, you don't need to buy it :)
There have been no changes made since the issue was discovered on a fraction of the forums that use this mod, so if it didn't work before it won't work now, sorry :(
Fillip
DragonByte Tech
04-05-2013, 02:08 PM
Post Templates v1.6.1
Fix: Uncached template
Change: Changed the Branding display method to inject itself into the copyright footer (underneath vBulletin copyright) instead of the page footer.
Change: Changed the Branding Free Key to a more secure key.
Fillip
Robru
04-08-2013, 02:10 AM
When I made as admin a global post template, the mods have a empty post template field.
Robru
04-11-2013, 05:42 AM
When I made as admin a global post template, the mods have a empty post template field.Problem solved ;)
DragonByte Tech
04-12-2013, 03:44 PM
What was the problem?
Fillip
Robru
04-18-2013, 08:02 PM
What was the problem?
FillipI forgot to tick the box global ;)
vauge
06-06-2013, 02:57 AM
Getting errors in IE8 from a user:
Message: Expected identifier, string or number
Line: 23
Char: 431
Code: 0
URI: http://www.{forum}.com/clientscript/ckeplugins/PostTemplates/plugin.js?t=B8DJ5M3
Message: 'onLoad' is null or not an object
Line: 23
Char: 1707
Code: 0
URI: http://www.{forum}.com/clientscript/ckeditor/ckeditor.js?t=A7HG4HT&v=421
DragonByte Tech
06-06-2013, 05:41 PM
Can you send me your forum URL so that I can test this out on your site?
Fillip
vauge
06-06-2013, 08:00 PM
URL is in my signature.
Toorak Times
07-09-2013, 12:41 PM
Tried, but failed, I'll go to your forum
DragonByte Tech
07-11-2013, 04:37 PM
Getting errors in IE8 from a user:
Message: Expected identifier, string or number
Line: 23
Char: 431
Code: 0
URI: http://www.{forum}.com/clientscript/ckeplugins/PostTemplates/plugin.js?t=B8DJ5M3
Message: 'onLoad' is null or not an object
Line: 23
Char: 1707
Code: 0
URI: http://www.{forum}.com/clientscript/ckeditor/ckeditor.js?t=A7HG4HT&v=421
I believe I've added a potential hotfix for this issue, can you please re-download the mod and re-upload /clientscript/ckeplugins/PostTemplates/plugin.js
Fillip
W2OE_Prodigy
07-12-2013, 08:33 PM
I love the mod and have been using it for a long time now, but there is one thing I wish you guys could implement into it. Is there any way for you guys to make certain usergroups able to edit the global templates? That would make this mod perfect as that feature is something I could use.
Thanks again for your awesome mods and let me know if this could be a future update of this mod!
DragonByte Tech
07-18-2013, 07:44 PM
If you re-post this as a Feature Request on our forum here: http://www.dragonbyte-tech.com/forumdisplay.php?f=50 we'll take it into consideration :)
Unfortunately we can't record feature requests from vBulletin.org as it would get lost in the mists of time :(
Fillip
W2OE_Prodigy
07-20-2013, 06:24 PM
If you re-post this as a Feature Request on our forum here: http://www.dragonbyte-tech.com/forumdisplay.php?f=50 we'll take it into consideration :)
Unfortunately we can't record feature requests from vBulletin.org as it would get lost in the mists of time :(
Fillip
Will do, thanks!
Aleks
11-09-2013, 07:37 PM
I'm having a problem when I enable the mod as followed:
http://puu.sh/5dt7U.png
ozzy47
11-09-2013, 07:38 PM
It appears as if you have uploaded the files incorrectly. Please drag and drop the contents of the upload folder (use Ctrl+A to select all files) to your public_html folder. :)
Aleks
11-10-2013, 03:58 AM
It appears as if you have uploaded the files incorrectly. Please drag and drop the contents of the upload folder (use Ctrl+A to select all files) to your public_html folder. :)
Oh silly me, I suppose that's what I get for not reading instructions, usually the files would be uploaded through the folder they're asked to be uploaded to but oh well.
The last error I'm having is this :
https://vborg.vbsupport.ru/external/2013/11/40.png
Which is causing me to not have all the options that I need.
DragonByte Tech
11-13-2013, 03:29 PM
I'll fix that for a future version :)
I've already hotfix the version available @ DBTech.
Fillip
wtatech
12-11-2013, 01:59 PM
Hey guys. Is this the latest file or the one from DBTech?
Mr_Running
12-11-2013, 03:22 PM
The hot fix patch is available @ DBTech Post Templates 1.6.1pl1 (http://www.dragonbyte-tech.com/product/129-post-templates/)
DragonByte Tech
12-11-2013, 06:33 PM
Post Templates v1.6.1 Patch Level 1
Fixed: Post Templates would not work correctly on the CMS in vB 4.1.4 and newer
Fillip
bw_van_manen
04-22-2014, 09:30 AM
Can this mod also be used to show the users of my forum a template for new posts in a certain category? I want to register feature requests for our software on the forum, but I would like users that create a new feature request to include certain information. It would be great if I could pre-populate the new post page with a feature request template.
DragonByte Tech
04-25-2014, 10:10 PM
Can this mod also be used to show the users of my forum a template for new posts in a certain category? I want to register feature requests for our software on the forum, but I would like users that create a new feature request to include certain information. It would be great if I could pre-populate the new post page with a feature request template.Unfortunately not, though if you check out our vBForms mod: https://vborg.vbsupport.ru/showthread.php?t=287061 you can create forms for your users to fill out.
The result of which is displayed above the first post, optionally only to allowed usergroups.
Fillip
predi
10-20-2014, 03:54 PM
Hi I am trying to display a plugin only in some forums, but that applies more conditional achievement not only displayed in these forums. There anyone who can assist me with this?
The plugin is: https://vborg.vbsupport.ru/showthread.php?t=277323
and conditional that will apply is this:
Option 1
<vb:if condition="in_array($forum['forumid'], array(58,59,60,62,69))"><li class="popupmenu menubutton fonts nomouseover nohovermenu editormenu" id="{vb:raw editorid}_popup_posttemplate">
<div class="popupctrl"><div id="{vb:raw editorid}_postemplatefield">{vb:rawphrase post_templates}</div></div>
<ul class="editorpopupbody popupbody popuphover">
{vb:raw posttemplates}
</ul>
</li></vb:if>
Option 2
<vb:if condition="!in_array($forumid, array(58,59,60,62,69))"><li class="popupmenu menubutton fonts nomouseover nohovermenu editormenu" id="{vb:raw editorid}_popup_posttemplate">
<div class="popupctrl"><div id="{vb:raw editorid}_postemplatefield">{vb:rawphrase post_templates}</div></div>
<ul class="editorpopupbody popupbody popuphover">
{vb:raw posttemplates}
</ul>
</li>
</vb:if>
Thanks!!!
DragonByte Tech
10-21-2014, 04:32 PM
This has been handled @ our site :)
Fillip
MediaSVI
01-26-2015, 11:34 AM
Can this plugin be set to only be used in certain Forums?
DragonByte Tech
02-03-2015, 06:17 PM
Unfortunately that's not possible at this time, sorry :(
Fillip
Elixar
03-02-2015, 02:12 AM
Currently getting a white page error when this is enabled on my forums.
DragonByte Tech
03-03-2015, 02:04 PM
Please turn on display_errors in php.ini and make sure SKIP_ALL_ERRORS is not enabled in vB's config.php.
Fillip
Elixar
03-28-2015, 02:21 AM
I'm trying to do the manual edits and I don't see editor_toolbar_on.
DragonByte Tech
03-30-2015, 02:51 PM
The manual edits are only for vB versions prior to the introduction of the CKEditor.
Fillip
Elixar
11-01-2015, 05:45 PM
Permissions are fine and set to yes, and it still will not show in the sidebar of my User CP. I tried to use the link from DBTech and gave me a permission error.
/profile.php?do=posttemplates
muffel
07-18-2016, 07:09 PM
Great Add-on! But is there a way so I can use a variable for the username in the PM template texts?
I have already looked at the addon "YOU"
https://vborg.vbsupport.ru/showthread.php?t=254373
But when I use this - in the notification mail for the PM there is just the phrase "[You]" and not the nickname. Is there a way to use the nickname into the PM's as real variable?
DragonByte Tech
07-23-2016, 10:47 AM
Great Add-on! But is there a way so I can use a variable for the username in the PM template texts?
I have already looked at the addon "YOU"
https://vborg.vbsupport.ru/showthread.php?t=254373
But when I use this - in the notification mail for the PM there is just the phrase "[You]" and not the nickname. Is there a way to use the nickname into the PM's as real variable?Unfortunately that's not possible as all this does is fill in the text box, it doesn't submit a post or anything like that.
Sorry :(
Fillip
BadgerDog
02-16-2017, 12:01 PM
Quick question for anyone who has installed this ...
We're running vBulletin v4.1.3 pl8 ...
Are required to edit and modify templates to have this mod work properly with our version of vBulletin?
Thanks .. :)
Regards,
Doug
DragonByte Tech
02-16-2017, 12:02 PM
Honestly, I don't know. That version of vBulletin is very, very old.
If you don't have the CKEditor interface, you probably need to edit the template. If the template doesn't exist on your system, you don't need to edit it.
Fillip
BadgerDog
02-16-2017, 12:07 PM
Honestly, I don't know. That version of vBulletin is very, very old.
If you don't have the CKEditor interface, you probably need to edit the template. If the template doesn't exist on your system, you don't need to edit it.
Fillip
Thank you .. :)
Regards,
Doug
BadgerDog
02-16-2017, 12:40 PM
Downloaded and installed for testing...
Uploaded files successfully....
Imported XML 1.6.1pl1 successfully ..
Located and edited template: editor_toolbar_on
Found:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<vb:if condition="is_browser('ie') AND !is_browser('mac')">
<li>
<img src="{vb:stylevar imgdir_editor}/spelling.png" class="imagebutton" id="{vb:raw editorid}_cmd_spelling" width="20" height="20" alt="{vb:rawphrase check_spelling}" />
</li>
</vb:if>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Added Underneath:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<!-- POST_TEMPLATES -->
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Saved template.
Went into create new thread on site ....
Option to use template box doesn't appear as shown in sample images here ..
Checked under settings ... don't see any options here either ...
Checked AdminCP usergroup options and they are ON...
Any ideas?
Regards,
Doug
Edit: Tested.. thanks to the author for developing it... uninstalled as we couldn't get it to work on our site.
MarkFL
04-07-2018, 03:27 AM
I have used this product for several years and it works really well for us at MHB. I hadn't found the need to manage any of our post templates since our update to PHP 7 until tonight, and I found I got an "Methods with the same name as their class will not be constructors" error.
The fix was easy; I edited the file "includes/class_dm_posttemplates.php" by changing line 34 to read:
function vB_DataManager_PostTemplates_f(&$registry, $errtype = ERRTYPE_STANDARD)
Thanks to DBTech for another useful product. :)
Simon Lloyd
10-27-2018, 09:29 AM
When using the post templates on vb4.2.5 the html from the wysiwyg is passed through unparsed, any way around this? It doesn't matter whether its used in quick reply or advanced reply to thread.
josner
12-15-2018, 02:36 PM
Gracias instalado en mi foro
saludos, todo bien
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.