Topic: LuxCal 4.6.0 - Options button not visible for public calendar users

There is a bug in the LuxCal calendar version 4.6.0, which makes the Option button disappear for users who have no administrator rights.
To solve this problem, edit the file common/header.php and change line 410 from . . .

$options = ($dbSel and $usr['privs'] == 9) or $set['viewMenu'] or $set['groupMenu'] or $set['userMenu'] or $set['catMenu'] or $set['langMenu']; //menus

to . . .

$options = (($dbSel and $usr['privs'] == 9) or $set['viewMenu'] or $set['groupMenu'] or $set['userMenu'] or $set['catMenu'] or $set['langMenu']) ? true : false; //menus

Thereafter the Options button will be visible to all users.
Roel

Re: LuxCal 4.6.0 - Options button not visible for public calendar users

Hey Roel,

Thank you for posting about this bug. My Calendar is personal so there isn't a Public View. I assume this fix been applied to the download?

Regards,
Dan

Some own motorcycles, others ride them.

Find great LuxCal examples by Schwartz at http://www.calendarforum.dk/index.html

Re: LuxCal 4.6.0 - Options button not visible for public calendar users

Hey Dan,

This bug has not been fixed yet in the download, because I don't want to bring out a new calendar release just for one bug. But it will surely be fixed in the download of the next calendar release.

Cheers,
Roel

Re: LuxCal 4.6.0 - Options button not visible for public calendar users

Hey Roel,

I understand. Thanks for the clarification. Any upgrades or new installations I'll apply this fix until the next release.

Regards,
Dan

Some own motorcycles, others ride them.

Find great LuxCal examples by Schwartz at http://www.calendarforum.dk/index.html