Version: 1.2b, by Darkwaltz4
Developer Last Online: Feb 2013
Version: 3.0.3
Rating:
Released: 12-29-2004
Last Update: 07-31-2005
Installs: 11
Code Changes Additional Files
No support by the author.
Introduction:
-------------
Do you have 7 styles and the instructions to a hack you are installing only allow you to do one at a time?
Tired of having to keep track of changes over your 7 styles, and wish that you only had to edit one of the custom templates you added?
---OR EVEN---
Do you want a backup that you can just run by itself without requiring you to manually run a dozen programs, and follow vague instructions?
Are you a hack writer and give up on writing installers for your templates, because the vbulletin template system is so messy?
Well, now with the PLS Hard Install Template Wizard, you can manage all of these things quickly and easily.
The Press function allows you to make any custom template/edited template one of the templates in the master set, cleaning up your template system, and quickly passing on changes to your templates to all of your styles at once, and they become more permanant, allowing you to revert back to the state you Press it to, even if you do more edits.
The Lift function will take the templates that you select and render a new php file, which you can run by itself to install those templates to the master set for backup. If you write hacks, you can create your templates live and then this wizard will automatically create template installers from them, you can just toss the file it creates in with the rest of the installation files for your hack, and the templates will be installed to the master set, which is far more convenient for your clients.
Installation is quick, just place this one file into your admincp folder, and edit the index if you want a link to it.
If you do use the Stick files in your hack installer, just don't edit out the credit line to me.
If you use this hack, do click install so you will be alerted to updates should you need anything.
As with all of my hacks, I am willing to help with any problem you might encounter, and entertain any suggestion, since I usually take awhile to believe I'm done with a hack myself!
Update v3.1.2: --Main:
Cleaner files, less security loops
Error message on empty selections
Clearer and cleaner instructions
Better Navigation
Screenshots (Attachment: pls_screens.zip) --Pressing:
Removed edit links from list, security issue
Error message on Master Set Pressing attempt
Press confirmation requirement
Option to delete custom templates from selected styles or all styles --Lifting:
Download now on blank screen, static issues
Support for version data --Sticking:
More visually appealing
Cleaner and smaller files, less security issues
Stick confirmation requirement
Removed delete routine, now message advising revert
Flat queries, instead of one per template
Upgrade Instructions:
Upload new pls_admin.php file to admincp folder
Any previously created Stick files will still work
Future Features:
Checkall Box
Phrasing Support
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Sorry for being dumb as I didn't try the hack yet.
Doesn't vBulletin do this in default?
Master style : drop down > add template > adds to all templates.
parent style : edit a template > inherits to all child template.
the press function has the effect of adding a template to all styles, but what it DOES, is make a custom version of a template become the 'default' template, by replacing it into the master template set (id: -1) such that further edits to such templates become revertable, not deletable. additionally, newly added templates can be pressed onto the master set as well, and even adding a new style will make the custom template now part of the set that is created. also, the other half of this wizard is useful for hack writers, such that admins can select templates that they have worked on, live on their test forums, and have this wizard lift them off and render a php file which can be run again (by itself) to install those templates into the master set. so, if they want to have an install file for the templates of their hack, they can use this wizard to create them in a matter of seconds, and the people who then install their hacks just have to run the file along with the rest of the install things, except that the templates wont require complicated import instructions, or requiring them to manually add in 20 templates to each of their styles.
i actually wrote this for myself, for the template install file rendering feature, and some of my other vborg hacks will be using pls-rendered files for the templates :-p
screenshots arent interesting because this is a utility hack....the main screen has a style chooser and an option chooser (press or lift), and then clicking submit brings up the list of available templates to choose from, you check the checkboxes next to the ones you want, and it does its job (or a download prompt). after downloading a lifted file, you can re-upload it again and run it to hard-install those templates, such as for future backup, or as a template installer as part of another hack. (again, not really needing screenshots). however, when i update my dorm hack ill link to the file that this hack produces, as an example of the output file if youd like
zip is weird can see 2 files in it but when go to extract get this error
! \Desktop\pls_hitw.zip: Unknown method in pls_admin.php
! \Desktop\pls_hitw.zip: Unknown method in instructions.txt
! \Desktop\pls_hitw.zip: No files to extract
Update v3.1.2: --Main:
Cleaner files, less security loops
Error message on empty selections
Clearer and cleaner instructions
Better Navigation
Screenshots (Attachment: pls_screens.zip) --Pressing:
Removed edit links from list, security issue
Error message on Master Set Pressing attempt
Press confirmation requirement
Option to delete custom templates from selected styles or all styles --Lifting:
Download now on blank screen, static issues
Support for version data --Sticking:
More visually appealing
Cleaner and smaller files, less security issues
Stick confirmation requirement
Removed delete routine, now message advising revert
Flat queries, instead of one per template
Upgrade Instructions:
Upload new pls_admin.php file to admincp folder
Any previously created Stick files will still work
Database error in vBulletin 3.0.6:
Invalid SQL: SELECT title,template_un,dateline,username,version FROM template WHERE templateid IN(2497,2498,2499) ORDER BY title ASC
mysql error: Table 'deathea_vbbackup.template' doesn't exist
mysql error number: 1146
Date: Sunday 03rd of April 2005 08:22:54 AM
Script: http://www.death-eater.net/forum/admincp/pls_admin.php
Referer: http://www.death-eater.net/forum/admincp/pls_admin.php
Username: kaz
IP Address: 217.42.244.217