vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Home Enhancements - Adds Avatar to Navbar (https://vborg.vbsupport.ru/showthread.php?t=227666)

Kolbi 08-06-2012 01:49 PM

The problem is that I don't a vB 3 test board anymore :-(

Max Taxable 08-06-2012 02:57 PM

Quote:

Originally Posted by Kolbi (Post 2354967)
For the reason that I haven't installed the arcade mod I couldn't proove it.

But it might be possible to get it working on the arcade, too.

https://vborg.vbsupport.ru/showpost....4&postcount=96

J19784B5A39B 08-06-2012 04:49 PM

Quote:

Originally Posted by Max Taxable (Post 2352194)
It works on mine... I have the same arcade and have this Mod as well.... It looks on first glance that your style reverses the position of the navbar template? Making everything flush left instead of flush right? Your issue may be related to that.


and how?

Max Taxable 08-06-2012 10:09 PM

Quote:

Originally Posted by J19784B5A39B (Post 2355007)
and how?

You can find out by creating a new style with no parent, and then looking at this mod through use of that new style.

Kolbi 08-10-2012 06:25 AM

Or provide me a URL and maybe an admin account via PM :-)

Important:
Code:

Without TMS:
Open the navbar template and search for:
==================================
        <else />
               
                <td class="alt2" nowrap="nowrap" style="padding:0px">
                       
                <!-- login form -->
==================================

add above
==================================
                <td class="alt1"><a href="$vboptions[bburl]/profile.php?do=editavatar">$navbaravatar</a></td>
==================================
After that upload the plugin and you?re done.


A.Chakery 02-13-2013 08:47 PM

Thanks for the plugin,

would you please tell me if this plugin is still supported ?

Kolbi 02-14-2013 10:34 AM

More or less :-) I'm not using vB 3.8 anymore but I'll help as much as I can.

A.Chakery 02-14-2013 11:46 AM

thank you for the reply,

actually my problem is kind of strange, the avatar is only showing when I am viewing the forumdisplay or showthread pages , its not showing in other sections like forumhome , vbadvanced cmps or my gallery !!!!


I even used a custom plugin instead of your product but it was the same , its so strange, please take a look at the screenshots and my custom plugin, I have no idea what is causing this issue.

I can provide you my templates in pm if they are needed ...

really appreciate your help.

thank you

My Custom plugin : (Hook Location : Global Start)

PHP Code:

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=\"Your Avatar\" border=\"0\" class=\"avatar\" style=\"width:150px\" />"

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[avatarurl] . "/avatar$avatar[userid]_" $vbulletin->userinfo[avatarrevision] . ".gif" "" $vbulletin->options[bburl] . "/image.php?u=" $vbulletin->userinfo['userid'] . "&amp;dateline=" $avatar['dateline'] . "";
        
$navbaravatar "<img src=\"$navbaravatarurl\" alt=\"Your Avatar\" border=\"0\" class=\"avatar\" style=\"width:90px\" />";
    } 
    else
    { 
        
// no avatar specified 
        
$nouseavatarchecked HTML_CHECKED
        
$avatarchecked[0] = ''
        
$navbaravatar "<img src=\"" $vbulletin->options[bburl] . "/images/vuel/misc/noavatar.gif\" alt=\"Your Avatar\" border=\"0\" style=\"width:100px\" class=\"avatar\" />"// "<span class=\"smallfont\">No Avatar<br/ >Specified</span>";
    



Snapshots :

forumdisplay and showthread:

http://picx.pro/img.php?image=3873_s...png&mode=thumb

forumhome , vbadravced and other pages :

http://picx.pro/img.php?image=2353_s...png&mode=thumb


thnx

Kolbi 02-21-2013 09:23 AM

Are you using vBA?

Try: https://vborg.vbsupport.ru/showpost....8&postcount=81


All times are GMT. The time now is 09:19 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.01132 seconds
  • Memory Usage 1,757KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (3)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
  • (9)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