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
Image rating notification
-
- Phoca Member
- Posts: 23
- Joined: 06 Jan 2012, 22:52
- Contact:
- Jan
- Phoca Hero
- Posts: 47887
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Image rating notification
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
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 23
- Joined: 06 Jan 2012, 22:52
- Contact:
Re: Image rating notification
Hi, thank you. I try to add custom text in /components/com_phocagallery/views/category/tmpl/default_images.php, before, // Rate Image with
, but, in fronted get white page?
Can I get additional help, please
Thank you
Code: Select all
<?php echo "Only registered users can vote!"; ?>
Can I get additional help, please
Thank you
- Jan
- Phoca Hero
- Posts: 47887
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Image rating notification
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
https://www.phoca.cz/documents/16-joomla ... rs-on-site
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 23
- Joined: 06 Jan 2012, 22:52
- Contact:
Re: Image rating notification
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,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
Code: Select all
// Rate Image
Code: Select all
<?php echo "Only registered users can vote!"; ?>
But, it is wrong and try to figured what is correct way to get notification?
Thank you
- Jan
- Phoca Hero
- Posts: 47887
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Image rating notification
And do you get some specific error message there?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 23
- Joined: 06 Jan 2012, 22:52
- Contact:
Re: Image rating notification
No, only white pageJan wrote:And do you get some specific error message there?
Jan
- Jan
- Phoca Hero
- Posts: 47887
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Image rating notification
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
https://www.phoca.cz/documents/16-joomla ... rs-on-site
Jan
https://www.phoca.cz/documents/16-joomla ... rs-on-site
Jan
If you find Phoca extensions useful, please support the project