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

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
  #132  
Old 05-04-2004, 06:56 AM
TyC TyC is offline
 
Join Date: Apr 2004
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK i worked out how to make the template , no thanks to anyone here!

I got all the Errors everyone else got until i debuged like everyone else & it worked , only problems now are images on the album.php dont appear , all you see is a red x.

When i try upload a new picture i get this error.

Parse error: parse error, unexpected $ in /home/httpd/vhosts/URL/httpdocs/forum/includes/functions_upload.php on line 417

Fatal error: Call to undefined function: build_image() in /home/httpd/vhosts/URL/httpdocs/forum/includes/functions_upload.php on line 204

i think im going to remove this Hack now
Reply With Quote
  #133  
Old 05-04-2004, 08:26 AM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TyC
OK i worked out how to make the template , no thanks to anyone here!

I got all the Errors everyone else got until i debuged like everyone else & it worked , only problems now are images on the album.php dont appear , all you see is a red x.

When i try upload a new picture i get this error.

Parse error: parse error, unexpected $ in /home/httpd/vhosts/URL/httpdocs/forum/includes/functions_upload.php on line 417

Fatal error: Call to undefined function: build_image() in /home/httpd/vhosts/URL/httpdocs/forum/includes/functions_upload.php on line 204


i think im going to remove this Hack now
Hi,

first of all welcome if you are new to vb. The first thing you should learn is to be patient. The second thing to read the threads. Multiple people have asked a lot of questions and many people run into the same problems.

On top of this i would suggest that you install a testboard where you can test things out first.

Cheers,
Reply With Quote
  #134  
Old 05-04-2004, 10:18 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TyC
OK i worked out how to make the template , no thanks to anyone here!

I got all the Errors everyone else got until i debuged like everyone else & it worked , only problems now are images on the album.php dont appear , all you see is a red x.

When i try upload a new picture i get this error.

Parse error: parse error, unexpected $ in /home/httpd/vhosts/URL/httpdocs/forum/includes/functions_upload.php on line 417

Fatal error: Call to undefined function: build_image() in /home/httpd/vhosts/URL/httpdocs/forum/includes/functions_upload.php on line 204


i think im going to remove this Hack now
Ok, take a deep breath and calm down and we'll see about getting this fixed for you.

First of all, what code is on this line in this file?

Quote:
Parse error: parse error, unexpected $ in /home/httpd/vhosts/URL/httpdocs/forum/includes/functions_upload.php on line 417
Reply With Quote
  #135  
Old 05-07-2004, 03:38 PM
pixelpunk's Avatar
pixelpunk pixelpunk is offline
 
Join Date: Apr 2002
Location: Memphis, Tn
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having a little bit of trouble on my site with your gallery.

http://www.midsouthraves.org/community/album.php

Some of the images don't get parsed when I rebuild the profile picture thumbnails. At first I thought it was the GIF files but it's happening with jpgs that users have uploaded as well.

When I run the script to rebuild the images in my control panel it looks as if it's stuck in a loop and eventually times out or something, I haven't figured out what exactly it's doing because after awhile (by the time i'm tired of watching the page flicker) it's mysteriously stopped.

Any suggestions? It's almost working!
Reply With Quote
  #136  
Old 05-07-2004, 03:57 PM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pixelpunk
I'm having a little bit of trouble on my site with your gallery.

http://www.midsouthraves.org/community/album.php

Some of the images don't get parsed when I rebuild the profile picture thumbnails. At first I thought it was the GIF files but it's happening with jpgs that users have uploaded as well.

When I run the script to rebuild the images in my control panel it looks as if it's stuck in a loop and eventually times out or something, I haven't figured out what exactly it's doing because after awhile (by the time i'm tired of watching the page flicker) it's mysteriously stopped.

Any suggestions? It's almost working!
Does this happen to all of your new uploads ? Which gd version are you using ? What seetings did you choose in the ACP for the thumbnails ?

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

Quote:
Originally Posted by Pseudomizer
Does this happen to all of your new uploads ? Which gd version are you using ? What settings did you choose in the ACP for the thumbnails ?

Cheers,
How do you mean? The images look fine everywhere (profiles, members list, etc) except in the album.php.

I'm running 'GD version bundled (2.0.15 compatible)'

Specifically what settings are you looking for in my ACP for the thumbnails? I have the max res for profile pics set to 320x320 and thumbnails are set to exactly the same thing. I've tried using the control panel to rebuild attachment thumbnails and when I try to rebuild the profile pics it just refreshes the first page (1-20) and doesn't seem to want to move to the next batch. I don't know if this bit of information helps any but say i set the 'number of pictures to process per cycle' to 10 and then hit rebuild... well it still tells me it's processing profile pictures 1-20.

I've tried reuploading the admin album page and the album.php and it didn't seem to make a difference.

Attached is a screen cap of the screen I get every time I try to rebuild the profile images. This is the one that says processing images 1-20... always.

Thanks for the help!!

*edit - This happens in both IE 6 and in FireFox 0.8.
Reply With Quote
  #138  
Old 05-07-2004, 05:26 PM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

and if one of your members uploads a new profile pic what happens then ? Does this problem always occur or just ocasionally ? Or is this only for pictures which where there before the hack was installed ?

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

Quote:
Originally Posted by Pseudomizer
Hi,

and if one of your members uploads a new profile pic what happens then ? Does this problem always occur or just ocasionally ? Or is this only for pictures which where there before the hack was installed ?

Cheers,
These are all images from before the hack was installed.

I've had a few users try it out and they can upload images fine. No errors whatsoever.

What does the reset button do on the Approve Pictures page? When i click that nothing happens.
Reply With Quote
  #140  
Old 05-07-2004, 06:03 PM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pixelpunk
These are all images from before the hack was installed.

I've had a few users try it out and they can upload images fine. No errors whatsoever.

What does the reset button do on the Approve Pictures page? When i click that nothing happens.
Hi,

i had the same problem. But i migrated from version 2.3.x to version 3.0.0 and i had the old hack installed. So i wrote a script which cleans up the complete memberpics and deletes everything in there and then migrates the pics from the old hack into the new hack. This will not help you at all but you have 2 choices. You can either ask every member to upload the files again or you delete all pictures and let them upload again. That would be my guess but please check with the hack author first.

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

Right on, thanks for your help Pseudomizer.

I was beginning to think that they'd have to upload their pics again so I'll let them know and when I find out what's working I'll let you know.
Reply With Quote
Reply


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 04:44 AM.


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.08492 seconds
  • Memory Usage 2,324KB
  • 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
  • (7)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