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
  #232  
Old 07-26-2004, 05:11 PM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Velocd
Sorry about not updating this hack (and others), as I've been concentrating lately on the Article Bot I've released, but moreover my actual job has consumed 95% of my time for coding.

I'll read through this thread (which is a lot!) and post a complete update soon. (aiming for this weekend)

Hurray :nervous:
Reply With Quote
  #233  
Old 07-29-2004, 12:50 AM
SnowBot's Avatar
SnowBot SnowBot is offline
 
Join Date: Jul 2003
Location: Manchester UK
Posts: 631
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having problems with only some pics showing up. If you click on the red X it still takes you to there profile and the pic is clear on that, any ideas?

P.S. The bottom left pic is my wife
Reply With Quote
  #234  
Old 07-29-2004, 01:12 AM
tHe Rk tHe Rk is offline
 
Join Date: Jan 2004
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Velocd
Sorry about not updating this hack (and others), as I've been concentrating lately on the Article Bot I've released, but moreover my actual job has consumed 95% of my time for coding.

I'll read through this thread (which is a lot!) and post a complete update soon. (aiming for this weekend)
I'll be waiting for it.

The problems I am currently have are these: (Running 3.0.1)

I have red X's showing up on the Album page and on the admin cp approval page. When I try to rebuild album thumbs, it goes to a screen listing all the thumbs, but just sits there, and says this:

Quote:
Processing: profile picture : [1]
Processing: profile picture : [2]
Processing: profile picture : [3]
Processing: profile picture : [4]
Processing: profile picture : [5]
Processing: profile picture : [6]
Processing: profile picture : [7]
Processing: profile picture : [8]
Processing: profile picture : [9]

vBulletin v3.0.1, Copyright ?2000-2004, Jelsoft Enterprises Ltd.
Also on the sigs display page is says every sig was last edited on: 12-31-1969, 06:00 PM

Thanks, and hopefully it will be an easy fix
Reply With Quote
  #235  
Old 07-29-2004, 03:45 AM
Yelper Yelper is offline
 
Join Date: Jul 2004
Location: Seattle, WA
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm extremely confused. I've done everything correctly (or so I think, redone each step twice [copied original vbulletin 3.0.3 files over and re-configured them]), but in my album page, it shows avatars instead of profile pictures.

Check here for album. So far, aside from this, seems like everything's going smoothly!
Reply With Quote
  #236  
Old 07-31-2004, 12:35 PM
Christine's Avatar
Christine Christine is offline
 
Join Date: Oct 2001
Location: PA
Posts: 472
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having the same issues.

Tried buro9's fix, but that didn't work -- none of the images showed up after a rebuild.

Tried a few things, and two seemed to get close, but still not working:

Switched $thumbnail['filedata'] to $thumbnail['profilepicdata'] and that worked great calling the image from the profilepicdata field, but obviously the images were not thumbnailed. Option here would be to not thumbnail, but to set image limits.

Then tried going back to $thumbnail['filedata'] in conjuntion with commenting out the if (!$vboptions['attachfile']) statement in the fetch_thumbnail_from_image function. That worked GREAT for the profile pics (and thumbnailing) but throws SQL errors for attachments.

I will watch for updates, but for now, I think I am just going to take all of the related functions and image files and copy them to the old 3.0 function way specific to the album (which also makes for one less thing to worry on for upgrades).

Reply With Quote
  #237  
Old 07-31-2004, 01:38 PM
SnowBot's Avatar
SnowBot SnowBot is offline
 
Join Date: Jul 2003
Location: Manchester UK
Posts: 631
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by buro9
Other things you might want to do whilst your here... take a look at this thread: https://vborg.vbsupport.ru/showthread.php?t=66765
And then execute this piece of SQL if you haven't already:
[sql]
ALTER TABLE `customprofilepic` ADD INDEX ( `userid` )
[/sql]

Obviously prepending any TABLE_PREFIX that you use, if indeed you use one.

Any more bugs with this? Probably, so let's resolve them eh? Just report them and there's nothing stopping you lot looking around and trying to figure it out too
Well i ran that query after making the code changes and now none of the pics show at all How do i undo these changes ?
Reply With Quote
  #238  
Old 08-01-2004, 01:37 AM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello @LL,

after having seen that a lot of people have requested this function, and i also needed it, i decided to code it on my own. What is urgently needed for this hack ( despite of the thumbnail problems which are due to vb3.0.3 upgrade ) ? An email function for unapproved images!!!

I received a lot of complaints of my members that their uploaded pics were not visible. But as usual they did not read any thread or any hint on the page. They even do not read the message "This picture hasn't been verified yet". We did not check the ACP every day and due to this i coded this small add-on. I hope you will enjoy it and you will find it useful.

Here is a small installation instruction:

- open the vma_hourly_english.php file and edit the 2 email addresses. One for the sender address and one for the recipient address
- Copy the vma_hourly_english.php file into /forum/includes/cron folder.
- Open your ACP and create a cron job and define in which interval you want to receive emails and you place the link to the new uploaded file in the script field.

That's it !!!

I set it up to hourly reporting but you can set it to daily or weekly. It is up to you. You define the time period via your ACP. The file has nothing to do with the timing and the file name is given by me. You can change it to whatever you want if you wish.

P.S: It only sends an email when you have unapproved images. It does NOT send an email if you have no unapproved images and it also does NOT send an email for disapproved pictures.

That's all. Now enjoy !!!

Cheers,
Reply With Quote
  #239  
Old 08-01-2004, 12:27 PM
SnowBot's Avatar
SnowBot SnowBot is offline
 
Join Date: Jul 2003
Location: Manchester UK
Posts: 631
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pseudomizer
Hello @LL,

after having seen that a lot of people have requested this function, and i also needed it, i decided to code it on my own. What is urgently needed for this hack ( despite of the thumbnail problems which are due to vb3.0.3 upgrade ) ? An email function for unapproved images!!!
Wanna share how you got it working with 3.0.3 ? pretty please..lol
Reply With Quote
  #240  
Old 08-01-2004, 02:27 PM
tHe Rk tHe Rk is offline
 
Join Date: Jan 2004
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All of the sudden, my thumbnails are working and showing up on the album page. Also the sig dates fixes itself once the user edits sig for the first time after the hack is installed. However I still can't "Rebuild Profile Picture Thumbnails" in admincp. Hack creator, could we get some support please
Reply With Quote
  #241  
Old 08-01-2004, 04:41 PM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SnowBot
Wanna share how you got it working with 3.0.3 ? pretty please..lol
Very easy. I am still on 3.0.1 and it works, but i was missing this email part.

Cheers,
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 01:04 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.06039 seconds
  • Memory Usage 2,320KB
  • 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
  • (6)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