![]() |
I have a small problem.
Can somebody help me with this? Firefox is ok, but not IE. My code: [PHP]// Avatar In NavBar if ($vbulletin->userinfo['avatarid']) { // using a predefined avatar $avatar = $db->query_first("SELECT avatarpath FROM " . TABLE_PREFIX . "avatar WHERE avatarid = " . $vbulletin->userinfo[avatarid] . ""); $avatarid = $avatar['avatarid']; $navbaravatar = "<img src=\"" . $vbulletin->options['bburl'] . "/$avatar[avatarpath]\" alt=\"Avatar\" width=\"45\" height=\"45\" border=\"0\" />"; } else { // not using a predefined avatar, check for custom if ($avatar = $db->query_first("SELECT dateline, userid FROM " . TABLE_PREFIX . "customavatar WHERE userid = " . $vbulletin->userinfo[userid] . "")) { // using a custom avatar $navbaravatarurl = ($vbulletin->options['usefileavatar']) ? "" . $vbulletin->options['bburl'] . "/" . $vbulletin->options['avatarurl'] . "/avatar$avatar[userid]_" . $vbulletin->userinfo['avatarrevision'] . ".gif" : "" . $vbulletin->options['bburl'] . "/image.php?u=" . $vbulletin->userinfo['userid'] . "&dateline=" . $avatar['dateline'] . ""; $navbaravatar = "<img src=\"$navbaravatarurl\" alt=\"Avatar\" width=\ 45\" height=\"45\" border=\"0\" />"; } else { // no avatar specified $nouseavatarchecked = HTML_CHECKED; $avatarchecked[0] = ''; $navbaravatar = "<img src=\"" . $vbulletin->options['homeurl'] . "/$stylevarhttps://vborg.vbsupport.ru/ IE7 Not ok: https://vborg.vbsupport.ru/ |
Quote:
PHP Code:
|
Thank you!
Works :) |
how can i make it so the <--PM LOGIN INFO--> breadcrumb and avatar all are displayed to the left side of the navabar instead of the right?
|
Hi,
What should i do to make this working in vBadvanced? vBadvanced CMPS v3.0 RC2 is what i am using. Thank you! |
Quote:
|
whats the condition if someone is logged out to not show it cause if i log out i get 2 white squares and it pushes the login box off the screen.
So if i had a conditional to add to say if logged in then show it would be fine <td class="alt1"><a href="$vboptions[bburl]/profile.php?do=editavatar">$navbaravatar</a></td> Ive fixed it - needed to add the code inbetween logged in statement |
Has anyone figured out the problem with the Avatar not displaying in the Header within the "No Search Result" page? BTW, working perfectly with vB 3.6.8 Patch 2
|
Installed with 3.6.7 and working perfectly
FF and IE 6, work well thanks |
Anyone got this working with 3.7?
|
Quote:
|
Template edits? elaborate dood!
|
works on vbulletin 3.6.8 thx
|
There's a rather large border around my avatars, is there a way to lessen it?
|
Me too!
How can i change the border around my avatar? Greets :) ME STUPID! Just change the cellpadding in the table :) Greets |
Here's mine, what should I change?
Code:
/ Avatar In NavBar |
I can't honestly remember exactly what edits I made...and my navbar is a bit customised anyway....but the important things are that the functionality of this hack works fine in 3.7, all that needs to be done is to reapply the template edits after the upgrade and after reverting the templates.
The important thing to remember is that there are changes to the navbar template in 3.7 close to where this hack operates. Namely, the "your notifications" functionality. But the basics and the layout is still pretty much the same. I don't have access to a 3.6 navbar template any more so I can't elaborate much more. But it relatively easy...I'm no coder and I did it quite easily. |
Tested with vB 3.7 Beta 6.
It Works! However the code has some silly parts, which should be corrected into this. PHP Code:
|
If you want this to show in ibproarcade, do the following.
1: In /arcade/functions/functions.php file.. find online 1241 approx ... PHP Code:
PHP Code:
|
Quote:
Or you can do as i do am do a $vbphrase[whatever] = $navbaravatar; and use the phrase. |
Quote:
|
Quote:
|
Uploaded Avatars. But I found a better way to do it with the fetch_avatar_url and 2 lines of code. ;)
|
Quote:
|
Not for me it didn't.
|
Hrmm can't seem to get it to work with 3.5. Added with plugin system and added code like instructions said but nothing even shows an error :/
|
Quote:
Quote:
However it should work with 3.5 too. What is displayed in the html source? Please post the complete URL. For example: Code:
<a href="http://www.domain.com/forum/profile.php?do=editavatar"><img title="Avatar" src="http://www.domain.com/forum/image.php?u=1&dateline=1205271990" alt="Avatar" border="0" height="80" width="80"></a> |
Quote:
|
Quote:
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" |
Quote:
|
Quote:
Any luck on this? |
Quote:
I haven't really worked with phrases. |
Quote:
At the end of the plugin just add: Quote:
|
Thanks a bunch!
I'll try that later today... |
Let me know how it goes.
|
Is this still supported?
|
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! |
thanks...
|
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?
|
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\" />"; 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 07:50 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|