Support Forum

Not have the Waenings

AM AM
AM
Member

I have all these warnings that show up in forum admin like this

Warning – There are no usergroups with members that have permissions on forum: Assignments This forum may only be visible to SP admins

Can I turn off these Warnings?

Thanks

6 Answers

New Answer

BR Brandon
Brandon
Member

What you would want to do is set those permission for that forum. If you don’t want anyone but an Admin to access them then select the usergroups you have and give them “No Access” level.

AM AM
AM
Member

I’m talking about the admin. These warnings are in the WP forum dashboard. I don’t want to see these warnings.

YS Yellow Swordfish
Yellow Swordfish
Member

Actually no you can’t. We could consider that of course but (a) these warnings are rather important and (b) I guess we expect that users will correct the issue they warn against so that they go away naturally. But I suppose that if you really DO want to define forums that nobody can actually see then you would want to get rid of them!

I can tell you what code to change to make them disappear and in the meantime we could discuss here whether we feel a longer term switch is desirable… even if risky to most users.

AM AM
AM
Member

Well if you don’t have a switch to turn it off right now then I can live with it for now.

But here is why I feel a switch is helpful.

I’m defining forums for courses that will start in the near future. So I have a user group, forum group, and forums that I’m setting up. And there are 3 courses starting together.  So now I have whole stack of Warnings at the top that I have to see every time I go to the admin panel. And I have scroll down to get to what I really want to see.

In such cases a switch would really useful. 

YS Yellow Swordfish
Yellow Swordfish
Member

Understood.

One quick and dirty way you could remove them – which would perhaps suffice until we can discuss this our end – would be to add to the admin CSS file (/simple-press/admin/resources/css/spa-admin.css)the following:

.message { display: none; }

which should work

AM AM
AM
Member

Yellow Swordfish said

.message { display: none; }

<br />

Great thanks.. CSS to the rescue