SmartFAQ is developed by The SmartFactory (https://www.smartfactory.ca), a division of InBox Solutions (https://www.inboxsolutions.net)

How do I install a hack?
Depending on the hack, it can be easy or hard to install.

Usually a hack involves overwriting core files, which usually makes hacks very version-dependant - i.e. it is important to ensure that the hack is aimed at your current version, as it may make your system un-usable if applied to the incorrect XOOPS version.

A proper hack should include detailed instructions, informing you of:
- Version(s) this hack is compatible with
- Which files to backup before applying the hack
- How to install the hack
- How to contact the author, should something go wrong

Core Hacks are NOT officially supported by the XOOPS organisation and will NOT be guaranteed to receive support, should something go wrong.


The comments are owned by the author. We aren't responsible for their content.
user

 What about when information is not given?


I am interested in a hack which does not have clear information about Quote:

A proper hack should include detailed instructions, informing you of:- Version(s) this hack is compatible with
- Which files to backup before applying the hack
- How to install the hack
- How to contact the author, should something go wrong


However I have read other QA's and will
1. back up the entire public html file by ftp so I can restore any major problem
2. put a copy of the files that need to change on my PC and edit them then reupload
3. keep a record of what i did for future upgrades.

However, I have some questions:
1. Do I simply locate the section of code that appears to be changed and copy and paste the new code over the old?
2. What kind of program is recomended for this kind of editing?
3. How can I check if I have made an error?
2. When I overwrite with the exsisting files after I am done do I need to update anything? (The files I am looking at are for block arrangements)

I was able to identify the version from where the hack is posted but that is it.

I don't mind jumping in at the deep end but it really would be helpful if those who write hack files could include the 3 things mentioned above for the sake of newbies!

So aside from don't go there what other advice is there for newbies wanting to try out a hack that doesn't give us instructions?

 
user

 Re: What about when information is not given?


1. that depends on the hack, some require replacing code, some require adding, or removing or all 3..

2. i use dreamweaver for editing code.. but there are others.. stay away from frontpage though..

whilst dreamweaver is excellent, you will also find winMerge a great asset for comparing and highlighting the differences between files.. it greatly quickens the process of finding changed parts.. i'd recommend it..

3. double check and check again.. then upload and give it a try.. turn debug on, if it works.. good job.. if it don't then debug can help you trace where you may have edited incorrectly..

4. you only need to update if template files are edited.. sometimes DB additions are required.. in this case usually an install script is supplied, or an sql file which you would need to install via phpmyadmin.

 


Login

Who's Online

343 user(s) are online (5 user(s) are browsing XOOPS FAQ)


Members: 0


Guests: 343


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Did you know ?

By careful configuring of user groups, you can simulate multiple site contents with one xoops install.

Random question

What is Smarty?