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
  #102  
Old 04-05-2002, 01:41 AM
merk merk is offline
 
Join Date: Nov 2001
Location: Canberra, Australia
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by cditty
No wakey wakey. Sleepy, sleepy.

I do because that is what I started with and my forum is now listed with google. If I change it to php, I loose all my google hits.

Correct? Or is there some hocus pokcus I can do to fix that?

Chris
There is a method to get around this.

You could either use mod_rewrite, or make a custom 404 error template, that would redirect the user using the variables in each url..

I think the theory would be similar to an oldish hack released by overgrown(i think) - vBSpiderFriend , have a look for it
Reply With Quote
  #103  
Old 04-05-2002, 04:36 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Chen, can you make a dropdown for the hacks forum, similar to the one that shows the version that the hack is released for, that shows if the hack is vbhacker compatible?

That would be a BIG selling point for some hacks. I know I plan on using vbhacker for any hacks that I create or install in the future.

Amy
Reply With Quote
  #104  
Old 04-05-2002, 04:51 PM
John's Avatar
John John is offline
 
Join Date: Mar 2002
Location: Norwich, UK
Posts: 1,543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was going to ask the same thing - it's a pain having to go through all of the hacks trying to figure out which ones are vBHacker compatible.
Reply With Quote
  #105  
Old 04-05-2002, 05:14 PM
el3m3nt's Avatar
el3m3nt el3m3nt is offline
 
Join Date: Jan 2002
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

problem with the vbhacker.php:

i created with vbhackmaker.php a xxxx.hack.php and now want to create a txt-file.
when i load the vbhacker.php, in the select-form.. there are no hack-names and hackwriter-nicks displayed. when i chose one.. and want to create a text file.. i got the following error:

Warning: Variable passed to reset() is not an array or object in /public_html/admin/vbhacker.php on line 278

hope somebody.. can help me, cause i would love to use this tool .
Reply With Quote
  #106  
Old 04-05-2002, 05:25 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you got the xxx.hack.php in the same directory as vbhacker.php and vbhackmaker.php? Which should be your forum/admin directory.
Reply With Quote
  #107  
Old 04-05-2002, 05:29 PM
el3m3nt's Avatar
el3m3nt el3m3nt is offline
 
Join Date: Jan 2002
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

jap.. i tried it also on my online server.. same result :/
Reply With Quote
  #108  
Old 04-05-2002, 05:54 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only other thing I can think of right now is did you copy and past exactly the text output that vbhackmaker.php gave to produce the xxx.hack.php file?

Also can you load another xxx.hack.php ok? I've attached one to this post which know works. (Its TWTCommish's who downloaded hack)
Reply With Quote
  #109  
Old 04-05-2002, 05:58 PM
el3m3nt's Avatar
el3m3nt el3m3nt is offline
 
Join Date: Jan 2002
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm.. yep you are right.. the file u attached works. thank you.. then i know where the mistake is.

thanks .
Reply With Quote
  #110  
Old 04-05-2002, 06:07 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem, I think the problem with you trying to make vbIndex into a hack file, if thats what you were doing is that there are no files to edit.
Reply With Quote
  #111  
Old 04-05-2002, 11:24 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Having a problem. I uploaded the vbhacker.php file to my admin folder. I also uploaded the hack i wanted to install. This hack here:
https://vborg.vbsupport.ru/showthrea...threadid=36891
But when I run the script, it gives me this error:
Warning: Variable passed to reset() is not an array or object in /home/macfora/public_html/forums/admin/vbhacker.php on line 555

Running ver 2.2.2
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 04:31 PM.


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.04766 seconds
  • Memory Usage 2,315KB
  • 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)bbcode_quote
  • (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
  • (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