Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-05-2006, 07:44 PM
TheFocusElf TheFocusElf is offline
 
Join Date: Mar 2005
Location: St. Catharines, Ontario
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Display of User Avatar's in posts

I am using a Tranverse Styles theme and I really love the color scheme for a friends World of Warcraft Guild page, using their LAVA RED skin.

Also, I have vbAdvanced CMPS installed, and the Form hack for them. That's it. Otherwise a regular 3.63 install and nothing to crazy.

The words "User's Avatar" appear in the post's header, and in replies as well corresponding to the appropriate poster.

Any advice'd help a lot.

I should add the avatars DO show up in the user's CP and in the Welcome Block on the CMPS front page.
Reply With Quote
  #2  
Old 12-05-2006, 08:44 PM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you asked Transverse for support yet?
Reply With Quote
  #3  
Old 12-05-2006, 09:13 PM
TheFocusElf TheFocusElf is offline
 
Join Date: Mar 2005
Location: St. Catharines, Ontario
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes I have submitted a ticket, nearly a week ago.

I thought this kind of issue might be recognized.
Reply With Quote
  #4  
Old 12-05-2006, 09:30 PM
wrestlepower wrestlepower is offline
 
Join Date: Apr 2006
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it happening on other styles or just that one?
Reply With Quote
  #5  
Old 12-05-2006, 09:34 PM
TheFocusElf TheFocusElf is offline
 
Join Date: Mar 2005
Location: St. Catharines, Ontario
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
<table cellpadding="0" cellspacing="$stylevar[cellpadding]border="0" width="100%">
        <
tr>
            <if 
condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurlalt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
            <
td nowrap="nowrap">
            
                <
div id="postmenu_$post[postid]">
                    <if 
condition="$show['profile']">
                    <
class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
                    
$post[onlinestatus]
                    <
script type="text/javascript"vbmenu_register("postmenu_$post[postid]"true); </script>
                    <else />
                    
$post[musername]
                    </if>
                </
div>
                
                <if 
condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
                <if 
condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
                
            </
td
I think the problem is towards the top near the <if> condition:

<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>

I will check another style.
Reply With Quote
  #6  
Old 12-05-2006, 09:38 PM
wrestlepower wrestlepower is offline
 
Join Date: Apr 2006
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

img src="$avatarurl"

try changing that to

img src="$post[avatarurl]"
Reply With Quote
  #7  
Old 12-05-2006, 09:41 PM
TheFocusElf TheFocusElf is offline
 
Join Date: Mar 2005
Location: St. Catharines, Ontario
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It was. An incorrect call to the section detailed above, perhaps because the template uses calls in a previous version of VB?

Who knows

PHP Code:
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]$post[avwidth$post[avheightalt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /> 
The Avatar call in that section of code comes from the default style. And substituting that image call for the avatar in place of the one above makes everything work cherry.
Reply With Quote
  #8  
Old 12-05-2006, 09:47 PM
wrestlepower wrestlepower is offline
 
Join Date: Apr 2006
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

your answer has confused me, lol. So, is it working now or not?
Reply With Quote
  #9  
Old 12-05-2006, 09:54 PM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wrestlepower View Post
your answer has confused me, lol. So, is it working now or not?
It appears to be working for him. The version of the Transverse style he is using is most likely for an older version of vB (hence my first response above) and his avatars were not showing because the code in the postbit has changed. When he copied the code from the default style to the outdated style the avatars showed up again.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:32 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06390 seconds
  • Memory Usage 2,261KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete