![]() |
One category viewable by all? I have the option turned on that says users have to be registered to view pics so they can only see the thumbnails. However, I want one particular category's pics to be viewable by guests. Is this able to be done? If so, how? Thanks, Joey |
In showphoto add in bold and make sure to add the right cat number Code: Content visible to verified customers only. |
I added this: if ( ($User['username'] == "" || $User['username'] == $Globals['pp_lang']['unreg']) && $Globals['reqregister'] == "yes" ) { if ( $dbcat == 523 ) { diewell( $Globals['pp_lang']['noregview'] ); and this is what I got: Parse error: syntax error, unexpected $end in /home/getbent/public_html/gallery/showphoto.php on line 1239 |
You need to add the trailing } Note my code block posted here You might want to make one change though == change to != |
Quote:
For the entire clip of code or just the part you told me to change? |
I made this change: Code: Content visible to verified customers only. |
You did not change == to != as I noted. You want only one cat to bypass so it needs to be != |
Sorry for being such a pain but it's still not working. Here is the code now: Code: Content visible to verified customers only.What am I missing here? |
Place a clean file up to your site Do this anotherway that does not require modding things Set all your categories EXCEPT the one you dont want people to view to no view access. That way the category that appears for guests will be the one you want to appear. You can then turn on that guests can view images |
What i'm looking to is have all guests be able to view thumbnails in all categorys but only let them view full images in category 523. In the rest of them when they click on an image, they get the message that tells them they need to register. I tried it the way you just suggested but the category would disappear or guests couldn't even see the thumbnails. This wont work for me. |
Okay well your glad to open a modification discussion on this. |
| All times are GMT -5. The time now is 12:49 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0