 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
March 28th, 2006, 03:05 AM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
| 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
|
| |
March 28th, 2006, 06:48 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
In showphoto add in bold and make sure to add the right cat number Code: Content visible to verified customers only.
|
| |
March 28th, 2006, 01:11 PM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
| 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
|
| |
March 28th, 2006, 01:24 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
You need to add the trailing }
Note my code block posted here
You might want to make one change though
== change to !=
|
| |
March 28th, 2006, 01:33 PM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
| Quote: |
Originally Posted by Chuck S You need to add the trailing }
Note my code block posted here
You might want to make one change though
== change to != |
For the entire clip of code or just the part you told me to change?
|
| |
March 28th, 2006, 01:40 PM
|
#6 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
| I made this change: Code: Content visible to verified customers only.
and now all guests can view all pics. |
| |
March 28th, 2006, 02:02 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
You did not change == to != as I noted. You want only one cat to bypass so it needs to be !=
|
| |
March 28th, 2006, 02:18 PM
|
#8 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
| Sorry for being such a pain but it's still not working.
Here is the code now: Code: Content visible to verified customers only.
I changed == to != and now no guests are allowed to view any pics. Even the ones in category 523
What am I missing here?
|
| |
March 28th, 2006, 02:51 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
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
|
| |
March 28th, 2006, 03:17 PM
|
#10 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
|
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.
|
| |
March 28th, 2006, 06:16 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
Okay well your glad to open a modification discussion on this.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 12:47 PM. | |