Page 2 of 5
Love these new featu
Posted: 10 Apr 2008, 23:22
by lanfan
Love these new features but is it possible to hide the folder thumbnail on categories that requires priviledge? (But not on public or allowed)
That would be really neat... and ofcourse the image hitcounter... coming soon?
cheers, //LF
Yes, in version 1.6.
Posted: 11 Apr 2008, 00:12
by Jan
Yes, in version 1.6.8, parameter:
Display Unaccessible Categories...
I use the new versio
Posted: 11 Apr 2008, 11:47
by bitschubse
I use the new version 1.6.8, but the parameter "Display Unaccessible Categories" takes no effect.
Any ideas?
What does it mean it
Posted: 11 Apr 2008, 11:58
by Jan
What does it mean it takes no effect? Please be specific...
Do you have enabled it in Default Settings or in Parameter Component?
It only hide the categories in category view but the backbutton or folderbutton to this category will be displayed (must be because of tree) but user cannot access them if e.g. is not registered...
Jan
It only hide the
Posted: 11 Apr 2008, 13:49
by bitschubse
It only hide the categories in category view but the backbutton or folderbutton to this category will be displayed (must be because of tree) but user cannot access them if e.g. is not registered...
Ok, that's the reason, the folderbutton is shown.
Sorry! If I have more questions, I'll first read the manual...
Hi, it is new featur
Posted: 11 Apr 2008, 13:58
by Jan
Hi, it is new feature ... so if you don't find something in manaul, just ask or give me a feedback, I can write it there...
Jan
I made a little mod
Posted: 11 Apr 2008, 15:05
by bitschubse
I made a little mod to solve the problem, which shows random thumbnails on folderbuttons of unaccessible categories. Maybe you can add it to the next version.
Change following code in line 105 in the "components/com_phocagallery/views/category/tmpl/default.php" file:
old:
echo JHTML::_( 'image.site', $value->linkthumbnailpath, '', '', '', $value->title );
new:
if ($value->access == 0){
echo JHTML::_( 'image.site', $value->linkthumbnailpath, '', '', '', $value->title );
} else {
echo JHTML::_( 'image.site', 'components/com_phocagallery/assets/images/icon-folder-medium-images-shadow-access.pn g', '', '', '', 'Access denied!' );
}
new icon:
This is great idea..
Posted: 11 Apr 2008, 21:50
by Jan
This is great idea...
but maybe this should we edit:
if ($value->access == 0)
because it displays the key for all users and maybe if some user is logged in and he can access the folder, it is not goot to display him the key...
The second problem, I get is:
Notice: Undefined property: stdClass::$access in ..components\com_phocagallery\views\category\tmpl\default.php on line 107
the third problem is the back button to parent category which can be for registered too...
But I take a look at it, thank you,
Jan
Hi Jan,I
Posted: 18 Apr 2008, 11:58
by Svempa
Hi Jan,
I am writing to express my admiration for your work, the new version 1.6.8 is a great step forward! I was working with another gallery solution, trying to implement my own access control system, but luckily found out about your new version in time.
My family site
http://www.bankel.se (just now beginning to reach final stage) now has one open Phoca Gallery for each member, and will also have one private Phoca Gallery for each member. I also appreciate the possibility to expressly hide certain galleries when showing them all, perhaps you should mention somewhere that a semicolon is needed as separator.
If anybody wants to see this particular application of Phoca Gallery, you can log on with testare/test1 - as a guest you cannot see much of the site. This gives you publisher privileges so you can even write something on the site if you wish, essential parts are protected by my own ACL so there is really no risk ! Certain categories are open for all publishers, and of course Testare has the category DPP-test/DPP1 for private usage.
Regards,
Svempa
Hi,Semicolon -
Posted: 18 Apr 2008, 13:42
by Jan
Hi,
Semicolon - it should appear if you go over the parameter ...
Please, upgrade to 1.7.0:
- detail images are protected too (if user add the url manually)
- private galleries are not displayed in tree (if you set the parameter not display the protected galleries)
- enable or disable displaying of protected galleries in tree module
and in random image module...
Jan