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.
Tenpit you are a "Star" this hack is now working 100% for me and my members. If there is anything you need a hand with code or installing wise let me know. I owe you big style....
If your host is too lazy to upgrade to GD2, I really suggest getting a new host. If you have GD installed, it also means you have an old PHP, for GD2 is shipped with PHP4.3 and above. Though, as I've found out, you must configure php.ini and uncomment the GD line in order to actually enable GD2 for PHP4.3 and greater.
For an inexpensive and incredibly reliable host, I recommend www.vervehosting.com, which offers latest GD, and always updates to the newest version of software.
Today at 03:20 AM Velocd said this in Post #162 If your host is too lazy to upgrade to GD2, I really suggest getting a new host. If you have GD installed, it also means you have an old PHP, for GD2 is shipped with PHP4.3 and above. Though, as I've found out, you must configure php.ini and uncomment the GD line in order to actually enable GD2 for PHP4.3 and greater.
For an inexpensive and incredibly reliable host, I recommend www.vervehosting.com, which offers latest GD, and always updates to the newest version of software.
Problem is the hosts that use Ensim for their control panels. To retain full support from Ensim they cannot install php except in the form of Ensim patches and upgrades.
As of today, Ensim have still not released a patch to upgrade php with GD2 support.
I'm having alot of problems with people posting OTHER things in the Member Gallery. In the next release, if there is going to be one. Can you make it so a moderator/admin can remove a user's photo from the database.
And of course mod/admin to be able to add pictures for other users would be cool also.
I have a prob, when in usercp i click on 'Edit Photo' i get the page saying:
Approval Status:
When your photo becomes verified by an administrator, its status will be shown here. If your photo is disapproved, please check it for content to ensure it is appropriate.
In AdminCP i have 'Use Approval System' off.. what am i missing? :|
/edit
the last prob is solved, it was missing a template
Now i have another..
Fatal error: Call to undefined function: imagecreatefromjpeg() in /home-hosting/ultimate-accounts/sh.ultimate.pt/pg/public_html/vbb/gdresize.php on line 5
Any tip?
tks!
/edit
i hadnt support for jpeg, compiled with jpeg ad works now :banana: