The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Hit Counter for Albums/Pictures
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
|
#2
|
||||
|
||||
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.
|
#3
|
|||
|
|||
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 |
#4
|
||||
|
||||
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.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|