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 11-08-2009 10:00 PM

Adds Avatar to Navbar
 
1 Attachment(s)
Adds Avatar to Navbar

This addon adds for registered users their avatar to the navbar. If they have none selceted there will be shown a default avatar.
The URL to your default avatar and the height of the avatars can be set via vBulletin-Setting => Navbar with Avatar

Default avatar URL: /images/misc/unknown.gif
Default height: 60px

Demo:
Attachment 106084

AdminCP:
Attachment 106083

This modification only needs one querie.

Additional installation advices are in the readme.txt.

Not compatible with following addon:
Navbar - adds social bookmarking, notifications highlighting, & search fields

Other languages are in the folder translations. German and English are avaible at the moment. Just import them under languages & phrases.

Please click INSTALL

Matthias
www.2-wheel-planet.de


13.11.2009 14:57 - Version 1.1
13.11.2009 16:01 - Version 1.2
09.02.2011 18:59 - Version 1.3 is published

Changelog:
version 1.1:
  • changeable height of avatars via AdminCP
  • German version
version 1.2:
  • changeable default avatar
version 1.3:
  • changeable width

New features that will come for 1.4:
  • nothing yet

Copyright:

This hack has a little copyright hint at the bottom of the page. You are not allowed to edit or remove it!
If you want to remove it please contact me via PM.

madshark 11-09-2009 06:01 PM

Im sorry but what is TMS ?

cindy helmond 11-09-2009 06:04 PM

nice mod installed !!

Kolbi 11-09-2009 06:09 PM

Quote:

Originally Posted by madshark (Post 1912090)
Im sorry but what is TMS ?

Look here: https://vborg.vbsupport.ru/showthread.php?t=152931

fta2k 11-09-2009 06:52 PM

Thanks for the up.

Installed simple:

http://i.fhqhosting.com/1avy.PNG

madshark 11-09-2009 11:20 PM

ohhh thanks ! sorry for the idiocracy just bought VB

Kolbi 11-10-2009 05:17 AM

Quote:

Originally Posted by madshark (Post 1912181)
ohhh thanks ! sorry for the idiocracy just bought VB

No problem :)
I hope you enjoy this little mod.

realdx 11-10-2009 11:34 AM

Nice hack, clean, no hassle, working!! Thanks and installed!

EDIT: (5 STARS)

Brandon Sheley 11-10-2009 01:08 PM

Nice mod, it wouldn't work for my current style, but I'll suggest it to friends :)

Kolbi 11-10-2009 01:43 PM

Quote:

Originally Posted by Loco.M (Post 1912360)
Nice mod, it wouldn't work for my current style, but I'll suggest it to friends :)

I you send me your navbar template and header template and the URL to your site, I prepare this mod for you.

Mulle 11-10-2009 04:18 PM

Great mod, but it won't work with vbadvanced, nothing shows up on VBA-pages.
What should I change to get it work?

concepts 11-10-2009 05:40 PM

works on my VBA with no problems (Using Firefox)

Mulle 11-10-2009 06:24 PM

Quote:

Originally Posted by concepts (Post 1912477)
works on my VBA with no problems (Using Firefox)

Doesn't work for me with firefox or IE.
I got some template edits, maybe I have done some changes... have to take a look...

Kolbi 11-10-2009 07:15 PM

Quote:

Originally Posted by Mulle (Post 1912490)
Doesn't work for me with firefox or IE.
I got some template edits, maybe I have done some changes... have to take a look...

Can you send me the effected URL?s and perhaps an testaccount?
Perhaps also the navbar template.

princeedward 11-10-2009 07:31 PM

:erm: hmmmm...

is this Avatar On Navbar ....almost the same right?

:confused:

johnrizz 11-10-2009 07:35 PM

very nice, and thanks! ez install!!

D_light 11-10-2009 07:44 PM

nice hack, work perfectly whit firefox, opera

tnx

AzzidReign 11-11-2009 08:20 PM

Damn, I could have used this for my last skin. Oh well :(

blackberry 11-12-2009 09:30 AM

not working for me :(

Kolbi 11-12-2009 10:16 AM

Quote:

Originally Posted by blackberry (Post 1913027)
not working for me :(

Can you send me additional information via PM?
I?m gonna try to help you.

Skydiver10 11-12-2009 11:30 PM

Installed..thanks...how do you remove the white trim around the avatar pic?

cheech47 11-13-2009 09:03 AM

Quote:

Originally Posted by Mulle (Post 1912447)
Great mod, but it won't work with vbadvanced, nothing shows up on VBA-pages.
What should I change to get it work?

Facing the same issue here :confused:

Kolbi 11-13-2009 10:42 AM

Quote:

Originally Posted by Skydiver10 (Post 1913307)
how do you remove the white trim around the avatar pic?

Can you give me additional information or a screenshot?

Kolbi 11-13-2009 10:43 AM

Quote:

Originally Posted by cheech47 (Post 1913468)
Facing the same issue here :confused:

Currently I?m working out a solution. I think the problem is that VBA-pages are using a different navbar?!?

Kosmic1 11-13-2009 11:29 AM

Very nice!! Installed and working :)

https://vborg.vbsupport.ru/external/2009/11/17.png

Thanks

Kolbi 11-13-2009 11:32 AM

@mulle and @cheech47 What do you have selected under vBadvanced Global Options?

Kosmic1 11-13-2009 12:15 PM

Nice update! Much better now :)

Kolbi 11-13-2009 01:00 PM

Quote:

Originally Posted by Kosmic1 (Post 1913527)
Nice update! Much better now :)

Thank you :)

Version 1.2 is in a few seconds ready :)

Kolbi 11-13-2009 01:10 PM

Version 1.2 is published :)

Skydiver10 11-13-2009 02:03 PM

Border still around Avatar ...where do I edit the border? Thanks!

Skydiver10 11-13-2009 02:14 PM

Never mind I found it ...> Vbulletin Options> Navbar with Avavtar > ...Height set to 70.

The only thing is when you change the height, it changes the entire top bar across the screen, still leaving a border around the avatar.

So, If you set the Height to 100, then the whole navbar across the screen increases as well. So, nothing has changed except that you can increase your picture size with the whole navbar included.

Is there a way to adjust the size of the avatar picture only?

Thank you so much for your work!

RTMdotORG 11-13-2009 03:03 PM

Hi, thanks for this.
But I dont feel this is a big enough mod to have your name and site in my footer...
is there a way to take it off?

Kolbi 11-15-2009 04:28 PM

Quote:

Originally Posted by Skydiver10 (Post 1913570)
Border still around Avatar ...where do I edit the border? Thanks!

Are you using the version with or without TMS?
I don?t really know your style and your css. But please try to modify:
HTML Code:

<td class="alt1"><a href="$vboptions[bburl]/profile.php?do=editavatar">$navbaravatar</a></td>
class="alt1" try to change to alt2 or navbar or just remove it.

Kolbi 11-15-2009 04:31 PM

Quote:

Originally Posted by Skydiver10 (Post 1913578)
Is there a way to adjust the size of the avatar picture only?

Not really, if I can clearly understand you, you want to have only the avatar height increased and not the whole navbar?
And personally I think it would not look nice.

Kolbi 11-15-2009 04:31 PM

Quote:

Originally Posted by RTMdotORG (Post 1913616)
Hi, thanks for this.
But I dont feel this is a big enough mod to have your name and site in my footer...
is there a way to take it off?

A small donation and I tell you how to do :)

RTMdotORG 11-15-2009 10:12 PM

Quote:

Originally Posted by Kolbi (Post 1914663)
A small donation and I tell you how to do :)

I figured it out, thanks.

Kolbi 11-16-2009 03:25 PM

I think about updating to vb 4.x, there should the avatar now be located?
Are you interested in the 4.x Version?

Kolbi 11-16-2009 07:57 PM

Go into /includes/config.php an remove the // before //define('DISABLE_HOOKS', 1);
Then save and return into AdminCP. There you can uninstall this modification.
After that add the // again and save.

What issue do you have?

Kolbi 11-17-2009 10:02 AM

Quote:

Originally Posted by ppatil007 (Post 1915524)
thanks for the quick reply

i dont see //define('DISABLE_HOOKS', 1); in my config.php
please ref attachment i have put the content of my config.php in the note pad

i am sorry i am not a coder i dont understand much of this stuff , dont know whats wrong another admin at my forum uploaded another similar plugin for avatar but that did not work so i removed that and tried this but even this something happened i am using 3.8.4

thanks for your time
:up:

Please remove your attachment, because you forgot to remove your password and so on :)

I seems that someone has shorten your config.php. Please open an original config.php.new and compare these two versions and you?ll see that at the end this is missed:
HTML Code:

        //        GZIP komplett deaktivieren: Dies ist noetig, wenn auf dem Server standardmaessig
        //        GZIP aktiv ist und diese Option auch im Administrator-Kontrollzentrum aktiviert wurde.
        //        Dadurch ist oft in vBulletin keine Anmeldung mehr moeglich.
        //        Moeglicherweise ist es noetig, die folgende Zeile in der Datei /includes/init.php oder
        //        /includes/class_core.php aufzunehmen, damit dieser Eintrag wirksam wird.
//define('NOZIP', 1);

        //        Plug-in-System komplett deaktivieren: Dies ist noetig, wenn durch
        //        fehlerhafte Plug-ins in vBulletin keine Anmeldung mehr moeglich ist.
//define('DISABLE_HOOKS', 1);

        //        Keine E-Mails verschicken. Diese Einstellung sollte fuer ein Test-Forum aktiviert werden.
//define('DISABLE_MAIL', true);

        //        Debug-Modus aktivieren: Nur fuer Entwickler gedacht.
//if (VB_AREA == 'AdminCP')
//{
//        $config['Misc']['debug'] = 1;
//}

(okay, mine version is German :))
This has to be added you your config.php and then you can remove the // before //define('DISABLE_HOOKS', 1);

I you send me via PM AdminCp access and ftp access I can perhaps help you.
Administrator@2-wheel-planet.de for further informations.

But I think that your problem has nothing to do with my modification :)

Kolbi 11-17-2009 03:43 PM

Quote:

Originally Posted by ppatil007 (Post 1915977)
Thanks for the detailed information , i removed the attachment
where can i find config.php.new ? i will compare and try to fix it as before

Go on vbulletin.com login and download the fully vbulletin 3.8.4pl1 package.


All times are GMT. The time now is 06:22 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.01423 seconds
  • Memory Usage 1,827KB
  • 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_html_printable
  • (16)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
  • (40)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