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 July 31st, 2006, 01:02 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 53
Number of Products

If a user submits a product and it needs to be moderated, the count of products reflects it even if it hasn't been approved as of yet. Any way to fix this?

Last edited by tj2653; July 31st, 2006 at 04:21 PM.
tj2653 is offline   Reply With Quote
Old August 1st, 2006, 08:36 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,693
The stats simply show the correct total products number whether approved or not.
__________________
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 August 28th, 2006, 01:04 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 53
Quote:
Originally Posted by Chuck S View Post
The stats simply show the correct total products number whether approved or not.
Is there an easy way to change this so it only counts the approved products? Many of my users are getting confused when a category shows that there is 1 product, but click only to see none (since the 1 is in the approval queue). I'm guessing I would add something like:

WHERE approved=1

to the mySQL call, but I'm not sure where the count is being done.

Thanks,
Cary
tj2653 is offline   Reply With Quote
Old August 28th, 2006, 05:03 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,693
Yes exactly you add something like that to the call and it would be in the pp-inc.php file or index.php file if your running an older version in the function get_statscache
__________________
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 August 28th, 2006, 06:35 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 53
Quote:
Originally Posted by Chuck S View Post
Yes exactly you add something like that to the call and it would be in the pp-inc.php file or index.php file if your running an older version in the function get_statscache
I tried:

Code:
Content visible to verified customers only.
to function get_statscache, but it didn't seem to do anything. I have caching off, so I don't think that matters. Any ideas?
tj2653 is offline   Reply With Quote
Old August 28th, 2006, 07:00 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,693
That would make a difference for sure as long as your reloading the cache
__________________
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 August 30th, 2006, 08:42 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 53
Quote:
Originally Posted by Chuck S View Post
That would make a difference for sure as long as your reloading the cache
I'm looking to have the number of approved products in the category listings -- that code just seems to change the total approved products statistics at the bottom of the page.
tj2653 is offline   Reply With Quote
Old August 30th, 2006, 08:50 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,693
edit your catrow function in pp-inc.php
__________________
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 August 31st, 2006, 09:05 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 53
Quote:
Originally Posted by Chuck S View Post
edit your catrow function in pp-inc.php
Hmm...not sure where I should be looking in it. It's not a mySQL call is it?
tj2653 is offline   Reply With Quote
Old August 31st, 2006, 09:28 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,693
Yes its the mysql query update_catcache however there is no specific way to do this since the number of products are pulled from the categories table.
__________________
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; August 31st, 2006 at 09:34 AM.
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
RP311 - Change Number of Products per Page InterFX ReviewPost How do I...? 6 February 20th, 2010 01:15 PM
New Products Toxiedog General Discussion 0 March 9th, 2006 05:44 PM
showmembers.php "Recent Products: last day/ all products" links don't work(NOT A BUG) Arnie ReviewPost Bug Reports 1 September 2nd, 2005 08:15 AM
Increase number of products shown in /showcat.php?cat=1 criscokid Photopost Pro How Do I...? 6 April 25th, 2005 04:15 AM
Re: Recent Products, Random Products, etc slant213 ReviewPost Installation & Upgrades 0 July 3rd, 2004 07:58 PM


All times are GMT -5. The time now is 01:26 PM.

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