![]() |
Not without file edits or additions. I didn't pursue it because the hack you're requesting has already been created by MarcoH64 for vB 3.0.x versions. Up to this point there is no word whether or not he'll port it to 3.5+.
|
he said he wont port ir for 3.5. can u ask him permission to do it for him
|
First, I'll need to see if I can tackle it or not. I did it with UBB but vB's routines is a totally different breed. No promises, however.
|
everytime i try to add a avatar, flash. it says invalid file type
|
If you're uploading the avatar you need to use FTP (only if you're hosting the avatars). Using the Admin CP won't work. Any directory is fine as long as the .swf file is pointing to it correctly.
If you're adding the Flash avatar's URL, it has to be in the Custom Profile Field that you created in Steps 1 and 2. Using vB's avatar field won't work. If you're presented with a different problem let me know and I'll try to help you work it through. :) |
ok i did that. but now flash avatar aint working, just a blank avatar, even when u right click the area. doesnt show those flash tools.. just as a reular picture
|
What is the Field # of the Custom Profile Field you created?
|
Absoluely flawless! Excellent simple hack, took 5 minutes and works superbly!
*clicks install* |
Thanks. :)
|
Thank you for this modification. I would like to publish it a bit later with some changes :)
|
/me wonders what is meant by "pubish it"?
|
sweet hack thanks.
|
Hmm, I created the Profile Field and altered the Template. But the default avatar is showing and not the flash. Have I missed something?
Profile Field 11 (I also changed Field20 to Field11 to match the profile field that was created) Thanks, ~ Domokun |
I apologize for the late reply, Domokun; been quite busy...
Please post your entire code in Step #3. :) |
Ah, sorry for the late reply. Ironically, been swamped with work.
Ok, here's the code you requested ;) Thanks for the help ~ Domokun Code:
<!-- post #$post[postid] --> |
From what I see the code above is correct. You've mentioned that your Profile Field is 11; when you enter the .swf file into that field it should override the default Flash and display in the Postbit. You've also modified the postbit_legacy; the template that you're currently using on your site, so that's correct.
In your Profile Field 11 ("CUSTOM AVATAR (FLASH" text area), can you please post an example URL of the .swf avatar? |
Ok, I used this test link for my .swf avatar:
http://anime.scanlover.com/forum/flash/desudesu.swf I uploaded it directly to my site so that I wouldn't have to worry about the link changing. My site also uses a default avatar if none is selected. Hope this helps. ~ Domokun |
Anytime you're able to link internally, do so. You should be able to strike out the domain name and just use:
/forum/flash/desudesu.swf Now if that URL is posted in the Profile 11 Field it should display in place of any other avatar. I also use a default avatar (if none were chosen) that I made using a custom template and plugin; so the Flash code on my own forum is slightly different than this mod. I'm curious, how are you doing the default avatar? |
Hmm, good question. It's been a long time since I've installed the default avatar... It should be an installed plugin if I remember correctly.
Code:
if (!$this->post['avatarurl']) ~ Domokun |
I don't know for sure but there may be a conflict with that plugin code and my mod. So try this: Disable that plugin. Does the Flash avatar work now? If yes, then follow these additional steps (if you want to have the default avatar) below.
1) Add new plugin. Product: vBulletin Hook: postbit_display_start Title: avatardefault Plugin PHP code: Code:
eval('$avatardefault = "' . fetch_template('avatardefault') . '";'); Save 2) Add new template. Title: avatardefault Template: Code:
<img src="/forum/images/avatar/default_avatar.jpg" alt="Default Avatar" /> Save 3) Uploade your default avatar to the path you specified. 4) Replace your Flash code with this one: Code:
<!-- _______ Flash Avatar _______ --> Hopefully, by doing these steps you'll now be able to use the Flash avatar and have a default avatar if no avatar was chosen. *These are similar codes I did on my forum. |
Quick question, when you mentioned to change the 'alt', does that mean I change it to the link as well?
~ Domokun |
Nope. Just as with any alt attribute, enter whatever text you want (e.g., Default Avatar). :)
|
I've tried several times to install and use this mod, with no luck.
I've double checked my edits, and they seem fine. I've gone over my custom profile and it's settings, and they seem good as well. I've checked the url in the users profile, and tried several different ways of adding it. I've read this thread so many times I think I know it by heart--->lol The only thing I can find different, is that I'm trying to install it on 3.5.1, is that an issue? Or do you have any other ideas that might help? The flash avatar does'nt show at all, I keep getting the users uploaded avatar instead, and I thought it was supposed to be overwritten? Maybe I missed something here--->sure hope so, it looks like a great mod!! Thanks for any help. |
All times are GMT. The time now is 06:11 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:
|