Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
No 'Guest' account?
Hi guys - I've just create a new forum using a V1 database.
All is well except I have no user role "Guest" so when I view as unregistered I get no discussions - how can I recreate this role? Happy to do it DB side if I know what the fields are meant to be, maybe someone can strip them out for me to see
Cheers
Rob
Anyone got an idea on this?
I made a duplicate install just so I could generate the Guest role - I managed this and I can see that the Guest role works as intended - Then I tried to recreate the user in GDN_Permission and GDN_Role but it obviously has dependencies elsewhere as it didn't work.
Any more ideas? Or know what other tables that the user needs adding in?
All is well except I have no user role "Guest" so when I view as unregistered I get no discussions - how can I recreate this role? Happy to do it DB side if I know what the fields are meant to be, maybe someone can strip them out for me to see
Cheers
Rob
Anyone got an idea on this?
I made a duplicate install just so I could generate the Guest role - I managed this and I can see that the Guest role works as intended - Then I tried to recreate the user in GDN_Permission and GDN_Role but it obviously has dependencies elsewhere as it didn't work.
Any more ideas? Or know what other tables that the user needs adding in?
Tagged:
0
Answers
I'm really struggling to sort this. Can anyone help with where it filters out users from viewing the site without logging in? I'll happily dig in if it's theme based.
I think you need to set your categories visible to all. In vanilla/settings/managecategories
make sure that guests can view. Check through the custom permissions carefully, that they are how you want. There can be some surprises just using the defaults.
grep is your friend.
I've done a clean install with no users and the permissions work fine - I just need to recreate this magical 'Guest' user...
grep is your friend.
I've recreated the user in GDN_Role and GDN_Permission but no joy.
The defualt permission for categories is -1 so I suggest you set PermissionCategoryID to -1 where you want the default behaviour, if it is not already.
grep is your friend.
I've now copied the default GDN_Permission table over into my install. I can now view the discussions as a guest, woot!
I'll have to look into Private Messages as they're also visible now. To be honest I don't really understand how they work anyway so I'll dive in.