 | |  | | | Classifieds Bug Reports Post any problems you may be having with Classifieds here. |
September 16th, 2011, 06:37 PM
|
#1 (permalink)
| | Senior Member Verified Customer
Join Date: Oct 2003 Location: Ottawa, Canada
Posts: 833
| Supersize images for sold items
Chuck... not sure if this is by design or not but it doesn't seem to make sense to me. When an item has been marked as sold, if a user clicks on "supersize" for the image the "image pending approval" thumb is displayed. I think this should either continue to make the full size image available OR the link for "supersize" should be removed as a variable if the item is sold. Pending approval just doesn't make sense to me.
|
| |
September 16th, 2011, 08:51 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
well it is by design I would think since the image is in a sense no longer approved since it is sold.
I can always revisit how things are handled.
|
| |
September 17th, 2011, 05:46 AM
|
#3 (permalink)
| | Senior Member Verified Customer
Join Date: Oct 2003 Location: Ottawa, Canada
Posts: 833
|
Okay then. I think what I'll do given I don't use the approval process is just make up another thumb that simply says SOLD on it and swap out the image.
|
| |
September 17th, 2011, 12:57 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
That would work. Ideally what I can do is if approved=0 in the code we could use the not approved thumb and if approved=2 use a sold image.
|
| |
September 17th, 2011, 02:23 PM
|
#5 (permalink)
| | Senior Member Verified Customer
Join Date: Oct 2003 Location: Ottawa, Canada
Posts: 833
|
Yes, that would be a solution but I can't say as I understand the root of the issue. Currently when an item is sold all of the thumbs still show the product. It's only when a user tries to view the full sized image that the image pending thumb is displayed. If images are to be removed when an item is sold the thumbs should be as well OR leave all images available until the ad is deleted by the cron. Personally I prefer the second option as it shows what people missed out on by not acting fast enough. The ad has been marked as sold so I don't see any problem showing off what was sold.
|
| |
September 17th, 2011, 04:25 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Look right in the showfull.php you should see all about approved or not.
|
| |
September 17th, 2011, 04:57 PM
|
#7 (permalink)
| | Senior Member Verified Customer
Join Date: Oct 2003 Location: Ottawa, Canada
Posts: 833
|
Easy enough. Remove the if and else statement and it works like I feel it should and looks better than my SOLD thumb. Thanks for the help Chuck.
|
| |
September 17th, 2011, 06:58 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
No problem enjoy your weekend.
|
| |
March 20th, 2013, 04:46 PM
|
#9 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2013
Posts: 9
|
I am getting this "Image pending approval" when users click "supersize" and these classifieds have NOT sold yet? Can't find an answer. Quote:
Originally Posted by Bryan Ex Chuck... not sure if this is by design or not but it doesn't seem to make sense to me. When an item has been marked as sold, if a user clicks on "supersize" for the image the "image pending approval" thumb is displayed. I think this should either continue to make the full size image available OR the link for "supersize" should be removed as a variable if the item is sold. Pending approval just doesn't make sense to me. | |
| |
March 20th, 2013, 07:21 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
HMM maybe line 39 of showfull.php should read this Code: Content visible to verified customers only.
|
| |
March 21st, 2013, 06:28 AM
|
#11 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2013
Posts: 9
|
Can I edit showfull.php from the admin interface?
Alternately, I don't understand why clicking supersize should not work given there is no moderation. Quote:
Originally Posted by Chuck S HMM maybe line 39 of showfull.php should read this Code: Content visible to verified customers only.
| |
| |
March 21st, 2013, 08:17 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
what is your site name? if its gecko one I think I fixed it for you
|
| |
March 21st, 2013, 01:04 PM
|
#13 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2013 Location: Ohio
Posts: 3
| Quote:
Originally Posted by Chuck S HMM maybe line 39 of showfull.php should read this Code: Content visible to verified customers only.
| I added the above code but the same message appears.
|
| |
March 21st, 2013, 01:23 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Then you have not added the code I would suspect here.
what is your site url?
|
| |
March 21st, 2013, 01:38 PM
|
#15 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2013 Location: Ohio
Posts: 3
| Quote:
Originally Posted by Chuck S Then you have not added the code I would suspect here.
what is your site url? | geckoforums net
I need 15 posts to put the actual URL
|
| |
March 21st, 2013, 02:37 PM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Okay well I applied the change and it works fine. You must have not sent the file back to your server or saved the changes.
|
| |
March 21st, 2013, 02:46 PM
|
#17 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2013 Location: Ohio
Posts: 3
| Quote:
Originally Posted by Chuck S Okay well I applied the change and it works fine. You must have not sent the file back to your server or saved the changes. | Weird, I double checked. Anyway I'm glad you got it working. Thank You!
|
| |
March 21st, 2013, 04:27 PM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Not a problem
|
| | |
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 03:41 PM. | |