How To Install a vbulletin Hack: Guide to Newbies.
If you are new to vbulletin hacks, dont know how to apply a hack, instructions of the Author does not suffice to you or you still have difficulties and questions while applying a hack, I hope this "general guide" can help you a bit:
Let's begin with CRUCIAL tips, shall we? BEFORE HACKING: 1- Before applying a hack do not forget to backup! This is the most important part of a hacking experience. If you backup properly, you dont need to worry about the consequences of applying any hack. Even if you do something wrong or the hack is buggy or conflicts with your board, you wont lose anything by trying it out. Doesnt it work? Just revert to your backed up board and you are safe. You need to back up 2 things:
WHILE HACKING 1- Follow the hack author's instructions carefully. When it comes to coding, it REALLY matters if you miss or add an extra "dot" or even single "space" character. Therefore it's important to apply the hack verbatim, very carefully and without rush. 2- If the hack instruction asks you to edit a vbulletin file, use a TEXT EDITOR program to edit. Old "Notepad" will be your best friend when it comes to hacking. Do NOT use HTML programs such as Frontpage, DreamWeaver or Word Processing Programs such as MS Word, StarOffice to edit your files. If you know what to do, these programs can manage hack editing too, but if the settings of the programs are not properly configured, they can make unwanted modifications in the file you edit which results in errors (usually parse errors). However you will ALWAYS be safe with your Notepad, so try to use it whenever possible while applying the hacks. 3- If the author asked you to find a line in the code, use "Find" feature of your editor (You are using NotePad, dont you?) ;) So you dont need to go through the entire text manually. 4- If you find the part which requires editing via "FIND", do not immediately apply the hack. Click [F3] (In NotePad) to extend your search and make sure there is only 1 occurence of the searched text in the file you edit. For example, if the author asked you to find the code $array=$b; there can be 2 or more of the same line and modifying the wrong one will cause unwanted results. Although it's Hack Author's responsibility to double check this, it will not hurt if you make sure that given line is unique in the code. 5- After you find the place you will modify, be very careful about Author's command: Does he want you to
6- If the author asked you to add a code AFTER or BEFORE a certain line, this means that you need to add this new code AS A NEW LINE (if not told otherwise). Let me demonstrate on an example: If author asked you to find the code: PHP Code:
PHP Code:
PHP Code:
So this is right: PHP Code:
7- Try to copy paste from the hack text to your vbulletin code, instead of writing the code manually. This is the best method of applying a hack in most cases. However if you got "PARSE ERRORS" after installing your hack, this is sometimes because of COPY/PASTE process (especially if you are using OPERA as a browser and you copied from your browser window). In this case revert to your back up file and reapply the hack but this time by typing the code by hand (applies to small hacks only). Needless to say be very careful about what you typed and double check you didnt write even 1 character wrong. 8- After you made the necessary changes in the file, you need to upload it to your server. While uploading it via a FTP program make sure it's uploaded as an ASCII file, not a BIN file. (Applies files with .php extensions, ie all vbulletin scripts) 9- I have been asked many times so I'll give this tip here: If you need to modify the hack code to insert a "usergroup id" and if you dont know how to find it, here is how: Admin CP/User Groups/Modify will list all existing usergroups in your board. To learn the id for one of them, choose edit, RIGHT MOUSE click/Open in new browser Window then check your address bar, you'll see it at the end of line as usergroupid=X. That's the id you are looking for. Same tip works for finding forum ids, user ids etc. Just find the "edit" page of the info you need to learn its id, and open it in a new browser window. 10- Sometimes a hack may require you run a SQL command. Before running SQL queries in your MYSQL database make sure you backed up your database. To run SQL queries you have 3 options:
AFTER HACKING: YOU INSTALLED THE HACK AND IT DOESNT WORK: Ok dont panic! We'll get you out of trouble:
YOU INSTALLED THE HACK AND IT WORKS: Ok so you are done, right? No you are not! :) 1- Archive the hack you applied. If its instruction is an attached file, save it somewhere in case you need it in the future. 2- Post in hack's thread and say hack works for you without any problems and mention about your vbulletin version. Do this especially if you are one of the first to try this hack or if anyone else havent mentioned that hack works with the version of vbulletin you use. So you will help others using the same version understand they can also apply the hack safely. 3- Click INSTALL button in the hack's thread. This is not same by subscribing to that thread and you will not get any new message notifications by clicking install. By clicking it, you will be notified if hack author corrected a bug, released a new version of this hack. Besides you will help the author to get how many people find it useful and will motivate him to enchance the hack. You will also help other members evaluate the usefulness of the hack since many users check number of installations for a hack before deciding to use. Same applies rating hack's thread as well.. 4- If you have ideas to make the hack better, new release requests etc, post them away. This can shed a light to author to enhance his hack or someone else get make improvements you requested. 5- A thank you message to hack author will not hurt anybody either. :) That's it.. I hope this information can enhance your hacking experience as a newbie. Regards, Logician \\=^)) (To Mods: If you think this thread is more useful in an other forum, you can move it there) |
Really good posting - thanks :glasses:
|
Nice one ;)
|
Perfect!
|
heh I use dreamweaver...you can switch from designer mode to coder mode =)
|
well-written
|
Good stuff.
|
Quality post
|
Very useful--thanks Logician :)
|
wish i'd stumbled across this a few montsjo.... :/
|
In reference to 'uploading in ascii only, not binary', I have noticed that one of the includes/cron files for Petzvb2 at least gives massive errors if uploaded in ascii. It is fine when uploaded in binary.
In saying that, this is the only one that I have had this happen with. |
well, this tutorial seem really hard for me (it's not the tutorial itself, it's just i'm very new at this and it is kinda hard). But it's really useful.
|
very good advice :)
|
cheers thatll help a lot
|
Thanks 4 all
|
some really newbie questions:
i copied and pasted a hack (haven't uploaded yet) do i include the // part of the code? i think those are comments but not sure also do lines count ? in other words should there be any spaces between lines? (i.e.) abcd //comment here// code starts here or abcd //comment here// code starts here |
whitespace is normally ignored and anything with // or /* */ are comments and are ignored by the php processor.
|
Well I installed V3 Arcade and got a parse error as soon as I tried to post, or view a profile. Have to say reading through this has proved very helpful. I've been able to fix that error, and I feel a lot more comfortable about future edits.
Thanks - good info. |
very helpful
thanks a lot |
where do I put in phrases? When it says rto add new phrases?
|
Thank you very much, I have been looking for this exactly before attempting my first hack. Very good read. :)
|
very useful, wish i knew how to start with moddifying vbulletin,
|
Thank you for the tips.
|
This is a must read far all noobs like me. I really enjoyed your article and I must say that most of us get too excited when we see an awesome hack and then rush the modding process. After 7 successful hacks, I just got my first parse error and that really flipped me out. Reverting the templates didn't work but I forgot to uninstall the plugins and then, boom, gone. I guess it pays to read threads like these.
|
thanx alot ..very very useful post for me ..i just started learning these things lately .
appreciated ur effort . |
very nice thanks
|
Silly question probably but what are newbies for? :-) I am trying to add the new arcade and it is telling me to upload to chmod 0777 I think and I have no idea where to find that. I am getting a parse error when I click on arcade that is already on my forum. Also, I wasn't able to put it on all by different skins because some of the code I was needing to add to wasn't there like in the navbar.
|
chmod 0777 refers to the permissions on the files/folders. I'm not sure if vBulletin has something built in to allow you change that from the control panel (I'm fairly new at this also). Usually this would be done from having shell access to the site.
I have no idea about the parse error, unfortunately, so I can't comment on that... but hopefully that answers your first question. :) |
must read for newbie for sure
|
Really Newbie Question. How do I import xml files from the server to vbulletin. Im trying to add the arcade hack to my forum, however, I am stuck at this crucial part.
https://vborg.vbsupport.ru/showthread.php?t=101554 <---This arcade. I am stuck at the part where it says, "Enter the path to the Product-XML-File: ./includes/xml/product-ibproarcade.xml". I have no idea what to do with this part. Can anyone help me? |
All times are GMT. The time now is 11:25 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 | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|