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 |
#112
|
|||
|
|||
Hm... some weeks (or months?) before I offered to create such a tool... nobody wanted it...
|
#113
|
|||
|
|||
Well, I don't need vbHacker, I just need the plaintext file it creates so I can install the hack.
|
#114
|
|||
|
|||
Requests
Definitely have a vbhacks folder to keep the hacks tidy. In vbhackmaker, how about having a selection list of current xxxx.hack.php files like you do in vbhacker's 'choose a hack you wish to install' to select from (for editing) ? Problems 'Proceed With Creating Hack'... I have no 'file edits' for example, only template edits. It seems to insist on me saying that there is at least one file edit before I can go any further. The first 'template edit' gets '\'characters (escape) added which make vbhacker unable to find the string in the original. It also adds them again, making them worse each time the file is edited and run through vbhackmaker e.g. <a href=\\\"calendar.php?s=$session[sessionhash]\\\"><img src=\\\"https://vborg.vbsupport.ru/images/top_calendar.gif\\\" alt=\\\"Calendar\\\" border=\\\"0\\\"></a> Also, I'm trying to replace the following from the header template but it says it can't ever find it. It IS there though. Is it parsing 'newline' and other similar characters correctly? I've re-typed the whole text in vbhackmaker, cut and pasted it as well from the original header, but no luck. <!-- logo and buttons --> <center> <table border="0" width="\{tablewidth\}" cellpadding="0" cellspacing="0"> <tr> Apart from these problems it's great. The ones I do have working run smooth as silk I have no other hacks installed. I'm running on a clean install of 2.2.5 (tried it on a clean 2.2.2 as well though) and wanted to get vbhacker running before I start to use it live. Any ideas as to why I'm having these specific problems? |
#115
|
||||
|
||||
First problem of "must have a file edit" -- simple, a hack must consist of at least one file edit or it's not a hack (but a template modification).
The added slashes -- a problem with magic_quotes_gpc being on. I think I know how to fix this and I will as soon as I get some free time on my hands. |
#116
|
|||
|
|||
Ahhhh... This is nice. Thanks a lot FireFly!
|
#117
|
|||
|
|||
Quote:
|
#118
|
|||
|
|||
This ermm script/hack??? ROCKS!!!! It makes installing hacks a breeze... FireFly does it again, what a champion... Three cheers for FireFly
Hip Hip Hooray Hip Hip Hooray Hip Hip Hooray |
#119
|
|||
|
|||
Quote:
In .admin/Index.php Look for: Code:
<tr class="firstalt"> <td>MySQL Language Lookup</td> <td><input type="text" name="search_query" size="30"> <span id="submitrow"><input type="submit" value="Find Now"></span></td> </tr> <tr class="secondalt"> <td>Useful Links</td> <td><select onchange="jumpto(this.options[this.selectedIndex].value)"> <option>» Useful Links «</option> <option value="http://www.vbulletin.org">vBulletin Org</option> <option value="http://www.vbulletin.com/">vBulletin Home Page</option> <option value="http://www.vbulletin.com/members/">vBulletin Members' Area</option> <option value="http://www.vbulletin.com/forum/">vBulletin Support Forums</option> <option value="http://www.vbulletin.com/manual/">vBulletin Online Manual</option> <option value="http://www.php.net/">PHP Home Page</option> <option value="http://www.php.net/manual/">PHP Online Manual</option> <option value="http://www.mysql.com/">MySQL Home Page</option> <option value="http://www.mysql.com/documentation/">MySQL Documentation</option> </select></td> </tr> Code:
<option value="http://xxx.xxx.com/admin/vbhacker.php">VB HACKER</option> <option value="http://xxx.xxx.com/admin/vbhackermaker.php">VB HACKERMAKER</option> Also Thanks to Firefly for a user friendly addition |
#120
|
|||
|
|||
i cant get this hack to work with 2.2.5...there a reason for this? shows a error...
Warning: Variable passed to reset() is not an array or object in /home/virtual/site16/fst/var/www/html/forums/admin/vbhacker.php on line 278 Warning: The vBulletin version you are currently using (2.2.5) does not match the vBulletin version required by this hack (). |
#121
|
||||
|
||||
Love it ! thanks !
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|