PDA

View Full Version : Show number of photos in profile


Crapaddict
June 28th, 2004, 03:12 PM
I want to show the number of pictures a user has posted (in the photoalbum) in his profile in vbulletin.
I know where to insert it in the source of vbulletin, I just don't know where to grab it.
it's all about this number, shown in the category-index:
http://www.crapaddict.com/photop_photos.jpg (Photos per member)

I am using only one single category, so that won't be a problem (I guess?) on my 4.8c Photoalbum.

Crapaddict
June 28th, 2004, 03:18 PM
To show what exactly i mean:
http://www.crapaddict.com/photop_photos2.jpg

Bryan Ex
June 28th, 2004, 03:34 PM
See post #114 in this thread on photopostdev.com;

http://www.photopostdev.com/showthread.php?t=169

Crapaddict
June 28th, 2004, 04:07 PM
See post #114 in this thread on photopostdev.com;

http://www.photopostdev.com/showthread.php?t=169
Thank you for pointing me towards there, Bryan, but that would require a complete hack, wich i wanted to avoid.
The only thing that i really am interested in is where that page looks for the total number of photos, wich i figured should be usable in vb3 aswell..
(please correct me if i'm wrong.)

Bryan Ex
June 28th, 2004, 04:21 PM
But that's just it... any page within VB does not look for the photos as they are not part of the forum. That "complete hack" only requires a single file edit, a small template change, and to run a script that has been written for you. That's about as easy as it will get for having your VB dynamically list info that is not part of it's own database.

zews
September 16th, 2005, 05:59 AM
I have upgraded my PhotoPost and therefore the hack installed to update number of photos in the user profile is gone. The link to the hack doesn't help, when the dev forum is closed. Anyone that has the hack available?

Michael P
September 16th, 2005, 07:59 AM
I've temporarily opened the forum so you can find the mod.

zews
September 16th, 2005, 08:37 AM
Thanks :)

Works fine now!