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 April 17th, 2006, 10:34 AM   #1 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
PP5.3: falling back to index page after logging in

Hi

PP5.3: falling back to index page after logging in

We got many complaints from users about this already with PP5.21

If a user visits the gallery and clicks through images, he might want to post a comment suddenly abut an image. If he is not yet logged in, he has to login first obviously. This is no problem.

The problem is now, that once he logged in, he is not guided back to the image where he was. He falls back to the index page. The user has then again to search for the image and gets demotivated by this.

How can I fix this?

Thanks in advance
snoopy5 is offline   Reply With Quote
Old April 17th, 2006, 10:48 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Login has always forwarded a user to the index page. You can try this in misc.php add in bold

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.
Chuck S is offline   Reply With Quote
Old April 17th, 2006, 11:14 AM   #3 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
.. tried it, but this results in a blank page.

URL of that blank page is .../misc.php, so it seems not to find the "$loc = $_SERVER['REQUEST_URI'];"
snoopy5 is offline   Reply With Quote
Old April 17th, 2006, 11:25 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Yeah true just thought of that. Well not much I can say it has always forwarded a user to the index.php script on login.

What would would need to do is a bigger edit.

Place $loc line in showphoto.php at top of script

Then in pp-inc.php do this.

Code:
Content visible to verified customers only.
Then in misc.php this

Code:
Content visible to verified customers only.
and then this

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.
Chuck S is offline   Reply With Quote
Old April 17th, 2006, 12:00 PM   #5 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
mmmhh,

still does not work....

Quote:
Originally Posted by Chuck S
Place $loc line in showphoto.php at top of script
I put it directly after the opening php comand:

-----------
<?php
$loc = $_SERVER['REQUEST_URI'];
---------------------------


Quote:
Originally Posted by Chuck S
Then in pp-inc.php do this.

Code:
Content visible to verified customers only.
Done

Quote:
Originally Posted by Chuck S
Then in misc.php this

Code:
Content visible to verified customers only.
and then this

Code:
Content visible to verified customers only.

Done. Except I added a ' after loc, because I got an error without it:

....array('loc' => STRING, ....

So I can login and logout (no error), but it leads me still to the index page...
snoopy5 is offline   Reply With Quote
Old April 17th, 2006, 12:22 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Not much more I can say here. If you hit login from showphoto does the location get passed to the url when you go to login page?
__________________
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 April 17th, 2006, 12:49 PM   #7 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
If I hit "login" I get to the login screen with the following URL:

.../misc.php?action=login&login=yes&loc=

If I enter the login etails and hit submit, the url changes for a second to:

.../misc.php and shows a login successful message

but changes immediately afterwards to

..index.php
snoopy5 is offline   Reply With Quote
Old April 17th, 2006, 12:51 PM   #8 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
I just sent you the url to the installation
snoopy5 is offline   Reply With Quote
Old April 17th, 2006, 01:25 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Quote:
Originally Posted by Chuck S
What would would need to do is a bigger edit.

Place $loc line in showphoto.php at top of script

Then in pp-inc.php do this.
blah blah blah
Looks to me like your missing the $loc thing in showphoto.php

Say like this

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.
Chuck S is offline   Reply With Quote
Old April 17th, 2006, 01:33 PM   #10 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
mmmhhh,

I moved it to that place, but no difference....
snoopy5 is offline   Reply With Quote
Old April 17th, 2006, 01:56 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Okay well not much more I can add as this is all the thoughts on the top of my head. You can post in the modifications forums if anyone wants to assist you with things such as this which require code modification.
__________________
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 November 15th, 2006, 01:21 PM   #12 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
No changes in PP5.5 regarding this. Are there any plans to make this different in a future release of PP?

The fall back to the index page is REALLY getting on the nerves of my users and it is not logical at all from the perspective of a user...
snoopy5 is offline   Reply With Quote
Old November 15th, 2006, 01:55 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
This is a hack discussion really this was not a bug or anything to submit for inclusion into any build. I was simply kind enough to respond and give you assistance
__________________
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 November 15th, 2006, 02:50 PM   #14 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Hi Chuck,

in my last posting of today, I did not call it a bug. The falling back on the idex page is just unlogical, no matter whether by purpose or not

I do not do all these postings and suggestion for hours and hours because I am bored or want to be mean

My users stepping me on a daily basis on my toes regarding many different features they want to have in my galleries. I suggest them here, because

a) I do think my users are right and the specific feature make sense
b) if photogalleries with several thousand users are needing this, I am sure other clients of you will appreciate this too.

I am not running a joe shmo hobby gallery with 2oo users as you know...
snoopy5 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
Error logging into adm-index.php after new install mrsquid Photopost Pro Installation & Upgrades 10 March 19th, 2006 11:52 AM
can't get into adm-index.php after logging in jjj0923 Photopost Pro Installation & Upgrades 9 January 13th, 2006 04:02 PM
Logging into adm-index.php keeps logging me out of forum bandit_LSS Photopost Pro Installation & Upgrades 8 January 13th, 2006 08:27 AM
No admin page showing after logging in gridstar Photopost Pro Installation & Upgrades 3 December 23rd, 2005 07:10 AM


All times are GMT -5. The time now is 02:13 PM.

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