MyBB Community Forums

Full Version: [F] Attachment quota defaults to a secondary group.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I belong to two groups on my forum, one is Administrators (with unlimited quota) and the other is a group specifically created to be able to view a hidden forum. This quote was set to 10,000 as it was default.

I went to a regular forum (not affected by the second group) and found that I could not upload attachments (it said I was using 12MB of 9.76MB limit or something like that).

My primary group is the Administrators group.

The problem was solved when I changed the secondary group's quota to something higher.

-DrPoodle
Open inc/functions.php and find:
					if($access == 0)
					{
						$usergroup[$perm] = 0;
						$zerogreater = 1;
					}

Replace it with:
					if($access == 0)
					{
						$usergroup[$perm] = 0;
					}
					$zerogreater = 1;
This bug has been fixed in the latest code.

Please note the latest code is not live on the site or for download. An update will be released which contains this fix.