I am interested to know what part of the gallery was extremely difficult to use.
For the error. It seems for the above a line of code was deleted or removed. I can apply the patch to the file if you attach your file from your forum found under Sources/Subs.php
Or you can find this code in Sources/Subs.php
$context['allow_calendar'] = allowedTo('calendar_view') && !empty($modSettings['cal_enabled']);
And make sure that this code is after that line
$context['allow_smfgallery_view'] = allowedTo('smfgallery_view');
Hi SMFHacks,
Thank you for the reply and help but unfortunately, when I did exactly as you instructed using a php editor, it crashed the forum completely. I now get this error when trying to access the forum:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/sabremax/public_html/forum/Sources/Subs.php on line 891
Please tell me how to get the forum back online and I'll just give up on the gallery.