Version: 1.00, by Velocd
Developer Last Online: Nov 2023
Version: 2.3.x
Rating:
Released: 03-02-2003
Last Update: Never
Installs: 102
No support by the author.
vB Member Photo
by Velocd
This hack, as well all my other vB2 hacks, I no longer provide support for (being I run vB3 and it's too much hassel to debug vB2). When vB3 Release Candidate comes out, by request I might convert some of my hacks.
Updates:
Latest update was version 1.3b on 08.01.03.
Description:
It's been ages since my last hack, due to my lack of time for coding lately. This feature here though is one I developed for my forum about a week ago, and just recently completed making the instructions for it so I could release it on vBulletin.org.
Just as the name implies, this hack will allow your members to upload a photo of themselves (or whatever you allow), then that photo will be stored in a directory of your website. In addition to just the photo, using the GD2.0 Library, thumbnails are generated corresponding to each members photo and placed inside the directory. A new link via the memberlist nav page will then be able for access to view these images all organized neatly in a photo gallery.
In addition to just this, there is a verification system integrated with the ACP for easy checking of images the members upload, before they are placed in the photo gallery.
The main reason I developed this hack is because all the other photo gallery hacks are pretty.. well, ineffective.
Features:
Utilizes GD2.0 to automatically generate thumbnails for your uploaded images
Organized photo gallery with a very easy-to-browse interface
Verification system allows efficient methods of regulating what is shown in the photo gallery
A wide variety of customizable options via the Admin CP
Requirements/Restrictions:
GD2.0 Library is absolutely needed, which comes pre-installed with the latest PHP version, 4.3.0.
This script does not support multiple-image uploads, and I will not be releasing a version of this hack does!
Because the GD library does not support the GIF image format, the photo gallery does not either. The only images that can be uploaded are PNG and JPG. (I hardly think this will be an issue for the most of us)
Installation:
Upload install_photo.php to your admin directory, and run it through your browser. All instructions for this hack are listed in there.
After the hack is installed, go to your "admin cp -> options" page and set the member photo gallery options to your own preference.
Screenshots:
Refer to the next several posts.
---------------
If you use this hack, please remember to click install!
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
************************************************** *
Warning: copy(memberpics/photo1_7.jpg) [function.copy]: failed to create stream: Permission denied in /home2/www/xxx/forum/member.php on line 1066
Warning: imagecreatefromjpeg(memberpics/photo1_7.jpg) [function.imagecreatefromjpeg]: failed to create stream: Permission denied in /home2/www/xxx/forum/gdresize.php on line 9
Warning: imagesx(): supplied argument is not a valid Image resource in /home2/www/xxx/forum/gdresize.php on line 13
Warning: imagesy(): supplied argument is not a valid Image resource in /home2/www/xxx/forum/gdresize.php on line 15
Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home2/www/xxx/forum/gdresize.php on line 45
Warning: imagedestroy(): supplied argument is not a valid Image resource in /home2/www/xxx/forum/gdresize.php on line 65
*************************************************
I'm also assuming the image name "photo1_7.jpg" is a generated name for the thumbnail that is created? I haven't uploaded a file with that name?
Now I have a new problem. It will only let me add one image total. If I add another it replaces the one that is already there. My Admin allows for up to 20 images, but I obviously can't get that far.
Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/XXXXXXXX/public_html/forum/gdresize.php on line 5
I am running PHP 4.3.1 .. but im assuming that GD isn't installed *shakes fist at host* good luck getting them to install it since they allready host my site for free *sigh*