Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

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
  #222  
Old 11-24-2003, 10:31 AM
parajsa's Avatar
parajsa parajsa is offline
 
Join Date: Oct 2003
Location: Albania
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

No response yet on this quest, any help?
  #223  
Old 12-21-2003, 04:29 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.?
  #224  
Old 01-01-2004, 11:03 PM
bgray bgray is offline
 
Join Date: Jan 2003
Location: Houston, TX
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?

Thanks,

BGray
Closed Thread


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 06:36 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.07502 seconds
  • Memory Usage 2,241KB
  • Queries Executed 18 (?)
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
  • (1)bbcode_code
  • (1)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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (4)postbit_onlinestatus
  • (4)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