How to only allow Registered Useres the "Download Zip Favorites" Link. How to only allow Registered Useres the "Download Zip Favorites" Link.
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

How to only allow Registered Useres the "Download Zip Favorites" Link.

Started by rdavis, May 28, 2008, 09:08:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rdavis

Sorry if this has been discussed before, I searched and didn't find anything.

I would like to hide the "Download Zip of Favorites" link under the "My Favorites" section to Guest (Unregistered Users) users. Right now, anyone can go to my site and add any pictures to their favorites and then download them, even if they are a guest. Can anyone let me know how to do this? A example code or step-by-step would be very helpful since I am new to php and sql.

Basically, I want to show the link to everyone except unregistered users.

Thanks for any help in advance.

-Ryan-

steveeh131047