 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
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
|
| |
April 17th, 2006, 10:48 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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'];"
|
| |
April 17th, 2006, 11:25 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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...
|
| |
April 17th, 2006, 12:22 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
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?
|
| |
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
|
| |
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
|
| |
April 17th, 2006, 01:25 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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....
|
| |
April 17th, 2006, 01:56 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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...
|
| |
November 15th, 2006, 01:55 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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...
|
| | |
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 02:13 PM. | |