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 > ReviewPost Pro Support Forums > ReviewPost Bug Reports

ReviewPost Bug Reports Let us know about any post installation problems you are having with ReviewPost.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 21st, 2011, 04:25 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Aug 2002
Posts: 252
Problem with next and previous?

Maybe it's supposed to work this way, I'm not sure...

The "Next Product" and "Previous Product" thumbs are only working when the products have the same first word in the title.

As an example, this category has 28 products:
HO Buildings and Structures - Model Railroad Product Reviews

Click on the first on, no next and previous.
Coal River Station Gold Kit - Model Railroad Product Reviews

Same for the next product.

Then click on a product that starts with "Scale" (there are 4 of those) and suddenly you see a next and previous thumbnail image.

Box girder concrete segmental bridge - Model Railroad Product Reviews

Is this a bug or a feature? I'd like it to show all products.
BobHarbison is offline   Reply With Quote
Old January 21st, 2011, 05:43 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
it all depends on what variables are passed to the function. I think it would just be a coincedence that yours happens along a title there in your example as there is no query in the next previous images based off a title.

You can do a little file edit here to show the queries on the page if you really want to see which next prev query is running. I would assume its the default query.

Code:
Content visible to verified customers only.
In admin global options make sure your debug option is set to DISPLAY ERRORS.

Next via ftp edit pp-inc.php and find this line

Code:
Content visible to verified customers only.
Make the 0 a 2 and that will print the queries in the footer. Then you can determine why your results are that way but at any rate yes it is support to display results based on permissions as well as the actual queries ran based on the various variables passed whether through a url or cookie.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 21st, 2011, 05:56 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Aug 2002
Posts: 252
OK, I'm a bit confused. Where would I be inserting that query? Do I replace something or just add it to the page? Also which template am I doing that in, showcategory?
BobHarbison is offline   Reply With Quote
Old January 21st, 2011, 06:07 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Your not inserting any code. I am just saying there are like 7 different queries for next previous images most based off of date limit category and other variables which can be passed. All those queries are in showphoto.php

I was merely stating if you wanted you can see what query is running that returns those results based on doing that edit I noted.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 21st, 2011, 07:10 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Aug 2002
Posts: 252
Quote:
All those queries are in showphoto.php
I'm assuming you mean "showproduct.php" right?

Here's what I get, not sure which one is the one I'm looking for:

Code:
Content visible to verified customers only.
BobHarbison is offline   Reply With Quote
Old January 21st, 2011, 07:29 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Yep and there is the answer

Code:
Content visible to verified customers only.
The products being returned are via date.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 21st, 2011, 07:32 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Aug 2002
Posts: 252
OK, so how do I undo that?
BobHarbison is offline   Reply With Quote
Old January 21st, 2011, 07:36 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Possibly delete any cookies in regards to date. I could give you a code edit also if you want to remove that whole clause

remove this from showproduct.php

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 online now   Reply With Quote
Old January 21st, 2011, 07:43 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Aug 2002
Posts: 252
It's doing the same thing for people who aren't logged in. I checked it in Google Chrome, and got the same results.
BobHarbison is offline   Reply With Quote
Old January 21st, 2011, 07:46 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Aug 2002
Posts: 252
I don't know if it's cookie related or not, but removing that code section fixed the problem.
BobHarbison is offline   Reply With Quote
Old January 21st, 2011, 11:42 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Okay glad that did it for you. will try debugging it more on my end to see if I see anything else.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
previous-next Mannie_F Photopost Pro How Do I...? 5 April 4th, 2010 03:26 PM
Problem with Next/Previous links fdwilk1 General Discussion 1 February 4th, 2008 07:25 PM
Previous Image and next image problem weirdpixels Installs and Upgrade - vBulletin 3.0.X 2 March 10th, 2007 06:31 PM
Navigation to previous level problem Rids Photopost Pro Bug Reports 2 October 22nd, 2005 08:16 AM


All times are GMT -5. The time now is 12:17 PM.

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