MyBB Community Forums

Full Version: Attachment problem per forum per group
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello,

I am not able to attach any thing when I create a new thread. Infact the forums don't seem to have the attachment settings enabled to anyone. When I check the "Can post attachments?" under Posting/Rating in permissions of a forum and save forum permissions for the Admin group and when I go back and Edit Permissions for the Admin group I see that the "Can post attachments?" is still unchecked even after checking it like 100 times and saving the permissions.

What could be wrong?
Make sure that:

inc/settings.php

is CHMOD to 666.
Try to add the following to inc/init.php after the line that says "<?php":
define('NO_PLUGINS', true);

This will disable all plugins. See if the problem still occurs.

Afterwards, you can remove that line again.
(2011-05-12, 06:23 PM)crazy4cs Wrote: [ -> ]Make sure that:

inc/settings.php

is CHMOD to 666.

No, it doesn't help. The problem still persist.

(2011-05-12, 06:28 PM)Aries-Belgium Wrote: [ -> ]Try to add the following to inc/init.php after the line that says "<?php":
define('NO_PLUGINS', true);

This will disable all plugins. See if the problem still occurs.

Afterwards, you can remove that line again.

I did this and I get this error when I try to browse the forum or AdminCP:

Quote:Fatal error: Call to undefined function phpdefine()
in /inc/init.php on line 1



You need to add space or a line break after <?php, so it should say:
<?php
define('NO_PLUGINS', true); 
Even after addingthat, I try to save the permissions after checking the Can upload attachment? and when I go back again and see it it is still unchecked.
That's strange. Can you PM me the login for your AdminCP, please?
Okay, weird. Rebuild your forumpermission cache and now it seems to be working. Can check for yourself?
Sorrie but I can't make this to work. I had PMed you the login details. You can check once if you want.
(2011-05-12, 08:10 PM)Br33zer Wrote: [ -> ]Sorrie but I can't make this to work. I had PMed you the login details. You can check once if you want.

In what forum are you trying to do it and for which usergroup?
InTounguereliminary Exam Discussion ( CSAT )

But I wanted to do it in every forum. And I was doing it for the Admin group.
Pages: 1 2