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)
-   -   Avatar on forumdisplay (https://vborg.vbsupport.ru/showthread.php?t=135891)

AzaDiyaR 07-20-2007 07:30 PM

installed
this working fine
thanks

stonner 09-12-2007 10:14 PM

Quote:

Originally Posted by Soliloquy (Post 1207413)
I've noticed that when members change their avatar the old one is still displayed on forumdisplay. Any way to correct this?

seems to work. thank you! I have noticed the same.

is there a way to correct it?

thank you

stonner 09-12-2007 10:19 PM

I have noticed something strange:

For the same user it shows an avatar and sometimes it doesnt (see attach).
Is there a way to correct this?

thank you

stonner 09-17-2007 08:43 PM

no help with this?

thank you!

DoB Rhapsody 09-29-2007 06:37 PM

I would really love for someone to take over this mod because it is actually very good.

ShawneyJ 10-01-2007 08:12 AM

lol love it.

JtChurch925 10-04-2007 04:19 PM

Am I right in concluding that I am getting no avatars to show up because I am using server hosted avatars in the default images/avatars directory?

Would it make a difference if I changed my avatars directory to the /misc folder where he has us put the default avatar?

I would like to use this mod, just not sure why it wouldn't be written for forums using the normal setup. :(

Michael2 10-05-2007 02:17 PM

Anyone know how to make this show up when you hit view new posts?

AntiThesis 10-23-2007 08:19 AM

I find that replacing image.php?u=$userid with $avatarurl[0] helps a great deal as it seems to handle better.

So it would look like: <img src='$avatarurl[0]'

That and changing "Profile de AntiThesis" to "Profile for AntiThesis" :)

Quote:

Originally Posted by Michael2
Anyone know how to make this show up when you hit view new posts?

Simply adding the following code to search_results_threadbit works:

Code:

require_once('./includes/functions_user.php');
        $userid = $thread['postuserid'];
        $username = $thread['postusername'];
        $avatarurl = fetch_avatar_url($userid);
        if ($avatarurl == '') {
          $avatar = "<div class='avatar_forumdisplay' style='float:$stylevar[left]'><a href='member.php?u=$userid'><img src='$stylevar[imgdir_misc]/aucun_avatar.gif' border='0' width='50' height='50' alt='Profile for $username'></a></div>";
        }
        else {
          $avatar = "<div class='avatar_forumdisplay' style='float:$stylevar[left]'><a href='member.php?u=$userid'><img src='$avatarurl[0]' border='0' width='50' height='50' alt='Profile for $username'></a></div>";
        }


Evolution06 10-23-2007 05:10 PM

Awesome! *installed* adds a good look to the forums.


All times are GMT. The time now is 10:18 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.01083 seconds
  • Memory Usage 1,735KB
  • 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_code_printable
  • (2)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