The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vbHacker & vbHackMaker Details »» | |||||||||||||||||||||||||
Version 1.0.1 released! [March 25th, 18:30]
New: ~ Backup files: Now the script will backup files before editing them. You can disable this, and also change the extension of the backup file. (note: the folder in which the files reside must be writable) ~ CHMOD: The script will try to CHMOD files instead of just dying. The parent folder must be writable if you want the script to CHMOD files in it. ~ Another small fix there's not much to say about. Ok here's something I wrote yesterday, and today after testing it on serveral forums I can finally release it. What is it? vbHacker is a script that automatically installs hacks for you. It takes a xxxxx.hack.php file and comes up with the install script for it. This means you only need vbhacker.php to sit in your admin folder, and just upload data files every time you want to install a new hack. How does one create hack files? To make these xxxxx.hack.php data files, please read the post about vbHackMaker: https://vborg.vbsupport.ru/showthrea...&postid=231705 The script does the following: ~ Hack files (only PHP have access to write that file) ~ Install new templates ~ Update existing templates ~ Run queries If anything fails, the script skips it. Then you are taken to a page that lists all the changes the script couldn't do, with instructions how to do them yourself. You also have the option to generate a plain text file with complete hacking instructions, in case you prefer that. The installer also checks for your vBulletin version, warning you if the versions mismatch. I took some screen shots earlier of the various steps. Hack chooser - This is the part where you see a list of all hacks you have and you can choose which one, and whether to install it or create a text file: http://www.vbulletin.org/vbhacker/1_chooser.gif For the next screen shots I chose the Quick Reply Box hack. Elements to install - There you can choose what parts of the hack you want to install. There are four main parts: File hacks, new templates, template edits and queries. This is good for upgrades if you only want to update the templates, and nothing else. http://www.vbulletin.org/vbhacker/2_quick_elements.gif Specific changes - A more specific step that allows you to select exactly what changes to what files/templates you want to make. Once again, this is helpful when upgrading. http://www.vbulletin.org/vbhacker/3_quick_config.gif Auto installer - The core of the script that actually installs the hack. This is how it looks like when it works fine: http://www.vbulletin.org/vbhacker/4_quick_auto_ok.gif And this is how it looks like when something went wrong (because I made it go wrong ): http://www.vbulletin.org/vbhacker/5_quick_auto_bad.gif Manual mode - An optional step that you will only use if the auto installer had some problems. It just lists the changes you need to do yourself: http://www.vbulletin.org/vbhacker/6_quick_manual.gif Text file - If you want to generate a text file with the full instructions to install the hack: http://www.vbulletin.org/vbhacker/7_quick_text.gif The style for my Admin CP was done by kier. Well, hope you like what you see. I will start releasing my hacks with this installer soon, so you can see it in action. A script that creates these data files will probably come soon, so everyone will be able to use this for their own hacks. Attached is the script, version 1.0.1. Just upload it to your /admin folder, and you're done. Whenever you need to install a new hack just go to /admin/vbhacker.php in your browser. Show Your Support
|
Comments |
#62
|
||||
|
||||
just a suggestion I thought of when installning a hack made for vbhacker: how about make it so it asks if you want to backup any files it is modifying?
And also just make it so if it is going to make changes to a file, it appends something like //start hack <hackname> installed by vbhacker 1.0 then @ the end //end hack <hackname> installed by vbhacker 1.0 |
#63
|
||||
|
||||
wow thanks, best script of the year.
|
#64
|
||||
|
||||
Chen
Again you've gone and done it! Thanks for a great idea brought to life.... I'm somewhat leary of making any new changes to my board with vB 3 coming soon (to a theater near you) - I think I may just wait to make any modifications, especially after Freddie confirmed hacks will need to be re-written to play nicely.... Doesnt take away from the appreciation though Chen - vB.org really has made life with vB much much easier! (not to take away from vB.com - just different needs are met here) I'm off before my well intended words end up as a foot in my mouth |
#65
|
||||
|
||||
hey guys lets give firefly some time, im pretty sure he will answere our request for the backup feature :rambo:
|
#66
|
|||
|
|||
This thread should be stuck; however, since the hack was written by FireFly and the site is run by FireFly, it would appear like self-advertisement. If the members agree, I say there would be nothing wrong with it
|
#67
|
||||
|
||||
Thanks everyone.
hyperdave, I'll work a backup feature, but bear in mind it will mean you must have the forums folder chmoded 0777 (which is actually better, because I can use the script to chmod the files itself... hmm). |
#68
|
|||
|
|||
Quote:
Mine worked (Linux shared server) only with such a MOD setting. Just another request (see above), right here we are... : could it be possible to write out a txt with the by-hand same procedure of an encapsulated vbhacker script ? This just in case the hack's autor shouldn't release both versions of his hack. Until now, I always tried to understand each loc or db modification for any hack i installed, even to understand better some workaround in case of problems. Looked at the vbhack script body above and it isn't too much self-explaining... of course it's for artificial intelligence, not human. Well: could be possible create an human-purpose output ? Thanks again |
#69
|
||||
|
||||
I got to get access via AdminCP:
Add this code in admin/index.php PHP Code:
PHP Code:
Ups: Don't work! Just tryed on my boards. But I don't know why. Any ideas? |
#70
|
||||
|
||||
Just released version 1.0.1 of vbHacker, which includes the backup utility you have asked for.
A new vbHackMaker is coming as well... |
#71
|
||||
|
||||
Alright new vbHackMaker is out too. Look at the first post in the thread for more info.
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|