Hello,
thanks for this MOD!
There are two things, that not fine at the moment:
If you use in xml.php and home.html "
www.domain.com", the flash will don't work if the gallerie was visit by passing the "www" like
http://domain.com/4images I tried to leave "www" in config-settings, but flash don't work anymore. At the moment the only solution may be to disable posibility of using
http://domain.com/4images or make forwarding.
For the second i found a small solution for the moment by myself
Because the selection of images is setting by
AND a.cat_id = b.cat_id
AND b.auth_viewcat=".AUTH_ALL."
AND b.auth_viewimage=".AUTH_ALL."and there are none public pictures at all, but pitcures in categories with permission, nothing will displayed by flash
My easy way:
in xml.php
search:
include(ROOT_PATH.'includes/constants.php');add after
include(ROOT_PATH.'includes/auth.php');search:
AND a.cat_id = b.cat_id
AND b.auth_viewcat=".AUTH_ALL."
AND b.auth_viewimage=".AUTH_ALL."replace:
WHERE a.image_active = 1 AND a.cat_id = b.cat_id AND b.cat_id NOT IN (".get_auth_cat_sql("auth_viewcat", "NOTIN").")
At the moment, this is not fine while guest will see flash images
and i don't nkow why. May it will be the best, flash images only shown for registered user.
Regards,
Henry