• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

mass query to allow guest to see everything

Brandon Sheley

Well-known member
I imported a database with tons of forums in it that were set to private before for guest.
I've been going through one at a time and it's taking forever.
Is there a query that I could run to allow all forums to be seen by guest.

I need this group

Unregistered / Unconfirmed (ID1)

I need to allow these these 3 options for all forums.

View threads by others:
View thread content:
View attachments to posts:

I hope someone can help me with this quickly (y)


Well-known member
It may be possible to do by inserting into xf_permission_entry, but I imagine there are way too many dependencies to make this feasible.

There are methods to insert permissions into the db via XenForo_Model_Permission, but again quite complex.

You may as well just use the quick select and select yes for the unregistered permissions.