How to allow forum access to annon users?

kengrayfield
Forums
It seems that the forum in Opigno is designed as a lesson tool for users within a group, and not for annon users. How do I allow annon users to access forums? I tried looking under user permission, and I can't get that to work. Thanks!
Profile picture for user James Aparicio
James Aparicio

Hi kengrayfield,

Hi kengrayfield,

You can allow anonymous users to see the foruns that are not part of a group, by changing the access callback inside the file /profiles/opigno_lms/modules/opigno/opigno/opigno_og_access/opigno_og_access.module.

 

Best regards

kengrayfield

Thanks. I will look into it.

Thanks. I will look into it. Best, Ken

What should I edit in this

What should I edit in this line so that forum can be view by annon users ? $items['forum']['access callback'] = 'user_is_logged_in';
Profile picture for user James Aparicio
James Aparicio

Yes,

Yes,

Just change 'user_is_logged_in' to TRUE.

 

Best regards

 

Profile picture for user James Aparicio
James Aparicio

Please clear the cache and

Please clear the cache and rebuild the permissions.

Is it the menu that is not showing or does he get access denied even if he writes the url manually?

Best regards

Profile picture for user James Aparicio
James Aparicio

Did you write 'TRUE' or TRUE?

Did you write 'TRUE' or TRUE?

Best regards

Not its working. Thank you

Not its working. Thank you

Hi,

Hi, Is it possible that Anonymous user can see the post by admin and authenticated users? If yes then can you please tell me how ? Thanks in advance.
Profile picture for user James Aparicio
James Aparicio

Hi rahul,

Hi rahul,

Are you talking about forums that are part of courses, or open forums?

When looking at forum permissions keep in mind, Forum -> taxonomy (forum vocabolary), forum topic -> node (content type), forum comment -> comment

 

Best regards

Hi,

Hi, I am talking about both. I want that the anon user can see all the post from anyone but can not post or comment on it.
Profile picture for user James Aparicio
James Aparicio

And can they currently see

And can they currently see posts and comments from open forums?

Best regards

No they can't see the post

No they can't see the post from any authenticated user or admin
Profile picture for user James Aparicio
James Aparicio

First step would be to make

First step would be to make sure they can see open forums content.

Install the devel module and render the node access blocks, so you can see what is going on with the access to the topics (nodes).

 

Best regards

hoangbien

Thank a lot

Thank you very much