vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Increase limit size of attachmets (https://vborg.vbsupport.ru/showthread.php?t=190544)

chris_psycho 09-10-2008 10:59 AM

Increase limit size of attachmets
 
I would like to increase the limit size of attachments from 19.5 kb to higher (eg. 2 mb). May you help me.

Thank you!

Princeton 09-10-2008 11:16 AM

have you tried: AdminCP / Attachment Manager

NOTE:

2 mb is the default size for most server
if you are on a shared hosting environment - I doubt it will be changed.

if you run your own server - you will need to look into the following

PHP:
max_execution_time
memory_limit
post_max_size
upload_max_filesize

MySQL:
max_allowed_packet
max_packet_size
wait_timeout

You can see your PHP settings in your:

Admin CP / Maintenance / View PHP info

chris_psycho 09-10-2008 11:30 AM

have you tried: AdminCP / Attachments / Extensions and Sizes

i cannot find this option in Attachments!

Princeton 09-10-2008 11:34 AM

sorry

1)__ Edit Attachment Type
2)__ Edit "Max Filesize"

chris_psycho 09-10-2008 11:58 AM

thank u very much...but how can i increase the total limit of all the files uploaded?

Lynne 09-10-2008 02:28 PM

Quote:

Originally Posted by chris_psycho (Post 1618912)
thank u very much...but how can i increase the total limit of all the files uploaded?

Do you mean the total that user may upload? Usergroup Manager > select the usergroup to edit > Attachment Permissions > Space (in bytes) that a user.... if you set that to 0, then there is no limit.

chris_psycho 09-11-2008 05:29 AM

Quote:

Originally Posted by Lynne (Post 1619033)
Do you mean the total that user may upload? Usergroup Manager > select the usergroup to edit > Attachment Permissions > Space (in bytes) that a user.... if you set that to 0, then there is no limit.

It's zero, but there is a limit! :(

--------------- Added [DATE]1221147075[/DATE] at [TIME]1221147075[/TIME] ---------------

Any help??

Lynne 09-11-2008 02:35 PM

What limit are you saying there is? A limit of space per user? Or the limit of the size of the attachment? I'm not following what you are saying. (Did you change any of the settings Princeton mentioned?)

chris_psycho 09-11-2008 02:42 PM

Yes...a limit of space per user! I did what Lynne said, but there is a limit at about 1,5 mb.

Thanks

Lynne 09-11-2008 02:56 PM

Are the users in any secondary usergroups?

chris_psycho 09-11-2008 03:06 PM

Yes they are...but administrator,also, cannot upload more than 1,5 mb!

Lynne 09-11-2008 03:07 PM

Check the limits on the secondary usergroups. If they have a value in that spot other than "0", then that will be the limit.

chris_psycho 09-11-2008 03:10 PM

No it's 0 too! :(

Lynne 09-11-2008 03:30 PM

Again I'll ask, did you change the settings Princeton mentioned? If you have a php/mysql setting set to limit the attachment size, then no matter what you do in vbulletin, you won't be able to increase the size limit.

chris_psycho 09-11-2008 03:58 PM

Quote:

Originally Posted by Princeton (Post 1618885)
have you tried: AdminCP / Attachment Manager

NOTE:

2 mb is the default size for most server
if you are on a shared hosting environment - I doubt it will be changed.

if you run your own server - you will need to look into the following

PHP:
max_execution_time
memory_limit
post_max_size
upload_max_filesize

MySQL:
max_allowed_packet
max_packet_size
wait_timeout

You can see your PHP settings in your:

Admin CP / Maintenance / View PHP info

I don't think that these settings are related. These settings influence only how big is the file that a user can upload (eg. no more than 2 mb.), not how much is the total limit of all the files that a user can upload ever.

Lynne 09-11-2008 05:02 PM

OK, check all these:
vboptions > Message Attachment Options
Attachments > Attachment Manager > check each type to see the size allowed
Attachments > Attachment Permissions > check to see if any of those are edited from default (in red)
Usergroups > Usergroup Manager > select usergroup > Attachment Permissions (check for *every* usergroup)


Those are the only places I can see, besides the php/mysql settings, that would limit the size/amount of the attachments.

Also, note this about the size:
Quote:

Enter a byte value.

1024 bytes = 1 kilobyte
1048576 bytes = 1 megabyte


All times are GMT. The time now is 05:49 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01178 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete