PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 14th, 2006, 04:56 PM   #1 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
rights of moderators/admins/users re. private albums

Hi

PP 5.31

rights of moderators/admins/users re. private albums

I would like to know, what a moderator or admin or normal user is allowed to see and what not, specifically regarding private albums of others and comments on photos which are in those private albums.

There are 2 places where photos and comments might appear AFAIK. First on the index page under recent photos and under random photos.

Comments to photos appear normally under "most recent comments". There also photos can appear as thumbnails.

1.

I would like to know now, whether it is possible, that an admin or a moderator can see on the index page/ in that category

a) photos of private albums
b) and/or comments on photos which are in private albums.

2.

I would also like to know, whether normal users can also see

a) via "recent comments" those comments and
b) the thumbnails of a private album photo within this recent comments section or anywhere else

Thanks in advance
snoopy5 is offline   Reply With Quote
Old August 14th, 2006, 07:09 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Private photos and comments are only shown as follows

Admins can see everything.

Moderators or regular users are only going to see private photos comments if they have the password to that private album given to them by the user.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 15th, 2006, 07:23 AM   #3 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Quote:
Originally Posted by Chuck S View Post
Moderators or regular users are only going to see private photos comments if they have the password to that private album given to them by the user.
Hi Chuck,

in my gallery, this is not true. Moderators can see both, the images of private albums and the comments on photos in private albums without password for it. In "Recent Comments (more...)"

They can also see both (on index page in recent comments) even not logged in at all.

The usual procedure - logout as mod, clear cookies and browser content, login as normal user, was done. So this can not be a cookie issue.

How can I fix this? (PP531)

Thanks in advance

Last edited by snoopy5; August 15th, 2006 at 07:31 AM.
snoopy5 is offline   Reply With Quote
Old August 15th, 2006, 07:49 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
If I look at comshow.php this line is right in it which means it never lists to anyone private comments from private albums

Code:
Content visible to verified customers only.
also in index.php try this block for the undercat

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; August 16th, 2006 at 09:14 PM.
Chuck S is offline   Reply With Quote
Old August 15th, 2006, 08:33 AM   #5 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Quote:
Originally Posted by Chuck S View Post

also in index.php try this block for the undercat

Code:
Content visible to verified customers only.
What do you mean with "try this"?

Shall I replace or add anything? If yes, on which place wthin this file?

Last edited by Chuck S; August 16th, 2006 at 02:33 PM.
snoopy5 is offline   Reply With Quote
Old August 15th, 2006, 09:25 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
in index.php as noted replace the undercats block with what I posted
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 15th, 2006, 04:04 PM   #7 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
I di that, but this results in an error:

--

Parse error: parse error, unexpected '}' in /homepages/xxxxx/htdocs/galerie_de/index.php on line 258

----
snoopy5 is offline   Reply With Quote
Old August 15th, 2006, 04:28 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
try reapplying it a bracket was missing
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 16th, 2006, 02:10 PM   #9 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Quote:
Originally Posted by Chuck S View Post
try reapplying it a bracket was missing
I just did that. The error goes away, but the problem is not yet solved.

I can still see the image and the comment side by side on the index page in the section "Recent Comments (more...) " (with the last 5 comments appearing).

Strangely, if I click on "more", I see all kinds of recent comments, but not anymore the one of the private album.

If I go back on index page, I can see it again in the section.

As a sidenote: I logged out, deleted cookies, closed cpmpletely browser and started browser again. I alos tried it with another username to login. But behaviour is aways the same. Both, the image and the comment is visisble on index page.
snoopy5 is offline   Reply With Quote
Old August 16th, 2006, 02:17 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
This line I gave me ensures you can not see it is it is a private album hense it would have a password

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; August 16th, 2006 at 02:33 PM.
Chuck S is offline   Reply With Quote
Old August 16th, 2006, 02:24 PM   #11 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
this line seems only to take effect, if I click on the image or comment. In this case, it is asking me for a password.

But the problem is, that I can see the thumbnail and the comment already on the index page without clicking on anything. So there is no privacy at all!
snoopy5 is offline   Reply With Quote
Old August 16th, 2006, 02:31 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
That line would have nothing to do with the comshow script which is an entirely different script

You sure you just dont have your cache on and it has not updated also i made a slight change since now we call the variable catpass
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 16th, 2006, 02:40 PM   #13 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Quote:
Originally Posted by Chuck S View Post
That line would have nothing to do with the comshow script which is an entirely different script

You sure you just dont have your cache on and it has not updated also i made a slight change since now we call the variable catpass
Yes, I am sure. I just deleted the cache again and I tried it with IE and Firefox.

The reason why IMHO it can not have somthing to do with the cache or cookie is alos that I only see the comment with the thumbnail on the index page, but not on the bigger commnet overview page by clickong on "more..."

I can send you the link to the gallery if you want to...
snoopy5 is offline   Reply With Quote
Old August 16th, 2006, 02:44 PM   #14 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
I just sent you a PM with all data...
snoopy5 is offline   Reply With Quote
Old August 17th, 2006, 04:29 AM   #15 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Hi Chuck,

I have gotten your mail. No, this new code for index.php does not work neither.

Now the last 5 comments block completeley disappeared on the frontpage, not just the comment for the private photo.

This new code for index.php is also significantly shorter than the one of yesterday.:

New code block:

----

Code:
Content visible to verified customers only.

And the old code block as bugfix as of yesterday:


Code:
Content visible to verified customers only.

I replaced again the index.php file with the version of yesterday in the English gallery, so that we have a starting point here.
snoopy5 is offline   Reply With Quote
Old August 17th, 2006, 05:26 AM   #16 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
as a sidenote:

One user with a Macontosh computer and a Safari Browser report now problems since we chnaged the index.php file yesterday.

If he logs in his private album, he is always guided to the frontpage of the gallery. And he can not write comments, the text field for writing commenst is not visible, athough successful logged in.

This sounds like a cookie problem. But he stated he deleted all, deleted cache etc. I can not replicate it, since I have a Windows computer. But it seems that other windows user do NOT have a problem.

So maybe something special with Safari and this index.php change?
snoopy5 is offline   Reply With Quote
Old August 17th, 2006, 06:47 AM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Could be I dont use safari

The code I posted is correct and from a photopost 5.31 index.php file with the only new addition being the $catperms for catpass

There is nothing more I can post here. It works flawlessly. I posted a comment on a private photo on my site and it does not appear on recent comments and the block does display.

http://www.reeftalk.com/gallery/index.php

I can only suggest you use unaltered code if your having issues. The only addition to the current code is what is in bold here in this post.

rights of moderators/admins/users re. private albums
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 17th, 2006, 02:07 PM   #18 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Hi Chcuk,

I just uploaded again the original index.php file of teh download fiel of PP 5.31 of June 2006.

My index.php file is looking at this block totally different to the code you posted and which is NOT bold. This is my complete index.php file (untouched right out of the download box in June 2006):

---

Code:
Content visible to verified customers only.
So there must be more differences. Can you please post your complete index.php file you used?

The line in my comshow.php file is the same as your proposal by the way....
snoopy5 is offline   Reply With Quote
Old August 17th, 2006, 02:16 PM   #19 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
aaaaaaaaaaarrrrghhh,

I just realized: There are TWO DIFFERENT blocks of undercat. I always replaced only the first one in index.php, but you meant the second one!

I added now in the SECOND block of undercat the code you mentioned above in bold and now it works.
snoopy5 is offline   Reply With Quote
Old August 17th, 2006, 03:41 PM   #20 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
LOL yes thats why I posted the exact block I was talking about and put in bold what I added
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable Users from creating Private Albums. mudanoman Photopost Pro How Do I...? 4 May 5th, 2006 07:24 PM
All users are admins ? ( delete, move, etc.. ) urgent !!! Peter Photopost Pro How Do I...? 2 April 26th, 2006 07:00 PM
New users getting admin rights jhadur General Discussion 1 April 14th, 2005 08:16 PM
admins and users zorro Photopost Pro Installation & Upgrades 1 September 16th, 2004 11:54 PM


All times are GMT -5. The time now is 08:37 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0