SMFHacks.com
SMF Gallery Pro => Support => Topic started by: Matthias on November 19, 2019, 07:00:25 am
-
Version:
SMF 2.0.15
Gallery 8.0.6
If guests access the gallery (if guest access is allowed), the unread button will be displayed at every item.
After viewing the item, the unread button remains anyway, because the user is not logged in.
Open Sources/Subs-Gallery2.php
Search for:
// Unread
if (isset($setupRow['showunreadicon']))
Replace:
// Unread
if (($context['user']['is_logged']) && (isset($setupRow['showunreadicon'])))
-
Change made for next update.