![]() |
Unless this hack is done, none of my members can change their avatars :-/
|
^bump^this^a^little^ ;)
|
You state that you can use .htaccess to prevent the files from being linked from outside my server...how would I do this? Place a .htaccess file in the forums directory with what contents? Thanks.
|
Quote:
|
Thanks :)
|
I just recently installed this hack and now I notice that the forum doesn't update the numver of views where before it did. Is this happening to anyone else?
|
This hack needs to be updated for 2.0.3 ! ! !
|
Please Update the hack ... why you didnt yet ?
Its one of the bests hacks outhere |
Ok, i will code this one, will be ready in two days
|
um..the installation link isn't loading.
|
two days passed :P how is it going?
|
|
How can I get this to work with 2.2.0?
|
Not work with 2.2.0 !!!!
this code not exist!!! showthread.php and private.php and announcement.php find this: if ($post[hascustomavatar] and $avatarenabled) { $avatarurl="avatar.php?s=$session[sessionhash]&userid=$post[userid]"; replace with this: if ($post[hascustomavatar] and $avatarenabled) { if ($usefileavatar) $avatarurl="custom_avatars/avatar$post[userid]_$post[avatarrevision].gif"; else $avatarurl="avatar.php?userid=$post[userid]"; |
This hack was for 2.0, i dont have idea why they put 2.2.0
|
must of been devine intervention since twice i tried to install this hack and when i read this thread my browser frooze and forced me to reboot my pc :)
|
Is this supported on vBulletin 2.2.0? I see different code than what is in the instructions for the function.php file.
|
I would also be quite interested in the answer to that question :)
Since our database is already over 300MB it takes FOREVER to do a dump.sql file, and i will have to move to another server AGAIN in a few days, since we are finally ready to ship our colo box. |
What about 2.2.1?
|
OK, for those wishing to install this in 2.2.1:
Follow the instructions in post #1 except for the following change: the instructions for file admin/functions.php should be: Quote:
That's it. All other instructions remain the same. Cheers, Bira |
thanks Bira :D
|
Great Hack Kier, congrats :)
|
Also, thanks Bira for making this hack available for 2.2.1 version forums :)
|
What happens to the current custom avatars my members are using if I install this hack?
|
Quote:
|
For those interested, I rewrote Kier(I think? maybe it was tubedogg...)'s version of the hack to 2.2.1. It works on mine just like the old one did. If you're interested, I could write up the code changes and post them...
|
DarkReaper, I think that's what I did some 6 or so posts up :D
|
So you still change private.php and announcement.php? I don't have this code in mine:
if ($post[hascustomavatar] and $avatarenabled) { $avatarurl="avatar.php?s=$session[sessionhash]&userid=$post[userid]"; |
SirSteve, the respective code in those two files would be:
PHP Code:
|
Does this hack work in 2.0.3? ;)
|
I have a problem. I am at the point of making the changes to my function.php file, but I don't have the code you specified to search for, but I do have this code:
Code:
function getavatarurl($userid) { I would really like to install this hack, but since I have no idea what I am doing I need help. What part of the code do I replace, and what part of the code do I need to leave? Any help will be greatly appreicated. Thanks! |
Hi,
i can't find the following code in the member.php : Code:
$filenum=@fopen($filename,"r"); |
MaSTaKiLLaH, I had the same problem in 2.2.1
What I did (and seems to be working so far lol) is first off, look for $filenum=@fopen($filename,"rb"); But what I did on this file and admin/user.php, is just compare the find & replace codes in the directions, and see what had changed. Then I only made those changes (so if there were other differences that were supposed to be there, I didn't mess them up.) There are three changes to each file: For member.php, (1) you just need to add this at the top, before $filenum=@fopen($filename,"rb"): Quote:
"exit; }" and after (3): "$avatarid=0;" add: Quote:
For admin/user.php, (1) you just need to add this at the top, before $filenum=@fopen($filename,"rb"): Quote:
"//exit; //}" and after (3): "$avatarid=0;" add: Quote:
She has: Quote:
I hope this is helpful - sorry if it's confusing :) |
Can someone please provide a link or post a reply here with a COMPLETE and CORRECT guide to the appropriate code replacements for this hack to support 2.2.1? I browsed through the pages of this thread and found all sorts of different posts referencing independent code replacements for individual files, many of which are STILL not correct.
Since this hack has the "v2.2.1" in the thread title, I think an updated installation guide would be appropriate. This is incredibly confusing and per the instructions and "reinstructions" provided I have yet to find all the correct code to replace. |
bira's instructions work fine, actually
just look for "rb" instead of "r" and take out that extra {if you get a parse error |
Quote:
|
I just wanted to say that this is a great hack. I have very limited space in my MySQL database, and for the longest time I had to take avatar submissions and manually ad them to the list with a name so they'd be reserved under the 'honor system'. Now, I can just let people pick their own avatars, and still get a chance to moderate them. Thanks.
|
Quote:
Even, lookin' at Bira's homepage, I found the 2.0 hack only.... I agree the [2.2.1] prefix on the post means the hack itself is upgraded to work on that version.... THE HACK, not a dozen of answers from everybody to the original author.. Thank you |
Ok..I'll plead a little bit!
Bira, PLEASE put the correct changes into a new zip for download for all the 2.2.1 users. I know I could eventually figure it out but want to minimize the downtime risk and do it right the first time as we have 100-300 simulataneous users and they get unruly when your down for long! Out of curiousity...is there a way to set this up so the avatars can be uploaded and served off of a dedicated image server instead of the server vbulletin is running on? I am looking to run webserver on dedicated server 1, database on server 2 and images on server 3. THANKS! |
^ bump
|
All times are GMT. The time now is 12:58 PM. |
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:
|