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
  #292  
Old 08-25-2004, 02:38 AM
Weasel's Avatar
Weasel Weasel is offline
 
Join Date: Dec 2001
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

http://www.almostsmart.com/forums/al...date&order=asc
Reply With Quote
  #293  
Old 08-25-2004, 06:07 AM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Weasel

What did you do to fix it caz i still have the same problem

its calling the : pthumbn

Still not working......did everything.... :ermm:

if i go in my phpadmin and custom profile ... it shows a bunch of chararacters no array........
I saved and rebuild from the option in vb album and also the attachemeht

i redid all the steps and it still shows the none available and the album.php also.....


Still nuthing :surprised:
Reply With Quote
  #294  
Old 08-25-2004, 10:39 AM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Weasel
Can you go into your database and see what you have in your customprofilepic table under profilepicdata?
Well this is from one username:
Code:
????\0JFIF\0\0\0\0\0\0??\0>CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), default quality\n??\0C\0		\n\r\Z\Z $.\' \",#(7),01444\'9=82<.342??\0C			\r\r2!!22222222222222222222222222222222222222222222222222??\0\0d\0X\"\0??\0\0\0\0\0\0\0\0\0\0\0	\n??\0?\0\0\0}\0!1AQa\"q2???#B??R??$3br?	\n\Z%&\'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz???????????????????????????????????????????????????????????????????????????\0\0\0\0\0\0\0\0	\n??\0?\0\0w\0!1AQaq\"2?B????	#3R?br?\n$4?%?\Z&\'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz??????????????????????????????????????????????????????????????????????????\0\0\0?\0??[fʁB?\0???h?HzRQH.T???Ӵ뛹\0?\'????O??\'?}-?????¶????m H?h$?|??=)<s5?kkf??????PO\\?Q\\5?\Z??<Zj????%??)#?l?????\'?9?˵???J??????!??5%xe???K??W?.?p.?;????OP?8潃M??0?u?o?a???{??g?Tg?-5??E4{??Z)( ???\0)JZ?յ?+D?[R???w?Wo??\0?O?@%??G?uY??U?BD??C`)?⸩?????fۆd\0?琣?ι?j???Mv???\"?fPIU uf<?OºO\nE.?{?H?K<?Y?p?sϰ???5??q~?=???\0??\Zţ?jf?\0]????9????C??ky??%U?? ????\\????c?(~????Nޥr??t?OR????d?l?$+?{??8???t??$FI??1??Fk???<???aD?#?????b?剤(?G??F??C??\Z???Q?Ee??m%??K!???`NG??kR?N?aESC_9?@???V?$vi/,?p??I(?e?6??=???Ҽ???|{??????p??ғ?????J??h?m?$Kg???????:\\?,Ϲ?}?{/`?*???4???c??fe??I??IU>????qVGi/?4?lc?Vنd\n}?1|kVm\n??%??3??W<x|?U?C6?\r????|?£?n????-3_T????ݱ$ă+,I?{u??<u??_ǩ뗉$ے.+?)\0?ױ??????L^d+?HU?`O?Q??j[MG??-?(????gv?{g\'?+8N??s??;?S???ɍԍ??????l\n??--cv%?F?$??8??A??V???9XQE?!?_??[?\0?E???bv?^2?uX??)?+ڼO??????? <p????x_Ԋ??N??????Jc#??\r ????|THh?i.N???wD?$Ȋ??8<֓*.Y?P?B?=?1??BC}?\0g??#???c??N[E??;\"\03???Z??????`KiJʟ?Lp;??}??ok:??\"?BH??cGV	?d??ܟ|wƹ?^?N\Z?????\\????????N????&????&?῵??+???\r??Q?^?Wr?<m\Z?7?a???ZLv?jr?%??T????|?d?6q^?r֓?U&N??U??????\n?#?x:7i<R?Q??????}??c??&?κ??+ ??\\?w?g??+QEYEP????>?wyr8???H?;	m?h?\0妛??Mq??q?ǜ?)#?@:?Y?ڕ???з?P?>?H????\0????????6??b???m??g?ƧdQ?!bK?????jw!ey;??F?o? ???V??k????F?v\0?8?@?+?ғN?V)??k?Al:??:c֜?Z-^?????q3?Ol?ͤ?<???\0?y5c?zp7?t+&??Ipc?(??a?^x??k??Y&Ҽ?ʯ??J?}&???k????x?f???n9ϯ?[OB?m??e????KA??-?r[?9?% ?k??sk~?V??K??g%??L????+???c?8???<Q=?+????],???a+?\0?GO????x/?V?k?+??\r?ֈ|?Q7F?Nx?ws?tA驔??F?Ə???=mo3mp???_??kO?i?ʯ-?!???{Vbj>???F?O??Pщ??a?sT????[??Y?|~???Q?q????V?$?U?(`A??+7E????^\\G6?\nFW\0w&?`x??1?c}둗???u# (???<׵?????T\n?\0??FO?My^?????`v[?$???\'??^$?}??:????$\">?x_Ԋ?:\r??5(????un???R2?!?\'???՘???F?6?P?IU???SŠ4???cǧ??kF,\"?\nɽKH??֛?hn\0YQ??\r?=??#??h\'x?	???{?o?59[pX?)$?+??+??5??9-??.Ll0~????Zz?vّ??PD??*c??!??n?xc???>?ּ???\0>??????8%??g!X??=???zW??????a???5?gq?t#??#???Eu?}B\'KY$????r?????}T[{?s?#?[R?\r?Z?q<Pn??????t?l?g$\Z????0?+,??QXn$??#o?Y?9?-??iu?h6???w2\0?O???~?^?/ß???׋u5?,?Ѯ?\0?s???5t?n록?;Z(??\0??\0?x???????????????4?HA?Kp7?\\@??\0?Ve????P:?????z?֯??????ݴ???QY\"?>??Q??*???$?????שh C?(N????Z(?P??t6?Xq?ה?b?b?t??Ty??,nF\0?2?E4?!L?<??_I???.w??\\x%?w??ׯn=??ln$?U???e?}?(??zMX_e??QEnf??
Quote:
Anyway, zelda-king you can try re-uploading the two php files and rebuilding..see if that works, because I have it running fine on 3.0.3 and those are the files im using.
Yes I even turned off my firewall, cleaned my cache, hard-refreshed and redownloaded then uploaded album.php and albumcp.php again, redoing the functions_upload.php edits. There appears to be nothing wrong with functions_upload because when I rebuilt attachments and uploaded a test one, that worked. I uploaded a profile pic of me and that's actually showing in my profile now. But it doesn't show in the album or in the albumcp. Either nothing appears or there's a HUGE broken image. The case is different from user to user.

Edit: I've fixed the broken image problem by temporarily using an old albumcp file, processing the thumbnails then using the new file again, so that's ok. It still doesn't show the images though.

On another note, I did some fiddling around and noticed when someone uploads a profile pic it shows in their profile (this is with 'picture moderation' settings enabled) but when you approve it the image no longer shows in their profile. I'd mentioned disappearing profile pics before but I've only just realised the condition under which that happens.

Edit 2: After some more fiddling in the admincp I got the odd huge broken image again, though this time it only shows on the profile page, not the cp. After more messing around and uploading it was gone again, so that looks temperamental.
Reply With Quote
  #295  
Old 08-25-2004, 05:23 PM
Weasel's Avatar
Weasel Weasel is offline
 
Join Date: Dec 2001
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

out of my 140 profile pictures I got about 10 where the thumbnail was corrupted. This seems to be some sort of problem with vbulletin's thumbnail generation function or just errors with the image itself. After I re-saved the image in photoshop then it generated correctly.

If you have the "random" characters in your database then the thumbnail should be visible by going to /forums/image.php?u=userid&type=pthumb
Reply With Quote
  #296  
Old 08-25-2004, 05:26 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There's nothing wrong with my thumbnails. They work in attachments just fine. The difference between me and you is: on your board you can see the thumbnails in the Album hack. I don't. Just the members are listed.

I'm using your code:

http://www.gamercrossfire.net/bb/album.php

Now, though I have quite a few hacks installed, as far as I recall, none of them modify functions_upload.php.

Edit: For the record - I've even tried redoing the hack on virgin vBulletin PHP files. There was no difference.
Reply With Quote
  #297  
Old 08-25-2004, 08:42 PM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

n e one?? do i have to change n e thing in the php files besides the functions_upload????

and the sql???

What am i doing wrong :surprised:
Reply With Quote
  #298  
Old 08-25-2004, 08:54 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
If you have the "random" characters in your database then the thumbnail should be visible by going to /forums/image.php?u=userid&type=pthumb
I have 'random' characters in the database but if I go to the URL I just get the message: "The image ?http://www.domain.com/forum/image.ph...d&type=pthumb? cannot be displayed, because it contains errors.".

Here's what I have in the thumbnaildata table for the image I got that error message for:
Code:
????\0JFIF\0\0\0\0\0\0??\0>CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), default quality\n??\0C\0		\n\r\Z\Z $.\' \",#(7),01444\'9=82<.342??\0C			\r\r2!!22222222222222222222222222222222222222222222222222??\0\0d\0d\"\0??\0\0\0\0\0\0\0\0\0\0\0	\n??\0?\0\0\0}\0!1AQa\"q2???#B??R??$3br?	\n\Z%&\'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz???????????????????????????????????????????????????????????????????????????\0\0\0\0\0\0\0\0	\n??\0?\0\0w\0!1AQaq\"2?B????	#3R?br?\n$4?%?\Z&\'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz??????????????????????????????????????????????????????????????????????????\0\0\0?\0??L!???{T??@Q?pE8K9B??j??r	??e??4?зG_nh??;K9f??ƈY??\0 }+{P??4?%??b? +??+???\"?_°[??\\?ᱸ?{W??\0?x?[????1?\"=\0?>?????ql???{?#??W\\*J?̝8?Z???}D?t\n?}?\'??k??׌4?\08???`?\'!?\0?5??i??4DUdH?;?8???[?\n?;-J?]b&.??ɷ?B2??\0?\"??OSf????v?`n*???f)e\\v\r[RRQib#P???2`rj	b\07???]?r31??L?????? ??w+\\M0#?J ?{?q[??&*??X?&L???+X,ĨXp3??V^???\'?\'??[?7W-so??e?X}EEq?[??*g?>l?4??y_??=???8?n?K??#x`RAu?s׵|?q ??I@Vb@?i?*:?rԫ\'?w????v??????EG?m???<s???E?i??%?\rKqm??2p7^?Z??r\n?z???k???h??????/#??S?V?Nm?3cš\rֳ??Kf?;dT?0ÿ??+?e???&?O:?b?u?qՇc??*????4?ɯ?0???k{\Z_?:??u?N`+?\nB?\0??ɪ獛??FIYj?z.??O?M???,?????ҵ?3??O???I?|??v7?s??^???P?????L<????f=????\0ë?J??W????n?zo???Ս?G莯??+?o??1?>+???H`I ?!w*????Q??3?a+???o?7?,ۃ?kq??????+??X?-? n?N~??o?g????ćm?j?!?????»+?]j??m\'???D????)?Z[??x9????\0Æ]?ZM???\\d~u??~+f????G?S+?֕H7 Ca\nG?H?{?EI?\"a?e?B?+-M??+?:?#?Z??,????\\d?ӥ|??{???K&?u?????\r???4???j?dn\"#r???Һ??r??Éi4s?V?u?jqX???\\H~D??޽?F?u??|%????9???+????{??n?C?-mf?b}?Z8p?????ۊ???Lگ?<?p?c (l???L????t-??l`?jzk????6?UY????]\'?M?????B?p??3Տ??q3j2?4??[???n ??\ZKF\r?aպs?R??ғ?????Jz??k??[[??Ti???l???w??u:.??A^k??7?Ԅ?N6 ?@??^u????y?f?`v?o??9_Kk?I??ѱ??p??4?М=?voL?[??C_\\K?g?^??s2?(Q?? qY)tt?b?m?2?H??????F}^??D?C%????N?$?u;?=~?k?~?׵???ь?03?V?R}?[P????Fʰ?V?z~#??????t?GW}???(?\\`???#?z?]??\rV?Z?~aа#????Zu֊?MͬsY?F\'???◁ǀ?hn?Kٖ?蝱?;?a?9?=*??u9??iM}???,q?=???Q_\"Y|I?E?????^??\'???#???^???D???w^c??+??~????ۇ?aK?o+v?<?fӬb??#??W$A?? ?ʶ???lag|?\\??]h7?b?3???n?B????S????Å`:?k[??|vZ???{+???D!???=3Q?y/0??;f?Ĭ?v\0w8#?\0?j\\??K?d?a??Q??0	8?Xb?i?\'v?ܾ??	??bq~#?m#S??c?D?+*?H?\"?D~]????B7?r*I??P?K?ݝ??I5???졏=??YMr?S??/g.hl˯?5ě??N?@S#p?ƛ-?I?H?\0?t??? ???V4???Q?9c??-?>??NJ*??nM?u?f??)?h??[??̇\0a???>??|b?}???w?#??]۲??\0Ux??\0?浚+T-mJ ?H?@???5?OV?6~|?%l??Is?????=)?Y?L??n?????4{g{m29u{???~?,????y??>#??Ķ&?P?`??f?@s?x!??V?????d\\Y.?v_???5??Y??t????A?h??4T??<;\"???Mgy$!K??+??ۜ?ŧcҾ)j??k??+~??Cwr ?}???5ļp?7=}z?ƽ_[?r5hn??O.?s?8;??s?ז?.Ki?s??6?_q\\??#?^?????VqF??+Đ??j????\"C!?I?#?x?W1+?2????\Z?;?Է?i??f#К?>1X+_<???ղ????????@??}?*???Ƣ?~d܂c9??\0??<?YN2?Z???m?????\0+oK??/0|?1-???x??)?.??Oui???&~?	??ZZ????_+?Q?a?ݽ??M\'S???Z?c??y7oq???M??Y?\'???\Z?l\"???>??s?HNk\n??,`???C*mu?d0?qU[ʺ?R?I???ܧ?z???Z?K??[;k}Q?.d?iOD?w^??|=????ܴ\Zj8?$????d|=??È?Z?Lo????{e??\r?J??5?T?%;%??V?ZpM9?G[{????!Z??ɢ??z?sE/m?r{I???m?漣?~??ēj6?f??K?(????V?m?Xd?Y?XĒyɮ?.?m\n?RG??e???ҩ??k+????j?<(??߷?A?|?0????????}-V\ni????Mv1;W??ٮS?x?䳶O?H???k?@I??]?????Y???k?(?4???0*H=i5???Ǧko??q+?a?-r>??M]?5?^y ??j*???ҋQ????xԉ?gr+?<6??P_???5??9Y?9??z׆.?t??z?kF{???&???Zˁ?\rf???W-?Ԓg1t??Nz+gݒ??sɢ???t@?ִ?}F??0`?T??p,?,9??E??s\0?#G-?f?8?{~ ?r???Ee?\rWe/?\'????3???+t??)??0O֩Ep????7Z????$C7|\"???@[?ξ?Д}??$QEyxω???+I?:?E?y?????
.
It has the same kind of thing in the profilepicdata table too but that won't paste here properly.
Reply With Quote
  #299  
Old 08-26-2004, 09:23 AM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well not sure what the heck is wrong. Some will show up and some wont. I made all the changes above and even removed the extra 'y' stuff at the end. Mine is one of the ones that will not show up so I even deleted and uploaded a new one. No luck.

-Jason

http://www.trackpads.com/forum/album.php (go to the 'G's to see working ones.
Reply With Quote
  #300  
Old 08-27-2004, 10:36 PM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What did ya'll do to fix it???
Reply With Quote
  #301  
Old 08-28-2004, 03:43 AM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MissKalunji
What did ya'll do to fix it???
I want to know too!! This hack is awesome if I can get it to work!!
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 09:21 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.05751 seconds
  • Memory Usage 2,336KB
  • 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
  • (2)bbcode_code
  • (5)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