Just wanted to suggest the user-codes be fixed in next release of PhocaGuestbook so the documentation is correct... As it states that administrators AND super administrators are able to unpublish/delete the messages from front end, but it seems to not always be the case... On my install it only worked for super administrator.
i.e....
viewtopic.php?f=2&t=9874
....the strtolower($user->usertype) is inconsistent throughout.
PhocaGuestbook is real nice component, just thinking this should be fixed so less issues from those who use it. :
Emilee
Fix User Access?
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Fix User Access?
Hi, it was fixed to:
try to download the file now and try to upgrade.
Jan
Code: Select all
if (strtolower($user->usertype) == strtolower('super administrator') || strtolower($user->usertype) == strtolower('administrator')) {
Jan
If you find Phoca extensions useful, please support the project