UBB.Dev
Posted By: freeTV [6.1x] ELYS Upload Hack - 08/25/2001 4:26 PM
I have ported this hack for ubb6.1.x. It's working great!

I can post it here if it is okay with Allen and Ely.

The hack can be downloaded from HERE

Remember to use Right Mouse Click and Save Target (or Link) As.
Posted By: AllenAyres Re: [6.1x] ELYS Upload Hack - 08/25/2001 8:52 PM
It's fine with me, it'd be up to ELY_M smile
Posted By: freeTV Re: [6.1x] ELYS Upload Hack - 08/25/2001 9:08 PM
I assume it's ok with ELYs, too. smile
Ok, the hack can be downloaded from HERE
Enjoy!

freeTV
Posted By: LK Re: [6.1x] ELYS Upload Hack - 08/25/2001 9:24 PM
You forgot to say you have to rightclick and choose "Save Target As...".

Good job, but I think the wordlets should be XHTMLed tipsy
Posted By: freeTV Re: [6.1x] ELYS Upload Hack - 08/25/2001 10:08 PM
LK, thanks for pointing that out.
Yes, to download it from the hyperlink, one has to right-mouse click, then save target as.
Hack on vars_wordlets_mods.cgi is also updated to make it XHTML compliant.

[ August 25, 2001: Message edited by: freeTV ]
Posted By: Wristnetworks Re: [6.1x] ELYS Upload Hack - 08/26/2001 10:31 AM
May i ask if there is any demo around which i can see regarding the outlook and functions of this hack.

Thanks wink
Posted By: LK Re: [6.1x] ELYS Upload Hack - 08/26/2001 10:39 AM
Wristnetworks, take a look at http://lkubb.dns2go.com (but you have to register your nick to use it). When you create a new topic/reply/edit your post, there is a URL to the upload form (btw, in mine it's ultimatebb.cgi?ubb=upload_form but in this one it's upload_form.cgi but it doesn't really matter).

You can also choose in the CP to use a random number, member number or member name to the file. I chose Member #.
Posted By: freeTV Re: [6.1x] ELYS Upload Hack - 08/26/2001 2:12 PM
If you are familiar with ELYS_UPLOAD hack for 6.0x, then this is nothing new.

LK, very nice board! I notice that you also have News Fader hack. I didn't know that it is available for 6.1. Did you port it by yourself? Can you release it? Thanks.

freeTV
Posted By: LK Re: [6.1x] ELYS Upload Hack - 08/26/2001 2:49 PM
cool Thanks.

It's exactly the same, except the stats part. smile
Posted By: freeTV Re: [6.1x] ELYS Upload Hack - 08/26/2001 3:02 PM
LK, please read your private message here at UBBDEV.
Posted By: Wristnetworks Re: [6.1x] ELYS Upload Hack - 08/27/2001 6:13 AM
Thanks. I am new.
Posted By: Wristnetworks Re: [6.1x] ELYS Upload Hack - 08/27/2001 6:31 AM
Cool upload function!
Posted By: Wristnetworks Re: [6.1x] ELYS Upload Hack - 08/27/2001 6:35 AM
TO FREETV

=====

The upload installation instruction for 6.1.*
is similar to the one for 6.0* in the installation guide?

LCW
Posted By: freeTV Re: [6.1x] ELYS Upload Hack - 08/27/2001 12:04 PM
Yes, the upload instruction is the same.
All I did was to make it work for 6.1x

Quote
quote:
[ August 27, 2001: Message edited by: freeTV ]
Posted By: ELY_M Re: [6.1x] ELYS Upload Hack - 08/29/2001 2:18 AM
Its cool with me smile
Posted By: Crazed Lunatic Re: [6.1x] ELYS Upload Hack - 08/29/2001 9:36 AM
I can't download it...
"Internet Explorer could not open the linked site"...
Posted By: freeTV Re: [6.1x] ELYS Upload Hack - 08/29/2001 1:49 PM
Use right-mouse button, and Save Link As.
Posted By: freeTV Re: [6.1x] ELYS Upload Hack - 08/29/2001 1:50 PM
cool cool!

Quote
quote:
Posted By: MrStormyNights Re: [6.1x] ELYS Upload Hack - 09/15/2001 8:41 PM
a couple places in the instructions say:

## for ubb604b and ubb604c ##

Do you still do this section for 6.1.x???

just checking befor I install it.

confused
Posted By: freeTV Re: [6.1x] ELYS Upload Hack - 09/16/2001 8:31 PM
Yes, do it for 6.1.x.
Thanks for the notice. It has been corrected.

Quote
quote:
Posted By: freeTV Re: [6.1x] ELYS Upload Hack - 10/24/2001 6:54 AM
Just checking, this hack should also works for UBB 6.1 Release.

The hack can be downloaded from HERE

Remember to use Right Mouse Click and Save Target (or Link) As.

[ 10-23-2001: Message edited by: freeTV ]
Posted By: Splitfyre Re: [6.1x] ELYS Upload Hack - 10/24/2001 4:42 PM
Does it have the ability to specify file types and size (pixels and largest file size of 30k) ??

Just curious as I'd like to user this hack in co-ordination with Avatar Hack. Some of my members want to upload their own pic.
Posted By: freeTV Re: [6.1x] ELYS Upload Hack - 10/24/2001 7:30 PM
Certainly!
You can specify the file type by specifying the extension (.jpg, .zip, .gif, etc...) and file size limit in bytes.
BTW, credit should be given to ELY_M. He wrote the hack; I just ported it to UBB 6.1


Quote
quote:
Posted By: gohaku Re: [6.1x] ELYS Upload Hack - 10/24/2001 9:32 PM
##

do same thing again in public_new_reply_form.pl AND public_edit_form.pl


########################

should be public_edit_post.pl,right?
very cool hack,thx
Posted By: freeTV Re: [6.1x] ELYS Upload Hack - 10/24/2001 10:33 PM
You're right. There is no such file as "public_edit_form.pl". Typo has been fixed!
Thnx.
Posted By: Charles Re: [6.1x] ELYS Upload Hack - 10/28/2001 1:15 AM
link is down
Posted By: Muc Re: [6.1x] ELYS Upload Hack - 10/28/2001 1:54 AM
it works if you do right click and save target as...
Posted By: Charles Re: [6.1x] ELYS Upload Hack - 10/28/2001 1:56 AM
Quote
quote:
not for me ...
Posted By: Muc Re: [6.1x] ELYS Upload Hack - 10/28/2001 2:06 AM
try here

tell me if you got it, then I'll delete the folder
Posted By: Charles Re: [6.1x] ELYS Upload Hack - 10/28/2001 2:08 AM
great thanks smile
I am taking a look right now I'll tell you in a sec
Posted By: Muc Re: [6.1x] ELYS Upload Hack - 10/28/2001 2:17 AM
Don't mention it.

I won't run away laugh
Posted By: Granata Re: [6.1x] ELYS Upload Hack - 10/29/2001 6:14 AM
Hello,

I have installed this hack twice and I am still unable to see the Upload Form link when posting, or replying to a topic.

can anybody help me with this?

Thanks in Advance,
-Eric
Posted By: freeTV Re: [6.1x] ELYS Upload Hack - 10/29/2001 2:10 PM
Please read the instruction file that comes with the hack:

# Important go in your control panel and check your wordlets mods
#
# and click on update ! OR you will got blank stuff.
#
# go in to your control panel (cp.cgi)
#
# go in Miscellaneous Settings and configure your dir and url for upload folder
#
# make sure you create a folder for uploads and chmmod that folder to 777 smile
#
# Very Important ! you have to go in to forum settings too. to decide which forums
# you want to allow uploads of the files in specific forums.

When you post, on the left portion of the message box, underneath the text Message:, you will see the link.

Good luck!

[ 10-29-2001: Message edited by: freeTV ]
Posted By: Granata Re: [6.1x] ELYS Upload Hack - 10/29/2001 9:49 PM
I have created the directories and I have set the configurations under Misc. Settings. I have also set my forum to allow uploads. I think my problem is when I attempt to update the Wordlets mods. Which Wordlet list do I need to updat? I have tried updating all of them with no results.

Thank You,
-Eric
Posted By: freeTV Re: [6.1x] ELYS Upload Hack - 10/29/2001 10:17 PM
You must have Modification Wordlets (vars_wordlets_mods.cgi) hack installed. If you follow the README file correctly, you shouldn't have to update your Mod wordlet list.

Quote
quote:
Posted By: Granata Re: [6.1x] ELYS Upload Hack - 10/30/2001 1:06 AM
I already had vars_wordlets_mods.cgi installed. The read me file says:

Code
code:

I have done exactley what it says. After this I am instructed to:

Code
code:

I thought I did that. Could you explain this process in more detail?

Thanks,
-Eric
Posted By: freeTV Re: [6.1x] ELYS Upload Hack - 10/30/2001 4:47 AM
Go to your Control Panel (cp.cgi), click on Wordlet Lists -> Modifications Wordlet List. Check these fields upload_*, make sure they are not empty; especially "upload_link". After making sure they are okay, click the "Update Modifications Wordlet" button.
Posted By: LoscoUomo Re: [6.1x] ELYS Upload Hack - 10/30/2001 5:37 AM
oh, you must mean this Wordlets?
[Linked Image] eek

[ 10-29-2001: Message edited by: LoscoUomo ]
Posted By: freeTV Re: [6.1x] ELYS Upload Hack - 10/30/2001 6:06 AM
I meant this wordlet:

[Linked Image]
Posted By: LoscoUomo Re: [6.1x] ELYS Upload Hack - 10/30/2001 5:51 PM
Well, **** on me...
now I had that since I installed Mod Wordlets first time on my older forum, was the same then and now, who's online works, but now I cant get this damn think to work, eny IDEA where I'm wrong??! I've seen others have same problems, how do I fix this? and one more thing, in this UPLOAD HACK, when I edit mod.wordlets, save it and run update on my picture above it deletes ALL exept first and last line in that file??! Note: that was not case when I installed Who's online and few others, you are free to look pictires here...

-=EDITING=-
www.crohack.org/darkman/misc/ubb_err1.jpg
-=AFTER UPDATE IN CP=-
www.crohack.org/darkman/misc/ubb_err2.jpg
-=RESULT=- smile
www.crohack.org/darkman/misc/ubb_err_final.jpg

Any Ideas?
Posted By: freeTV Re: [6.1x] ELYS Upload Hack - 10/30/2001 6:54 PM
Error3 means that you have to configure Who's Online Setting in the Control Panel. Don't know why your vars_wordlet_mods.cgi was overwritten, maybe it had to do with your who's online setting.
Posted By: freeTV Re: [6.1x] ELYS Upload Hack - 10/31/2001 2:48 PM
Most likely, your cp.cgi was not hacked properly. Remember when you "grab the other required files" wordlets_mods should be one of them.

_
Quote
quote:
Posted By: LoscoUomo Re: [6.1x] ELYS Upload Hack - 10/31/2001 8:56 PM
Quote
quote:
well that's strange because there is one there with other vars
confused
Posted By: Manik Re: [6.1x] ELYS Upload Hack - 11/01/2001 5:50 AM
I installed this hack properly (i think!) and am having trouble after the file is uploaded. right now im on a test board running locally on my machine. the permissions are all fine, and when i try uploading (locally) the file uploads ok. but it seems to be corrupted. im trying right now on .gifs and .jpgs but they are garbage when i try to click on the link. any ideas? running win2k server.
Posted By: LoscoUomo Re: [6.1x] ELYS Upload Hack - 11/01/2001 5:37 PM
Quote
quote:
yea, well you must put pictures, and some other files in BINARY and *.cgi *.pl *.html in PLAIN a.k.a. ASCII
Posted By: Manik Re: [6.1x] ELYS Upload Hack - 11/01/2001 6:55 PM
where do you tell it if its ascii or binary?
Posted By: LoscoUomo Re: [6.1x] ELYS Upload Hack - 11/01/2001 10:21 PM
well that depends on your FTP programm
or you could do it manualy using this down in ftp
TYPE A -> ascii
TYPE I -> Binary
Posted By: Manik Re: [6.1x] ELYS Upload Hack - 11/01/2001 10:30 PM
Are we talking about the same thing here?! The purpose of the Upload Hack is so you dont need to use a FTP program. The user click Upload Form and then they upload a file through the script. upload.cgi seems to be corrupting the file, does anyone know why?
Posted By: LoscoUomo Re: [6.1x] ELYS Upload Hack - 11/02/2001 5:19 AM
I guess not laugh I thought that your files FOR upload hack gets corrupted when you upload them, hehe, sorry cool :rolleyes:
Posted By: Variables Re: [6.1x] ELYS Upload Hack - 11/05/2001 4:48 PM
Ok, the upload works well. But a file with the name "img.jpg" shows up as "1787826.jpg" (???)

Also..it shows the url to the uploaded image, not the code to show the image between ubb code tags. Can this be changed?

Tnx in advance....great hack! wink
Posted By: MrStormyNights Re: [6.1x] ELYS Upload Hack - 11/10/2001 9:05 AM
I also would like to know if you could add an option to allow the user to name the file or leave it the same as whats being uploaded. It would need to check for the files existance prior to uploading just for safety sake.

I am using this to upload pics and display them in the post that I upload from, the code added is the URL tag and not the IMG tag on the results window, how hard would it be to add a toggle in the CP to allow linking to the file (URL tag) or actually putting the file in the post if its an jpg or gif?(img tag - we are only using it for pics)

[ 11-10-2001: Message edited by: MrStormyNights ]
Posted By: tomjinx1 Re: [6.1x] ELYS Upload Hack - 11/12/2001 8:51 PM
Stormy

I was having the same problem as you. On my board, I will be restricting image posting to 640x480 or smaller. For larger images they would need to upload that picture and post a link. There for I modified the Upload hack to meet my demands.

here is a sample of what my modified version of the upload hack looks like. If it's alright with LK I will show you the coding for this change, which really isn't that hard to do. But I want to get LK's permission first.

[Linked Image]

P.S. LK - I read the PM you sent me back but that version is for 6.0 which has alot of coding different than 6.1.0.2. Are you going to be adding the option in the 6.1.0.2. version of this hack to pick a random number, user name, or number? I'm not a coder so I wouldn't know where to begin... Thanks...

Tom

[ 11-12-2001: Message edited by: tomjinx1 ]

[ 11-12-2001: Message edited by: tomjinx1 ]
Posted By: ericruhl Re: [6.1x] ELYS Upload Hack - 11/15/2001 6:30 AM
Thought everything went great but when I click on "upload an image" I get the following error at the bottom of the window:

Software error:
Can't call method "close" on an undefined value at /webdata/www.colorado4x4.org/cgi-bin/ubb/ubb_lib_filehandler.cgi line 83 during global destruction.


The file uploads fine and the followup window does not have this error text at the bottom. Any idea what is causing this? I have re-hacked and double checked each step but I see nothing out of place frown Any help appreciated.

Also, for the 6.0 mod I had altered the code to preserve the filename as opposed to this version's method of renaming the user's file to a string of numbers (yuk). I lost my mod when I upgraded, so if any of you know how to preserve the filename please share. Otherwise I'll figure it out on my own again eventually smile
Posted By: ericruhl Re: [6.1x] ELYS Upload Hack - 11/15/2001 7:05 AM
OK, to retain the filename you need to edit upload.cgi as follows (note, most of this code comes from the 6.0 version of this mod):

Find:
Code
code:

Change this to:
Code
code:

That's it. However, I took this one step further and disallowed overwritting files (since file names are no longer assigned). To do this:

Find:
Code
code:

This is just the error message so I changed it to the following:

Code
code:

Now to ensure the file can't be overwritten:

Find:
Code
code:

and replace it with:
Code
code:


That retains the file name and ensures that they can't be accidentally overwritten.


I'm still stuck on the error I mentioned above though. For now I just set the window size so it trims off the error message at the bottom :rolleyes: but I'd really like to know why it's there to begin with. Oh, one more thing... in public_new_topic_form.pl,
public_new_reply_form.pl, public_edit_post.pl, and public_pm_form.pl the mod specifies some javascript code for the upload window. Purely cosmetic, but in each case I set toolbar, location, menubar, scrollbars, and resizeable all to no. Finally I ditched the spaces at the top of the upload window. To kill that space go to upload_form.cgi, look for

Code
code:


and simply delete the

part.


That's the extent of my own tweaks to this mod, any help on the error I mentioned would be much appreciated smile

[ 11-14-2001: Message edited by: ericruhl ]
Posted By: freeTV Re: [6.1x] ELYS Upload Hack - 11/15/2001 5:16 PM
To get rid of this error, open file "upload_form.cgi".

########## FIND ##########

# DANGER: Do not remove the following line!
1;

######### ADD ABOVE ############

close;

########## DONE ################


Quote
quote:
Posted By: ericruhl Re: [6.1x] ELYS Upload Hack - 11/15/2001 6:26 PM
Woohoo! Sweet, thanks freeTV! That fixed it smile
Posted By: wardx28 Re: [6.1x] ELYS Upload Hack - 11/15/2001 7:03 PM
Just wanted to know if this can be done?

https://www.ubbdev.com/ubb/ultimatebb.php?ubb=get_topic&f=28&t=000273
Posted By: LK Re: [6.1x] ELYS Upload Hack - 11/15/2001 8:33 PM
You got my permission wink
Posted By: freeTV Re: [6.1x] ELYS Upload Hack - 11/15/2001 10:06 PM
???

Quote
quote:
Posted By: LK Re: [6.1x] ELYS Upload Hack - 11/15/2001 10:10 PM
Quote
quote:
Posted By: Tim Heagarty Re: [6.1x] ELYS Upload Hack - 11/16/2001 12:58 PM
Well guys,

It is 4:00am and I'm packing it in. I can get the upload to function but the file that is uploaded is corrupted. I can see the right colors of an uploaded .gif but it doesn't look right. Any ideas on how a file would get corrupted during upload?

This is an NT 4 server with IIS4. The file gets up there but it is messed up.

Thanks,
Tim H.
Posted By: Manik Re: [6.1x] ELYS Upload Hack - 11/16/2001 6:27 PM
Tim,
Im having the same problems.
Are you trying to upload the file from the same computer that the site resides on? I have a feeling thats why mine isnt working. Once I deploy, Im hoping it will magically fix itself!
Posted By: tomjinx1 Re: [6.1x] ELYS Upload Hack - 11/16/2001 7:39 PM
Tim, I'm not sure that I can help much, but you might want to check and make sure that all your write permissions are set right for the upload directory. I'm not sure exactly how you would do that for IIS... If I have time, I will setup a test board on my IIS machine and see if I can get it to work. If so, I will let you know what I find out.

Everyone else, if you are interested in displaying both the URL code and the IMG coding after your user uploads check out this FILE . It's pretty simple and I made it as cut and dry as possible. Enjoy

Tom
Posted By: Tim Heagarty Re: [6.1x] ELYS Upload Hack - 11/17/2001 1:17 AM
No, I'm using another machine at my company's home office that hosts the folder. I have control and get the file created but the contents are corrupt. I'm going to make up some known content binary files and see how they get corrupted when posted.

Later,

TimH
Posted By: Tim Heagarty Re: [6.1x] ELYS Upload Hack - 11/17/2001 10:16 PM
AH HA! laugh

I got it!

When using the upload hack on NT4 you must add the binmode function just after opening the file and BEFORE using the filehandle.

My NT or some variant of the PERL library etc. opens the file in a text mode and translates 0A (linefeed) to 0D0A (carriage return, linefeed). The corrupt file was filled with 0D's that shouldn't have been there. They were next to each 0A that was in the original graphic file.

Open upload.cgi and find...

undef $BytesRead;
undef $Buffer;

while ($Bytes = read($File_Handle,$Buffer,1024)) {
$BytesRead += $Bytes;
print OUTFILE $Buffer;

And add just BEFORE it...

binmode OUTFILE;

I tested this on text files as well and the file was created identically. This only needs to be done on an operating system that distinguishes between text and binary files.

Great hack by the way, I have learned a great deal during its installation.

Thanks all,

Tim
Posted By: AllenAyres Re: [6.1x] ELYS Upload Hack - 12/08/2001 11:58 PM
MHK (2.0 version) written for this one, if you want it:

https://ubbdev.com/db/cgi/ultimatebb.cgi?ubb=get_topic;f=22;t=000011

I didn't include the the instructions to edit the pm template files, you'll need to add that yourselves if you want it. This one also includes Tim's change from the previous post here, if that makes any difference to you.

Added and tested on our database files, 6.1.0.3
Posted By: [ #1 Stunna ] Re: [6.1x] ELYS Upload Hack - 01/03/2002 4:43 AM
in the file mods_wordlet_install.txt in Step 3 none of the items that you are supposed to find are present. WTF? I'm using UBB 6.1.0.3.


[code][/code]

[ 01-02-2002 08:45 PM: Message edited by: [ #1 Stunna ] ]
Posted By: [ #1 Stunna ] Re: [6.1x] ELYS Upload Hack - 01/05/2002 12:49 AM
OK, used the MultiHack file and all systems are go !
Posted By: ericruhl Re: [6.1x] ELYS Upload Hack - 01/10/2002 9:10 PM
OK, here's a question / feature request for ya. How would I go about restricting upload permissions to specific users? Perhaps another profile field (1 = can upload, 0 = cannot upload) and a simple if-then statement perhaps? Not sure how to go about this, but I REALLY would like to be able to restrict upload permissions. Any thoughts?
Posted By: ericruhl Re: [6.1x] ELYS Upload Hack - 01/13/2002 8:06 AM
Anyone? Beuller? Anyone?

I'm trying to figure this out on my own and not having too much luck. I don't mind editing profiles manually if need be or I'm fairly certain I can at least figure out how to code that in the control panel, but I don't know how to perform the user profile check & if-then statement in public_new_topic.pl, etc. so that the upload link only appears if the profile flag is set to "1". Perhaps I'm looking at this the wrong way too because I wouldn't want them to be able to just type in the URL and access the upload either. So, perhaps I should be looking at modifying upload.cgi somehow? Check the user profile there when they click the upload link and if they don't have permission they get an error message? I'd still like to know how to check user profile values so that I can display the link only for those users with permission.

Can anyone help me with this? Puhleeeezze?
Posted By: [ #1 Stunna ] Re: [6.1x] ELYS Upload Hack - 01/13/2002 1:22 PM
ELY_M,

have u seen the Attachment File Manager hack?

Demo:

http://www.cannabisworld.com/cgi/po...r=1&forum=Indoor&DaysPrune=45&LastLogin=

http://www.cannabisworld.com/cgi/attach.cgi?PostTopic&3&Attachment

It shows a corresponding image for known filetypes once uploaded, i.e. zip, rar, doc, etc. It also allows all filetypes to be uploaded by default, with options to restrict uploaded to specific filetypes.

Could you make your hack more like this? How about integrating it more into the default posting page, like with a "Browse" button or something.

Also like the way that vBulletin shows you how many times a file has been downloaded.
Posted By: Rainner Re: [6.1x] ELYS Upload Hack - 01/17/2002 11:07 PM
Hi Ely,

I wanted to bring this upload hack and its features to you also, the one Stunna is refering to above.

I had a couple posts on this board concerning it before I came across your hack here. My first post whihc shows Vipermad had found the hack is: https://ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=26;t=000790#000002

I wouldn't want you to change your prog unless you wanted but I am also offering a barter if you could port this old one if you could. My last link I posted on this one is:

https://www.ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=28&t=000473&p=

This link is my offer to any hack that can help port it over for me but also shows some of the details of the hack.

It has all the features I really want. Big thing is placment of uploads directly in the message off to the right, up to three. They enlarge when the user clicks on them. Please visit their and goto post and upload and check it out.

PS: If your interested in any type barter, please PM me.

Thanks for your concideration

Rainner
Posted By: GetAGrip Re: [6.1x] ELYS Upload Hack - 01/21/2002 3:34 AM
Hi there,

I want to set up a custom header and footer for the upload form, rather than using the ones in the current forum's style template.

In the file upload_form.cgi, I tried this:
Code
[/code]
Then I added a "require" to the list of required files at the top:

[code]

Then I made the file UploadForm_html.pl and dropped it into the Templates folder. This template simply defines the two vars, $html_header_skusa and $html_footer_skusa.

That way, the lines:
print "$Header_in"; and $Footer_in
in the UPLOADform should print my custom header and footer, right? But what I get is the custom, header and footer together at the top of the page, with the UPLOADform output below it (with the "close method" error described in the last post).

Also, the UPLOADform prints an extra
body tag line at the top of the output page.

Any tips for how I can get the form to display *within* my custom header and footer?

Thanks much,
Getagrip Greg

[ 01-20-2002 07:42 PM: Message edited by: GetAGrip ]
Posted By: GetAGrip Re: [6.1x] ELYS Upload Hack - 01/21/2002 3:37 AM
Hello,

Has anyone had the following error come up in the popup window?
code:

[code][/code]

I can't figure out where the "close" method is being called from. I get this msg in MSIE, NS6, and Opera.

Any help appreciated!

Thanks,
Getagrip Greg

[ 01-20-2002 07:44 PM: Message edited by: GetAGrip ]
Posted By: Dj CouGaR Re: [6.1x] ELYS Upload Hack - 01/21/2002 3:38 AM
could some1 please assist me

my friend owns a ubb board, and while he is out at the moment (uni exams) he put me in charge of the forums, he gave me admin axs and ftp axs

i attempted to install this hack
i followed the instructions to the last ;
but when i open cp.cgi and click misc. there is no option for the upload form

the upload form works fine

wot can be the problem?

email: [email protected]
Posted By: Rainner Re: [6.1x] ELYS Upload Hack - 01/21/2002 9:12 PM
Hi All

Anyway to have the image show right away or as a thumbnail and they can click on it as people are viewing the post instead of just getting a link? either way?


Thanks

Rainner

[ 01-22-2002 08:32 PM: Message edited by: Rainner ]
Posted By: Rainner Re: [6.1x] ELYS Upload Hack - 01/23/2002 5:41 AM
Hi Again,

Great Hack, anyway I changed the hack from previously noted to being able to save the file names as there uploaded. If someone trys to upload a file that already exists, what happens is "File Download" starts...

Any idea!

Thanks

Rainner
Posted By: ericruhl Re: [6.1x] ELYS Upload Hack - 01/24/2002 6:39 PM
quote:
Originally posted by Rainner:
Hi Again,

Great Hack, anyway I changed the hack from previously noted to being able to save the file names as there uploaded. If someone trys to upload a file that already exists, what happens is "File Download" starts...

Any idea!

Thanks

Rainner



I don't know how to get it to check if the file exists before starting the upload, but what you should find in its current form is that you'll receive an error at the conclusion of the upload stating that the file already exists (at least that's what should happen if you made the changes I listed). The script currently checks file size and name restrictions AFTER uploading but BEFORE writing the file to the upload directory.

Still looking for an easy/simple way to restrict uploads to specific users. Any ideas? Anyone?
Posted By: ericruhl Re: [6.1x] ELYS Upload Hack - 01/24/2002 6:44 PM
Anyone know a slick way to deal with file names containing spaces? Right now I list instructions for the user to manually replace the spaced with %20's in their image link, but I'd like to be able to automate this. Upload file, check for spaces in name, replace spaces with %20 when generating the link for the user.

Oh, and a way to restrict access to specific users would be nice
Posted By: Zombie Re: [6.1x] ELYS Upload Hack - 01/25/2002 2:39 AM
Well crap ... all links shown dont work.

Can someone email this hack to me ? Please

[email protected]

Thanks in Advance
Glen
Posted By: Rainner Re: [6.1x] ELYS Upload Hack - 01/25/2002 2:44 AM
Hey Zombie,

I had the same problem, turns out all you have to do is RIGHT CLICK on the link instead of what we are all use to which is generally double left clicking. It will work.

Later

Rainner

[ 01-24-2002 06:46 PM: Message edited by: Rainner ]
Posted By: Nirvustool Re: [6.1x] ELYS Upload Hack - 01/25/2002 2:56 AM
Code
[/code]

I can't figure out where the "close" method is being called from. I get this msg in MSIE, NS6, and Opera.
QB]</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">

I get a similar error in the pop-up window, and although the files upload without a hitch, it's very annoying to have an error message displayed.

Code
</pre></div></div><br><br>Line 79 (with comments) of ubb_lib_filehandler.cgi is:<br>[code]

Does anyone have any suggestions as to a remedy? My thanks in advance.

[ 01-24-2002 07:00 PM: Message edited by: Nirvustool ]
Posted By: Zombie Re: [6.1x] ELYS Upload Hack - 01/25/2002 3:44 AM
quote:
Originally posted by Rainner:
Hey Zombie,

I had the same problem, turns out all you have to do is RIGHT CLICK on the link instead of what we are all use to which is generally double left clicking. It will work.

Later

Rainner

[ 01-24-2002 06:46 PM: Message edited by: Rainner ]


tried the link on Page 2 and it gave me:
Not Found
The requested URL /chuck/ was not found on this server.
Apache/1.3.22 Server at www.frustchat.de Port 80

OK ... going back to page one and ... DOH!

*walks away feeling stupid*
Posted By: twinspin Re: [6.1x] ELYS Upload Hack - 01/31/2002 6:20 AM
Does someone have a URL of a board that is running this mod?

Thanks
Posted By: ericruhl Re: [6.1x] ELYS Upload Hack - 01/31/2002 7:15 AM
quote:
Originally posted by Nirvustool:
I can't figure out where the "close" method is being called from.

Does anyone have any suggestions as to a remedy? My thanks in advance.

Sure, go back to page 4. Thanks again to freeTV for helping me with that one.

So.... still no thoughts on the "spaces in the filename" problem or restricting access to certain users? frown
Posted By: zx7king Re: [6.1x] ELYS Upload Hack - 02/20/2002 12:48 AM
Hello all,

This is my FIRST hack to my UBB. In the directions it says: "if you dont have vars_wordlets_mods installed
#
# open the folder mods_wordlet_devkit and read the installation instructions."

Where is the mods_wordlet_devkit located? I cannot find it.

Thanks,
Charles
Posted By: zx7king Re: [6.1x] ELYS Upload Hack - 02/20/2002 3:17 AM
nevermind, i figured that out, but I don't see any options in my cp misc settings for file uploads. Any ideas?

thanks,
charles
Posted By: darkm00n Re: [6.1x] ELYS Upload Hack - 04/25/2002 12:42 AM
i need some help..

tried to install lot of times this hack..
tried manually and tried with multihack file...

i always get this error:


Software error:
Undefined subroutine &main::set_page_elements called at upload.cgi line 57


What is this?
can anyone help me here.. ?
Posted By: d-talk Re: [6.1x] ELYS Upload Hack - 12/03/2002 8:35 PM
Hi,

has anybody a downloadlink that works for 6.1 oder the hack himself....

thanks d-talk
Posted By: [UCE]iCEMAN Re: [6.1x] ELYS Upload Hack - 12/10/2002 4:53 PM
Can someone please check the link cause its not working anymore and I want to have the hack.

you can also directly email it to me, that would be nice wink
© UBB.Developers