Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Avatar on homepage Details »
Avatar on homepage
Mod Version: 1.00, by Chen (Member) Chen is offline
Developer Last Online: Mar 2009 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 63
Released: 21 Nov 2001 Last Update: Never Downloads: 1
Not Supported  

This is what we use on the main page of this forum.
So many people liked it and asked for it, I posted it on at least 5 threads already, but someone wanted a proper release so here it is.

Anyway, in index.php add this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

right after this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Now in any of your forumhome_xxx templates, you can use this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to display the user's avatar.

It will display the user's avatar if he has selected one, if he hasn't selected one it will show noavatar.gif (you'll need to upload that to your images folder), and if it's a guest, it will show guestavatar.gif, and link the image to register.php.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 21 Nov 2001, 13:08
TheComputerGuy's Avatar
TheComputerGuy TheComputerGuy is offline
 
Join Date: Oct 2001
Real name: Joe
I like it, nice work there Firefly
Reply With Quote
  #3  
Old 21 Nov 2001, 13:36
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
it's good hack for me thankz FireFly~~

if i want it show up like main page of this forum what template

should i put this code$avatarimage?

forumhome or .....??
Reply With Quote
  #4  
Old 21 Nov 2001, 14:46
SgtSling SgtSling is offline
 
Join Date: Nov 2001
forumhome template
Reply With Quote
  #5  
Old 21 Nov 2001, 14:46
SgtSling SgtSling is offline
 
Join Date: Nov 2001
or any of the other's that are listed under forumhome
Reply With Quote
  #6  
Old 21 Nov 2001, 15:47
snyx's Avatar
snyx snyx is offline
 
Join Date: Oct 2001
oh yeah, love'n it firefly!
http://www.form-kaos.com/board/
Reply With Quote
  #7  
Old 21 Nov 2001, 16:00
Sinecure's Avatar
Sinecure Sinecure is offline
 
Join Date: Oct 2001
How would I go about using $avatarimage in my header template. Modifying something in functions.php correct?
__________________
Lyle Warren
Former vBulletin.org Administrator

<<------General Information------>>
ICQ: 437747379
Email: [email protected]

Website: Pixeljunction.com
My Board: Board.Pixeljunction.com

<<------My Button Sets------>>
Aqua Sets: Aqua Blue - Aqua Orange
XP Sets: XP Blue - XP Blank - XP Black - XP Camo - XP Green
Reply With Quote
  #8  
Old 21 Nov 2001, 16:08
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
Add the code to global.php, before:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

[email protected]
Reply With Quote
  #9  
Old 21 Nov 2001, 16:15
Sinecure's Avatar
Sinecure Sinecure is offline
 
Join Date: Oct 2001
Thank You
__________________
Lyle Warren
Former vBulletin.org Administrator

<<------General Information------>>
ICQ: 437747379
Email: [email protected]

Website: Pixeljunction.com
My Board: Board.Pixeljunction.com

<<------My Button Sets------>>
Aqua Sets: Aqua Blue - Aqua Orange
XP Sets: XP Blue - XP Blank - XP Black - XP Camo - XP Green
Reply With Quote
  #10  
Old 21 Nov 2001, 21:44
Mike Gaidin's Avatar
Mike Gaidin Mike Gaidin is offline
 
Join Date: Oct 2001
Real name: Mike
Thanks FireFly!
Reply With Quote
  #11  
Old 22 Nov 2001, 07:04
JTMON's Avatar
JTMON JTMON is offline
 
Join Date: Nov 2001
Awesome Hack Firefly. What part of the code would I change to make it so the noavatar.gif is linked to userCP?
Reply With Quote
  #12  
Old 22 Nov 2001, 09:55
Crinos's Avatar
Crinos Crinos is offline
 
Join Date: Nov 2001
Real name: Tolitz Rosel
w00t! Works great! Excellent hack, cheers!

See it in action
http://www.opentechsupport.net/forums/
__________________
Open Tech Support
http://www.opentechsupport.net
Reply With Quote
  #13  
Old 22 Nov 2001, 12:42
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
Originally posted by JTMON
Awesome Hack Firefly. What part of the code would I change to make it so the noavatar.gif is linked to userCP?
Replace:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

[email protected]
Reply With Quote
  #14  
Old 23 Nov 2001, 00:11
Matt's Avatar
Matt Matt is offline
 
Join Date: Oct 2001
Real name: Matt
Is there anyway to encorporate this into a non-vb page?
Reply With Quote
  #15  
Old 23 Nov 2001, 00:24
JTMON's Avatar
JTMON JTMON is offline
 
Join Date: Nov 2001
For some reason that code didn't work for me firefly. I just get a red x if I don't have an avatar selected, but no noavatar.gif. I have reuploaded the gif file twice too. Otherwise it works great.

Last edited by JTMON; 23 Nov 2001 at 00:36.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 23:15.

Layout Options | Width: Wide Color: