Image rating notification

Phoca Gallery - image gallery extension
komir
Phoca Member
Phoca Member
Posts: 23
Joined: 06 Jan 2012, 22:52
Contact:

Image rating notification

Post by komir »

Hi, is it possible to have notification to unregistered users, that, they must register to make rating of image?
Something like popup window/floating window to unregistered users, when they have mouse over stars?
If is not possible, maybe to add text/notification, above stars, to unregistered users. To add custom test, what will be correct file to add it?
Thank you, best regards
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Image rating notification

Post by Jan »

Hi, for now there is no such option, it can be displayed e.g. in description, to display it e.g. on mouse over, this needs to be customized in the code :-(

Jan
If you find Phoca extensions useful, please support the project
komir
Phoca Member
Phoca Member
Posts: 23
Joined: 06 Jan 2012, 22:52
Contact:

Re: Image rating notification

Post by komir »

Hi, thank you. I try to add custom text in /components/com_phocagallery/views/category/tmpl/default_images.php, before, // Rate Image with

Code: Select all

<?php echo "Only registered users can vote!"; ?>
, but, in fronted get white page?
Can I get additional help, please
Thank you
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Image rating notification

Post by Jan »

Hi, white page mostly means a php error, enable php error reporting to see which error you get there:
https://www.phoca.cz/documents/16-joomla ... rs-on-site

Jan
If you find Phoca extensions useful, please support the project
komir
Phoca Member
Phoca Member
Posts: 23
Joined: 06 Jan 2012, 22:52
Contact:

Re: Image rating notification

Post by komir »

Jan wrote:Hi, white page mostly means a php error, enable php error reporting to see which error you get there:
https://www.phoca.cz/documents/16-joomla ... rs-on-site

Jan
Hi, thank you. Now know reason of white page. It is, I try to add custom text in /components/com_phocagallery/views/category/tmpl/default_images.php, before,

Code: Select all

 // Rate Image
with

Code: Select all

<?php echo "Only registered users can vote!"; ?>
, to get notification, above stars, for customers?
But, it is wrong and try to figured what is correct way to get notification?

Thank you
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Image rating notification

Post by Jan »

And do you get some specific error message there?

Jan
If you find Phoca extensions useful, please support the project
komir
Phoca Member
Phoca Member
Posts: 23
Joined: 06 Jan 2012, 22:52
Contact:

Re: Image rating notification

Post by komir »

Jan wrote:And do you get some specific error message there?

Jan
No, only white page
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Image rating notification

Post by Jan »

White page mostly means a php error, try to enable php error reporting or see the errorLog on your server which tells more about the problems :idea:
https://www.phoca.cz/documents/16-joomla ... rs-on-site
Jan
If you find Phoca extensions useful, please support the project
Post Reply