![]() |
Template Manager 0.6
Description
- Import / Export templates using XML files - Copy / Delete multiple templates - View / Save / Delete templates in history - Download templates installation file Installation - Upload custom_template_manager.php to your admincp folder - Upload cpnav_ctm.xml to your includes/xml folder Reload your AdminCP, its below "Styles & Templates" Enjoy :) |
updated- test this out will ya?
version 0.2 beta - changed xml format - added basic xm importing - added additional information in xml export - added a bunch of javascripts to make the life easier I only tested this with Firefox 1.0.4. the javascript/layout may have bugs in safari, internet explorer, opera etc. ill try to fix it if you find any. |
Love the idea mate, and it's deffinatly getting there. Keep at it, havn't had much trouble yet! :P
|
screenshot please :)
|
Quote:
theres a screenshot here, ill do another one when I have some time |
Quote:
Satan |
awww man, where was this yesterday. *grumble*
loving it man! |
I'm sure I'll use this one :)
Thanks Dream Installed here... |
updated 0.3 beta
- finished importing xml function - implemented half mass copy function (not finished) - some stuff I cant remember |
do you guys think you should be able to export regular vB templates aswell? like postbit, navbar etc?
the "custom template" definition is a template that vBulletin's Master Style doesn't have, and a "regular template" is an edited master style template. not sure why this would be used, but its not hard to implement. |
Quote:
|
Great job.. this will come in handy later on..
|
thanks :)
updated 0.4 - finished copy function - added view/edit links next to each template - added install file fuction - added view templates function the code is a big mess right now, but it doesnt affect usability. and its done, enjoy :) |
Thanks Dream, I'll test this as soon as I get home :)
|
Great Hack . thanks
|
*installed*
cool, thanks! |
This got to be HOT, great work Dream, installed and working just fine.
|
this is actually working better than I thought :O its getting the normal edited templates nicely
im thinking about adding a "view templates in history", so you choose the style to see the list, ill see what I can do |
right now this is exporting xml/copying/creating install file using wrong template codes, so dont use it :)
|
updated 0.5
- fixed bug when viewing templates with view and installation file - fixed bug getting wrong template code for export, copy and installation file, was getting "template" field instead "template_un" (xml compatibility version was raised because of this) - you can now export / copy / delete vBulletin templates, also you can choose vBulletin templates for the installation file - added view / save / delete templates from history - added "save a copy in history" when deleting - it now has its own admincp menu section |
hi
ihave error Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 769 to Upload Plugins |
cpnav_ctm.xml is not a plugin, you upload it to "includes/xml" folder
|
aha
isee ok thanku |
Excellent .. this will prove to be very valuable with all the updates due soon.
|
updated 0.6
- fixed bug when importing templates with a xml file, templates were being created with empty content |
Nice work. I was about to report the bug to here, but saw you already fixed it :)
This has been great for deleting 200+ custom templates from 3.07 that I'm no longer using. |
I've got RC1 running and get numerous database errors and to be expected. The script is not calling my database. Is this a quick fix edit to the php file or do we need to wait for a re-write?
thanks, :) Database error in vBulletin 3.5.0 Release Candidate 1: Invalid SQL: SELECT title, template_un FROM template WHERE templateid = 6564 ORDER BY title; MySQL Error : Table 'riders_vb.template' doesn't exist Error Number : 1146 Date : Saturday, July 30th 2005 @ 12:56:19 PM Script : /admincp/custom_template_manager.php Referrer : /admincp/custom_template_manager.php Username : FD929 Classname : vb_database |
hey, ill have to look this script to comply with RC1 changes, tho im thinking in doing that when 3.5 is gold...
anyway some basic operations like viewing templates and exporting are working for me, what exactly were you trying to do? |
On attempting to copy all templates from one style to another I get:
Database error in vBulletin 3.5.0 Release Candidate 1: Invalid SQL: SELECT title, template_un FROM template WHERE templateid = 5379 OR templateid = 5181 OR templateid = 5380 OR templateid = 5241 OR templateid = 4722 OR templateid = 6566 OR templateid = 4124 OR templateid = 4721 OR templateid = 4243 OR templateid = 4242 OR templateid = 4241 OR templateid = 4724 OR templateid = 4727 OR templateid = 4725 OR templateid = 4726 OR templateid = 4078 OR templateid = 5492 OR templateid = 4244 OR templateid = 6594 OR templateid = 6565 OR templateid = 6564 OR templateid = 6563 OR templateid = 6556 OR templateid = 6593 OR templateid = 6592 ORDER BY title; MySQL Error : Table 'riders_vb.template' doesn't exist Error Number : 1146 Date : Monday, August 1st 2005 @ 10:18:54 AM Script : /admincp/custom_template_manager.php Referrer : /admincp/custom_template_manager.php Username : FD929 Classname : vb_database 1 thing is that my table prefix is vb3_ not riders_vb |
I forgot to add the table prefix to that query :/
ill fix that in the next version, you can edit the php, find Code:
$sql = 'SELECT title, template_un FROM template Code:
$sql = 'SELECT title, template_un FROM ' . TABLE_PREFIX . 'template |
:) Thank you so much.
|
This saved me a tone of time and effort. :) Thanks
|
Thanks for the quick fix! [INSTALL]
|
Im not gettin anything, i uploaded the files like told, but no option.
|
Quote:
|
Great job,Thanks
|
Hmmm quite nice. only used the kill custom page so far saved me 251 manual reverts so that has to be pretty good, and thats in one style only I have a few others to update to 3.50 ;)
Has to be the hottest admin cp hack going |
Seems to have a problem importing custom templates in overwrite mode to a style. Its ok if you revert those templates first tho. ;) Maybe needs fixing up for gold as its an awsum hack
Also a nice addition i think would be able to set to export a set of templates as individual files. Like it uses a temp folder and gzips it then downloads. This would make style updating etc very simple as you could easily use somthing like beyond compare. :) |
Been looking for a hack like this for ages, finally i can actually move custom templates
^_^ |
Quote:
*installed |
All times are GMT. The time now is 04:49 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:
|