vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Bigger attachment for a forum or usergroup (https://vborg.vbsupport.ru/showthread.php?t=228988)

sergioloporto 11-27-2009 10:36 AM

Bigger attachment for a forum or usergroup
 
Hello,

I am running (vBulletin 3.8.3).

I would like to allow a specific usergroup or forum to upload bigger attachments than the other users or other froums.

There is a specifig usergroup that needs to attach big attachments in a specific forum, but I don't know how to give more privileges concerning the attachment size without touching the global one.

Please help,
Thanks

Lynne 11-27-2009 02:04 PM

Admin CP > Attachments > Attachment Permissions

sergioloporto 11-27-2009 02:22 PM

Thanks, for pdf is working... when I am uploading a RAR I get the following error:

HTML Code:

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.


Lynne 11-27-2009 02:37 PM

Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 


sergioloporto 11-27-2009 02:59 PM

I disabled the hooks how you said successfully.
Tried to upload one more time the 11MB file, waited about 2 minutes and then the same error appeared... any suggestions?

Lynne 11-27-2009 03:58 PM

You still got the security token error? You can try this:
Create a new style with no parent:
  • Styles & Templates > Style Manager > Add New Style
  • Parent Style: No Parent Style
  • Title: Default vBulletin
  • Allow User Selection: Yes
  • Save
Now try uploading it.

If you still have the problem with the default style and your plugins disabled, then you may want to put in a support ticket.

sergioloporto 11-28-2009 02:00 PM

I have some news...

I the following topic: http://www.vbulletin.com/forum/showt...-or-mismatched

And I found out that it's probably caused by the php.ini

I am using the normal PHP5 (not fast CGI), so in each folder the php.ini is needed, it should be changed and it will affect the php files on that folder.

If I go to:

Admin CP -> Maintenance -> PHP info I can see:


upload_max_filesize = 2M
post_max_size = 8M
memory_limit = 32M

I have changed my php.ini in the /forums folder with other values... but in the PHP info I can still see the older values (see above).

What should I do? Should I edit a particular php.inf or I should edit all of them? Or maybe something else?

Thanks & regards

Lynne 11-28-2009 02:12 PM

Not allow hosts allow you to change the php values in a php.ini in your /forums folder. Are you sure your host allows this? If not, you will have to ask them to change the values for you.

sergioloporto 11-28-2009 03:28 PM

please, look here: http://helpdesk.hostmonster.com/inde...article/000128

I am now using the:Standard PHP (Default)

Lynne 11-28-2009 03:34 PM

If your php values are not getting changed with your php.ini changes, then you will have to talk to your host about it.


All times are GMT. The time now is 10:06 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.01021 seconds
  • Memory Usage 1,728KB
  • 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
  • (1)bbcode_html_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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