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 Classifieds Support > Classifieds Installation & Upgrades

Classifieds Installation & Upgrades If you're having install or upgrade problems, post here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old February 14th, 2006, 07:52 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 141
2.5 Search problems

When choosing from Sort by, the choosen value does not change when the page reloads - the function does not work, the url changes, but the resultset is the same.
zews is offline   Reply With Quote
Old February 14th, 2006, 09:10 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
In showcat.php

Code:
Content visible to verified customers only.
change to 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 online now   Reply With Quote
Old February 14th, 2006, 09:51 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 141
Thanks!

Now it works
zews is offline   Reply With Quote
Old February 14th, 2006, 11:04 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 141
New problem,

choosing Last 7 days for instance, and then trying to sort, the resultset is the total ads, not only the last 7 days of ads.

Maybe because limit=last7 is not part of the url after sorting?
zews is offline   Reply With Quote
Old February 15th, 2006, 08:14 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
In cathead.tmpl add line 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 online now   Reply With Quote
Old February 16th, 2006, 12:02 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 141
That solved that problem, but new one:

The pageing links at the bottom doesn not include limit=last7, so when trying to see page 2 the resultset is again all the ads.
zews is offline   Reply With Quote
Old February 16th, 2006, 12:09 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 141
Same problem with searching within timefram or distance - pageing doesn not keep the parameters.
zews is offline   Reply With Quote
Old February 16th, 2006, 12:54 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
Need to modify pagesytem in pp-inc.php to allow limit to be passed

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.

Last edited by Chuck S; February 16th, 2006 at 04:41 PM.
Chuck S is online now   Reply With Quote
Old February 16th, 2006, 02:04 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 141
Resulted in fatal error:

Fatal error: Call to undefined function: construct_ppurl() in pp-inc.php on line 1218
zews is offline   Reply With Quote
Old February 16th, 2006, 02:20 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 141
Uploaded new file and problem was solved, but link looks like this:

Side 1 · 2&limit=last7 · 3&limit=last7 · 4&limit=last7 · 5&limit=last7 · 6&limit=last7 · 7&limit=last7 · 8&limit=last7
zews is offline   Reply With Quote
Old February 17th, 2006, 02:17 AM   #11 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 141
Quote:
Originally Posted by zews
Same problem with searching within timefram or distance - pageing doesn not keep the parameters.
This is still not working if you perform a search with

Specify a date range

or

Specify a price range

Those parameters are not part of the pageing links at the bottom.
zews is offline   Reply With Quote
Old February 17th, 2006, 02:30 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
Try adding the lines in bold to pp-inc.php to your construct_ppurl function

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.

Last edited by Chuck S; February 17th, 2006 at 02:37 AM.
Chuck S is online now   Reply With Quote
Old February 17th, 2006, 02:57 AM   #13 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 141
Now it works
zews is offline   Reply With Quote
Old June 16th, 2006, 09:55 AM   #14 (permalink)
Member
Verified Customer
 
Join Date: Sep 2002
Location: Long Beach, CA
Posts: 156
Send a message via Yahoo to SHalliday
Chuck,

Thanks for the solution. Just implemented and it seems to have fixed my Last 7 days search problem. Just one issue left.

Wondering how I can have the search results returned sorted by date. Is there a way this can be done?
SHalliday 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
Problems Sorting with Search kwrd Photopost Pro Bug Reports 24 July 24th, 2006 10:09 AM
Search Problems ($mcats)( FIXED ) mskgr Photopost Pro Bug Reports 3 December 13th, 2005 11:35 AM
Problems with search page (search.php) JerryM Classifieds Bug Reports 8 August 27th, 2004 10:39 AM
Need urgent help here : Logging in problems/ Cookie problems cinq Photopost Pro Installation & Upgrades 8 July 28th, 2004 07:17 AM
Search: Option to choose category to search in slant213 Classifieds Installation & Upgrades 4 July 12th, 2004 08:53 AM


All times are GMT -5. The time now is 10:51 PM.

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