Hi Piwigo team,
I am creating a photo gallery website using Piwigo. My purpose is that if a user, though he/she have register already on my page, not yet log-in their account, when they visited my site, I want the page redirect to log-page (http://localhost/mysite/identification.php)
How can I do with this?
Thanks in advance.
Thank plg for quick warmly reply to me. After i added a line of code ( $conf['guest_access'] = false; ) into the file config.inc.php now it work :) .
However, the message 'You are not authorized to access the requested page' is appear when I visit that my page at the first time. It should only appear when I try to access admin page without user log-in up to two times. Can we disable this message when we firstly visit to the page?
Last edited by Vanndy (2011-09-29 11:15:02)
I want to get fix redirect url to ( http://localhost/piwigo/identification.php ) when I first access to my page without user log in; with this url, it won't appear "You are not authorized to access the requested page" message.
But it always redirect to ( http://localhost/piwigo/identification.php?redirect=%252Fpiwigo%252F ).
Can I do this?