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 Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old September 17th, 2007, 10:14 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2006
Posts: 42
When a user deletes a photo - their photo count doesn't go down

When users delete photos, their post count still reflects the # of photos that they totally uploaded, and not the current actual number of photos in their gallery.

To get their photo count, we're using the following query.

Code:
Content visible to verified customers only.
NetDoc is offline   Reply With Quote
Old September 17th, 2007, 10:28 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
IF You have the switch to add to users post counts set to yes in upload photo options in admin.

Photo uploads increment user post count?
__________________
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 September 17th, 2007, 10:35 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jun 2006
Posts: 42
Photo uploads increment user post count? is set to "YES"

I guess the main question is - the way I'm counting the photos is via our own SQL query to the photos Table in the PP Database. Is the photo count stored somewhere else in the DB already counted? We query this data and push it to our vB Database and show the info in the user profile "stats" in our vB postbit templates.

We have this thread on our board - http://www.scubaboard.com/forums/sho...d.php?t=200880 and this issue is brought up in post #25 and beyond.

you can also notice that our users have a link to the gallery in their "stats" under their username.
NetDoc is offline   Reply With Quote
Old September 17th, 2007, 11:22 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
Your talking about some hack your doing so this is not a product support question. Users posts are photos and comments not just photos.

You can feel free to discuss code modifications and such in THE MOD CORNER.
__________________
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 September 17th, 2007, 12:08 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jun 2006
Posts: 42
Let me simplify -

Are the post counts stored in the Database somewhere specifically?
NetDoc is offline   Reply With Quote
Old September 17th, 2007, 12:11 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
That switch we use in our program increments the users post count on the forum plus or minus this it is the users forum post count. It has nothing to do with a users photos or comments on the photopost site. We add or subtract the users forum post count when they upload or delete a photo or comment on the gallery.

I think the miscommunication here is I am discussing the functionality of our default code and you are trying to communicate some issue your having with a modification your trying to code up for display in your vbulletin forum. As instructed in my last post you are free to discuss code modifications in THE MOD CORNER which falls outside product support.
__________________
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
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
Photo uploads increment user post count aacircle Photopost Pro How Do I...? 3 September 9th, 2007 08:33 AM
Comment Count and Photo Count Don't Match Tim L. Walker Photopost Pro Bug Reports 8 March 2nd, 2007 07:55 AM
Keep track of Photo count for each user (fixed) imported_ludachris Bugs - vBulletin 3.6x 4 October 21st, 2006 07:16 AM
Admin log lists photo deletes twice Silver_2000 Photopost Pro Bug Reports 1 June 13th, 2005 09:10 AM
Photo uploads increment user post count? hobbysite General Discussion 5 August 2nd, 2004 03:45 PM


All times are GMT -5. The time now is 08:46 AM.

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