Show random picture in category not accessable
Posted: 23 Aug 2012, 16:02
how to remove "icon-folder-medium-key.png" usually show images in category not accessable?

it worked in previous versions:
- administrator/components/com_phocagallery/libraries/phocagallery/image/imagefront.php
remove line 835
- components/com_phocagallery/views/categories/view.html.php
in new version v3.2.1 has changed!
it worked in previous versions:
- administrator/components/com_phocagallery/libraries/phocagallery/image/imagefront.php
Code: Select all
$rightDisplayKey = 0;
set
$rightDisplayKey = 1;Code: Select all
if (isset($images[0]->cataccessuserid) && isset($images[0]->cataccess)) {
$rightDisplay = PhocaGalleryAccess::getUserRight('accessuserid', $images[0]->cataccessuserid, $images[0]->cataccess, $user->authorisedLevels(), $user->get('id', 0), 0);
}
if ($rightDisplay == 0) {
$images = 0;
}
- components/com_phocagallery/views/categories/view.html.php
Code: Select all
set line 181 and 190
$rightDisplay = 1;
$rightDisplayKey = 1;