Fix User Access?

Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 22 Jun 2010, 19:18

Fix User Access?

Post by leej22 » 26 Jun 2010, 20:44

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... :idea: On my install it only worked for super administrator.

....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. : :)


User avatar
Phoca Hero
Phoca Hero
Posts: 44092
Joined: 10 Nov 2007, 18:23
Location: Czech Republic

Re: Fix User Access?

Post by Jan » 26 Jun 2010, 21:34

Hi, it was fixed to:

Code: Select all

if (strtolower($user->usertype) == strtolower('super administrator') || strtolower($user->usertype) == strtolower('administrator')) {
try to download the file now and try to upgrade.

If you find Phoca extensions useful, please support the project

Post Reply