PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   Code to list Private Album - new problem (http://www.photopost.com/forum/photopost-pro-installation-upgrades/112626-code-list-private-album-new-problem.html)

pengrus March 7th, 2005 11:48 PM

Private Album - new problem
 
Michael:

The following code you provided works - list the private album for visitors with a lock cover image. However I got a new problem, which is the owner him/herself cannot get into it in any way. If the owner click on the private album link, it always asks for password. Even if a correct password is entered, it is not let in. Not from album admin, not by entering the correct password....


URL: www.photozo.com/album/index.php
username: test
password: 1234

Please use this account to login and test a look at the Album Admin area.

Could you please help again? Thanks!

----------------------------------------

You can uncomment the lines in showgallery.php to put the lock back in place.

continue;
//$thumbrc = "<img src=\"{$Globals['idir']}/lock.jpg\" border=\"0\">";
//$thumbtag = "{$Globals['idir']}/lock.jpg";

to:

//continue;
$thumbrc = "<img src=\"{$Globals['idir']}/lock.jpg\" border=\"0\">";
$thumbtag = "{$Globals['idir']}/lock.jpg";

b6gm6n March 8th, 2005 12:30 AM

Hi..
Just confirmed that bug, cheers, i'm sure Micheal will get on it asap.

-T

pengrus March 8th, 2005 12:27 PM

Glad to hear it is not my "own" problem. lol

Michael P March 8th, 2005 04:23 PM

That login does not work for me.

Michael P March 8th, 2005 04:31 PM

Let me ask you this - is it possible that the variable $password is being interfered with by your integration? Are you using vB3 or something?

I've tested this on my sites and I can get in fine; what it sounds like to me on your side is that the $password variable is being erased before we process it.

pengrus March 8th, 2005 04:48 PM

Quote:

Originally Posted by Michael P
Let me ask you this - is it possible that the variable $password is being interfered with by your integration? Are you using vB3 or something?

I've tested this on my sites and I can get in fine; what it sounds like to me on your side is that the $password variable is being erased before we process it.

Michael,

I do not understand your question. Is there a switch in admin control panel that enables vb3? I have phpbb. Where should I check?

Michael P March 8th, 2005 04:50 PM

No, I just thought you might be using vB3. Something must be interfering with the $password variable as it works on my setup with no problem. I tried to test on yours, but the userid didn't work.

pengrus March 8th, 2005 04:55 PM

1 Attachment(s)
Michael,

I checked the admin panel on Integration section and the VB3 and VB2 integration is off. See attached image.

Is this possible related to phpbb and pp login integration as I reported in this thread?
http://www.photopost.com/members/for...d.php?t=112557

Michael P March 8th, 2005 05:22 PM

I dont think it has anything to do with the integration - I was only mentioning if you were using vB3, which you aren't, that vB3 might be interfering.

Since I cant login to your site, I cant check it on yours.

Michael P March 8th, 2005 05:25 PM

Go to this link:

http://www.photopostdev.com/photopos...ry.php/cat/546

The password is:

gibcigad

pengrus March 8th, 2005 05:36 PM

Michael,

You can still get to the gallery by loging in through forum first:

http://www.photozo.com/forum/login.php
username: test
password: 1234

Then click on the Gallery link on the top menu, you will be logged in PP automatically.

Yes, your work.

Toney, will you also provide your login so Michael can take a look ? Thanks!

Michael P March 8th, 2005 05:48 PM

Are you using a PHP header that executes any code proper to PhotoPost loading the page? As I said, it looks like the $password variable is being erased.

pengrus March 8th, 2005 05:51 PM

What is php header? Probably the only change is I enabled gzip... Should that matter?

Michael P March 8th, 2005 05:54 PM

The header you are including - is it an html file or a php file?

pengrus March 8th, 2005 06:01 PM

It is named as header.htm. But here is the complete code:

http://www.photopost.com/members/for...d.php?t=112656

Michael P March 8th, 2005 06:47 PM

It appears you have a couple issues:

. Your gallery/forum logins are screwy - I'd suggest a domain setting of nothing, just ""
. Something about your setup is blanking out the password variable, but I dont know what.

If you want to PM me SSH info for your server, I'd be glad to take a look; but without direct access there isn't much I can tell beyond that.

pengrus March 8th, 2005 07:45 PM

I set it blank of cookie domain, and it won't let me login the gallery at all. Which file to change if I need to revert it back?

Do you need the server's control panel login?

pengrus March 8th, 2005 08:28 PM

Sent you the access info.

I managed to log back in. Only the following setting works:

Path: /
Prefix:
Domain name: .photozo.com

If I put a photozo.com as the cookie prefix, it does not let me login at all a few minutes ago. I played with mysql and made the change to the above which let me login again...

pengrus March 9th, 2005 01:55 PM

Michael, any update on this? Thanks!

pengrus March 9th, 2005 09:47 PM

Is it because my membership access expired that I don't get reply all of sudden? or you are working behind the scenes? :)

I just renewed the memebership access a few minutes ago. Michael, I also pm'd you the access information. Please help when you get time. Many thanks!


All times are GMT -5. The time now is 09:35 PM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97