PDA

View Full Version : vbHacker & vbHackMaker


Admin
03-20-2002, 10:00 PM
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/showthread.php?s=&action=showpost&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. :D 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.

aaronx88
03-21-2002, 09:12 AM
I loved what i saw :) GOOD WORK ....

Birdie501
03-21-2002, 09:37 AM
Hi Firefly,

you are really one of the main reasons why vbulletin is loved by so many people.

Just want to thank you for the great job you do!

Regards Birdie501

Admin
03-21-2002, 02:25 PM
Thanks Birdie, and aaronx! :)

MW[MWGN]
03-21-2002, 02:32 PM
So how do we create hacks that would work for vBHacker? is this similar to those MultiHack programs thingy that was used for UBB, you know, where the hacker can create a file with instructions to the program saying Find X, then replace with X etc.

Admin
03-21-2002, 02:41 PM
Originally posted by FireFly
A script that creates these data files will probably come soon, so everyone will be able to use this for their own hacks.

Neo
03-21-2002, 02:43 PM
Thank s Firefly, I am sure this will make everything alot easier. :)

wooolF[RM]
03-21-2002, 04:44 PM
Negative... everybody want to make their board look different, not like others.
And what vbhacker does? standart look - standart look -standart look...

Sorry, not for me...

Admin
03-21-2002, 04:55 PM
Huh? Did you understand what this is all about? You don't have to install hacks, this script only makes installation of hacks much easier because it's done automatic.

filburt1
03-21-2002, 04:55 PM
I assume directory permissions will have to be 777 to PHP can write to files?

Admin
03-21-2002, 05:00 PM
File permissions, yes.

wooolF[RM]
03-21-2002, 05:01 PM
yep, I understand it's pretty much...
For example I can take your hack "Number of new replies per thread on forum display" that is specially designed for vbhacker.
U have a code there that inserts <b>Replies<br>(new / total)</b> into one of templates.
Now...What if I don't like to have text Replies to be bold? Or maybe I have not-english spoken board, or I want to change text Teplies to Answers (just as an example, don't take it serios).
If u want to make it different as I have wrote before, u will have to edit template anyway those making vbhacker a tool, that make all boards like others.
Got main idea?

trainer
03-21-2002, 05:07 PM
i dont' know where you come up with all these ideas but what an asset! thank you very much for your hard work bro

Admin
03-21-2002, 05:08 PM
Tell vbHacker not to make template changes...

Neo
03-21-2002, 05:25 PM
or just change it after it is done installing it... not very hard.

Floris
03-21-2002, 05:28 PM
woolf,
your comments are based on the lack of knowledge i think :)

If you wish to make stuff bold or bigger letters, you can quickly apply the hack with this script, then jump to the ACP and mod/tweak it further manually. Even then, this will save you some time :)

No, it will not make things standard.
There is no difference, between a user applying a hack manually or by script. The only difference there is, is that it is done quicker and less change of error by n00bz.

More advanced newbies can manually tweak it afterwards so it will not look default on every board.

wooolF[RM]
03-21-2002, 06:23 PM
]:D :D :D nice comment... got the main idea ;)

Webmasta XT
03-21-2002, 06:40 PM
so this will install any hack? and I mean any hack that are out?? and I mean ANY!! or are there some certain hacks that it can do..

Erwin
03-21-2002, 07:48 PM
Only hacks designed to work with vbhacker.

dotagious
03-22-2002, 01:26 AM
Anyone know how many hacks work with it at this time? I would assume some, if not most of Firefly's hacks, which is anywhere between 1-46 hacks.

Anywho.. Outstanding job!

dotagious
03-22-2002, 01:27 AM
Doh! It doesn't display .gif files. Hehehe...

Stylez
03-22-2002, 02:28 AM
wow, this seems kewl. i'll try it out

Neo
03-22-2002, 04:24 AM
most likely only one to 4 hacks have this in use right now.

dotagious
03-22-2002, 04:29 AM
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?

dotagious
03-22-2002, 04:33 AM
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.

hypedave
03-22-2002, 04:58 AM
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 :(

Admin
03-22-2002, 11:17 AM
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. :)

Admin
03-22-2002, 12:12 PM
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/maker/2_generalinfo.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. :D
Note: You *must* have magic_quotes_gpc turned off if you want this script to work. I hope to resolve this issue soon. Sorry!

Neo
03-22-2002, 01:38 PM
Arigato Go'zymas Firefly :)
(Thank you)

hypedave
03-22-2002, 01:58 PM
wow when does training class begin :D

Xelation
03-22-2002, 03:30 PM
I kinda like installing my hacks manually, but I will definantly use this hack! I would have to rate is a 10 out of 10!

psico
03-22-2002, 07:06 PM
FireFly!!
One thing is missing from this hack(?) to be PERFECT...
There are many hacks that uses others PHP files, new ones...
May be u can add a field to create a new file?

Thanks a lot!

Sorry for my English...

Psico.

Admin
03-22-2002, 07:11 PM
If a new file needs to be created, just attach it to your hack and the user can upload it. :) Putting it in the hack file will only make it bigger, and I don't see the point in it anyway.

ZiRu$
03-22-2002, 07:16 PM
Great Job firefly...i will definetely use it

Dalius
03-22-2002, 10:22 PM
I want some feedback before I use this. Anyone have any problems with it so far?

Looks AMAZING, Chen! GJ

Remi
03-22-2002, 10:36 PM
Thanks FireFly

Geat as usual :D

dotagious
03-22-2002, 11:12 PM
Originally posted by Dalius
I want some feedback before I use this. Anyone have any problems with it so far?

Looks AMAZING, Chen! GJ

Well, it only looks like one hack works with this right now. It's not one that I want on my board, so I haven't had the chance to use this yet.

hypedave
03-22-2002, 11:43 PM
again these two files have helped me out real good,
thanks for that hard work and effort you put into making us nebie hackers life more easier, I have installed 4 hacks , after creating the xxx.hack.php file, it was a matter of seconds before each hack was installed, now I have to figure out how to get some hacks for 2.2.2 to work with 2.2.4,

Radon3k
03-22-2002, 11:45 PM
Nice! Yet another awesome hack from FireFly! :)

TheComputerGuy
03-23-2002, 12:30 AM
Very Nice FireFly, I know this will be included with vB3 correct!

hypedave
03-23-2002, 12:32 AM
actually I heard in vb3 all hacks written for vb 2.2.4 will have to be re-written .... Firefly can you confirm this :devious:

kidney
03-23-2002, 01:00 AM
Very nice hack, you have proven who is the master.

If the great master will allow one opinion it would to create backup before executing the hack in case of disaster, and this will allow you to add a feature wich will allow revert to the previous state.

hypedave
03-23-2002, 01:01 AM
wow yeah kidney thats a great feature to add, I was thinking about that as well

SaintDog
03-23-2002, 03:36 AM
Not used this yet, but I have to say this on the account:

"This is the best thing since sliced bread for vBulletin :)"

This should make things easier for a lot of people. How long have you been working on this FF?

Thanks once again for a great...hacking tool :),

SaintDog

Freddie Bingham
03-23-2002, 03:55 AM
Originally posted by hypedave
actually I heard in vb3 all hacks written for vb 2.2.4 will have to be re-written .... Firefly can you confirm this :devious: Oh yes.

E
03-23-2002, 04:04 AM
That sucks.. :( will some of them be included ?

hypedave
03-23-2002, 04:58 AM
see Freddie I been doing my home work :smoke:
how is that asp function for the CMS coming aling :bandit:

E
03-23-2002, 06:43 AM
i installed this but only just realised how good it is.... I have no idea how to run queries but this pretty much helps... Thjx FireFly

feldon23
03-23-2002, 08:36 AM
I feel stupid.

I have combed over this thread and the Quick Reply threads and saw you using Quick Reply as an example of how cool vbHacker is, but I haven't seen where to download

quickreply.hack.php.

Is this something I need to create myself using vbHackMaker?

I love the idea of what are essentially hot-swappable modifications to php files.

Installing these things has taught me how to use the program Beyond Compare, but vbHacker seems even better if I don't have to touch any php files directly... (not afraid, just hate doing it for every new release!)

feldon23
03-23-2002, 09:03 AM
Ok, I used vbHackMaker to create a data file using the readme as a guide.

I know with 3.0 coming you don't want to spend too much time on things that won't work with it, but will vbHacker have an uninstall capability at some point?

Of course I can do it manually. :)

alexwriting
03-23-2002, 01:09 PM
Wow... that's like science fiction. Dude... you have looked into the future! THAT'S putting the computer to work, not me! Thanks for this.

:)

Webmasta XT
03-23-2002, 05:15 PM
ok, for people looking for quickreplybox.hack.php
I have made it.. Download this file and run it with vbhacker, I take no credit for making the hack, But this is just to go with the vbhacker.. FireFly made the hack, and I made it so it can work with vbhacker... ENJOY!!

Edit: I fixed the file.. it had some problems.. lol
well it should work perfect now.. it did work perfectly for me.. and don't forget, You must CHMOD all the files that are going to be edited to 777, or you won't be able to get to work.. Basically showthread.php needs chmoding.. for this hack, Good Luck!

Lanigironu
03-23-2002, 05:34 PM
That's a great tool! It's spelled "success" though.

Dalius
03-23-2002, 06:13 PM
Originally posted by Lanigironu
That's a great tool! It's spelled "success" though.

Did you do it?
I mean install the hack

lol

Robert Basil
03-23-2002, 08:42 PM
Originally posted by wooolF[RM]
yep, I understand it's pretty much...
For example I can take your hack "Number of new replies per thread on forum display" that is specially designed for vbhacker.
U have a code there that inserts <b>Replies<br>(new / total)</b> into one of templates.
Now...What if I don't like to have text Replies to be bold? Or maybe I have not-english spoken board, or I want to change text Teplies to Answers (just as an example, don't take it serios).
If u want to make it different as I have wrote before, u will have to edit template anyway those making vbhacker a tool, that make all boards like others.
Got main idea?

Some people have to whine about everything. If you don't like the hack don't install it. Enough said.

Reeve of shinra
03-23-2002, 09:17 PM
Is it me, or did Firefly say something like 'yeah ill take a shot at it over my break' then a day later put this out?

very cool though, and great if your loading this upto a test board before your prodution site!

Jawelin
03-23-2002, 09:39 PM
Chen, great job and idea!
Of course it will make things much easier and should multiply hacks installed on each board.

This reason, main problem I can see from here now is : what would be the behavior of vbhacker dealing with already hacked code it doesn't recognize when searching for text to replace ?
Increasing the number of blinded-eye installed hacks, I fear the number of unexpected (unpredictable) LOCs by the single n-number hack (because it couldn't know the n-1 hacks installed before...) could increase exponentially.

But it's the industrial revolution law .... !!!!
:) :) :) :) :)
Here we have the steam machine !
Thanks a lot for this new philosophy, btw.


Note for many users in this thread: I love this new deal, absolutely. I would only point out the most important goal of this forum should be to increase the knowledge about vb php/template scenarios, not to have 200+ hacks self-installed. Remeber that everyone had to upgrade all of them on any new release without even knowin how to edit a file....

This is my own PoV, of course ....
:knockedout:

feldon23
03-23-2002, 09:49 PM
Jawelin originally said:
This reason, main problem I can see from here now is : what would be the behavior of vbhacker dealing with already hacked code it doesn't recognize when searching for text to replace ?
Increasing the number of blinded-eye installed hacks, I fear the number of unexpected (unpredictable) LOCs by the single n-number hack (because it couldn't know the n-1 hacks installed before...) could increase exponentially.

It gives you a very clear, nicely done error report telling you which pieces could not be installed.

I think the key here is try to make the matchtext as short as possible, so that one hack is less likely to render another hack uninstallable.

If there's one thing that's missing, it's the ability in the script to set which # occurrence of a certain string to match and replace.

For instance, the Quick Reply box. I only like it at the bottom. There's no easy way to make vbHacker find which occurence you want to change.

bonnmac
03-24-2002, 11:42 AM
I just wanted to say thanks a million for this script! I'm new to VBB and am still learning the art of hacking. I've found this to be very useful to me and have used it to install 2 hacks very easily. I hope that everyone will start to use this to make their hacks. It makes installation for us total newbs so much easier. Thanks again.

Jawelin
03-24-2002, 12:43 PM
Originally posted by bonnmac
I just wanted to say thanks a million for this script! I'm new to VBB and am still learning the art of hacking. [...]
It makes installation for us total newbs so much easier. Thanks again.

Exactly what I said... :speechless:
What VB version are you using, Bonnmac ?
When u shall upgrade it and noone will publish quick the vbhack script ?
I definetively think that - before touching code and templates - anyone should give them a SERIOUS look.
:cheeky:
As said, btw, already installed this revolutionary hack me too
:cool:

nafae
03-24-2002, 02:56 PM
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

vertex
03-24-2002, 05:04 PM
wow thanks, best script of the year.

NYI Fan
03-24-2002, 06:11 PM
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 ;)

hypedave
03-24-2002, 06:21 PM
hey guys lets give firefly some time, im pretty sure he will answere our request for the backup feature :rambo:

Kyomu
03-24-2002, 09:23 PM
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

Admin
03-25-2002, 04:48 AM
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).

Jawelin
03-25-2002, 07:17 AM
Originally posted by FireFly
Thanks everyone. :)

you must have the forums folder chmoded 0777 (which is actually better, because I can use the script to chmod the files itself... hmm).

Does it exist any other way to run VBulletin ? :nervous: :eek:
Mine worked (Linux shared server) only with such a MOD setting.

Just another request (see above (https://vborg.vbsupport.ru/showthread.php?postid=232216#post232216)), 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

Wolf42
03-25-2002, 12:13 PM
I got to get access via AdminCP:

Add this code in admin/index.php
// ***
makenavoption("Add Hack","vbhacker.php","<br>");
makenavoption("Make Hack","vbhackmaker.php");
makenavselect("FireFly's Hackinstaller","<hr>");
right after:
if ($debug==1) {
makenavoption("Download Set","template.php?action=downloadset","<br>");
makenavoption("Upload Set","template.php?action=uploadset","<br>");
makenavoption("Do <img> Tags","template.php?action=imgtags");
}
What do you think?

Ups: Don't work! Just tryed on my boards.
But I don't know why. Any ideas?

Admin
03-25-2002, 02:37 PM
Just released version 1.0.1 of vbHacker, which includes the backup utility you have asked for. :D
A new vbHackMaker is coming as well...

Admin
03-25-2002, 02:41 PM
Alright new vbHackMaker is out too. Look at the first post in the thread for more info. :D

Originally posted by Reeve of shinra
Is it me, or did Firefly say something like 'yeah ill take a shot at it over my break' then a day later put this out?
Hmm yeah, something like that. ;)

Jawelin
03-26-2002, 09:11 AM
Originally posted by FireFly
Just released version 1.0.1 of vbHacker, which includes the backup utility you have asked for. :D
A new vbHackMaker is coming as well...

Hi, FireFly.
Nice and useful upgrade, and within a day from the request !!! ;)
So I'm here to renew mine, if possible (or simply if you can give me an hint to do it myself if you don't want to include it out-of-the-box).
Just asked if possible to have an html/txt output of the changes (the complete list) the script is going to apply, instead of checking later comparing the original and changed files, templates & DB. I.e., as said in Post #67 (https://vborg.vbsupport.ru/showthread.php?postid=232638#post232638), an intellectable version of the encapsulated *.hack.php.
I just went out from the upgradeXX.php scripts and got crazy to findout all updates, so wouldn't replicate that effort installing each new hack... I'd like to understand what's happening. :)

Another question: do you think it could be possible to put the vbhacker.php and all *.hack.php scripts in a stand-alone directory under the forum/admin/ ?
Also the backupped files could be put in forum/admin/vbhacks/backup, for instance.
This for clean reasons and this way a full hack history would be kept on the server...

Thank you very much.

Bye

Admin
03-26-2002, 12:18 PM
You can see a text version of the hack right in the beginning, just select "Generate text file" in that radio button. :)
And I'll think about having everything in its own folder. :)

Jawelin
03-26-2002, 02:04 PM
Thanks, my Mr. Beyond
:)

TECK
03-26-2002, 10:31 PM
if i'll be a girl.. i'll say: muahh muahh muahh.. hehe. great job firefly. it will help some of us.. ;)

Erwin
03-26-2002, 11:51 PM
Originally posted by freddie
Oh yes.

Darn it! My worst fears are confirmed! :) Will have to figure out how to port over hacks when v3.0 comes then...

Issvar
03-27-2002, 04:36 AM
I have just tried to make a hack in this program (v1.01), and then convert it to a text file again, but it misses my mysql query... Can you check if this is an error on my part or perhaps an error in your program?

In the attached 31KB zip file there are 4 files:
usersthreadviews.as.it.should.be.txt - This is how I wrote my hack myself, and is not automated.
usersthreadviews.by.vbhacker.txt - This is the text file vbhacker made of it.
usersthreadviews.hack.php - This is the encoded hack file.
vbhacker.screen.gif - A screenshot of me entering data, so you can check if I made errors in there.

Admin
03-27-2002, 05:48 AM
Issvar: That's a problem with the textfile function in vbhacker.php, I forgot to parse queries there. Fixed that, uploaded the new file to the first post. :)

Admin
03-27-2002, 05:51 AM
Also debugged vbhackmaker.php and uploaded a new version.

Admin
03-27-2002, 05:56 AM
And another fix to vbhacker.php (first post). The script backed files up multiple times, causing the backup to be hacked itself! Fixed now. :)

Cocomiel
03-29-2002, 01:47 AM
Thanks for this great hack, this will save a lot of time after upgrade.

how about an uninstall feature?

Smellycat
03-31-2002, 08:19 PM
I tried converting one of your old posts into a install.hack.php

this was the guest unable to view threads/ edit showthread.php

but it did not seem to be able to edit the files, did i do this right?

it fails and will only edit one occurance of the variable

Any ideas?

or did i just do this all wrong?

I was testing it with a simple example, just to se how it worked.

Thanks

bitbender
04-01-2002, 11:39 PM
Take it from just another mainframe OS guy, burned out on assembler code, and years of maintenance application to operating systems(not unlike application of hacks, either).

This is a GREAT step towards easy application/regression of code!!

Most errors I have is from blinky eyed application, late at night!! Or that oft time when I convinced myself "I know it'll work, it's an EASY one!", and didnt take a backup (ok, rare, but I have my lapses)!!

Not that I will EVER stop reading code, either!! Now, with hackmaker and VBhacker I can really be FREE !!! :lick:

You folks do MORE than good a job !

Jawelin
04-02-2002, 08:36 AM
Originally posted by Jawelin
[...] do you think it could be possible to put the vbhacker.php and all *.hack.php scripts in a stand-alone directory under the forum/admin/ ?
Also the backupped files could be put in forum/admin/vbhacks/backup, for instance.
This for clean reasons and this way a full hack history would be kept on the server...


Originally posted by FireFly
You can see a text version of the hack right in the beginning, just select "Generate text file" in that radio button. :)
And I'll think about having everything in its own folder. :)

If I used a custom directory below the admin folder, do you think it should be enough simply to add a '../' just before any file path reference within vbhacker.php ? :eek:
Of course, that dir itself should be moded to 777, shouldn it ?

Thank you very much.

Bye

Mutt
04-02-2002, 10:41 AM
I have a wish list for the next version. Not that it needs anything because it's already great, but if you were looking for new features anyway :)


put the .hack.php files in thier own dir (we'll leave them there instead of deleteing)
have the script save your new hack as a .hack.php file in that same dir
create a log of which hacks were installed and when
put an unistall link next to each item in the log. the uninstall would run the install script backwards removing each component.
add a comments field to the hack maker. this would be displayed to the user when they were installing the hack
maybe add a discussion thread url field
give the script an option to CHMOD 777 files before and CHMOD 644 after the hack install


I can't think of anything else. Definatly most important hack ever! Thanks again

The Keeper
04-02-2002, 10:47 AM
vbHackmaker totally stuffed up my hack (put slashes all through it) causing errors. (see nuke hack thread)

cditty
04-02-2002, 11:07 AM
How does this hack work with php3 extensions? All the references I see show php.

Chris

Admin
04-02-2002, 11:11 AM
It doesn't, Chris.

cditty
04-02-2002, 11:29 AM
bummer.

Chris

Admin
04-02-2002, 11:31 AM
Do people still use PHP3? Wakey wakey. ;)

cditty
04-02-2002, 11:33 AM
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

roscoluxxx
04-02-2002, 10:51 PM
Have either of these been used on 2.2.5?

Vivi Ornitier
04-03-2002, 01:28 AM
all I can say is this hack 0wnz!!

thanks Firefly

Zaphod
04-03-2002, 03:24 AM
Could you add a notes section to your files where you could list the xtra php files if there are any? It could also be usefull for notes about versions etc.?

cditty
04-03-2002, 11:01 AM
One suggestion....Instead of dropping all the hack files in the admin directory, I would prefer to have a "hack" directory and put them there. It would help keep the admin directory less cluttered.

Just a thought.

Chris

orozery
04-03-2002, 11:43 AM
Nice hack FireFly :)

Altough installing hacks is not as hard as uninstalling hacks ;)

John
04-03-2002, 03:08 PM
This would be brilliant - but it never works for me!! I always get errors:

Fatal error: Call to undefined function: wordwrap() in /home/eovie/public_html/forum/admin/vbhacker.php on line 449
(On the third page)

Warning: Variable passed to reset() is not an array or object in /home/eovie/public_html/forum/admin/vbhacker.php on line 278
(On the second page, a different hack)

I haven't managed to get any hack working properly with this. And yes, all directories were set to 777 (and files)

Help?!

Admin
04-03-2002, 03:34 PM
You must have PHP 4.0.2 and higher to use this, since it's using wordwrap().

John
04-03-2002, 04:53 PM
Uh oh, reply by email didn't seem to work :(

Apparently I'm running the latest version of php <confused>

Rose
04-03-2002, 05:13 PM
How do you know which version of php you are using?



And a side note - by setting the file/folder permissions to 777, does this pose a threat to the integrity of security? I don't know a lot about it. :s


I got the vbhacker workign beautifully - love it! Thanks, Chen. however, I don't seem to have the 'multiple reply' hack workign (via vbhacker), though this isn't the place for that. :D Thanks again!

John
04-03-2002, 05:14 PM
Well, my hosts tell me I'm running version 4.1.2, which by my maths suggests I pass the 4.0.2 minimum...I think. <scratches head>

Any ideas?

merk
04-05-2002, 01:41 AM
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 :)

amykhar
04-05-2002, 04:36 PM
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

John
04-05-2002, 04:51 PM
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.

el3m3nt
04-05-2002, 05:14 PM
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 :).

NTLDR
04-05-2002, 05:25 PM
Have you got the xxx.hack.php in the same directory as vbhacker.php and vbhackmaker.php? Which should be your forum/admin directory.

el3m3nt
04-05-2002, 05:29 PM
jap.. i tried it also on my online server.. same result :/

NTLDR
04-05-2002, 05:54 PM
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)

el3m3nt
04-05-2002, 05:58 PM
hmm.. yep you are right.. the file u attached works. thank you.. then i know where the mistake is.

thanks :).

NTLDR
04-05-2002, 06:07 PM
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.

Smoothie
04-05-2002, 11:24 PM
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/showthread.php?s=&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

GameCrash
04-06-2002, 07:07 AM
Hm... some weeks (or months?) before I offered to create such a tool... nobody wanted it...

Smoothie
04-06-2002, 07:19 AM
Well, I don't need vbHacker, I just need the plaintext file it creates so I can install the hack.

timecode
04-06-2002, 06:43 PM
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?

Admin
04-07-2002, 11:11 AM
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.

ja5es
04-07-2002, 11:01 PM
Ahhhh... This is nice. Thanks a lot FireFly!

fastforward
04-08-2002, 03:06 PM
Originally posted by FireFly
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.
Just FYI... I tried to package my hack using vbHackMaker and I also had the added slashes problem. The problem occurs with or without magic_quotes_gpc on. magic_quotes_runtime is set to off if that makes a difference.

andrew67
04-09-2002, 02:51 PM
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
:D

Alfo
04-09-2002, 04:08 PM
Originally posted by Wolf42
I got to get access via AdminCP:

Add this code in admin/index.php
// ***
makenavoption("Add Hack","vbhacker.php","<br>");
makenavoption("Make Hack","vbhackmaker.php");
makenavselect("FireFly's Hackinstaller","<hr>");
right after:
if ($debug==1) {
makenavoption("Download Set","template.php?action=downloadset","<br>");
makenavoption("Upload Set","template.php?action=uploadset","<br>");
makenavoption("Do <img> Tags","template.php?action=imgtags");
}
What do you think?

Ups: Don't work! Just tryed on my boards.
But I don't know why. Any ideas?

Doesn't Fix what you have done but is a alternative:
In .admin/Index.php Look for:
<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>&raquo; Useful Links &laquo;</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>

And Just add :

<option value="http://xxx.xxx.com/admin/vbhacker.php">VB HACKER</option>
<option value="http://xxx.xxx.com/admin/vbhackermaker.php">VB HACKERMAKER</option>


It works.

Also Thanks to Firefly for a user friendly addition:)

GOD-Dblade
04-10-2002, 09:03 PM
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 ().

Kengan
04-10-2002, 09:55 PM
Love it ! thanks ! :cool:

Alfo
04-10-2002, 10:15 PM
Originally posted by GOD-Dblade
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 ().

I think the hack has to be written for your current version, could you add more information like what hack you were trying to install?

Logician
04-11-2002, 09:56 AM
I am impressed! This is a very nice add-on and should be default in vbulletin releases in the future..

I am surprised nobody has commented about the most important benefit of using this system: It makes upgrading the vbulletin very easy! It's now a pain to read an anouncement that vbulletin has a new version especially if your board was heavily hacked. But if all hack writers comply with this standart, there will be no concern in upgrading your board anymore.

I'll try my best to publish my upcoming hacks with vbhacker maker.

Congratulations!

Regards,
Logician

Ps. After getting used to it, I may post a few tips or suggestions for the next releases. ;)

Logician
04-18-2002, 01:22 PM
Firefly, can you please check what am I missing here:

I'm trying to replace template "email_pmboxfull" for a hack I'm trying to convert into vbhackmaker.

Template has this data:
-- cut --
$touserinfo[username],

$bbuserinfo[username] has just tried to send you a private message. However, your private messages box on $bbtitle has reached the specified quota. In order to receive further private messages, you must delete some messages. Please visit this page to do so:
$bburl/private.php

Thanks,
$bbtitle team
---cut --

I copied&pasted this data from the original template to vbhackermaker 3 times, trying to be careful about trailing space or smt.

However I cant make vbhacker replace the data with the new code. I receive "The code needed in the "email_pmboxfull" template in the "Default" template set was not found." (and I'm trying to replace "default template" while applying the hack). Am I missing smt. or might there be a tiny bug here?

Regards,
Logician

Jawelin
04-18-2002, 04:21 PM
Originally posted by Jawelin
If I used a custom directory below the admin folder, do you think it should be enough simply to add a '../' just before any file path reference within vbhacker.php ? :eek:
Of course, that dir itself should be moded to 777, shouldn it ?

Thank you very much.


:nervous: I'm here again... just to make some kind of order in my /admin/ directory.... I'd prefer an /admin/vbhacker/ very much.
Should it be hard ?
:mad:
Thnx

Mutt
04-24-2002, 03:39 AM
Love vbhacker and wanted to contribute. I was playing around with vbHackMaker today and tried adding 2 things to it.

when editing a hack you have to type in the name of the file. I grabbed some code from vbhacker and now it lists all available hacks instead. that way you can just pick it from the list.

after you make a hack you have to manually save the text to a .hack.php file. now you can just submit the last form and it creates the file for you in your admin dir. there is no error checking involved when writing the file. someone might want to put in some checks. (grabbed code for vbhacker to do this as well.)

of course, I've included a vbhacker file :)

DWZ
04-27-2002, 02:55 AM
Someone think they can help me?

I have installed vbHacker and wish to install the Users browsing this thread hack. I have copyed vbHacker to my /forims/admin/ directory and set the entire /forums/ direcotry (and all sub-folders) to chmod 777.

When I went to run vbHacker, i selected the Users browsing this thread hack and hit "install" I then told it to do everything, in the next screen, im told it cant edit the files and It needs chmod 0777 or something. Any ideas what I have done wrong?

Oh, and last thing, is it save to keep chmod set to 777? I mean, some idiot user cant come around and do something with this new chmod?

Thanks,

Alan

JTMON
04-27-2002, 02:49 PM
finally installed this and using on 2.2.5 with Portal, works great. You truly ARE the PRESIDENT!:D

DWZ
04-30-2002, 10:58 AM
Originally posted by DWZ
Someone think they can help me?

I have installed vbHacker and wish to install the Users browsing this thread hack. I have copyed vbHacker to my /forims/admin/ directory and set the entire /forums/ direcotry (and all sub-folders) to chmod 777.

When I went to run vbHacker, i selected the Users browsing this thread hack and hit "install" I then told it to do everything, in the next screen, im told it cant edit the files and It needs chmod 0777 or something. Any ideas what I have done wrong?

Oh, and last thing, is it save to keep chmod set to 777? I mean, some idiot user cant come around and do something with this new chmod?

Thanks,

Alan *bump*

KuraFire
04-30-2002, 03:43 PM
Amazing, the brilliance of this thing....

:up:

Well done, FireFly :)

DWZ
05-02-2002, 03:20 AM
Originally posted by DWZ
*bump* aww...

come on, please, anyone?

TalkHardRandy
05-05-2002, 09:01 PM
Here's on for you hacker like gods...

I installed VBHacker & my first installed hack was the Mulit-Quote hack. Well, since my ISP doesn't allow telnet to the server, I have to do the PHP mods manually. I get through to the last step & have a new Multi-Quote hack installed... but I can't get back to see the list of other hacks. It's just stuck there... no forward... no backward... no nothing...

Any ideas how to reset vbhacker.php to accept a new hack?

Smalley
05-07-2002, 02:08 AM
when we can expact vbhacker version 2.2.5 ?!?

Thanks

DWZ
05-13-2002, 09:06 AM
I still can't get this to work :(

I set my admin cp directory to CHMOD 777 yet it still cant edit files...

Here is my phpinfo if you need it... http://www.consoleradar.com/phpinfo/

Admin
05-13-2002, 11:01 AM
You must CHMOD every .php file.

DWZ
05-17-2002, 11:08 AM
Originally posted by FireFly
You must CHMOD every .php file. oh

OK, well, i did that and its working fine :D

Thanks FireFly

Brad
05-17-2002, 11:47 AM
chen ive been meaning to rpely to this for awhile but keep forgetting, i love this man, its better then using multihack, i love your work and hope your around for a loooong time :), keep up the good work man, you know we love ya for it :bunny:

FleaBag
05-21-2002, 11:40 AM
Isn't CHMOD'ing every file a security risk? I thought 777 would allow for harmful access to my files?

Admin
05-21-2002, 11:42 AM
It is a security risk, but you should CHMOD the files back after you are done.

FleaBag
05-21-2002, 12:02 PM
I'd always been a little wary about installing this on my site for some reason, I came accross some hacks that only have vbhacker versions and I just realised what I've been missing out on! Running smoothly on 2.2.5. Thanks FireFly! :)

FleaBag
05-21-2002, 12:08 PM
FireFly what should I CHMOD them back to?

Admin
05-21-2002, 12:29 PM
644 (rw-r--r--).

FleaBag
05-21-2002, 12:37 PM
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. :)

DelusionalMind
05-24-2002, 06:58 AM
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)
Warning: Unterminated comment starting line 755 in /home/sites/site43/web/forum/admin/vbhacker.php on line 755

2) When I open up vbhacker.php, I get the error message above, as well as:
Warning: Cannot add header information - headers already sent by (output started at /home/sites/site43/web/forum/admin/vbhacker.php:755) in /home/sites/site43/web/forum/admin/functions.php on line 1548

Why is it doing this? Sorry if this has been asked already...i looked around but didn't see anythin. Thanks!

Mone'
05-28-2002, 09:42 AM
Thx for this one
installing hacks is so easy with this ;)

but i still get this error message :


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'

sidhighwind
05-30-2002, 07:04 PM
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 :cool:

sidhighwind
05-30-2002, 08:05 PM
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

Dolamite
06-04-2002, 12:29 AM
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?

Kinox
06-10-2002, 03:27 AM
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...

Derek
06-18-2002, 10:46 AM
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:
makenavselect("Options");


Add:
// ***
makenavoption("Add Hack","/admin/vbhacker.php?","|");
makenavoption("Make Hack","/adminvbhackmaker.php?");
makenavselect("vbHacker | vbHackMaker","<hr>");


Just want to help those of who never got it added in to their Admin CP correctly.

FleaBag
06-19-2002, 06:50 PM
Working great on 2.2.6, thanks! :)

Admin
06-20-2002, 05:09 AM
You again! :eek:

FleaBag
06-20-2002, 09:18 AM
Me?! I'm sorry... I just get these hacking urges... :(

Kinox
06-25-2002, 05:38 AM
Version: 1.0.2
vBversion: 2.2.6.

Well, I got tired of waiting for an updated version that fixs many things like:

General look...
magic_quotes - duble "\\" in hackmaker when you try to edit something...
More options...
auto hack generation...
+ more...

Anyways you can use this or not... I wrote this update for personal use only...

And this version dose not work on .hack.php hacks made by vbhackmaker v1.0.1...

BTW
I give no support on this...

[edit]
FIX to vbhackmaker, it had a bug that I just found...
Please redownload the zip file...

[edit] - Important FIX
Added .htaccess to correct duble slashes, all in zip file... +vbhackmaker code fixs...

Enjoy!

Kinox
06-25-2002, 05:39 AM
Screen:

globalwin
06-25-2002, 06:03 AM
looks mint, thanx :D

scsa20
06-25-2002, 06:23 AM
this looks promiseing, I'll try it ;)

pattox2k1
06-25-2002, 09:13 AM
wait is there any diff between the versions????

Chris M
06-25-2002, 09:58 AM
Yes...

This version looks better:)

Satan

Admin
06-25-2002, 10:10 AM
Merged...

DestyNova
06-26-2002, 10:10 PM
Kinox

You re ... er... ah... arrhg.. oh yeah, god!

I was disappoint that Firefly's hack doesnt work on my host server since my server refuse to turn off the magic_quotes_gpc so I have no choice until now...

Thanks Firefly for making this cool hack and thanks Kinox to roll your sleeves and fix it up. It is beautiful work, indeed! thanks! :thumb up:

=install=

Kinox
06-27-2002, 04:43 AM
Thanks, here are few fixs to the vbhacker + vbhackmaker...

Boofo
06-27-2002, 05:19 AM
Is there any way to add the ability to have this work on files made by Firefly's version? It would be great if we could move on to this one and not have to use both of them. :)

Originally posted by Kinox
Thanks, here are few fixs to the vbhacker + vbhackmaker...

DestyNova
06-27-2002, 05:22 AM
hm? what kind of fix? Can I update from that or I have to uninstall and reinstall with new one? =\

Kinox
06-27-2002, 05:30 AM
just overwrite all files with the ones in zip : )

very simple...


Is there any way to add the ability to have this work on files made by Firefly's version? It would be great if we could move on to this one and not have to use both of them.


umm... nope, I dont know how... I made this for my personal use only...

Cruz
06-27-2002, 08:07 PM
this one still being used??

ForKmaN
07-01-2002, 07:53 AM
Um this is confusing..

Is there a file which is just plain vbhacker 1.0.2 ?

Kinox
07-01-2002, 08:23 AM
what?

mbcguru
08-21-2002, 09:33 PM
OK, really silly question,

Never mind. I answered it myself. LOL.

futureal
09-01-2002, 05:25 AM
Kinox: I still have the same problem with your version that I had with FireFly's version.

When I create a hack from scratch, it seemingly works just fine.

When I *edit* an existing hack, the file it creates does not work at all.

vbhacker.php gives this error:

Warning: Variable passed to reset() is not an array or object in /home/pro-stud/public_html/testforum/admin/vbhacker.php on line 291
Warning: The vBulletin version you are currently using (2.2.6) does not match the vBulletin version required by this hack ().

Am I doing something wrong? I just added a hack that had 9 edits, 19 templates and 4 queries and now the file is toast. :(

futureal
09-01-2002, 05:39 AM
Alright, I take that back... sort of.

When I cut & paste the file out of there, it didn't work. BUT, when I did chmod 777 on my admin dir and chose the "Save Output" option, it *did* work.

I have no idea why, but if it works, I'm happy! heh

FleaBag
09-03-2002, 01:42 AM
Working with 2.2.7, thanks. :)

Mono
09-16-2002, 02:57 PM
Nevermind figured it out. Yay this is prolly most usefull thing I've seen in awhile. Thanks Chen

cpradio
10-27-2002, 11:29 PM
Bug.

If you leave the Number of File Changes to 0, the Number of New Templates to 0 and set the following to fields with values other than zero it wont allow you to continue the hack process.

-Matt

BTW, excellent utility

FleaBag
10-28-2002, 10:25 PM
Working well with 2.2.8. Thanks again! :)

Dynamic One
11-10-2002, 06:32 PM
Thanks for this will load it up right now :).

underburn
11-15-2002, 01:33 AM
By FAR The BEST Stat Hack Out There.... All The Info It Provides Is CRAZY! Awesome Job :)

Warhawk686
12-06-2002, 11:46 PM
Fatal error: Call to undefined function: getrowbg() in /usr/local/psa/home/vhosts/forum.gamingprotocol.com/httpdocs/admin/vbhacker.php on line 224

I keep getting that error when i try to run vbhacker.php

I have vbb 2.2.8 PLZ HELP! THANKS

kincaitos
12-07-2002, 06:34 PM
never mind*

grog6
12-15-2002, 09:21 PM
Vbhacker works great but I've a small problem with the vbhackmaker.php (which is not distributed in this thread ?)

So, when I create a new hack, if there is a " in a field, it will create a xx.hack.php file but it will replace this " by \"

I searched rapidly in the vbhackmaker.php file and didn't find any addslashes function :(

Can somenone tell me how to correcti it ?

Thx

mak
12-28-2002, 11:30 PM
how can i chmod???? where do i access that? >>newbie q. << hehe. thanks.

i have change the permissions on my control panel for the whole folder (e.g. forums and admin folders) but when i check again, it will revert back. not 777. ?????

also, when i stil go ahead and install, example. stars.hack.php--- it will say the version does not match my vbulletin version 2.2.8---

also, it'll take me to the manually edit files....

am i doing something wrong??????????

please help. :(

rburns
02-01-2003, 07:36 AM
I use 2.2.9 and it comes up with this error:

Warning: Variable passed to reset() is not an array or object in /home/virtual/site143/fst/var/www/html/forums/admin/vbhacker.php on line 278

anyone help please?

WannabeArtist
02-14-2003, 10:40 PM
And here a version that works for 1.0.1 and 1.0.2 hack files. :)

version2
02-24-2003, 03:04 PM
Is this hack working with 2.3.0

My experience says no, but I want to make sure.

FleaBag
03-10-2003, 08:52 PM
Finally got this working 100% [it's best to manually do the editpost template edit], and on 2.3.0!

Davey
03-23-2003, 10:27 PM
I created my copyrights update automatically hack in vbhackmaker.php, that worked ok, then I installed it with vbhacker.php, got to the end (where I had to do a manual edit), and it came up with this:
Parse error: parse error in c:\phpdev\www\public\forums\admin\global.php on line 218

Fatal error: Call to undefined function: cpheader() in c:\phpdev\www\public\forums\admin\vbhacker.php on line 219
Any ideas?

Dave.

PS: I get the feeling it has something to do with the fact one of the file edits was admin/global.php itself.

Lethal
03-28-2003, 03:52 AM
I am using vbhacker102b and vbhackmaker102 and when I go to both of them no hacks show up to select from and I know they are there and I get this error:

Nicht oldhack!!!
Warning: Variable passed to reset() is not an array or object in /htdocs/www/forums/admin/vbhacker.php on line 299
Warning: The vBulletin version you are currently using (2.3.0) does not match the vBulletin version required by this hack ().

Same error I got when I was using the old vbhacker and vbhackmaker. For some reason I just could never get these to work. I would like them to work because some people release their hacks in just vbhacker files.

csidlernet
04-20-2003, 10:59 PM
sweet hack thanks firefly!

Buffalo
04-28-2003, 02:51 PM
Why does it read "I have no hacks to install" when in fact I do??

Lethal
05-22-2003, 10:09 AM
same here

VenusaurusVex
06-08-2003, 07:46 PM
Same here. :(

Joel Llewellyn
06-15-2003, 02:07 PM
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/m...generalinfo.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!


Attachment: vbhackmaker.php
This has been downloaded 517 time(s).



Im sorry, i guess i dont understand this cuz your screenshot links just take me to the vb.org homepage! So like what do i do to run vbhacker? Like upload something or give it some info about the hack i want to install? i dont get xxx.hack.php either, im sorry

Kane Da Don
06-29-2003, 06:35 AM
04-28-03 at 04:51 PM Buffalo said this in Post #188 (https://vborg.vbsupport.ru/showthread.php?postid=388436#post388436)
Why does it read "I have no hacks to install" when in fact I do??

i think you have to put the hacks in the admin folder with the vbhacker.php file is worked for me


To FireFly:

Nice Hack i like it but i just got one question my test board is on my computer and i have everything running right on it and i also have norton witch scans anything that goes in or out of my computer with that says when i log on to the VBHacker.php to test it out i saw that my nortons email scanner going off first i thought it was just and old email on my comp that wasnt sent but then i refreshed it again and it did it again then i loged with VBHackermaker.php to and it did the same thing i am just wondering what email is it sending and to were is it sending it??

NOTE: i am not saying nothing bad i am just wondering what it is doing?

Thank you for your time and keep up the good work FireFly

IllNation
06-30-2003, 04:59 PM
does this work with lesanes store hack? if so ill cream my pants!

proxyMX
07-12-2003, 05:16 PM
does this work with 2.3.0 ?

Shuriken-UK
07-12-2003, 08:11 PM
None of the images will work for me so im at a loss with this - :( where do i put the hack files? (as in hacks ive downloaded)

Kane Da Don
07-12-2003, 08:28 PM
Today at 10:11 PM Shuriken-UK said this in Post #195 (https://vborg.vbsupport.ru/showthread.php?postid=417287#post417287)
None of the images will work for me so im at a loss with this - :( where do i put the hack files? (as in hacks ive downloaded)

well i am not support but wat i found out is that you put the "name.hack.php" files in your admin folder were vbhacker is at then you go into vbhacker like normal then you will see the file name their and you just select it and press install hope this helps you out

Shuriken-UK
07-12-2003, 11:21 PM
ahah! thanks :)

bmroyer
03-23-2005, 12:36 AM
wtf?

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@unknownwriters.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

in admin folder, where do I upload the hacks? And what is that error?

GoTTi
11-27-2005, 12:02 AM
can this be converted to 3.0.x?

Andreas
11-27-2005, 01:02 AM
It could ... but 3.0 Hack development is almost dead laready.
3.5 is the way to go, and does not need file edits in most cases anyway :)

GoTTi
11-27-2005, 01:46 AM
i know but im stuck in the 3.0.x world for now and need some lovin over here ;(

if u can do it please do. im sure its not hard for the skilled....

what i need is a mass .php installer, like this. im wanting to add more games to my v3arcade and its a hassle to do each game.php file to install em.

amykhar
11-27-2005, 01:51 AM
choke! You're sure it's not hard for the skilled?

GoTTi
11-27-2005, 03:16 AM
the skilled....the l33t....the ones that make me wet my bed while dreaming of new hacks and addons and goodies to look forward to each time i load vbulletin.org