 |
 |
 |
 |
#134061 - 05/31/01 11:11 AM
Re: [6.0x] ELY_M's Upload Modification
|
Junior Member
Registered: 10/15/00
Posts: 21
|
Here's what I applied to the "var_wordlets_mods.cgi" file:
At the beginning:
%vars_wordlets_mods = (
Uploads_Upload Here => q~Uploads~,
------------------------------------
Just before the end of the file:
upload_link => q~<b>Upload File Form</b>~, upload_size_limit_title_bar => q~Error: Limit Reached~, upload_submit_button => q~Upload~, upload_not_allowed => q~File Uploading is not allowed in this forum.~, upload_not_allowed_pm => q~File Uploading is not allowed in private messages.~, upload_allowed_files1 => q~file formats allowed: ~, upload_allowed_files2 => q~extenisons you cant upload any file formats that are not listed here~, upload_finished_title_bar => q~Upload Finished~, upload_file_name_dontworry => q~upload_file_name_dontworry~, upload_illegal_title_bar => q~Illegal File Format (extension)~, upload_illegal_message1 => q~You can not upload this file format <b>~, upload_illegal_message2 => q~</b> please upload a different file or Do not upload at all.~, upload_size_limit_header => q~<H1>File Size Limit Reached</H1>~, upload_finished_header => q~<h1>Upload Finished</h1>~, upload_illegal_header => q~Illegal File Format (extension)~, upload_finished_link => q~Here is the link to your uploaded file. ~, upload_copy_paste => q~copy and paste this in your message~, upload_size_limit => q~The file size limit is~, upload_rules => q~uploading rules: no viruses, trojans, or warez allowed if you abuse it. It will be disabled by Admin
~,
); 1;
Documentation regarding "<!hackname!>_<!key!> => "<!wordlet!>"," were not very clear so I may not have made changes in this matter correctly hence "Uploads_Upload Here => q~Uploads~," at the beginning if the file is probably my error.
Thanks for your help. Cobra
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#134064 - 06/02/01 01:31 AM
Re: [6.0x] ELY_M's Upload Modification
|
Junior Member
Registered: 10/15/00
Posts: 21
|
I reinstalled the hack and it still doesn't work but I did get some different results and possible some new info. First I need to mention that I am installing this on 604e. Everything appered to be just the same after the reinstall untill I added the following files after hacking them. cp_common.pl cp_wordlets.cgi cp.cgi ultimatebb.cgi What caused the problem was something in Step 3 of the mods_wordlet_install.txt instructions. I realized after reinstalling the hack that I had missed this part on the last hack. I was unable to determine which of the scripts caused the problem but what I get is an internal server error. When I looked at my log I believe this is the problem with both the cp.cgi and ultimatebb.cgi ----------------------------- httpd: [Sat Jun 2 00:05:11 2001] [error] [client 204.228.206.203] Premature end of script headers: /www/amisite/cgi-bin/cp.cgi failed to open log file fopen: Permission denied httpd: [Sat Jun 2 00:05:14 2001] [error] [client 204.228.206.203] Premature end of script headers: /www/amisite/cgi-bin/ultimatebb.cgi ------------------------ Any ideas? Thanks, Cobra
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#134065 - 06/02/01 09:53 PM
Re: [6.0x] ELY_M's Upload Modification
|
Member
Registered: 03/23/01
Posts: 133
|
I have better idea, but Im not sure of how to get the script to work like that. if someone uploaded same filename. it should add a number to end of filename. image.jpg image1.jpg image2.jpg This is better idea. I will work on this later.
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|