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.
LEFT JOIN ".TABLE_PREFIX."user AS user USING (userid)
FIND
PHP Code:
FROM ".TABLE_PREFIX."customprofilepic
REPLACE that with
PHP Code:
FROM ".TABLE_PREFIX."customprofilepic AS customprofilepic
FIND
PHP Code:
LEFT JOIN ".TABLE_PREFIX."usertextfield
REPLACE that with
PHP Code:
LEFT JOIN ".TABLE_PREFIX."usertextfield AS usertextfield
FIND
PHP Code:
FROM ".TABLE_PREFIX."user
REPLACE that with
PHP Code:
FROM ".TABLE_PREFIX."user AS user
This should take care of table prefixes.
Hello
Now I changed in such a way, but now I get one mysql errors.
Before I still "AS user" an "AS.." attached hattte was not the error.
Only the pictures were not indicated.
Neither in the Admincp nor in the album
Ungueltige SQL-Abfrage:
SELECT vb3_user.userid, dateline, comment, vb3_user.username, vb3_user.usertitle, vb3_user.joindate, vb3_user.usergroupid
FROM vb3_customprofilepic AS customprofilepic
LEFT JOIN vb3_user AS user USING (userid)
WHERE visible=1
ORDER BY posts desc
LIMIT 0, 18
mysql error: Unknown table 'vb3_user' in field list
mysql error number: 1109
The tables are called with me all vb3 _ and are also present. Also the vb3 _ table.
after which I tinkered much and it does not go yet with the pictures,
now times the question.
I have the version 3.0.5 Vbulletin to to run.
What exact do I have to make in this version, which the pictures are indicated with me?
I have the GD2 on the Webserver.
At present I only one X get in the Gallerie indicated.
You must install all Files, an alle Patches... inkl. Templates..
:-)
cu Deta
Thanks. I still couldn't get the images to load after redoing it. Ijustended up displaying the actual profile picture instead of thethumbnail by changing type=pthumb to type=profile in albumcp.php and the album_image_list template.