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 |
#142
|
||||
|
||||
644 (rw-r--r--).
|
#143
|
||||
|
||||
OK, thanks FireFly. It might be an idea to tell people in your first post what files need to be CHMOD' to which value and what to change them back to, I spent a while looking around this thread and didn't understand why things weren't working.
Two requests for future versions... can backup files be saved with a date and hack name in them? For example if you added the /me hack today the file would be called functions.21-05-02.me.bak - and in it's own folder. Maybe more complicated than it's worth! It would make error tracking easier if you installed a few hacks on the same day don't you think? Also, hacks in their own folder too if that's possible. On a final note, FireFly, could you possibly help me rectify a problem in the moderation queue hack for the calendar? Thanks. |
#144
|
||||
|
||||
all i have to say, is DAMN. I love this!
2 questions though... 1) when i go to apply a hack, I keep getting this accross the top of vbhacker (and also when i just open vbhacker.php) Quote:
Quote:
|
#145
|
|||
|
|||
Thx for this one
installing hacks is so easy with this but i still get this error message : Code:
Warning: Empty delimiter in /home/site/public_html/forum/admin/vbhacker.php on line 132 I' m using vb2.2.6 any suggestion? thx Mone' |
#146
|
||||
|
||||
FireFly,
I love all your Hacks. This one is the best. Alto I do see somethings that vbhacker and vbhackmaker need. support for replacments. i would see that as a valuable addition to the hacks. Thanks again for all the great hacks SiD |
#147
|
||||
|
||||
I just found an glitch in the script.
when ever i put a single quote into a hack and try and run it. it always leaves the slash in there before the single quote but on the ones that i have downloaded it works fine. i am running 2.2.6. any ideas on what could be the problem? UPDATE!!! Ok i got it fixed. all i had to do was turn magic_quotes_gpc off. Thanks in advance SiD |
#148
|
||||
|
||||
man i have been waiting for something like this for a very long time..... FireFly.... you are my hero..... thank you man!
PS. anyone know when vb3 comes out? |
#149
|
|||
|
|||
vbhackmaker - FIX
magic_quotes_gpc - fix When? been waiting over 2 and 1/2 months now... vbhackmaker still generates extra slashes when I try to edit a xxxx.hack.php file... arg... |
#150
|
|||
|
|||
To those of you wanting to add this to your Admin CP, just use the code that I used... I noticed that the other code didn't work, and this was tested.
After: PHP Code:
Add: PHP Code:
Just want to help those of who never got it added in to their Admin CP correctly. |
#151
|
||||
|
||||
Working great on 2.2.6, thanks!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|