View Full Version : Hit Counter for Albums/Pictures
asabet
04-26-2009, 12:32 PM
Is there a simple way to have a hit counter for members' albums and/or pictures in vBulletin 3.8.2? I have a photography forum at www.camwk.com and members have requested this. The other request I've gotten is for the ability to show EXIF info under the album pictures. Thanks in advance for any help. -Amin
Lynne
04-27-2009, 03:13 AM
I think you would have to write the code to count your pictures posted. You'd probably need to add a field in the user table similar to the posts field and then create a plugin at each location that a picture may be added and add to the count each time. And, plugins for deleting the pictures to subtract from the count each time. I wouldn't really consider that simple though.
asabet
04-28-2009, 03:09 PM
Thanks Lynne. I think my question wasn't clear though. I don't want a counter for the number of pictures. I want to install a counter for the number of views/visits each picture or album gets. My members want to know how often their photographs are being viewed.
Amin
Lynne
04-28-2009, 03:31 PM
Well, what I said is still valid. You'll probably have to create a new field, only instead of in the user table, in the picture table and then create a plugin that counts the views (maybe album_picture location?). You can probably copy that view code from somewhere in the vb code already.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.