View Full Version : Flash Avatars
Marco van Herwaarden
06-14-2005, 10:00 PM
Flash Avatars - v1.01
Hack: Admin Loadable Flash Avatars
Version: 1.01
Author: MarcoH64
vB version: 3.0.7 (3.0.x)
*** Warning ***
Even though this hack only allows administrators to upload Flash Avatars using the AdminCP, there are still risks if you are using swf-files not created by yourself!!!
Description:
This hack allows Flash (swf) type avatars to be uploaded from the AdminCP and selected by users in their UserCP.
PS For security reasons members are not allowed to upload their own personal flash avatars.
Installer included. This hack takes some time to install due to the number of file/template edits. Make sure you have a recent backup before starting on installation.
Usage:
Set Width and Height
You can set the display Width and Height of Flash Avatars in you vBulletin Settings:
AdminCP
vBulleting Settings
User Picture Options
Flash Avatar Width
and Flash Avatar Height
Upload Avatars
AdminCP
Avatars
Upload Avatar
Upload like any other Avatar
Using an Avatar
UserCP
Edit Avatar
Select like any other predefined Avatar
Disclaimer
This hack may not be redistributed without written permission by the author. All rights will remain with the author.
Explicit restriction: This hack may NOT be used by extremeskins.com without authors permission.
Version history:
- 1.01
Optional Support for Flash Avatqar in Welcome Panel hack added
- 1.00
Initial release
Donations
Although this hack his provided for free, donations are always appreciated at PayPal: marcoh64 [at] gmail.com
Known bugs:
If you are running 3.0.8 and have problems, please see post #24
teedizz
06-15-2005, 09:11 AM
THX!!! ..... Ima be the first to test this out bro but I wont actually install it till tomorrow but I will click the install button now. Thx again Marco ;)
Marco van Herwaarden
06-15-2005, 09:13 AM
No problem. Please post if you find any issues with this.
I alrady coded it some time ago, so i just packaged it now to release.
yoyoyoyo
06-15-2005, 11:59 AM
I added the avatar via the ACP, however it did not show up in the avatar listing, so I edited another avatar, and changed the filepath to the .swf file, and it worked. I tried upping another swf file to add and encountered the same thing: it was not recognized until I manually edited the filepath of an existing avatar. Any ideas?
Marco van Herwaarden
06-15-2005, 12:42 PM
Could you please double check your edits, and post exactly what you do. I can not get the result you are describing on my testboard.
Marco van Herwaarden
06-15-2005, 01:06 PM
I just installed it on a clean vB3.0.7 testboard and i have no problems at all.
After install i did the following:
AdminCP->Avatars->Upload Avatar:
- Filename: (Select a swf-file from my PC)
- Title: Test new flash avatar
- Click Upload
Now i am returned to the Avatar Manager, where i immediate can see my new Avatar.
From UserCP->Edit Avatar i can select it.
I really can not find the problem you are describing.
yoyoyoyo
06-15-2005, 01:25 PM
I just installed it on a clean vB3.0.7 testboard and i have no problems at all.
After install i did the following:
AdminCP->Avatars->Upload Avatar:
- Filename: (Select a swf-file from my PC)
- Title: Test new flash avatar
- Click Upload
Now i am returned to the Avatar Manager, where i immediate can see my new Avatar.
From UserCP->Edit Avatar i can select it.
I really can not find the problem you are describing.
I checked my edits twice and they seem to be fine. Is this hack supposed to make it so users have to use swf only, or is it supposed to give the option to also choose swf? The reason I am asking is because after adding this hack all of the other members avatars are not viewable in the forum view, but they are viewable by the ACP and User CP and profile. I have a heavily hacked board, so I am likely to believe that there is simply a conflict with another hack, however the only other avatar-based hack I am using is this one: http://www.vbulletintemplates.com/mods/showthread.php?t=6290
Marco van Herwaarden
06-15-2005, 01:38 PM
Users should be able to select any avatar they are allowed to. Users will (in the way they select) not even notice the difference between a Flash and a "normal" Avatar. Uploading new Flash Avatars however is limited to AdminCP for security reasons.
Please define "forum view".
Could you PM me a link that has the problem?
PS I have no idea if that Opacity hack would have an influence, i guess yes.
MindTrix
06-15-2005, 04:06 PM
Any idea of where its possible to download flash avatars? Ive done searches but drew nothing.
Marco van Herwaarden
06-15-2005, 07:21 PM
They are hard to find, but using google you wil find some.
MindTrix
06-15-2005, 08:26 PM
Yeah i tried just got blanks really. ah well
Marco van Herwaarden
06-15-2005, 08:56 PM
Well i found 1 on the first page of my google search, so i used that for testing. Didn't look to find more.
PS If you have it installed, please click on Install. ;) :D
teedizz
06-15-2005, 08:56 PM
I make my own with Macromedia Flash Pro .....pretty easy to do if you have video's on ur cpu
teedizz
06-16-2005, 05:49 AM
Marco.....lets say regular users that dont have access to tha admin cp want to use flash avatars that they have uploaded to thier own host....how will they be able to use them?
teedizz
06-16-2005, 06:01 AM
Another problem i see is that i have the " Welcome Hack " enabled & although the avatar shows perfect in threads, it shows up as a read " x " on the forums home page like i have here
http://users.adelphia.net/~teedow23/avy.JPG
Marco van Herwaarden
06-16-2005, 08:32 AM
Marco.....lets say regular users that dont have access to tha admin cp want to use flash avatars that they have uploaded to thier own host....how will they be able to use them?My hack intentionally don't allow that. It could be done with some changes, but i strongly advise against this, since it would be a major security risk.
Marco van Herwaarden
06-16-2005, 08:39 AM
Another problem i see is that i have the " Welcome Hack " enabled & although the avatar shows perfect in threads, it shows up as a read " x " on the forums home page like i have here
http://users.adelphia.net/~teedow23/avy.JPG
It doesn't work there because the template you are using there is not a default vB template, and the hack instructions don't modify it.
The template used there would need to be modified for using flash, youy can have a look at the other template modifications on how to do that.
It would probably also need a small modification in the php-file where that welcome template is filled.
If you can't handle this yourself, you can contact me by PM and i will see what i can do. (which welcome hack are you using?)
teedizz
06-16-2005, 09:14 AM
pm sent bro ;)
Marco van Herwaarden
06-16-2005, 10:58 AM
Version 1.01 uploaded.
New in this version is optional support for a Flash Avatar if you are using Welcome Hack v1.2 (https://vborg.vbsupport.ru/showthread.php?&threadid=60451)
If you already installed version 1.00, only follow the instructions in the seperated install instructions file for Welcome Panel integration.
Enjoy
teedizz
06-16-2005, 08:21 PM
Marco...for some reason its still sowing up as a red " x " .... cause its not embedding it..so it's not seeing that its an swf.
Marco van Herwaarden
06-17-2005, 03:17 AM
I will send you a PM on this.
teedizz
06-17-2005, 06:57 AM
This was totally my fault Marco, I forgot to check the other styles I have & I didnt add this hack to all styles....this works perfect
Marco van Herwaarden
06-17-2005, 07:02 AM
Nice to see you got it solved. :D
deathemperor
08-08-2005, 04:42 AM
in vb3.0.8 $userinfo[avatarurl] doesn't work, I just use $avatarurl instead and it is fine.
good job Marco
Marco van Herwaarden
08-08-2005, 06:12 AM
Thanks for that report deathemperor. If i have time i will look into it, until then i will just link to your post :D
hypnoticpimp
09-01-2005, 06:05 AM
marco! please can u tell me or make it so that users can enter a url for there flash avatar! and make it automatically 150 x 150 in size! like not uploading there swf to the server! but instead ! Placing there link to there flash avatar! on there userCP
Marco, Can you upgrade this one to vB 3.5.0 Gold?
Marco van Herwaarden
11-09-2005, 02:29 PM
I might do xug, but this one is not high on my list.
Freesteyelz
02-05-2006, 11:40 AM
May I ask what the status is for 3.5.3 if any? My users are and I would like this very much.
*I am willing to pay for your effort. Hope my request is within the rules...Sorry Brad if it isn't. :)
Marco van Herwaarden
02-05-2006, 12:38 PM
I will try to find the time soon to port this and some other of my older hacks. But right now some other things (HackDb, private issues) have my priority.
Freesteyelz
02-05-2006, 12:45 PM
Thank you MarcoH64 for addressing the status.
Freesteyelz
02-07-2006, 10:51 AM
For now, I ended up making a quick mod which can be found here (https://vborg.vbsupport.ru/showthread.php?t=107364).
RDHRazor
06-15-2007, 01:21 AM
Will this work with 3.6.7?
RDHRazor
07-14-2007, 02:48 AM
Will this work with 3.6.7?
Anyone?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.