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.
sorry for my bad english but i have a new problem.
If i modify my picture in my profile i have a short error, looks in my attachment and in my member.php i dont have a picture but in my profile its work i see my picture
This will make the comments a clickable link to the photo.
Then u would have to delete the $getphoto[comments] where it originally is to avoid it being displayed double
Anybody having any problems with members being logged out when they click the members link after installing this?
After I installed this, when members click on the members button they get logged out.?????
Any ideas?
You probably have forgotten a semicolon ";" somewhere after the ending of one of the code lines, or some other simple syntax error.
Post the code that exists around line 1252 and 111.
@subu1: There is no admin-cp built in function for deleting member photos, you will simply have to either ask the person to delete it (the easiest way, since it is then also ridden from the directory), or do it yourself (going into PHPmyadmin and deleting the user-photo data, which honestly isn't that hard either).
Great Hack, installed and working perfectly. I have one question tho. Is there a way an admin can manually add someone's pic to the gallery?
I know that you have to manually upload the thumbnail and the full sized image and name it corresponding to their member number.
But that is all i know to do, maybe there is a sql script that needs to be run for it to be inserted into the photo gallery. I looked through the code, but it got confusing.
Any help would be greatly appreciated thanks.