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)

Eagle Creek 01-30-2006 06:31 PM

Quote:

Originally Posted by Eagle Creek
Hi!

I installed it but I have a question. Because of the size of some avatars the navbar grows a little out of proportion.

Can I auto resize avatars when they are bigger then *X* to a specified size?

Any idea?

bigmonay2k 01-31-2006 03:21 AM

cool

Oblivion Knight 02-19-2006 12:07 PM

For anyone having issues with this plugin on vBadvanced CMPS:

The "fix" is relatively simple, $navbaravatar simply needs to be globalized and luckily vBadvanced comes included with a little tool that allows you to do exactly this! Go to the following location in your browser:
Admin CP -> vBa CMPS -> Default Settings

Scroll down the page slightly, and find the "Portal Output Global Variables" settings. Note that the description here states that the '$' before the variable name is NOT required, so simply enter navbaravatar there, hit "Save" and you should be good to go.

I hope this helps, and perhaps Sabe could link to this post for easy access to save any future questions about this.. ;)

phonexpo 02-19-2006 12:20 PM

Didn't work for me. :(

Oblivion Knight 02-20-2006 06:16 PM

What can I say? It worked for me.. :disappointed:
Are you running the latest version of vBadvanced CMPS? Brian recently released 2.1.0..

As for the making the avatar display on the "vBulletin Message" page, I haven't found a way to do this via a plugin, but it's possible with an easy edit on includes/functions.php..

Find:
Code:

function standard_error($error = '', $headinsert = '', $savebadlocation = true)
{
        global $header, $footer, $headinclude, $forumjump, $timezone, $gobutton;

After $gobutton add:
Code:

, $navbaravatar
Done.. :)
(Hmm.. Sorry if there's weird squares in that code, seems to be an issue with IE7?)

phonexpo 02-20-2006 08:19 PM

I just get this now - Parse error: parse error, unexpected ',' in /home/phonexpo/includes/functions.php on line 2188

Oblivion Knight 02-20-2006 08:36 PM

Quote:

Originally Posted by phonexpo
I just get this now - Parse error: parse error, unexpected ',' in /home/phonexpo/includes/functions.php on line 2188

Make sure that block of code looks exactly like this:
Code:

function standard_error($error = '', $headinsert = '', $savebadlocation = true)
{
        global $header, $footer, $headinclude, $forumjump, $timezone, $gobutton, $navbaravatar;


MythoLogy 02-20-2006 09:21 PM

NP here (VBadvancedless).

Clicks install. Nice plugin.

Elegantly 02-21-2006 05:27 AM

Very nice plugin, works like a charm.

Drache 02-22-2006 06:39 PM

Very important question. Does this plugin adds extra query?

If it does then for busy websites maybe this is not a good diea?


All times are GMT. The time now is 09:09 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.01235 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
  • (3)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
  • (2)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