Thread: Miscellaneous Hacks - reCAPTCHA!vB - Stop spam. Read books.
View Single Post
Old 13 Feb 2008, 03:49
Doctor Dan Doctor Dan is offline
Join Date: Dec 2007

For those who would like to use "Method A" (the register.patch file) to modify their register.php file but do not have shell access (e.g. hosting services that only provide cPanel access), you may find this "trick" useful:

1. Upload the register.patch file to your forum's root directory.

2. Create a plain text file called with the following contents:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

save it, and upload it to your forum's root directory.

3. Change the permissions on the file that you just uploaded to 0755 so that you can execute the script.

4. In a web browser, type:


The perl script will run, which in turn runs the patch command.

5. Delete the file from your forum's root directory.

N.B.: This technique assumes that you can run perl scripts with system calls on the server where your forum resides, which is usually the case.

- Dan
Reply With Quote