Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Closed Thread
 
Thread Tools
vB Member Photo Details »»
vB Member Photo
Version: 1.00, by Velocd Velocd is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

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:
  1. Upload install_photo.php to your admin directory, and run it through your browser. All instructions for this hack are listed in there.
  2. 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.

Comments
  #52  
Old 03-05-2003, 01:22 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Da GoTTi, you must either have a version that states 2.0 or higher, or as gopher just said "bundled (2.0 compatible)", which just means he's running the latest version of PHP which comes pre-installed with it.

Any version of GD below 2.0 will not work.

Gopher, I noticed a few bugs you mentioned in your post #47, and will be updating the hack shortly.
  #53  
Old 03-05-2003, 03:11 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The zip has been updated with version 1.2, with the added file of update1.2.txt. This small update basically fixes an issue with submitting only your comments field, but leaving your photo field blank, and it giving you a verification notice.

Basically the comments field is not verified, only the photo is, since I think having to verify the comments field is going alittle out of bound.

Quote:
I may be missing something, but is the system supposed to send an email when the verification option is turned on?

I see them in the Verify section in the admin cp, but never received an email. All other emails from the system are working just fine.

Then again, I don't know if emailing the admin was a built-in option?

I'd hate to have photos waiting for verification for too long..
You seemed to be quite confused on how this works. First of all, there is no email sent to you. Via your index page of admin cp, when first entering, if you have received new unverified photos to your gallery there is a small notice in the upper left corner of the page notifying you how many unverified photos there are (hence the file edits to admin/index.php). If a member submits a photo, you will get no email, you simply have to be sure to check the admin cp regularly and then go to the pverify.php page to approve them.
  #54  
Old 03-05-2003, 08:51 AM
ricoche's Avatar
ricoche ricoche is offline
 
Join Date: Oct 2002
Location: Nagano, Japan
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice hack! Works well.

Thanks very much,

Ricoche
  #55  
Old 03-05-2003, 12:51 PM
Cheffe Cheffe is offline
 
Join Date: Apr 2002
Location: Bremen
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got the following warning

Code:
Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(/tmp/vbaee4c33b7) is not within the allowed path(s): (/home/www/netsh2/) in /home/www/netsh2/html/vbtest/member.php on line 1020

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/tmp/vbaee4c33b7) is not within the allowed path(s): (/home/www/netsh2/) in /home/www/netsh2/html/vbtest/member.php on line 1024
  #56  
Old 03-05-2003, 01:16 PM
gopherhockey's Avatar
gopherhockey gopherhockey is offline
 
Join Date: Jul 2002
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Velocd
You seemed to be quite confused on how this works. First of all, there is no email sent to you. Via your index page of admin cp, when first entering, if you have received new unverified photos to your gallery there is a small notice in the upper left corner of the page notifying you how many unverified photos there are (hence the file edits to admin/index.php). If a member submits a photo, you will get no email, you simply have to be sure to check the admin cp regularly and then go to the pverify.php page to approve them.
Yea, I had a feeling there wasn't an email sent but wasn't sure - I didn't see the notice in admin cp, but I'll look closer next time.

Anyone want to take a stab at adding email to this? I like how photopost works, it sends an email that a new photo needs verification and includes the link to the verify page.

I am in admin quite a bit, but not enough to be able to properly watch the system for new pics. I guess I could turn verify off as well and rely on users to let me know if someone uploads porn or something like that :squareeyed:

Regardless, still cool.
  #57  
Old 03-05-2003, 01:41 PM
Moyses's Avatar
Moyses Moyses is offline
 
Join Date: Mar 2002
Location: El Salvador
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice Hack!!!

*Install*
  #58  
Old 03-05-2003, 03:38 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Cheffe
I got the following warning

Code:
Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(/tmp/vbaee4c33b7) is not within the allowed path(s): (/home/www/netsh2/) in /home/www/netsh2/html/vbtest/member.php on line 1020

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/tmp/vbaee4c33b7) is not within the allowed path(s): (/home/www/netsh2/) in /home/www/netsh2/html/vbtest/member.php on line 1024
Make sure the directory "memberpics" is CHMOD 777
  #59  
Old 03-05-2003, 04:34 PM
Cheffe Cheffe is offline
 
Join Date: Apr 2002
Location: Bremen
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

checked but still the same problem
  #60  
Old 03-06-2003, 02:38 AM
klunderj klunderj is offline
 
Join Date: Feb 2003
Location: gpw
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed this hack.. took a while. Then I realized my system is hosted on a windows box and is not capable of running GD. Well, I modified some of the scripts and got the members photo album to work, just couldnt use the thumbnails. Modified gdresize and member.php

Gonna go click on install now
  #61  
Old 03-06-2003, 06:10 AM
Cheffe Cheffe is offline
 
Join Date: Apr 2002
Location: Bremen
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Problem fixed! Just no tmp directory
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:38 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.13943 seconds
  • Memory Usage 2,309KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete