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)

Amenadiel 04-02-2008 02:49 AM

I succeded in using this mod with filesystem based avatars, but I had to add a second get_avatar_url (which I named get_avatar_url2 very original) in functions_user.php just forcing it to get the file based one.

By the way, is it right to guess this mod adds as many querys to forumdisplay.php as threads we have listed?

Boofo 04-02-2008 02:52 AM

fetch_avatar_url will add a query for every unique avatar it pulls.

stonner 05-11-2008 06:35 PM

does this work with vb 3.7? couldnt find the code in the template...

brainegg 05-21-2008 03:19 PM

Got it working for 3.7. Great plugin! Make sure to add $avatar in the threadbit template or else it won't work. Like this:

$avatar<if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&t=$thread[threadid]" id="thread_gotonew_$thread[realthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>

Also, some people have some oddly shaped avatars uploaded so you should only specify the width of the avatar in the plugin and leave the height at 100%. It looks better to me.

studentsforum 08-20-2008 07:24 AM

Quote:

Originally Posted by brainegg (Post 1526963)
Got it working for 3.7. Great plugin! Make sure to add $avatar in the threadbit template or else it won't work. Like this:

$avatar<if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&t=$thread[threadid]" id="thread_gotonew_$thread[realthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>

Also, some people have some oddly shaped avatars uploaded so you should only specify the width of the avatar in the plugin and leave the height at 100%. It looks better to me.

wow well done! Must have not seen that in the instructions above! *sigh*

Quote:

Originally Posted by Magnum164 (Post 1456383)
I have this installed, but not working yet. I have not been able to get it to work on regular avatars, only custom avatars and a couple of forums have no avatars at all.

Any idea how to get default avatars to show for a user?

I also have this annoying problem.

Until something can be done about this, I am going to uninstall.

sub_ubi 01-31-2009 04:38 AM

how is this going on 3.8?

6piston 02-10-2009 01:12 PM

hi all

this is a great mod.

but,
i really need anyone's help in this

I am trying to only get this mod to display avatars of a certain group only. Paid Subscribers mainly. It should not display avatars from any other usergroup

Can anyone help me?

Thanks!
Tom

6piston 02-11-2009 06:00 AM

anyone?

Mostjolly 09-26-2010 04:28 PM

Quote:

Originally Posted by sub_ubi (Post 1729707)
how is this going on 3.8?

Confirmed, works on 3.8.2.

Anyhow, I'm looking forward someone could provide codes it'll display not only forumdisplay but also on search results and today's/new post templates.

Erica1977 04-16-2011 04:33 AM

Allan can you help me please i get a array see red arrow pointing to array cause of this when you only hit new post or when you hit on top right unread post see picture that array.

Attachment 128210

now the avatars show find without the array if you hit a thread in main forum it just dont show when i hit new post or unread post to the top corner right is there anyway i can fix this thanks im useing 3.8.7 vbulletin too.


All times are GMT. The time now is 12:46 PM.

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.01087 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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