Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
[6.3.x] [beta] Ely_M's Upload Modification #152028 05/09/2002 9:24 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
AllenAyres Offline OP
I type Like navaho
OP Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Name: ELY_M's Upload Mod.

Description: Allows you to upload/attach files in posts.

Link: MultiHack File

Demo: none

Requirement: UBB™ 6.3 , Mod Wordlets 1.5


- Allen wavey
- What Drives You?
Sponsored Links
Re: [6.3.x] [beta] Ely_M's Upload Modification #152029 05/10/2002 6:45 AM
Joined: Oct 2001
Posts: 11
venustus Offline
Junior Member
Offline
Junior Member
Joined: Oct 2001
Posts: 11
frown multihack dont work for me.....
can I get it in a .zip file ?

Re: [6.3.x] [beta] Ely_M's Upload Modification #152030 05/10/2002 3:03 PM
Joined: Feb 2001
Posts: 78
WNxWakko Offline
Member
Offline
Member
Joined: Feb 2001
Posts: 78
Ok it installs by multi with no errors. Problem is when you goto the forum settings and turn upload feature to on, submit change. Goto forum, it still states uploading not allowed in that forum. So I go back in CP look at forum settings and what is happening is the radio button for on/off is not taking. Niether on or off are selected. No matter how many times I pick an option, it doesnt take.

Re: [6.3.x] [beta] Ely_M's Upload Modification #152031 05/12/2002 12:29 AM
Joined: May 2002
Posts: 2
leon Offline
Junior Member
Offline
Junior Member
Joined: May 2002
Posts: 2
same problem here. frown

Re: [6.3.x] [beta] Ely_M's Upload Modification #152032 05/12/2002 1:36 AM
Joined: May 2002
Posts: 2
leon Offline
Junior Member
Offline
Junior Member
Joined: May 2002
Posts: 2
ok its working with a few forums but not with all. i think it only works with the newer forums i made. confused

btw, great hack. i need only one forum with file uploads anyway. thx for the hack. smile

Sponsored Links
Re: [6.3.x] [beta] Ely_M's Upload Modification #152033 05/12/2002 1:42 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
AllenAyres Offline OP
I type Like navaho
OP Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
hmmmm.. you are welcome smile but I'll look at this in the next couple days and see if I can find out what the problem is smile


- Allen wavey
- What Drives You?
Re: [6.3.x] [beta] Ely_M's Upload Modification #152034 05/12/2002 2:52 PM
Joined: Feb 2001
Posts: 78
WNxWakko Offline
Member
Offline
Member
Joined: Feb 2001
Posts: 78
AllenAyres your absolutely right, I'm sorry. I do thank you for this hack. Appreciation tends to be overlooked at times by others and myself.

Mental Note, "Must not forget the important things."

Re: [6.3.x] [beta] Ely_M's Upload Modification #152035 05/12/2002 6:04 PM
Joined: Oct 2001
Posts: 11
venustus Offline
Junior Member
Offline
Junior Member
Joined: Oct 2001
Posts: 11
thanks goes out to Allen for this.

I got MH to finally work, but I am also seeing the 'not sticking' behavior.

Re: [6.3.x] [beta] Ely_M's Upload Modification #152036 05/13/2002 6:40 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Offline
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394
Allen, I think that there is a reason for $RESERVED :rolleyes: wink

I can't really tell what's wrong, but I suggest you to move $in{upload} AFTER $RESERVED|^|, and change [18] everywhere to [19]...

I'm gonna make a Mod CP Addon version for it, do you mind if I post it Allen?

Re: [6.3.x] [beta] Ely_M's Upload Modification #152037 05/13/2002 9:40 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
AllenAyres Offline OP
I type Like navaho
OP Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Fine with me smile

I tended to think it may be conflicting with reserved as well, but hadn't stopped to install it yet - we'll use the mod_cp version for the db upgrade.


- Allen wavey
- What Drives You?
Sponsored Links
Re: [6.3.x] [beta] Ely_M's Upload Modification #152038 05/13/2002 10:30 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Offline
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394
smile www.ubbdev.com/columns/lk/elym_upload.zip (maybe I forgot something)

Re: [6.3.x] [beta] Ely_M's Upload Modification #152039 05/13/2002 2:31 PM
Joined: Oct 2001
Posts: 11
venustus Offline
Junior Member
Offline
Junior Member
Joined: Oct 2001
Posts: 11
Thank you so much.............
works fine, even in poll enabled forums wink

Re: [6.3.x] [beta] Ely_M's Upload Modification #152040 05/16/2002 10:24 AM
Joined: Sep 2001
Posts: 46
Nokia666 Offline
Member
Offline
Member
Joined: Sep 2001
Posts: 46
quote:
Originally posted by WNxWakko:
Ok it installs by multi with no errors. Problem is when you goto the forum settings and turn upload feature to on, submit change. Goto forum, it still states uploading not allowed in that forum. So I go back in CP look at forum settings and what is happening is the radio button for on/off is not taking. Niether on or off are selected. No matter how many times I pick an option, it doesnt take.

I have the same problem, is there no fix for this?

Re: [6.3.x] [beta] Ely_M's Upload Modification #152041 05/18/2002 1:51 AM
Joined: May 2001
Posts: 58
caroth Offline
Member
Offline
Member
Joined: May 2001
Posts: 58
Mine worked until I tweaked the custom titles. The vars_misc.cgi get corrupt somehow... Maybe that will help the developers fix it...

Re: [6.3.x] [beta] Ely_M's Upload Modification #152042 05/19/2002 10:33 PM
Joined: Nov 2001
Posts: 159
DragonSoul Offline
Member
Offline
Member
Joined: Nov 2001
Posts: 159
Again, any non multihack formats of this out there?

Re: [6.3.x] [beta] Ely_M's Upload Modification #152043 05/19/2002 11:02 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Offline
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394
https://www.ubbdev.com/columns/lk/ely_upload_allen.zip smile

You could also try the version I posted tipsy

Re: [6.3.x] [beta] Ely_M's Upload Modification #152044 05/22/2002 1:29 AM
Joined: Nov 2001
Posts: 159
DragonSoul Offline
Member
Offline
Member
Joined: Nov 2001
Posts: 159
hmmm everything seems to be working fine up until you hit "upload" then i get an internal server error. Any ideas?

Re: [6.3.x] [beta] Ely_M's Upload Modification #152045 05/22/2002 12:25 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
AllenAyres Offline OP
I type Like navaho
OP Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Sounds like permission problems on your upload folder.


- Allen wavey
- What Drives You?
Re: [6.3.x] [beta] Ely_M's Upload Modification #152046 05/30/2002 7:08 PM
Joined: Mar 2001
Posts: 80
[email protected] Offline
Member
Offline
Member
Joined: Mar 2001
Posts: 80
I think i have an answer to one of the problems.

If your using the LK version of this hack, the control panel section updates the vars_modifications.cgi file with the save to location BUT the upload.cgi code reads the save to location from the vars_misc.cgi.

I had this hack installed on my old 6.1.05 ubb so the vars_misc.cgi locations were carried over and i get an invalid folder error but if you havnt installed this before there will be no locations stored and I have no idea what error it will give...

Also theres a 5 on the end of the #!/usr/bin/perl line, on my ubb it wont do anything unless i remove it.

Anyway hope this helps (if i am right that is)

Forgot to ask, which is the best way to fix it, edit the mod or edit the upload.cgi?

Paul

Re: [6.3.x] [beta] Ely_M's Upload Modification #152047 05/31/2002 4:19 AM
Joined: Nov 2001
Posts: 159
DragonSoul Offline
Member
Offline
Member
Joined: Nov 2001
Posts: 159
quote:
Originally posted by AllenAyres:
Sounds like permission problems on your upload folder.

What folder does it upload to? The instructions say nothing about creating a new directory.

Re: [6.3.x] [beta] Ely_M's Upload Modification #152048 05/31/2002 3:33 PM
Joined: Nov 2001
Posts: 159
DragonSoul Offline
Member
Offline
Member
Joined: Nov 2001
Posts: 159
Anyone?

Re: [6.3.x] [beta] Ely_M's Upload Modification #152049 05/31/2002 3:52 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Offline
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394
You should add a new directory, chmod to 777 and put it in Misc Settings, as your upload dir. (or Modification Settings)

My newest zip file: www.ubbdev.com/lk/elym_upload.zip with vars_misc fixes

Re: [6.3.x] [beta] Ely_M's Upload Modification #152050 05/31/2002 6:50 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
AllenAyres Offline OP
I type Like navaho
OP Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Mhp updated with LK's fixes and addition of cp_mod addon functionality. smile


- Allen wavey
- What Drives You?
Re: [6.3.x] [beta] Ely_M's Upload Modification #152051 05/31/2002 9:11 PM
Joined: Nov 2001
Posts: 159
DragonSoul Offline
Member
Offline
Member
Joined: Nov 2001
Posts: 159
This is really getting frustrating. This is the error that my server is reporting to me.

[Fri May 31 21:07:33 2002] [error] [client ------------] Premature end of script headers: /home/dragon/public_html/cgi-bin/ubb_upload.cgi
[Fri May 31 21:07:33 2002] [error] (2)No such file or directory: exec of /home/dragon/public_html/cgi-bin/ubb_upload.cgi failed

any idea what is going on? I have everything set the way that it is supposed to be. I have rehacked it 20 times now with LK's newly updated files and still get this error......

Re: [6.3.x] [beta] Ely_M's Upload Modification #152052 05/31/2002 10:39 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Offline
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394
Gosh, "premature end of headers" is making me nightmares wink
But... make sure ubb_upload.cgi is uploaded to your UBB's cgi-bin directory; make sure it's chmodded to 755; make sure that "vars_config.cgi" is also in that directory, if not, change ubb_upload.cgi line 23 to its place; make sure vars_modifications.cgi is chmodded to 777; make sure you CHANGED modification settings and used a CORRECT path for uploads, a directory that already exists and that is chmodded to 777; no more ideas smirk

Re: [6.3.x] [beta] Ely_M's Upload Modification #152053 05/31/2002 11:12 PM
Joined: Nov 2001
Posts: 159
DragonSoul Offline
Member
Offline
Member
Joined: Nov 2001
Posts: 159
Well crap. I guess this is just one script that i will not be able to use cause everything that you stated is correct..... Thanks anyway

Re: [6.3.x] [beta] Ely_M's Upload Modification #152054 06/08/2002 3:36 AM
Joined: Feb 2001
Posts: 497
melder Offline
Enthusiast
Offline
Enthusiast
Joined: Feb 2001
Posts: 497
can u do this ?

if u select in cp "save by membername or no." the script save the "image.gif" as "member.gif" - and at the next time the user overwrite the image.

can u insert radiobuttons in the upload form, so user can select "save ths image as no 1 or 2 or ... 10." so the scrpit save the image.gif as "member_02.gif" or "mebmer_10.gif" ...

hope u understand smile

and if u do this - do in cp a function there u can select the max. upload images ...

Re: [6.3.x] [beta] Ely_M's Upload Modification #152055 06/08/2002 3:50 PM
Joined: Dec 2001
Posts: 16
Dragon Motorsports Offline
Junior Member
Offline
Junior Member
Joined: Dec 2001
Posts: 16
Ok here's my problem, I have added and chmoded an upload folder, I used the latest mhp file. ANd I get this on the upload screen

The file size limit is bytes

file formats allowed:
extenisons
you cant upload any file formats that are not listed here

Notice there is no limit set, and no extensions listed, etc.

I have defined them in the modification settings. I have also chmoded the upload_x files in the cgi-bin to 755.

when I try to upload a file anyway it gives me

Illegal File Format (extension)
You can not upload this file format dragonmotorsports.txt
please upload a different file or Do not upload at all.

(edit) I got the line above to work. I was putting .txt, .jpg, etc instead of just txt, and jpg. But now I got this: upload_file_name_dontworry
right under the box that gives you the ling. Kind annoying if you ask me. Where do I get rid of that.

you can see my board in the link in my sig. thanks.

edit: also it seems as though the window sizing/placement option in the settings does not work either. I am using IE 6.

edit, also someone I think meantioned this, but if a file with the same extension gets uploaded by the same member it overwrites the existing file. Is there a way to use this with using the members name/number like dragonmotorsports_1.txt, and dragonmotorsports_2.txt, etc?

Re: [6.3.x] [beta] Ely_M's Upload Modification #152056 06/09/2002 11:04 AM
Joined: Apr 2001
Posts: 3
recurry Offline
Junior Member
Offline
Junior Member
Joined: Apr 2001
Posts: 3
All you guys asking for "non-multihack" formats. This should be obvious but there is an easy answer to your problem - install multihack.

Then all you need to do is load the hack into it, click on edit, and all the text is there to do the hack manually if you desire.

Cheers

Re: [6.3.x] [beta] Ely_M's Upload Modification #152057 06/11/2002 12:23 AM
Joined: Feb 2001
Posts: 497
melder Offline
Enthusiast
Offline
Enthusiast
Joined: Feb 2001
Posts: 497
tipsy

Re: [6.3.x] [beta] Ely_M's Upload Modification #152058 06/20/2002 1:54 PM
Joined: May 2001
Posts: 684
d-talk Offline
Code Monkey
Offline
Code Monkey
Joined: May 2001
Posts: 684
Hi,

I have the following problem:

When I want to upload i get an internal server error!

At the serverlogs i can read:

[Thu Jun 20 21:38:10 2002] [error] [client 213.23.49.35] Premature end of script headers: /usr/local/httpd/htdocs/kunden/web3/html/cgi-bin/ubb_upload.cgi

What can I do??

Thanks
d-talk


Webmaster of d-talk & Kabel-Forum.com
Re: [6.3.x] [beta] Ely_M's Upload Modification #152059 06/20/2002 11:54 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Offline
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394
Change ubb_upload.cgi's first line to reflect your perl path.

Re: [6.3.x] [beta] Ely_M's Upload Modification #152060 06/21/2002 6:32 AM
Joined: Feb 2001
Posts: 497
melder Offline
Enthusiast
Offline
Enthusiast
Joined: Feb 2001
Posts: 497
hi LK - it is possible to insert radiobutton to save the images as no 1, 2, 3 ... ???

membername.gif as membername_01.gif (u understand ?

Re: [6.3.x] [beta] Ely_M's Upload Modification #152061 06/23/2002 5:55 AM
Joined: May 2002
Posts: 13
mors105 Offline
Junior Member
Offline
Junior Member
Joined: May 2002
Posts: 13
Hi,
I have a couple of little problems with this hack if anyone can help.
Firstly in the control panel I only have an option under 'forums' to activate it, nothing else to configure it, I've looked in 'misc' but there is nothing in there.
Secondly, there is no option on the post form to actualy attach anything.
I see that quite a few people are having problems with this-has anyone got it work yet??
Would doing the hack manualy instead of using multihack have any effect??

Help appreciated

Mors

p.s
Sorry for putting this in the wrong thread before greg-appologies.

Re: [6.3.x] [beta] Ely_M's Upload Modification #152062 06/23/2002 9:58 AM
Joined: May 2001
Posts: 684
d-talk Offline
Code Monkey
Offline
Code Monkey
Joined: May 2001
Posts: 684
OK, I have this problem too, what can I do??

Originally posted by WNxWakko:
Ok it installs by multi with no errors. Problem is when you goto the forum settings and turn upload feature to on, submit change. Goto forum, it still states uploading not allowed in that forum. So I go back in CP look at forum settings and what is happening is the radio button for on/off is not taking. Niether on or off are selected. No matter how many times I pick an option, it doesnt take.

Every time I update an other forum at the cp the download don't work again...

Thanks
d-talk


Webmaster of d-talk & Kabel-Forum.com
Re: [6.3.x] [beta] Ely_M's Upload Modification #152063 06/23/2002 2:05 PM
Joined: May 2001
Posts: 684
d-talk Offline
Code Monkey
Offline
Code Monkey
Joined: May 2001
Posts: 684
Is there nobody wiht an idea???

d-talk


Webmaster of d-talk & Kabel-Forum.com
Re: [6.3.x] [beta] Ely_M's Upload Modification #152064 06/23/2002 4:50 PM
Joined: May 2002
Posts: 13
mors105 Offline
Junior Member
Offline
Junior Member
Joined: May 2002
Posts: 13
Grrrr getting the bad directory error now (but getting a bit closer to it working smile ) it says I need to set the path in the control panel, but there is nowhere to configure a path in the control panel ?? frown

Re: [6.3.x] [beta] Ely_M's Upload Modification #152065 06/24/2002 4:53 PM
Joined: May 2002
Posts: 13
mors105 Offline
Junior Member
Offline
Junior Member
Joined: May 2002
Posts: 13
Finally got this working with 6.3! laugh
To get it to work I did the following:
-Re-installed my board from scratch.
-Upgraded the wordlet mods.
-Upgraded the CP mods.
-Installed the hack manualy from the text file in LK's zip file. ( LK upload zip )
-Turned on the upload option in the forum settings.
-Configured the path/file size etc in the 'modification settings' under the 'primary settings' drop-down

And tadaaaa, it works!!

Thanks to Ely_M for this hack laugh

Mors

Re: [6.3.x] [beta] Ely_M's Upload Modification #152066 06/25/2002 2:01 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Offline
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394
smile

But if it's in Modification Settings and not Misc Settings, you used https://www.ubbdev.com/columns/lk/elym_upload.zip tipsy

Re: [6.3.x] [beta] Ely_M's Upload Modification #152067 06/25/2002 7:26 AM
Joined: May 2002
Posts: 13
mors105 Offline
Junior Member
Offline
Junior Member
Joined: May 2002
Posts: 13
I'll take your word for it wink

Page 1 of 3 1 2 3

Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Forum Statistics
Forums63
Topics37,524
Posts293,716
Members13,832
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online 87
Topics Created 0
Posts Made 1
Users Online 1
Birthdays 14
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,790
Greg Hard 4,625
Top Posters(30 Days)
isaac 13
Gizmo 3
Top Likes Received
isaac 27
Brett 7
Morgan 2
Slaz 1
Top Likes Received (30 Days)
isaac 27
Brett 7
Morgan 2
Slaz 1
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2019 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20191214.dev)
Responsive Width:

PHP: 5.4.45 Page Time: 0.084s Queries: 95 (0.027s) Memory: 3.6260 MB (Peak: 4.0385 MB) Data Comp: Zlib Server Time: 2019-12-15 03:50:50 UTC
Valid HTML 5 and Valid CSS