ZenphotoCMS Forum
New Theme for 1.2.9 - zpGalleriffic - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Themes (https://forum.zenphoto.org/forum-5.html)
+--- Thread: New Theme for 1.2.9 - zpGalleriffic (/thread-6618.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12


New Theme for 1.2.9 - zpGalleriffic - vincent3569 - 19-03-2010

@gir
ok follow this link :
http://vincent.bourganel.free.fr/zenphoto/index.php?album=raid-obivwak
there is a album "raid obivwak" with 2 sub-albums "raid obivwak 2008" and "raid obivwak 2009"
comments are allowed on "raid obivwak" and are not allowed on the 2 sub-albums.
in all the case, the comments box doesn't work properly :
in the first case : comments(0) should be not displayed
in the second case : the comment box is not displayed

other fact : comment box works well for the images :
in "raid obivwak 2009" album , comments are allowed for CRW_4669 and are not allowed for CRW_4670 : you could see the comment box for the 1st one and don't see it for the 2nd one

thank for you're help




New Theme for 1.2.9 - zpGalleriffic - vincent3569 - 19-03-2010

Another question on this wonderfull theme :
Is it possible to have a higher level for lighting pictures when they are not flown with mousse ?
with firebug, I see and I would have 0.8 example

where do I change this value?
i tried to change the ouseOutOpacity value in jquery.opacityrollover.js, but it did not work




New Theme for 1.2.9 - zpGalleriffic - gjr - 19-03-2010

@vincent3569:
Ok for the comments. I cannot figure out why the comment form is not displaying for you on that parent album. I tested this configuration on my test site with a parent allowing comments and the subs not, and it seems to work correctly with this theme. [b]Did you try switching to a default theme to see if the issue is there also? [/b]. It IS a theme bug that the comments link appears on closed items. To fix that, wrap a conditional with getCommentsAllowed() around the whole comment block (should do this for image, news, and pages also)

`

 ()

`

For opacity, if you are using the alt album, which looks like you are, edit these in the js file: js/zpgalleriffic-min.js, otherwise in zpgalleriffic.js.

You will see two opacity var sets -
var onMouseOutOpacity = 0.67; sets the initial opacity of image thumbs, and
var onMouseOutOpacityAlbums = 0.57; sets the initial opacity of album thumbs.




New Theme for 1.2.9 - zpGalleriffic - vincent3569 - 21-03-2010

@gjr

in fact, with the default theme, the following code in album.php
`

produce the following html code

`
whenever comments are allowed or not.

=> so, it seems to be a bug of printCommentForm() ?
this function doesn't work well for album's comments




New Theme for 1.2.9 - zpGalleriffic - gjr - 22-03-2010

It is not a bug, just a matter of every theme using the correct conditionals. The theme needs to determine if the comments plugin is activated (function_exists), and then also if the object is allowed for comment (getCommentsAllowed)




New Theme for 1.2.9 - zpGalleriffic - vincent3569 - 22-03-2010

compared to previous message, I meant that, whatever the theme, the problem is the same on the [b]album pages[/b] : Comments are not displayed, even if they are allowed : there's no html code between the div tags.

so it seems not to be a problem of your theme but to be a problem of printCommentForm function




New Theme for 1.2.9 - zpGalleriffic - acrylian - 22-03-2010

No, it is not a problem of the comment form.

The clue is that there is no extra `" around the form neeeded as the form function would print that itself if activated. If comments for the item are disallowed it normally shows something like "closed for comments". If the plugin is deactivated, it of course shows nothing.




New Theme for 1.2.9 - zpGalleriffic - vincent3569 - 23-03-2010

sorry, i understood and I found my mistake.
in the admin pages of the comment_form's plugin , there is a check box "Allow comments on" and "Albums" was unchecked.
if the option is checked, all is ok.

on the same subject : is there a function to control if comment are opened or not on an album or an image ?




New Theme for 1.2.9 - zpGalleriffic - acrylian - 23-03-2010

Sure, there is a checkbox to allow comments specifially for each image, album (as well as Zenpage pages and news).




New Theme for 1.2.9 - zpGalleriffic - vincent3569 - 23-03-2010

of course, i know that ;-)
my question was : is there a function which return true ou false if checkbox is checked or not ?