Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vbHacker & vbHackMaker Details »»
vbHacker & vbHackMaker
Version: 1.00, by Admin (Coder) Admin is offline
Developer Last Online: Nov 2024 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-20-2002 Last Update: Never Installs: 121
 
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 03-22-2002, 01:27 AM
dotagious dotagious is offline
 
Join Date: Oct 2001
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doh! It doesn't display .gif files. Hehehe...
Reply With Quote
  #23  
Old 03-22-2002, 02:28 AM
Stylez's Avatar
Stylez Stylez is offline
 
Join Date: Mar 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow, this seems kewl. i'll try it out
Reply With Quote
  #24  
Old 03-22-2002, 04:24 AM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

most likely only one to 4 hacks have this in use right now.
Reply With Quote
  #25  
Old 03-22-2002, 04:29 AM
dotagious dotagious is offline
 
Join Date: Oct 2001
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm confused on where I'm to upload the hacks "data" files. I already installed the vbhacker.php file, but where do I upload the hacks for it to read? Also, what is at least one hack that does work with this so I can try it out?
Reply With Quote
  #26  
Old 03-22-2002, 04:33 AM
dotagious dotagious is offline
 
Join Date: Oct 2001
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also see that it's for 2.2.4

Do you think it should work on 2.2.1 or higher versions or has it not been tested? I'm not sure how big the changes were in subsequent versions.
Reply With Quote
  #27  
Old 03-22-2002, 04:58 AM
hypedave's Avatar
hypedave hypedave is offline
 
Join Date: Nov 2001
Location: Dallas, Tx
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice hack, I tryed this on some earlier hacks but it didnt work
for example, vb 2.2.2 hacks, the vbhacker wouldnt install them on my 2.2.4 board
Reply With Quote
  #28  
Old 03-22-2002, 11:17 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Webmasta XT: No, only hacks that are released in the format the script understands can be used with vbHacker.

Avenger: I released a hack yesterday that uses this. Take a look at my profile.
You need to place the data files in the /admin folder. The script itself should work on any 2.2.x release, I just put 2.2.4 to know it's the latest one. But make sure the *hacks* work with that version.

I'm just done with a HackMaker that creates the files for a hack, I'll release it soon.
Reply With Quote
  #29  
Old 03-22-2002, 12:12 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 1.0.1 released! [March 25th, 18:40]
New:
~ Removed some code that deals with magic_quotes_gpc turned on, because for some reason it messed stuff for people with magic_quotes_gpc off.

Alright, and here's vbHackMaker (*cough* original ), the script that creates the data files used by vbHacker.

This script is pretty straightforward and easy, but just to show you what it's all about I took some screen shots of it.

New or old - The first step of the script where you can either start a new hack, or edit an existing hack. Make sure you select 'No' if you are editing a hack.
http://www.vbulletin.org/vbhacker/maker/1_neworold.gif

General information - You need to enter some general info about your hack, and also specify exactly how many changes the hack contains (like vbHacker, there are four categories: file hacks, new templates, template edits and queries).
http://www.vbulletin.org/vbhacker/ma...eneralinfo.gif

Actual hack - You simply input the changes for this hack, for each of these four categories.
Like you see I tried to make things easy with a drop down menu for the folder, and another drop down menu for "what to do" (replace, add after or add before).
http://www.vbulletin.org/vbhacker/maker/3_hackstuff.gif

Data file - The end of the script that gives you the source for the file. Just cut & paste and name the file yourhack.hack.php.
http://www.vbulletin.org/vbhacker/maker/4_outcome.gif

Attached is the file, vbhackmaker.php version 1.0.1.
Note: You *must* have magic_quotes_gpc turned off if you want this script to work. I hope to resolve this issue soon. Sorry!
Reply With Quote
  #30  
Old 03-22-2002, 01:38 PM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Arigato Go'zymas Firefly
(Thank you)
Reply With Quote
  #31  
Old 03-22-2002, 01:58 PM
hypedave's Avatar
hypedave hypedave is offline
 
Join Date: Nov 2001
Location: Dallas, Tx
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow when does training class begin
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:43 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04893 seconds
  • Memory Usage 2,314KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete