vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Show Thread Enhancements - YouTube Video Avatars for specified usergroups (https://vborg.vbsupport.ru/showthread.php?t=150574)

TopNotch 03-11-2008 12:24 AM

Hi, I love this hack I have been using it for about 2 weeks now but took it off recently. I would like to put it back up but I have a question. I noticed that only Admins are able to view the video as my avatar. Other like regular members don't see the video avatar they only see my old regular avatar. I think this is because I did not set the viewing permissions to everyone. I tried to edit it but I can't seem to find where to go to fix my problem. Could anyone help me?

Thank You

nectons 03-11-2008 12:54 AM

just perfect... works perfect.. you are great man.. thanks

instaled and motm

TopNotch 03-12-2008 01:02 AM

Quote:

Originally Posted by TopNotch (Post 1461926)
Hi, I love this hack I have been using it for about 2 weeks now but took it off recently. I would like to put it back up but I have a question. I noticed that only Admins are able to view the video as my avatar. Other like regular members don't see the video avatar they only see my old regular avatar. I think this is because I did not set the viewing permissions to everyone. I tried to edit it but I can't seem to find where to go to fix my problem. Could anyone help me?

Thank You

anyone?

Digital Jedi 03-12-2008 04:31 AM

Quote:

Originally Posted by TopNotch (Post 1462665)
anyone?

There really shouldn't be any reason it would do that. The permission array is only for those who can use the avatars, not see it. It could be possible that you had your if conditionals set up wrong, maybe wrapping it inside one farther up the code block.

TopNotch 03-12-2008 06:08 PM

Quote:

Originally Posted by Digital Jedi (Post 1462758)
There really shouldn't be any reason it would do that. The permission array is only for those who can use the avatars, not see it. It could be possible that you had your if conditionals set up wrong, maybe wrapping it inside one farther up the code block.

If I had that wrong then it wouldnt work at all. But this way I see it when Iam logged into my admin account but when I log into my regular members account it doesn't show up.

Digital Jedi 03-13-2008 08:04 AM

Not necessarily. If you have it wrapped in a conditional that's permission based, then that would cause the same effect. I'm speculating of course. Post your template code like the others did and we may be able to see what's causing it. Often times its something small like a character out of place.

Rideharder 03-16-2008 07:32 PM

sweet works good!

Majava 03-26-2008 02:28 AM

Quote:

Originally Posted by AzH (Post 1347734)
I think I have a fix for you. Use this code instead:

HTML Code:

                <if condition="in_array($post['usergroupid'], array(5,6,7,22,48)) AND $post[field8]">
<td class="alt2">
<object width="150" height="123.5"><param name="movie" value="http://www.youtube.com/v/$post[field8]"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/$post[field8]" type="application/x-shockwave-flash" wmode="transparent" width="150" height="123.5"></embed></object>
</td>
<else />
<if condition="$show['avatar']">
<td class="alt2">
&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</td>
</if>
</if>

I was getting the same error as you so I switched from:

<div class="smallfont">

to:

<td class="alt2">

with the respective closing tag </td> and it works fine.

Thank you so much, I was about to give up on this hack!

Alfa1 03-26-2008 06:45 PM

Please upgrade this to vb 3.7.

nectons 03-27-2008 02:13 PM

Quote:

Originally Posted by ChU v2 (Post 1278742)
I got it to work. Thank you. Looks awesome.

Just a few things. The avatar isn't centered. It's fine if you have a YouTube video, but my user's avatar are left-aligned. It looks like crap. Anyway to fix that?

And its not viewable in your profile or the homepage, only in threads. Not that big of a deal.

Man it is stil working perfect except the LEFT aligned problem. I have the same problem with you.. did you find any solution to center all avatars ?

Anyone plz ? :)


All times are GMT. The time now is 03:25 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.01403 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_html_printable
  • (5)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