PDA

View Full Version : Bigger attachment for a forum or usergroup


sergioloporto
11-27-2009, 10:36 AM
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:

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

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/showthread.php?296967-Error-Security-token-was-missing-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/index.php/kb/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.