vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Avatar On Navbar (https://vborg.vbsupport.ru/showthread.php?t=99498)

Boofo 03-29-2008 03:35 AM

Quote:

Originally Posted by StarShaper (Post 1467403)
Ok, I already thought that it might has something to do with the storage. I'm using the database for avatars.

It's been a while since I looked through the vB Codebase. However, this line is not correct:

Code:

"" . $vbulletin->options['bburl'] . "/" . $vbulletin->options['avatarurl'] . "/avatar$avatar[userid]_" . $vbulletin->userinfo['avatarrevision'] . ".gif"
I will check this in the next days and post a correct solution.


Any luck on this?

dancue 03-30-2008 05:08 AM

Quote:

Originally Posted by Boofo (Post 1465956)
Or you can do as i do am do a $vbphrase[whatever] = $navbaravatar;

and use the phrase.

Can you tell me how exactly you did that? Step by step preferrably?

I haven't really worked with phrases.

Boofo 03-30-2008 05:25 AM

Quote:

Originally Posted by dancue (Post 1478094)
Can you tell me how exactly you did that? Step by step preferrably?

I haven't really worked with phrases.

Actually, it is not a real phrase. But the arcade has $vbphrase globalized so it will pick it up without having the edit the arcade.php file. I have noticed that one of the error messages will not see the avatar without doing this also, although I can't remember which one.

At the end of the plugin just add:

Quote:

$vbphrase[navbaravatar] = $navbaravatar;
making sure to use $vbphrase[navbaravatar] in place of $navbaravatar in the template. You don't have to make that phrase, as you are just using the name to accomplish this.

dancue 03-30-2008 02:10 PM

Thanks a bunch!

I'll try that later today...

Boofo 03-30-2008 02:28 PM

Let me know how it goes.

odln018 05-02-2008 04:21 PM

Is this still supported?

ePrOmD 07-22-2008 04:00 PM

hi!
I´ve being using this for a long time. Currently with the 3.7gold version without any kind of problem

my query is:
Is there any way to leave a fix dimension set for avatars? rather than take real one?
for example. avatars of 150 px leaving 72 px?

greatings from argentina!

NAZIA 09-21-2008 08:06 AM

thanks...

DF08Said 09-27-2008 11:47 AM

m8 this Doesnt work for me... its Same shit as it Was before im using vBulletin® Version 3.7.3... can u help me please?

pewa 11-12-2008 06:24 PM

One small problem:

The image link is pointing to domain.com/customavatars/avatar3_4.gif[/url] when it should be domain.com/forum/customavatars/avatar3_4.gif

Where do I fix this? I assume I have to edit the plugin but dont know how. This is what the plugin say:

Code:

$navbaravatar = "<img src=\"" . $vbulletin->options[bburl] . "/$avatar[avatarpath]\" alt=\"Your Avatar\" border=\"0\" />";
Where do I add the "/forum" ?

Update: The avatar shows on the forum page but not on the start page, I'm using vbAdvanced.


All times are GMT. The time now is 09:44 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.01827 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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