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 Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old October 3rd, 2007, 08:36 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Posts: 62
Question Wrong number of recent ads

I have my recent ads set for 4 column, 8 total ads. When I allow ads with no pictures to be displayed, I see 8 total ads displayed. When I have ads with no pictures prohibited from being displayed in the recent ads, I'll get anywhere from 3 to 7 ads shown instead of the 8 most recent with pictures. What is wrong with my installation (2.6.1)?
hype901 is offline   Reply With Quote
Old October 3rd, 2007, 09:02 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
Nothing is wrong with your application. For speed reasons we only query a set amount of photos so for instance if you want 8 photos we may return 18 results and then based on your settings if you want ads with pics or not you get the results returned so if most of your recent ads have no photos then the amount viewable will change.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 4th, 2007, 08:41 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Posts: 62
Quote:
Originally Posted by Chuck S View Post
Nothing is wrong with your application. For speed reasons we only query a set amount of photos so for instance if you want 8 photos we may return 18 results and then based on your settings if you want ads with pics or not you get the results returned so if most of your recent ads have no photos then the amount viewable will change.
Where is the variable used to make that query? I'd like to bump the number it queries over the variable of 8 I set to ensure there are enough "cached" for its use so to speak. Please advise.
hype901 is offline   Reply With Quote
Old October 4th, 2007, 11:18 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
display_gallery function in pp-inc.php you will see the grabnum variable and where we add more photos on.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S 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
Recent Ads - Random Ads Question h2ojunkie Classifieds How do I...? 12 October 13th, 2006 02:51 PM
Number of photos wrong. tbaleno Photopost Pro How Do I...? 4 February 19th, 2006 12:31 PM
Number of Commentaries is wrong! Second time... Schahab Photopost Pro How Do I...? 1 February 16th, 2006 03:40 PM
Show ads without image on recent ads Kafi Classifieds How do I...? 2 October 19th, 2005 09:21 AM
Recent Ads Thumbnail Link Wrong volarium Classifieds Bug Reports 2 April 15th, 2005 10:06 PM


All times are GMT -5. The time now is 04:18 AM.

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