PDA

View Full Version : Only Allow JPG and PNG as User Avatars


akanevsky
04-07-2005, 10:00 PM
/*================================================= =====================*\
|| Only Allow JPG and PNG as User Avatars
|| Author : Psionic Vision
|| Works on : vBulletin 3.0.0 - 3.0.7
\*================================================ ======================*/

What this hack does is:
As the title states, it only allows you and your users to upload JPG and PNG avatars to your board. I do not know, why this is not a standard vBulletin feature. You can actually upload EXE files to your board... If the EXE file is not too large, that is. Somewhy, vBulletin renames all uploads and gives them GIF extension... (Hello, Jelsoft!!!) And this is a major potential security flaw. But anyway, here it is - the extension restriction. Enjoy.

Additional Credits:

- boeserwolf for translating the hack into German.

nexialys
04-08-2005, 08:27 PM
/me will laugh if someone ask for a screenshot here...

dutchbb
04-08-2005, 08:34 PM
Great man, thanks for making my request a hack:)

ps can we have a screenshot? :p

akanevsky
04-08-2005, 08:38 PM
Can I have a screenshot please?

EDIT: Oops, too late :(

boeserwolf
04-08-2005, 08:46 PM
Hello

Would you mind if I would translate your hack into german too and post the translation here??

yours

Markus

Marco van Herwaarden
04-08-2005, 08:46 PM
Great man, thanks for making my request a hack:)

ps can we have a screenshot? :pHere you go:

akanevsky
04-08-2005, 08:54 PM
boeserwolf, yes sure. Translations are always good.

MarcoH64, :D

boeserwolf
04-08-2005, 08:59 PM
Okay


As an attachment I have the german translation of the installation guide


Another question: May the hack be posted at www.vbhacks-germany.com ??


We also only allow licensed vB Users to download vB stuff.



Yours



Markus

akanevsky
04-08-2005, 09:23 PM
Yes. I will also add you translation to the top post of this thread.

But if you do so, please upload the archive from my first post. And leave the credits on the top intact. Thanks.

dutchbb
04-09-2005, 10:58 AM
Can I have a screenshot please?

EDIT: Oops, too late :(
In the file:

this is wrong:

Files to Change: 1

./functions/functions_upload.php

Must be

Files to Change: 1

./includes/functions_upload.php

Just for the newbies who are searching for a map "functions" :D

akanevsky
04-09-2005, 12:24 PM
Thanks for pointing that out :)
Sorry about that. Fixed.

007
04-09-2005, 11:48 PM
Here you go:


LOL!!!!!1

And very nice hack.

006 licks install! :lick: