PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Bug Reports (http://www.photopost.com/forum/photopost-pro-bug-reports/)
-   -   Arrow Links in Members Gallery Incorrect (http://www.photopost.com/forum/photopost-pro-bug-reports/141972-arrow-links-members-gallery-incorrect.html)

BobHarbison February 4th, 2010 07:11 PM

Arrow Links in Members Gallery Incorrect
 
When viewing a member's gallery with more than one page of photos, you have the page numbers, as well as arrows "<<" and ">>" to go to the next and previous pages.

Those arrows aren't linking correctly. They're missing the member ID

For example, instead of - PNWphotos.com

What it links to is
- PNWphotos.com

Missing the "ppuser/1" part, it links to "All", i.e. every photo in the gallery, no matter who shot it.

Sample:
- PNWphotos.com

Chuck S February 4th, 2010 09:07 PM

hmm i will look into it thanks

antonynutley February 22nd, 2010 09:55 AM

any news on this, I am having the same error?

Chuck S February 22nd, 2010 10:00 AM

The next previous arrow links are only suppose to go to the next and previous entries they do not consider a user

The actual featured next previous image block on the other hand I beleive passes a userid

antonynutley February 22nd, 2010 10:30 AM

It displays '1 2 >>' - note im on page 1

clicking 2 goes to the users page 2 of pics, if I go back to page 1 the arrow goes to all users and not the individual user whose page i am on. Holding the cursor over the links I can clearly see the url for the arrow points to all rather than the uid

Chuck S February 22nd, 2010 10:52 AM

You might want to post your own support thread about your issue as this thread is not about pagination this is a thread about next prev links on showphoto.

antonynutley February 22nd, 2010 10:56 AM

the issue i am having is exactly the same as the OP, maybe I have not got my point across, the OP spells out the problem better. the >> is linking to all images whereas the page numbers link to the individual user pages - the >> should also be linking to the next page for that user and not All pics. If you have ICQ or something I can link you in so you can see, i would need to give you membership access, hence over icq. Thanks!

Chuck S February 22nd, 2010 12:07 PM

- ReefTalk Gallery

Your talking about pagination on a members gallery there is a link

You can put a link to your site here

I need to know what your seeing because from what I see this is working

antonynutley February 22nd, 2010 11:09 PM

Thanks chuck - i looked at your page and it is also not working correctly, you linked me to page 1 of your gallery, if you click number 2, 3 etc it works perfect, if you hit the >> at the end of the numbers it goes to a different gallery instead of the next page in numerical order - try it yourself.

it should go:
1 - - ReefTalk Gallery
2 - - ReefTalk Gallery
>> - - ReefTalk Gallery

but instead it goes:
1 - - ReefTalk Gallery
2 - - ReefTalk Gallery
>> - A community photo gallery - ReefTalk Gallery/g504-reefs-page3.html

Basically, the arrow points to the correct page sequence but to the wrong gallery set. I've tried in all browsers just to be sure its a common fault.

Chuck S February 23rd, 2010 05:45 AM

Your not talking about the actual >> not the page numbers which everyone clicks?

I will check it out dont think I personally have every used those things

Chuck S February 23rd, 2010 06:07 AM

In showgallery.php make sure the posternav code for nextpage prevpage is like this

I added an extra conditional to pass ppuser

Code:

Content visible to verified customers only.

antonynutley February 24th, 2010 03:58 AM

Hi Chuck, sorry, im a layout man not a programmer, I see your site works fine now - where would I insert that new snippet of code?

Chuck S February 24th, 2010 06:57 AM

The code above replaces the lines of code in showgallery.php lines 785

Here this is easier look for the whole posternav block it should look like this

Code:

Content visible to verified customers only.

antonynutley February 24th, 2010 07:17 AM

Excellent, thanks, that fixed it!

Chuck S February 24th, 2010 07:22 AM

enjoy your day


All times are GMT -5. The time now is 11:34 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