vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Show avatar code? (https://vborg.vbsupport.ru/showthread.php?t=185277)

Rocc 07-14-2008 08:11 AM

Show avatar code?
 
I'm working on my website right now, I need the avatar code
And the lastest 5 posts or more code would help also...

--------------- Added [DATE]1216033719[/DATE] at [TIME]1216033719[/TIME] ---------------

Anyone please....

Dismounted 07-14-2008 11:03 AM

Use the fetch_avatar_url() function.

SLR722 07-14-2008 02:53 PM

Can this be declared in vB templates? ForumHome for example? fetch_avatar_url()

Dismounted 07-15-2008 09:45 AM

No - it cannot be used in templates.

Opserty 07-15-2008 03:40 PM

You could try: Avatar On Navbar and move the template code from the navbar template to wherever you need it.

SLR722 07-15-2008 06:48 PM

How do I call a member avatar through templates?

Opserty 07-15-2008 07:38 PM

Look at the modification I posted... see the code they used.

I didn't post it just randomly! :D

SLR722 07-15-2008 08:42 PM

I am looking for a Show Online Avatars list for the who is online..

Dismounted 07-16-2008 10:04 AM

Quote:

Originally Posted by Opserty (Post 1576060)
You could try: Avatar On Navbar and move the template code from the navbar template to wherever you need it.

There is now a much simpler code that can be used - and without the cost of additional queries :). I found out accidentally when looking through a file.

SLR722 07-16-2008 10:40 AM

Any chance of the code? :cool:

Was thing of calling MySQL, and getting all online members and then where each member has an avatar display and if they do not, dont show them up as online in the box.


All times are GMT. The time now is 05:12 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.01097 seconds
  • Memory Usage 1,728KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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