![]() |
Quote:
I have modified this hack to work with 3.0.3 and have confirmed it working on a clean installation. See attached. And BTW, that syntax is pefectly legal in the same way that $foo = $foo + 3; is legal. |
Excellent! Especially from someone who hadn't even installed the hack initially. Are there easy steps to upgrade or are we best off going through the whole installation?
|
Weasel,
using your files alone plus your change from your previous post, I still get broken thumbnails, is there anything we need to change in the other portions of the hack (i.e. in the normal vb files)? Thanks |
Quote:
Otherwise those should be the only two changes you have to make (except in the case where you use a table_prefix in your database). Also try pressing ctrl-R to do a hard-refresh of your album.php page. If you go into your database using phpmyadmin and go to customprofilepic and browse, you should be able to see the raw thumbnail data. If you see "Array" that means you have not yet rebuilt the thumbnails using the two thumbnail code changes. |
I get broken thumbnails too and I redid the whole hack (not the database tables though). Then again the Rebuild Profile Pic Thumbnails function always worked strange for me even before the upgrade.
Having said that, it's insanely late here. I'll reserve final judgement until I give this another go tomorrow morning. |
Quote:
|
From the readings, this hack runs utterly buggy on 3.0.3, most likely due to function changes or my code is just vB deprecated. I still hope to have a bug fix release by the end of this month (it has yet to be worked on), but my schedule is crammed so I'm not entirely sure it's possible.
|
I have made a couple of other changes in my upload in post #281. It fixed thumbnails not displaying in the admincp because of the &s=y at the end of the img src url (not sure what that's for?)
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. |
Wierd... the hack worked (I am using the files you attached) but the admin script was still calling &type=pthumb which does not work. I have changed the admincp and the output template and will test a bit more but so far so good. Thanks again!
|
Odd... I seem to be showing a few avatars instead of profile pictures now, any idea why?
|
|
Quote:
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: |
Quote:
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|kVm\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\0w&?`x??1?c}둗???u# (???<?????T\n?\0??FO?My^?????`v[?$???\'??^$?}??:????$\">?x_Ԋ?:\r??5(????un???R2?!?\'??????F?6?P?IU???S4???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:
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. |
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 |
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. |
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: |
Quote:
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?М=?voL?[??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. |
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. |
What did ya'll do to fix it???
|
Quote:
|
In vBulletin 3.0.3 the thumbnail code changed a bit so invalid thumbnails were made.
If you already installed this hack and Weasel's update: ( Weasles update can be found here: https://vborg.vbsupport.ru/showpost....&postcount=281 ) In the file path/to/forums/includes/functions_upload.php, find PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
THANK YOU Slynderdale!!
Fixes applied and it works. Thank you, thank you, thank you. :) :) :) http://www.indiamike.com/india/album.php For those applying these changes make sure that you empty your browsers cache or you may not see the results immediately. Thank you again it works dammit....it works :) Mike |
Many thanks to Slynderdale !
your fix has done it ;) |
Awesome! Out of 1100 photos atleast 85% built properly with this new code which is a lot better than 0%!!! Hopefully the hack creator can include this all in an update along with some system to have multiple pages in the acp for verrifying photos. Thanks!
|
Just a note to say the posts I'd made about not seeing other's profile pics' are void now I've discovered what was going on and it had nothing to do with this hack.
|
Working out a couple bugs if you have it so attachments are saved to the file system and writing some code that lets you rebuild the album thumbnails.
Make my above fixes, that will fix images from being escapes twice. The image gets escaped already if you have it so your attachments are saved in the MySQL data base. This would cause errors with the thumbnails. The thumbnail doesn't get escaped when you save the files to the file system so this code fixes that and also fixes a small bug if theres an error with the thumbnail. After you installed this hack and weasles fix, find in path/to/forums/includes/functions_upload.php: PHP Code:
PHP Code:
|
Quote:
IN wich file should i replace? |
It's in file /includes/functions_upload.php
|
Quote:
path/to/forums/includes/functions_upload.php |
I tested the fixes. Just to confirm they seem to be running ok on 3.0.3.
|
Ok, I still can't get this to work. I originally had the problem with a clean install on 3.03 of it showing the avatars.
I've uploaded the two updated files, and applied the changes from posts 301, 306, and 310. Now, I get broken images, with the URLs being something like http://www.mydomain.com/forum/image.php?u=1&type=pthumb What am I missing here? |
Another small bug fix. This is a small fix for those who are storing attachments in the file system. This will cause thumbnails to be rebuilt inccorrectly from albumcp.php.
Note: Install Weasles fixed files and my updates above first. In admincp/albumcp.php find: PHP Code:
PHP Code:
|
Quote:
|
Hi Slynderdale,
could you please create one file where you enter all your and Weasles changes? This is getting weird now and too many people describe too many different situations. Could this be done please? And the best option would be: Option 1: For DB users Option 2: For Filesystem users Thanks in advance. Cheers, |
Quote:
IT works!!!!!!!!! thank you [high]* MissKalunji click install[/high] |
Where do i go to change the size of the pictures???
|
Quote:
|
Quote:
|
Quote:
Thank you :nervous: |
Quote:
|
All times are GMT. The time now is 01:07 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|