 | |  | | | Classifieds Bug Reports Post any problems you may be having with Classifieds here. |
August 7th, 2006, 05:10 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Jun 2005
Posts: 179
| Recent adverts, only showing three adverts http://www.arniesairsoft.co.uk/classifieds/index.php
As you can see the recent adverts block is only showing three ads. I 'think' that the other two it would have shown are now closed or something. It's something wierd like the adverts it wanted to display are either ended or removed.
Any ideas?
|
| |
August 7th, 2006, 07:40 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
The recent ads if your not showing ads with no images are only going to show ads with images and not expired
also check cat permissions also
|
| |
August 8th, 2006, 05:12 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Jun 2005
Posts: 179
|
Cat permissions?
If you check the list here of recent adverts you'll see what I suspect: http://www.arniesairsoft.co.uk/class...at=all&ppuser=
One of the most recent items is sold. I think this means that it's not shown in the recent adverts bar, and hence only 4 shown there at the moment, instead of the 5 it's set to.
|
| |
August 8th, 2006, 06:54 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
Your only going to show active ads yes not expired or sold
|
| |
August 9th, 2006, 06:57 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Jun 2005
Posts: 179
|
Display ads with no photos in features? is set to NO (in admin options)
Number of days to show sold/closed ads? is set to 7 (in show ads options)
I can't see any other setting that might be relevant.
I can't see any settings in catpermissions? I presume you mean "Usergroup Access Permissions" in "edit category" ?
|
| |
August 9th, 2006, 08:30 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
The number of of days to show sold ads makes no difference to the recent blocks thats a setting for showcat page
The recent ad block will only show with the way your setting it ads which have photos and that are not expired or sold. It has always been this way
|
| |
August 9th, 2006, 08:33 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Jun 2005
Posts: 179
|
Thanks I think I understand what you're saying.
What I was suggesting was that if of the 5 recent adverts one or more of them are expired or sold, it should show the next one in it's place rather than not showing them at all and only filling (for example) 3 out of 5 spaces.
|
| |
August 9th, 2006, 09:10 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
Just like Photopost or the rest of the programs we only grab say ten more ads than your number you want to show as a permformance measure so your not scanning the entire table for ads you have permission to view
|
| |
August 9th, 2006, 01:48 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Jul 2006
Posts: 100
| Quote:
Originally Posted by Chuck S Just like Photopost or the rest of the programs we only grab say ten more ads than your number you want to show | Are you saying that you only look at a few of the last ads, and if none of them contains images the recent blocks will be empty?
|
| |
August 9th, 2006, 04:31 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
If you do not have permission to view the files or you elect not to show ads with no images sure thats exactly what I am saying. Say you elect to show 4 images then we check the last 14 products on a recent ad block. If its a random block we take 14 random ads and then run permissions etc against them
|
| |
August 9th, 2006, 04:59 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Jul 2006
Posts: 100
|
Ok, that explains what why our recent block is never filled up..
Hope you will concider changing this procedure so that the number you select in Number of products to display in the most recent additions section? is always filled up.
Last edited by daxter; August 9th, 2006 at 05:11 PM.
|
| |
August 9th, 2006, 10:12 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
Something like that would be extremely inefficient if we do not limit the query like cause it could end up scanning thousands of products and slow down the software.
|
| |
August 10th, 2006, 04:52 AM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Jul 2006
Posts: 100
|
Cant you keep the last ads with images in a table, updated every time a forsale-type ad is added/deleted?
At the moment, only 2 out of our 7 columns contains an ad image and users have started to send me mail asking why their ad is not displayed....
Also I noticed that if I go to the sale category all 7 are filled up.
So it would be an improvement if you "grab" only for-sale ads when generating the thumbs for the main page
Last edited by daxter; August 10th, 2006 at 06:06 AM.
|
| |
August 10th, 2006, 07:54 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,698
|
You can make suggestions in our suggestions forum but the way it is currently done is the maximum efficient way of doing things. We grab a set number of mysql results and then filter permissions.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 10:31 AM. | |