vBulletin Modifications

Trouble with attachment settings in VB

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

Reply
 
LinkBack Thread Tools
Old 06-05-2006, 08:42 PM   #1
vB Newbie
Join Date: Jun 2006
toadtje is on a distinguished road

Default Trouble with attachment settings in VB

Hello.

Thought I might give this a shot since I obviously have no idea what to do to make this work. Gotten to the attachments settings and added "avi" since I want my users to be able to upload avi files to my board. So, what happens is this. When I test that setting (I made it accept files up to 60mb), when its done uploading, I just get an error screen telling me I tried to access "newattachment.php", which is currently unavailable. That doesnt sit right, since the file is there, where it should be.

Uploading gifs, jpgs and so on is working perfectly fine.

Anyone have any idea what to do with this?

Also, if I try to upload "big file" avis of over 30 mb, it just says that I have come to an invalid post (which it is not), and asks me to go to a forum.

I really need help with this... I am out of ideas.

toadtje

Last edited by toadtje; 06-05-2006 at 10:12 PM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 06-05-2006, 10:37 PM   #2
Coder
gio~logist's Avatar
Join Date: Jul 2005
Location: Miami, Florida
gio~logist is on a distinguished road

Default

.Avi's are a bit to large to upload using the attachments. Anything over 2mb is actually. Your best bet is to just have members use www.yousendit.com or something like that and just link the files Hope that helps.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-05-2006, 10:43 PM   #3
vB Newbie
Join Date: Jun 2006
toadtje is on a distinguished road

Default

not really helpful, as I want my users to be able to upload larger files (i have both the bandwidth and storage to allow it). The same happens when trying to upload jpgs larger than 2 mb, even though i set the limit to 5 mb. Then it tells me that the file is too large, and that my PHP limit is exceeded. Seems my PHP limit is 2 mb for that. Any thoughts?

toadtje




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-05-2006, 10:46 PM   #4
Coder
gio~logist's Avatar
Join Date: Jul 2005
Location: Miami, Florida
gio~logist is on a distinguished road

Default

Quote:
Originally Posted by toadtje
not really helpful, as I want my users to be able to upload larger files (i have both the bandwidth and storage to allow it). The same happens when trying to upload jpgs larger than 2 mb, even though i set the limit to 5 mb. Then it tells me that the file is too large, and that my PHP limit is exceeded. Seems my PHP limit is 2 mb for that. Any thoughts?

toadtje
Like i said, the php limit is 2mb by default. The only way to change the limit also is if the hosting provider edits php.ini, which is probably unlikely. However, feel free to contact them. There's really nothing that can be done regarding that matter :speechles Like i said, simple allowing members to use www.yousendit.com is perhaps the best way to go. You can even try and have someone make a hack for you that makes it so that users can actually upload to www.yousendit.com right from your website :p Other than that, nothing can really be done.

Last edited by gio~logist; 06-05-2006 at 11:01 PM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-06-2006, 08:03 AM   #5
vB Newbie
Join Date: Jun 2006
toadtje is on a distinguished road

Default

Quote:
Originally Posted by gio~logist
Like i said, the php limit is 2mb by default. The only way to change the limit also is if the hosting provider edits php.ini, which is probably unlikely. However, feel free to contact them. There's really nothing that can be done regarding that matter :speechles Like i said, simple allowing members to use www.yousendit.com is perhaps the best way to go. You can even try and have someone make a hack for you that makes it so that users can actually upload to www.yousendit.com right from your website :p Other than that, nothing can really be done.

Well, I am running my own box, so thats not an issue here. I changed the php limit to 100M on all areas where that was necessary, and also changed it in my.cnf in mysql (last 2 commands in the config file). Didnt help much though. Now I can allow files up to 16M, but not any bigger than that. Seems to stop at 16M for some reason. Any clues?

toadtje




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-06-2006, 08:10 AM   #6
Advanced Coder
Niels's Avatar
Join Date: Jun 2004
Real Name: Niels
Location: NL
Niels is on a distinguished road

Default

Yes, mysql can't handle such a big columns. Your only option is to build in a hack to make it upload the files to your hd instaed into the database.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-06-2006, 08:25 AM   #7
vB Newbie
Join Date: Jun 2006
toadtje is on a distinguished road

Default

Quote:
Originally Posted by Niels
Yes, mysql can't handle such a big columns. Your only option is to build in a hack to make it upload the files to your hd instaed into the database.
So basically, I need a hack for vBulletin to allow it to save attachments to a folder on my HD instead of the SQL database? Any such things even exist?

Wouldnt it be enough to make it use the file system instead of the database? How can I specify that in vB to use a path to store files instead of using the database?

toadtje

Last edited by toadtje; 06-06-2006 at 08:36 AM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-06-2006, 03:31 PM   #8
vB Newbie
Join Date: Jun 2006
toadtje is on a distinguished road

Default

Ok... found out now for sure that this is an issue that lies in vBulletin. Tested another board, and it worked beautifully. Problem is that I dont like that other board as much as vB, so I want to make this work. So the question then is:

How can I make vBulletin accept attachments larger than 16MB? My settings are 999999999 or something for all file types, and still it denies me to upload larger than 16MB files. Any php scripts in vBulletin that can be changed to make it accept it? Any thoughts is very appreciated.

toadtje




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-07-2006, 01:46 AM   #9
Coder
gio~logist's Avatar
Join Date: Jul 2005
Location: Miami, Florida
gio~logist is on a distinguished road

Default

Quote:
Originally Posted by toadtje
Ok... found out now for sure that this is an issue that lies in vBulletin. Tested another board, and it worked beautifully. Problem is that I dont like that other board as much as vB, so I want to make this work. So the question then is:

How can I make vBulletin accept attachments larger than 16MB? My settings are 999999999 or something for all file types, and still it denies me to upload larger than 16MB files. Any php scripts in vBulletin that can be changed to make it accept it? Any thoughts is very appreciated.

toadtje
Perhaps this is because that board saves directly to your website as oppose to your database?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-07-2006, 08:12 AM   #10
vB Newbie
Join Date: Jun 2006
toadtje is on a distinguished road

Default

Perhaps so, but in the other board, it also saves attachments with original filenames into a directory that I have chosen on my web harddrive. Is there any hack for vB that allows me to do the same for that? That would perhaps solve my problems.

toadtje




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Enable/Disable many settings in vb {custom and default}. Version 2.1 Developer vBulletin 3.5 / 3.6 Hack Releases 16 11-18-2006 09:55 PM
Sub-forum settings? HeLL General vBulletin Support 4 10-20-2005 09:25 AM
Combine yahoogroups list with vB forum laureen vBulletin Modification Requests 0 08-02-2005 12:48 AM
Regerstaration, via custom form, outside of vb forum? Hyper vBulletin Modification Requests 13 08-24-2004 03:25 PM


All times are GMT -3. The time now is 04:39 PM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)