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
  #372  
Old 11-24-2004, 04:49 PM
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 ecarabin
* Thank you Boofo ! now it works fine !
Merci beaucoup :-)

* Hades I did read all posts of this topic before posting.
Not answering you didn't mean I didn't care about your problem.
If I could have helped you ... I would have done it !
but I really don't know what to do !!
I even find my question stupid now that I see it was so easy ... :-(

So even if I go to hell, I wish someone could help you.

bye.
For future reference, any time you have more than one table accessed in a query, you must have each table AS table.

Glad I could help.
Reply With Quote
  #373  
Old 11-24-2004, 04:50 PM
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 Hades-1
what do i do if neither of these codes are in functions_upload?

can someon post their functions_upload file for this hack?
That code is added in the hack. Look at the install.html file and you will see it needs to be added first.
Reply With Quote
  #374  
Old 11-25-2004, 01:34 AM
Hades-1 Hades-1 is offline
 
Join Date: May 2004
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
That code is added in the hack. Look at the install.html file and you will see it needs to be added first.
no what i ment was the directions were like

replace

blah blah

with

blah blah blah blah

but neither were int he file so i wanted to see what someone elses looks like, but instead i am going to unzip it form the original zip and hack it

thanks for the help and sorry for being rude it was not intended.
Reply With Quote
  #375  
Old 11-25-2004, 02:10 AM
Hades-1 Hades-1 is offline
 
Join Date: May 2004
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i take it back i need help

the gallery works except for images the are linked, i did every file edit here, i download the vb 3.0.3 fix zip and everything.

If some uploads it works, if they link it shows red x or whatever.

I thought if i edit the upload picture page and made it say "if you want your image to appear in the gallery you must upload it from your pc"

but that did'nt work because when they do that it shows red x on gallery so there is a bunch of red x's for all the linked images.

Any ideas?
Reply With Quote
  #376  
Old 11-27-2004, 06:10 AM
engquist engquist is offline
 
Join Date: May 2003
Location: Rio Rancho, NM USA
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hades-1
i take it back i need help


the gallery works except for images the are linked, i did every file edit here, i download the vb 3.0.3 fix zip and everything.

If some uploads it works, if they link it shows red x or whatever.

I thought if i edit the upload picture page and made it say "if you want your image to appear in the gallery you must upload it from your pc"

but that did'nt work because when they do that it shows red x on gallery so there is a bunch of red x's for all the linked images.

Any ideas?
I have a gallery full of red x's too, can we fix this? Even if I reupload a pic, it's still a red x, but it's not a red x on the memberlist

I have VBulletin 3.0.3
Reply With Quote
  #377  
Old 11-27-2004, 07:15 AM
engquist engquist is offline
 
Join Date: May 2003
Location: Rio Rancho, NM USA
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now I've tried Slynderdale's fixes that were in that zip.

When I did that, I made all file chages again, then I got to the database part to do those changes again. I executed all those queries again (I assumed there were changes) and then it told me that they already existed so the query didn't finish or something.

so I ignored it. Then I finished the directions, and I still have red x's for pictures.

I decided I would try to re-upload my profile pic as a test. So I deleted in in my user CP, then I went to re-upload it and I got a database error something like this:

Code:
Database error in vBulletin 3.0.3:

Invalid SQL: 
			INSERT INTO customprofilepic
			(userid, profilepicdata, thumbnaildata, comment, visible, thumbnaildata, comment, visible, dateline, filename, filesize)
			VALUES


mysql error: Column count doesn't match value count at row 1

mysql error number: 1136
can someone help me by giving me some sql queries I need to run so at least people can add profile pictures again without a database error, because I don't know any SQL.

thank you.
Reply With Quote
  #378  
Old 11-28-2004, 06:36 PM
paulmjno paulmjno is offline
 
Join Date: Sep 2004
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Having a prob: everything works fine, with the exception of the actual profile pics in the member album and in the album cp. The images do not display. I rebuilt the album thumbnails.

The image src's are: /path/to/foum/image.php?u=2132&type=pthumb

When I visit that URL, I get a page which displays: Array
Reply With Quote
  #379  
Old 11-28-2004, 07:09 PM
paulmjno paulmjno is offline
 
Join Date: Sep 2004
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hm... I realise that this is yet another unsupported script... *uninstalling*
Reply With Quote
  #380  
Old 11-28-2004, 08:01 PM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by paulmjno
Hm... I realise that this is yet another unsupported script... *uninstalling*
Before you unistall it please read the thread. Your problem has been asked 19223462346 times. RTFM.

Cheers,
Reply With Quote
  #381  
Old 11-28-2004, 08:18 PM
paulmjno paulmjno is offline
 
Join Date: Sep 2004
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pseudomizer
Before you unistall it please read the thread. Your problem has been asked 19223462346 times. RTFM.

Cheers,
Could you direct me to where the full fix is? And, why hasn't the zip file been updated with the fix?

I am using 3.0.3.
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 08:46 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.21007 seconds
  • Memory Usage 2,323KB
  • Queries Executed 27 (?)
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
  • (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_postinfo_query
  • fetch_postinfo
  • 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