![]() |
Private photo showing in recent photo import I have a small php file which shows the 2 most recent photos and 2 random photos. However, it is pulling images from private albums as well which I would l would like to stop. Below is the code I am using. <?php require "pp-inc.php"; ?> <table> <tr><td style="border:solid;border-color:<!--[$sepcolor]-->;border-width:thin;text-align:left"> <?php display_gallery("latest", "", "", 2, 2); ?> </td><td style="border:solid;border-color:<!--[$sepcolor]-->;border-width:thin;text-align:left"> <?php display_gallery("random", "", "", 2, 2); ?> </td></tr> </table> Any help would be appreciated. Thank you -Gregg |
You would need to run the authenticate() function and so $CatPerms variable can work so we know what usergroup the user is in. |
| All times are GMT -5. The time now is 05:15 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0