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.
Is there a way to use this hack with the GD 1.6.x/1.8.x version? Coz i been running this version right now, and can't update to the new version coz of some reason.
Apologies if I'm wrong, but shouldn't there be something in the admin cp around this area IF you have the approval system enabled.?
Quote:
From here, you can control all aspects of your vBulletin forums. Please select what you need from the links down the left hand side of this page.
There are currently 0 user(s) awaiting moderation.
I've looked at the code in index.php and found that it does absolutely nothing, so I changed it to this:
Code:
if($approvalsystem==1){
$checkphoto=$DB_site->query_first("SELECT COUNT(*) AS visible FROM memberphoto WHERE visible=0");
if($checkphoto[count] > 1){
echo "<font size=\"1\">There are currently <b>$checkphoto[count]</b>
photos unverified, which can be checked <a href=\"pverify.php?s=$session[sessionhash]&action=verify\">here</a>.";
} else if($checkphoto[count] == 1){
echo "<font size=\"1\">There is currently <b>$checkphoto[count]</b>
photo unverified, which can be checked <a href=\"pverify.php?s=$session[sessionhash]&action=verify\">here</a>.";
}
}
but it still doesn't work.. Anyone have any ideas.?
I just moved to a new server. I check my permissions and have GD 2.0.15 installed but when I try to upload a pic this screen shows up for a second and the pic doesn''t load in the Member Photos section.
I've attached a screenshot. Does anyone know what is wrong?