PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Bug Reports (http://www.photopost.com/forum/photopost-pro-bug-reports/)
-   -   MG pics using next/previous link - leads to others pics (http://www.photopost.com/forum/photopost-pro-bug-reports/116535-mg-pics-using-next-previous-link-leads-others-pics.html)

mjm November 1st, 2005 12:21 PM

MG pics using next/previous link - leads to others pics
 
I understand that this is not a bug per se, but rather a need to ensure individual's integrity when viewing only a members pics in Members Gallery, even though they were primarily uploaded in `community' categories.

For example ...
http://www.bamboocraft.net/bamboo/sh...00&ppuser=1156

When viewing members image and using Next / Previous Photos > link ...
... it continues on to others' pics,

BTW when viewing others pics it still shows pic belonging to user 1156 ...
... php?photo=1206&size=big&ppuser=1156

From what I can surmise ...

When viewing a members gallery thumbs we get this ...
Home » Members Gallery » Henry Lee

When viewing image we get this ...

Home » Bamboo Species » PHYLLOSTACHYS » Phyllostachys nuda

This I presume is because the image has been uploaded primarily to a category.

The URL ends as ... php?photo=1206&size=big&ppuser=1156 ... (without &cat=500 in it)

So the question is ...

When viewing pics from Members Gallery or My Gallery links

Could the category navbar show as ? ...

Home » Members Gallery » Henry Lee » Bamboo Species » PHYLLOSTACHYS » Phyllostachys nuda

Would this keep Next/Previous within context of only members pics?
Or is there another way?

Thanks,
Mark

Chuck S November 3rd, 2005 12:13 AM

Hello if I view a users gallery the next prev images are shown only his as I stated in your other thread. The only issue was clicking the link to a large image which I posted a fix on

here is your link to his gallery you posted above and I clicked a photo

http://www.bamboocraft.net/bamboo/sh...00&ppuser=1156

how are any of the pics that appear not his? what step am I missing here

mjm November 3rd, 2005 05:15 AM

ppuser=1156 only has 3 pics
The problem is when viewing pics by photos >> link

Users album:
http://www.bamboocraft.net/bamboo/sh...00&ppuser=1156

If I click on 3rd thumbnail image all works correctly.

If I click on 1st thumbnail, then use photo >> link
First pic shows as:
http://www.bamboocraft.net/bamboo/sh...00&ppuser=1156

2nd pic shows as:
http://www.bamboocraft.net/bamboo/sh...60&ppuser=1156

3rd pic:
http://www.bamboocraft.net/bamboo/sh...59&ppuser=1156


Note that &cat=500 is not showing in the 2nd/3rd address, and that a 4th thumb is showing in the thumb filmstrip.

4th pic:
http://www.bamboocraft.net/bamboo/sh...06&ppuser=1156

Note that above 4th pic, using next previous Photo >> links shows
ppuser=1156 where actually user is ppuser=346

Chuck S November 3rd, 2005 05:43 AM

well thats something different

In showphoto you need to find all the nextlink and prevlink and add code in bold

Code:

Content visible to verified customers only.
anotherwards this

&cat=$cat

or

/cat/$cat

depending on whether its spider or not

mjm November 3rd, 2005 07:30 AM

We don't have spider feature enabled so we added &cat=$cat in two places for next/previous in showphoto. (?)

It doesn't seem to have made any difference.

http://www.bamboocraft.net/bamboo/sh...00&ppuser=1156

Click Photos >>

Chuck S November 3rd, 2005 06:08 PM

Matt if you pass the url in all instances if the next and prev links the cat variable shouls be passed

mjm November 3rd, 2005 08:06 PM

Our mistake, we found 4 places to add &cat=$cat as per your instructions..

lines 273 and 277 for nextlink
and
lines 305 and 309 for prevlink

And it works! YEEHAW!!!

Now viewing members own pics at Gallery - ONLY shows members own pics using next/prev photos>>
http://www.bamboocraft.net/bamboo/sh...00&ppuser=1156

Thanks!

Mark and Carole

Chuck S November 3rd, 2005 09:53 PM

Okay no problem ;)

indiamike November 18th, 2005 06:05 PM

Thanks for this fix also works great now. I never noticed it did this until a member pointed it out to me today.

Thanks.

mckane36633 January 13th, 2006 12:55 AM

OK... I'm a registered customer and I can't see the code... we upgraded to the latest version 5.21 and we are running into this... can someone please let me see that code?

kanetrain January 13th, 2006 01:07 AM

OK -
I have two logins here and I can't start topics in the bugs reporting area....
Please give me ability to start a thread here...

We upgraded to PPost 5.21 on our dev server and got everything running and working fine. So we thought. We put it all live today on our site.

keep in mind that we have a very high volume site. We do about 1/2 million page views per day and about 1,000 uploads on high traffic days. Well, we upgraded to the latest version like you suggested in another thread (which has actually been closed - - not sure why). We upgraded and things got MUCH MUCH worse. All other programs on the server were running just fine, but Photopost just completely locked up, then it started crashing after a few hours and then it brought the whole HA network to it's knees... literally.. 5 servers justy buckled. There is something seriously wrong with 5.21. Not sure what it is, but something is just screwy on high volume sites.

For one, there is no limiting on any of the queries. Most of hte wueries are trying to pull in 120K records. YIKES!

Any suggestions? The caching and upgrading you did for this latest version made things so much worse.

mckane January 13th, 2006 01:16 AM

Strike that... I have three logins. This is the one with the address that matches my customer license. This is the username you should activate.
License #14731

Please hurry... we are in CRITICAL MODE. We have to totally disable photopost and close our forums as they were completely crashing all 5 servers...

Help please. Thanks.

Chuck S January 13th, 2006 08:19 AM

Hello no one can start new threads in the bugs area. This thread was posted the beginning of the week which explains a new ticket system.

http://www.photopost.com/forum/showthread.php?t=122095

Our new Ticket Area is here.

http://www.photopost.com/forum/vbugs.php

Now most customers running 5.21 have no issues. If you have a high volume site here are some tips for you.

http://www.photopost.com/forum/showt...38#post1113838

SHalliday February 9th, 2006 08:32 AM

Thanks for the fix. It resolved the problem for me.

Carolem July 9th, 2006 10:39 PM

MG pics using next/previous link - leads to others pics
 
Hello Chuck,
In pp5.31, I am trying get the members gallery pics to not lead to other users pics when the next/previous links are used so I tried this fix which worked in the earlier version:

Quote:

Originally Posted by Chuck S
In showphoto you need to find all the nextlink and prevlink and add code in bold

Code:

Content visible to verified customers only.
anotherwards this

&cat=$cat

or

/cat/$cat

depending on whether its spider or not

Here is the current situation in pp5.31: In the new file there are no curly brackets around $npid and the new code looks like this:
Code:

Content visible to verified customers only.
so I added the curly brackets {$nipd}&cat=$cat

Is this correct?
Since I don't really understand the code yet, I have to guess and I really don't want to mess up our board with my "common sense reasoning" so your opinion is highly valued.

Carolem

Carolem July 9th, 2006 10:49 PM

It seems to work by adding the curly brackets
Carolem

burntire December 22nd, 2006 07:10 PM

I am having this same problem with 5.62 when upgrading from 5.5
I have always used the following code as a solution, but it does not fix the issue with 5.62. I rolled back to 5.5
Any suggestions?

Code:

Content visible to verified customers only.

Carolem December 22nd, 2006 07:23 PM

This issue has just been addressed - see this post:
http://www.photopost.com/forum/photopost-pro-bug-reports/129467-photopost-5-62-build-12-22-06-7-42-am.html

burntire December 22nd, 2006 07:56 PM

Quote:

Originally Posted by Carolem (Post 1184346)
This issue has just been addressed - see this post:
http://www.photopost.com/forum/showthread.php?t=129467


Thanks. I tried the upgrade a day too early.

It works fine now:)

mjm December 22nd, 2006 10:48 PM

Thanks St Mic(hael) for this!
We noticed one anomaly ...
/showgallery works fine displaying all thumbs including a users Member Gallery pics and category pics.

But if when clicking on a pic uploaded to Member Gallery it only shows pics uploaded to Member Gallery. (in filmstrip and PrevNext Photo).
If when clicking on a thumb in a category it only shows and leads to (in filmstrip Prev/Next ) pics in that category.

I see now that this may be what you intended, and if so, fair enough, we will use Astarans mod which shows all of a users pics from all categories in showphoto viewing.

BTW we have our default viewing sort as Latest at the gallery which is why we use this mode to see all users pics - as per most recent > irrespective of category uploaded.

I'm not sure if the Most Active default sort should apply if comments are turned off, as we have done, but that's not a problem with us as we have removed that sort option.

Enjoy yourself over the holidays and again many thanks for providing a great product that has become our pride and joy!

Cheers,
Mark and Carole


All times are GMT -5. The time now is 01:48 AM.

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