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

Reply
 
Thread Tools
vB3 Member Album 2.0 Details »»
vB3 Member Album 2.0
Version: 1.00, by Velocd Velocd is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 04-09-2004 Last Update: Never Installs: 100
 
No support by the author.



In vBulletin 3 there is an option for members to upload a profile picture. This hack provides more incentive for members to upload their picture, as it integrates a gallery to browse them all. :up:

In addition to browsing profile pictures, there is an option for viewing signatures. This comes in handy, for you don't have to browse through each individual member. Also, a "edit signature" link is provided for moderators, for fast access to editing signatures that aren't in accordance with your rules.

Other Features
  • Require pictures to be approved in order to be visible. You can exempt specified usergroups from this.
  • Thumbnails are generated for profile pictures. You must have GD installed and enabled via the AdminCP options page.
  • For more insight, refer to the attached screenshots, or install it!

Upgrade to 2.0
  • Redo steps 7-8, 11-12, 19-20, 26, 27, and 34
  • Revert the template "modifyprofilepic", and do steps 29-32
  • Run the following queries:
    [sql]
    ALTER TABLE `customprofilepic` ADD disapproved smallint(5) not null default'0';
    ALTER TABLE `customprofilepic` ADD reason varchar(100) not null;
    [/sql]

Notes
  • This hack does not support uploading multiple images per account.
  • Profile thumbnail sizes are defined by the attachment thumbnail sizes. So modify the attachment thumbnail sizes in your AdminCP options page if you wish to change the profile picture thumbnail sizes. Be sure to run "re-generate thumbnails" via the vB3 Member Album -> Approve Images" page.
  • Profile picture sizes (not thumbnails) are defined for each usergroup. Modify a usergroup via AdminCP to change the dimensions members under that group are allowed to have for profile pictures.

3rd Party Add-ons
  • Pseudomizer has posted a migration script that will transfer your files from my old vB2 Member Photo to the correct tables in this vB3 hack. Click here to view.
  • Pseudomizer also posted a portal-integration allowing you to display a random profile picture on your portal.
    Click here to view.
  • Thanks to those who posted add-ons!

Galleries in Action
If you have this hack installed on your forum, and could provide me a demo, please PM a link so I can post it in this thread.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #152  
Old 05-11-2004, 07:27 PM
pixelpunk's Avatar
pixelpunk pixelpunk is offline
 
Join Date: Apr 2002
Location: Memphis, Tn
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome thanks, I looked for that and simply didn't recognize it... I get so scatterbrained when I start modifying everything!

What I mean by redundant is how "> Member Album" shows up next to the board name and then you have " Profile Pictures" under that.

Typically when you click the navigation to your control panel it reads:

Board Title
`- User Control Panel

not:

Board Title > options or whatever
`- User Control Panel

Thanks for helping us out! This hack is beautiful.
Reply With Quote
  #153  
Old 05-14-2004, 01:20 AM
Maikeru's Avatar
Maikeru Maikeru is offline
 
Join Date: Apr 2004
Location: arizona
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like this hack, especially because I've used it on a forum before . It works really well, so..maybe I'll download it.
Reply With Quote
  #154  
Old 05-15-2004, 12:55 AM
MaxScript MaxScript is offline
 
Join Date: Sep 2003
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no workie
www.batalk.com/album.php

i get a blank page
Reply With Quote
  #155  
Old 05-15-2004, 06:20 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You forgot to install the templates.

If that's not the case, arbitrarily place PHP echo statements in your album.php to find where the error is.
Reply With Quote
  #156  
Old 05-15-2004, 04:36 PM
MaxScript MaxScript is offline
 
Join Date: Sep 2003
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

my bad , i forgot one temp


works great [ clicks install ]

www.batalk.com/album.php
Reply With Quote
  #157  
Old 05-16-2004, 04:28 AM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Comment system if anyone wants it:
https://vborg.vbsupport.ru/showthrea...870#post512870
Reply With Quote
  #158  
Old 05-16-2004, 01:01 PM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,
The installatioin went fine,everything appears to work with THIS program. However,it doesn't allow anyone to change their avatars,ect. I get this error when I use my test name:

Parse error: parse error, expecting `']'' in /home2/hcenter/public_html/profile.php on line 1622

This is line 1622:

$profilepic['comment'] = fetch_censored_text($profilepic['comment' $show['profilepic'] = iif($profilepic, true, false);

What the problem???????
Reply With Quote
  #159  
Old 05-18-2004, 04:14 PM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Velocd
I've updated to version 2.0.

It's mostly a bug update, but I also improved the verification process in the AdminCp. So I emphasize you to update.

Upgrade instructions and the new file, as well a v2.0 screenshot of the ACP, can be found in the first post:
https://vborg.vbsupport.ru/showthread.php?p=498288

If you have questions or problems, just ask.
Hello Velocd,

with all respect i have to post this because i think that other people will also run into this problem.

What's the problem ? Very easy. As soon as you have too many pictures you will run into either browser problems or PHP timeout problems exceeding 30 secs.

Fix for this ? Why do admins click on "Verify" ? Not to see the already verified pictures. The admin wants to verify any new pic that has been uploaded.

Due to this i altered your original code to show per default the "unapproved" and "disapproved" pictures and only if someone clicks on "approved" then he will get the full list of the approved pictures.

This is what i need and i don't know if other people need this but just in case you run into this problem here are my changes:

Open albumcp.php in an editor and find:
PHP Code:
require_once('./global.php'); 
After this place:
PHP Code:
        if (!$_REQUEST['type'])
        {
            
$type "1";
        }
        else
        {
            
$type $_REQUEST['type'];
        } 
Then REPLACE this:
PHP Code:
        echo "<td align='center' class='alt1'><a href='#unapproved'>Unapproved</a> ($count_una) &nbsp;|&nbsp; 
            <a href='#approved'>Approved</a> (
$count_app) &nbsp;|&nbsp; 
            <a href='#disapproved'>Disapproved</a> (
$count_dis)</td>"
with this:
PHP Code:
        echo "<td align='center' class='alt1'><a href='albumcp.php?type=1'>Unapproved</a> ($count_una) &nbsp;|&nbsp;
            <a href='albumcp.php?type=2'>Approved</a> (
$count_app) &nbsp;|&nbsp;
            <a href='albumcp.php?type=1'>Disapproved</a> (
$count_dis)</td>"
Then find this:
PHP Code:
        if ($unapproved)
        { 
Before add this:
PHP Code:
     if ( $type == "1" )
     { 
Then find this:
PHP Code:
            print_submit_row('Verify Unapproved','Reset'6); 
After add this:
PHP Code:
        }
      }
      else
      { 
Then find this:
PHP Code:
            print_submit_row('Verify Approved ','Reset'6);
        } 
After add this:
PHP Code:
      }
      
//endif
        
        // Disapproved
        //////////////////

     
if ( $type == "1" )
     { 
Then find this:
PHP Code:
            print_submit_row('Verify Disapproved','Reset'6);
        } 
Add this below:
PHP Code:
     }
     else
     {
     }
     
//endif
    

All set all done. Or replace the albumcp.php with my attached albumcp.php.

Enjoy.

Cheers,
Reply With Quote
  #160  
Old 05-19-2004, 02:19 AM
Kwak Kwak is offline
 
Join Date: Sep 2003
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I double checked the codes for each files and the new template and I get the database error:

http://www.calpolyonline.com/forums/album.php

Where could the problem be?
Reply With Quote
  #161  
Old 05-19-2004, 02:44 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

CalPoly online eh? San Luis Obispo is my home town I would have gone to that college, except they don't seem to admit the local citizens by huge numbers. :\

As for your problem, I can view the image gallery fine.
Reply With Quote
Reply

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 02:21 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.07412 seconds
  • Memory Usage 2,333KB
  • 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
  • (12)bbcode_php
  • (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
  • (4)pagenav_pagelink
  • (2)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