Version: 1.00, by Velocd
Developer Last Online: Nov 2023
Version: 3.0.0
Rating:
Released: 04-09-2004
Last Update: Never
Installs: 100
No support by the author.
In vBulletin 3 there is an option for members to upload a profile picture. This hack provides more incentive for members to upload their picture, as it integrates a gallery to browse them all. :up:
In addition to browsing profile pictures, there is an option for viewing signatures. This comes in handy, for you don't have to browse through each individual member. Also, a "edit signature" link is provided for moderators, for fast access to editing signatures that aren't in accordance with your rules.
Other Features
Require pictures to be approved in order to be visible. You can exempt specified usergroups from this.
Thumbnails are generated for profile pictures. You must have GD installed and enabled via the AdminCP options page.
For more insight, refer to the attached screenshots, or install it!
Upgrade to 2.0
Redo steps 7-8, 11-12, 19-20, 26, 27, and 34
Revert the template "modifyprofilepic", and do steps 29-32
Run the following queries:
[sql]
ALTER TABLE `customprofilepic` ADD disapproved smallint(5) not null default'0';
ALTER TABLE `customprofilepic` ADD reason varchar(100) not null;
[/sql]
Notes
This hack does not support uploading multiple images per account.
Profile thumbnail sizes are defined by the attachment thumbnail sizes. So modify the attachment thumbnail sizes in your AdminCP options page if you wish to change the profile picture thumbnail sizes. Be sure to run "re-generate thumbnails" via the vB3 Member Album -> Approve Images" page.
Profile picture sizes (not thumbnails) are defined for each usergroup. Modify a usergroup via AdminCP to change the dimensions members under that group are allowed to have for profile pictures.
3rd Party Add-ons
Pseudomizer has posted a migration script that will transfer your files from my old vB2 Member Photo to the correct tables in this vB3 hack. Click here to view.
Pseudomizer also posted a portal-integration allowing you to display a random profile picture on your portal. Click here to view.
The main problem is that somehow it doesn't work in vBulletin 3.0.3. I see you're still running 3.0.0, so maybe something was changed in the coding from then.
It's okay though, take your time! vBulletin hacks never come before your life, hopefully!
So as to make things a bit easier when I do go to update (and help me from reading through the pages), could someone summarize the problems, or main problem, with this hack? I've had it running on my forum for months now and haven't had any issues with it. I may be able to do a quick update, if it doesn't seem to be a huge issue.
Like a few others, I did a fresh install on vb 3.0.3 and the only problem I could find was that the thumbs were not getting generated and the album shows all broken images http://www.indiamike.com/india/album.php
Hopefully there is a simple fix since this is probably the number one hack at least for me that I really looked forward to using here at vbulletin.org
Work has been vicious as always, but I'm forseeing some free time the first week of school (that is, 23rd-29th, and yes, that sounds odd). I'll make a good bug fix for this hack then, and perhaps some other features. I plan to upgrade my board to vB 3.0.3 to see just what the errors are.
I noticed even back on 3.0.1, after I changed my thumbnail sizes, the option to rebuild profile pictures didn't have any affect (see 1st attachment for what I see during the process). [I did rebuild attachment thumbnails. I even tried disabling everything and re-enabling.]
Since upgrading to 3.0.3 the couple of my users that uploaded a profile pic, those come out blank. Perhaps this is to do with the 'unapproved' status? I tried on my test account (which already had a disapproved pic) and that uploaded fine (obviously not showing in the album because it's disapproved).
Another problem I had: profile pictures are no longer showing in profiles (even back on 3.0.1). Only in the album. This is even after upgrading the forums so it's nothing to do with the PHP. Even approved images just don't show there... however, the test one mentioned above that I did AFTER upgrading everything: THAT worked but one of my users tried to update their picture after that and still nothing shows in their profile though it shows in the album.