![]() |
ok, this will set it up so when a user uploads a profile pic, it will create the thumbnail.
Add a column in your MySQL database Code:
ALTER TABLE `customprofilepic` ADD `profilepicthumb` MEDIUMTEXT; Find PHP Code:
PHP Code:
Find HTML Code:
'userid' => TYPE_UINT, HTML Code:
'thumb' => TYPE_UINT HTML Code:
if ($vbulletin->GPC['type'] == 'profile') HTML Code:
$vbulletin->GPC['thumb'] ? $data = 'profilepicthumb' : $data = 'filedata'; HTML Code:
SELECT filedata, dateline, filename HTML Code:
SELECT $data AS filedata, dateline, filename HTML Code:
<if condition="$totalpics"> |
Quote:
exactly what I wanted... thank u very much! |
Awesome, thanks for working out the thumbnails!
Question: How will the ones display that users have already uploaded prior to installing this add-on? :) |
I guess they will have to re-upload their profile pic. I had originally written my own profile pic page ages ago so all my users already had theirs thumbnailed when I changed to this version.
|
anyway to fix this ?
Currently Viewing: Unknown Location /forums/picgallery.php?&page=2 |
very nice SpankMe ... how did u get picgallery to be able to show your custom fields ? such as bike: post: and so on ?
|
Quote:
If you want to add additional files to WhoseOnline, you can either add the manual plugins in post #44 or install the WhoseOnline for additional files hack from Andreas. |
Quote:
|
Quote:
|
Quote:
B.t.w. sweet hack, thanks. |
All times are GMT. The time now is 06:35 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|