UBB.Dev
Posted By: SkipperII Upload HAck please Help @all - 04/25/2001 3:11 AM
Hello at @all,
i need a hack . My English is not so goog but i want Upload Files (Upload Hack like UBB 5.x) and not the UBB Code Buttons Hack to work Upload Zip Files (Savegames & Racgames) in my Forum.... please help i need it yesterdey

SkipperII laugh :rolleyes:
Posted By: ELY_M Re: Upload HAck please Help @all - 04/30/2001 2:25 AM
Good news.

I have it at

ELY M's Upload Hack

you have control over what your users can upload and have toggle on and off option. the most words are wordletizied.

[ April 29, 2001 07:26 PM: Message edited by: ELY_M ]
Posted By: yosco Re: Upload HAck please Help @all - 04/30/2001 3:45 PM
Nice hack, Is it final?
Posted By: Marvin_FFM Re: Upload HAck please Help @all - 04/30/2001 4:10 PM
Quote
quote:

hi ely,

can we see a demo ? couldn´t find a ubb at perl.com ...

code looks well - but unfortunality that´s no evidence laugh

marvin
Posted By: SkipperII Re: Upload HAck please Help @all - 04/30/2001 9:53 PM
Yes a ... Demo i want! laugh laugh
Posted By: AllenAyres Re: Upload HAck please Help @all - 05/01/2001 12:38 AM
it's a mostly control panel modification, would be difficult for a demo, I am gonna try it out tonight and see how we do, if it works well, we'll add it to our database.

Thanks Ely...
Posted By: AllenAyres Re: Upload HAck please Help @all - 05/01/2001 1:30 AM
works really well, nice work ELY! smile

a couple of minor suggestions:

- change the instructions to this:
Code
code:

that way the text for the link won't some ugly mess wink

- use the vars_wordlets_mods file instead of the vars_wordlets file so we won't have to update so much when we do minor ubb upgrade patches...

demo:
https://www.ubbdev.com/db/cgi/ultimatebb.cgi?ubb=newtopic&f=20

- you prolly won't be able to see this since you have to be authorized to post new in there, but it installs in ~20 min and works.
Posted By: Tolitz Re: Upload HAck please Help @all - 05/01/2001 1:53 AM
Hmmmm, I'm trying to incorporate this hack, but I can't find this in cp_lib.cgi:

print FILE qq!stringLengthLimit => q~$stringLengthLimit~,n!;

or this in cp_vars_misc.pl:

$vars_misc{stringLengthLimit} = 180 unless $vars_misc{stringLengthLimit};

I'm using UBB 6.04... was this part of another hack? Or am I just missing it after about four tries?
Posted By: AllenAyres Re: Upload HAck please Help @all - 05/01/2001 2:00 AM
That's in the latest version(s) .04b/.04c
Posted By: SkipperII Re: Upload HAck please Help @all - 05/01/2001 4:00 AM
Can you make a new description for the UBB Version 6.0? Please Please? smile smile smile smile smile smile but I can't find this:
Code
code:
Code
code:
etc. etc....

Thx

SkipperII
Posted By: anticonscience Re: Upload HAck please Help @all - 05/01/2001 5:17 AM
yes....i'm using 6.03 and don't have those lines....can you issue an update?
Posted By: AllenAyres Re: Upload HAck please Help @all - 05/01/2001 6:43 AM
This is the update...;) You guys are the ones using old software...:)
Posted By: Tolitz Re: Upload HAck please Help @all - 05/01/2001 8:11 AM
Well okay, even without the help, I got it to work on UBB 6.04, but there is a bug on this script:

1.) The way this script works is that it gives a jscript pop-up window with a set height and width that is not resizable (much like the upload hack for UBB5). The problem here is that this pop-up window uses the UBB header and footer information - which means you get scrollbars galore if you have a header that uses a long titlebar and a left menubar.

Click here to see what it looks like

I looked at the upload.cgi file and there are several instances of $Header and $Footer info being included. Why can't it be like the UBB5 upload hack that just uses a simple pop-up window with the pertinent upload information? Might wanna look into that.

And since this hack is obviously documented ONLY for 6.04b and 6.04c, I'd update the documentation to reflect that fact, unless you'd wanna make the extra effort to include updated documentation that will benefit those of us who are not willing to rehack their boards everytime Infopop issues an update (which is every week).

I'd love to use the hack, and I can probably modify it to suit my needs, but as it stands right now, it won't do me any good out of the box. Anyway, that's my two cents.

Good job anywayz...

[ May 01, 2001 01:12 AM: Message edited by: Canis Lupus ]
Posted By: J1 Re: Upload HAck please Help @all - 05/01/2001 5:44 PM
which attributes for upload_form.cgi?
always when i want to upload a savegame error 500 appears.

i dont know what to do
Posted By: ELY_M Re: Upload HAck please Help @all - 05/01/2001 7:21 PM
Thanks to the guy with open tech forums.

I have an idea.

I will make another CP hack for user to choose if they want to have header and footer included in a window or exclude them.
Posted By: ELY_M Re: Upload HAck please Help @all - 05/01/2001 7:39 PM
Quote
quote:

try to chmmod it to 777.
Posted By: SkipperII Re: Upload HAck please Help @all - 05/01/2001 8:07 PM
Can anyone make a new description for the UBB Version 6.0? Please Please? Need Help! laugh
Posted By: mw2com Re: Upload HAck please Help @all - 05/01/2001 9:20 PM
i am running 6.04 and i coudn't find 3 of the files and most of the lines the instutions talk about !!!! i have installed 4 mods in my board now but i carnt make heads or tails out of this one!!!

i have tried but all i get is problems

any ideas????
Posted By: Tolitz Re: Upload HAck please Help @all - 05/01/2001 9:33 PM
Hey Mikey...

Quote
quote:
I guess we need to wait for ELY_M to do some updates the hack, and maybe add some "possible" documentation for 6.04 and lower...
Posted By: AllenAyres Re: Upload HAck please Help @all - 05/01/2001 9:44 PM
The coding you are looking for is not in the older versions of ubb, but if you look, you will see where it needs to go, the coding is very similar, it just needs to go in the group. The code you are trying to find is additional coding added to .04b and .04c...

If you use a file compare program like beyond compare, to compare the files in .04c to your present code, you'll see exactly where this code needs to go... be resourceful, don't have ELY stop developing new stuff to find your code for you...
Posted By: Tolitz Re: Upload HAck please Help @all - 05/01/2001 10:16 PM
That's what I did, which is why I got it to work on 6.04. What I really meant was to update ELY's documentation to say that the actual instructions are only good for 6.04b/6.04c and above, not 6.0 as was written in the present documentation (which is wrong and misleading).

This will save the code hacker a lot of headaches, as well as provide an instant diclaimer. Being resourceful is one thing - being misleading is another.

Besides, I'm eagerly awaiting ELY's update on the hack to have the option of not including headers and footers...

And a moderator may wanna move this topic to the V6 Beta Mods forum...

[ May 01, 2001 03:20 PM: Message edited by: Canis Lupus ]
Posted By: AllenAyres Re: Upload HAck please Help @all - 05/01/2001 10:24 PM
smile

I think we'll start a new one there to give it a proper start... description, link, etc... it'll include the proper caveats like you mention CL... I'll post back here this evening when I open it and point from here to there....
Posted By: AllenAyres Re: Upload HAck please Help @all - 05/01/2001 11:06 PM
done smile

https://www.ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=20&t=000252
© UBB.Developers