vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Locked Flash Avatar + Modified User Menu (Legacy) 1.3 (https://vborg.vbsupport.ru/showthread.php?t=107364)

Freesteyelz 02-09-2006 09:12 PM

Quote:

Originally Posted by masterross
yes indeed flash will be ot top layer...
but if you do like in my way -> wmode="transparent" all will be "normal" ;)
check it ;)

thank ones again for great hack :)

BR,
Ross


NP at all. :)

For some reason it didn't work for me. Ahh well. I've included the "transparent" value into the mod. :D

masterross 02-09-2006 09:27 PM

ohh
and 1 suggestion - flash avatar can be shown in MEMBERINFO too couse now when flash is used nothing is shown :)
this will be nice :)

regards,
Ross

masterross 02-09-2006 09:38 PM

and the problem that not works for u is because u forgot to add wmode="transparent" here: ;)

Code:


<embed src="$post[field20]" width="128px" height="128px" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" menu="false" quality="high" wmode="transparent" scale="default">
</embed>

without this transparent wont work neither popup menu will show correctly

Ross

Freesteyelz 02-09-2006 09:44 PM

Quote:

Originally Posted by masterross
ohh
and 1 suggestion - flash avatar can be shown in MEMBERINFO too couse now when flash is used nothing is shown :)
this will be nice :)

regards,
Ross

Since I don't display avatars I didn't initially consider it into the mod. LOL. Though it is a good suggestion and it shouldn't be difficult to do. All is needed is to copy and paste the Flash avatar code in Step 1 to the Memberslist template or even Public Profile template.

I'll place it on the "list to do". :)

Freesteyelz 02-09-2006 09:51 PM

Quote:

Originally Posted by masterross
and the problem that not works for u is because u forgot to add wmode="transparent" here: ;)

Code:


<embed src="$post[field20]" width="128px" height="128px" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" menu="false" quality="high" wmode="transparent" scale="default">
</embed>

Ross

Ohh geez...That's right. Thank you. :) I've added it into the mod and updated the version and text.

Luggruff 02-10-2006 11:20 AM

Quote:

Originally Posted by masterross
great thanks Freesteyelz !!!

i've been searched for this hack long time ago!

it works great!
also i did some modification to be use tnansparent flashes:
Code:

<!-- _______ CUSTOM AVATAR (FLASH) _______ -->
<if condition="$post['field20']">
<!-- Flash Avatar -->
<if condition="$post['field20']">
<div>
<br />
<object width="128px" height="128px">
<param name="movie" value="$post[field20]">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="$post[field20]" width="128px" height="128px" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" menu="false" quality="high" wmode="transparent" scale="default">
</embed>
</object>
</div></if>
<!-- End -->
<else />
<!-- vB Avatar -->
<if condition="$show['avatar']">
<div class="smallfont">
<br /><img src="$post[avatarurl]" width="128px" height="128px" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" />
</div>
</if>
<!-- End -->
</if>
<!-- _______ END _______ -->


also why i should use this step?
Code:

Installation Instructions (2 steps):
In Admin CP:

1. Then go to Styles & Templates --> Style Manager --> All Style Options --> Edit Templates --> Postbit Templates --> postbit_legacy

it works perfect without this! And i dont want to view horizontal popup menu

BR,
Ross

Does this work with shockwave too?

masterross 02-10-2006 12:09 PM

addition mod:
if you want to see flash avatar in "Public Profile"
in MEMBERINFO
go to Styles & Templates --> Style Manager --> All Style Options --> Edit Templates --> Member Info Templates --> MEMBERINFO

find:
Code:

<if condition="$show['avatar']">
        <td><img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /></td>
<else />
        <td>&nbsp;</td>
</if>

and replace with:

Code:

<!-- _______ CUSTOM AVATAR (FLASH) _______ -->
<if condition="$userinfo['field5']">
<!-- Flash Avatar -->
<if condition="$userinfo['field5']">
<div>
<br />
<object width="100px" height="100px">
<param name="movie" value="$userinfo[field5]">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="$userinfo[field5]" width="100px" height="100px" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/...ShockwaveFlash" menu="false" quality="high" wmode="transparent" scale="default">
</embed>
</object>
</div></if>
<!-- End -->
                                                <else />
<!-- vB Avatar -->
<if condition="$show['avatar']">
        <div class="smallfont">
        <br /><img src="$userinfo[avatarurl]" alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" />
        </div>
</if>
<!-- End -->
                                                </if>
<!-- _______ END _______ -->


then enjoy :)

BR,
Ross

vyas1980 04-17-2006 04:48 PM

I managed to upload it but its still showing default avtar.. Please help!!!1

Freesteyelz 04-17-2006 11:00 PM

For the Custom Profile Field that you created for the Flash avatar, what is the ID (#)? Can you also provide me your postbit code so that I can help you. :)

hypnoticpimp 04-24-2006 10:22 PM

wow, good job! 1 thing is, i have a avatar gallery, default avatar gallery from vbulletin , is there anyway admins can upload flash avatars to the default gallery, and members can select and view the flash avatar in there usercpanel by selecting edit avatar, etc


All times are GMT. The time now is 06:17 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
  • Page Generation 0.01253 seconds
  • Memory Usage 1,756KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete