PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old October 24th, 2005, 10:26 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Posts: 23
Keep track of Photo count for each user (fixed)

In Photopost, we had modified the script slightly to keep track of each users' photo count. If they removed a photo, it decreased their photo count. When they addeda photo, it increased. This was done by adding a field called Photos in the User table to keep that number. Can someone tell me exactly how I would add the code to keep this function working? I found the spots in function_gallery.php where the postcount is increased and decreased. But I don't know exactly how I should go about modifying the code to keep track of both the post count and the photo count. Should I add queries or just modify the existing ones?

Also, with photopost, they gave us a script to run to get an accurate count of how many photos are in the database for each user. Sort of like a maintenance script. How would we do this with vBa Gallery? Since I'm assuming our photo counts will now be off since we're not counting them anymore.
imported_ludachris is offline  
Old April 3rd, 2006, 10:38 AM   #2 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 238
I'd like to see something like this as well. I've just had to Update Post Counts from vB's maintenance area and it's reset the post counts to only include forum posts, not gallery uploads or gallery posts like I've set in the Gallery's cp.

Any idea how I can quickly restore the total count for all posts?
StuartDH is offline  
Old April 3rd, 2006, 12:18 PM   #3 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Good find. I do not have an answer @ the moment, but moven to Bugs to find out.
Zachariah is offline  
Old August 31st, 2006, 03:20 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 238
Has this been fixed in the new 2.0 BETA? If not, please could you add it in as deleting pics is playing havoc with our users post count.

Thanks

Last edited by StuartDH; August 31st, 2006 at 01:30 PM.
StuartDH is offline  
Old October 21st, 2006, 07:16 AM   #5 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
This has been fixed in 2.1
Zachariah is offline  
Closed Thread


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
User Reviews Count? SteveSteve ReviewPost Suggestions 0 December 13th, 2005 09:53 AM
5.13 MG/Show all users pics: Count doesn't update(FIXED) mjm Photopost Pro Bug Reports 3 August 31st, 2005 11:46 PM
Photo Count off kevinrstruck Photopost Pro Installation & Upgrades 2 October 26th, 2004 11:06 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 10:17 AM.

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