Advanced search  


CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Caching of user's number of pictures?  (Read 3687 times)

0 Members and 1 Guest are viewing this topic.


  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 37
Caching of user's number of pictures?
« on: December 06, 2005, 04:59:01 am »

Hello Dev Team,

Is it possible to add another field to the users table that will cache the number of pictures that belong to that user? My request is mainly related to bridging this also to an external bulletin board such as phpBB so I can show the number of pictures of each user near every message he posts. If you can call an UPDATE query on every upload or deletion of an image to the bridge (or coppermine's internal database), I can set it to update a new field in the users table and use it without overloading the database with queries.

Thanks for your response,
Amir W.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
Re: Caching of user's number of pictures?
« Reply #1 on: December 06, 2005, 07:55:24 am »

various caching mechanisms are being discussed to improve performance for large installs for cpgNG (aka cpg2.0), but don't expect anything like this happening that soon.
Pages: [1]   Go Up

Page created in 0.017 seconds with 19 queries.