MyBB Community Forums

Full Version: How can I limit guest views
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I limit guest view of the forum. For example, guest should be able to view threads and posts but should not be able to view profiles and other stuff. Like guest now have access to users profile, credits etc. How can I only allow them to view the forum and not access users profile.
Have you tried looking in the settings when editing a usergroup?

ACP > Users & Groups > Groups > Guests > Forums and Posts > Can view user profiles?
[Image: feec992bcd81db66c6ff330559f42bcb.png]

This one right? Thanks for the help!
Is credits a custom page? Or is it a plugin?
(2023-01-26, 02:22 PM)Taylor M Wrote: [ -> ]Is credits a custom page? Or is it a plugin?

Custom page.
find the .php file for it and add this to the top

if ($mybb->user['usergroup'] == 1) { error_no_permission(); }
(2023-01-30, 12:08 PM)Taylor M Wrote: [ -> ]find the .php file for it and add this to the top

if ($mybb->user['usergroup'] == 1) { error_no_permission(); }

in 'usergroup' should I add the usergroup which I want to limit access to for example guest
The guest usergroup is 1 lol. Its already in the code.
(2023-01-31, 11:06 PM)Taylor M Wrote: [ -> ]The guest usergroup is 1 lol. Its already in the code.

Oh sorry missed that, was on my phone so just asked the question out of curiosity