I went to the FAQ and found this code
How can I let unregistered users see the thumbnails only, but not the actual pictures?
Edit displayimage.php and add
if (!USER_ID) cpg_die(ERROR, 'You need to register to access this page', __FILE__, __LINE__);
just before
/**************************************************************************
* Local functions definition
**************************************************************************/
I did that code just like it says and now people that try to register get this error message
"Parse error: parse error, unexpected T_STRING in /home/mike1/public_html/port/register.php on line 180"
Please help me figure this out
My url is
http://www.imperiousphotography.com/port/index.php
Thanks!
Replace your register.php with a fresh version.
PLease tell me how to do that?
Go to the downloads link at the top of this page and download the package that matches your version. Uncompress the archive file and upload register.php to your server space.