Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
Adding User Avatars On Custom Modifications
Allan
Join Date: Jun 2003
Posts: 1,513

France
by Allan Allan is offline 17 Jan 2007

Compatible with vBulletin 3.6.x
  • Upload the attached image to your misc. folder.
  • Import this product

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

And add this variable in your mods: $noavatar[0]

If user doesn't have a avatar, the "no_avatar.gif" image will display.
(REMINDER: Upload the no_avatar.gif to your misc. folder.)

I don't want to display the no_avatar.gif image.

Add this code in your mod:

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

If user doesn't have an avatar, the clear.gif (from your forum root) will display.
Attached Images
File Type: gif no_avatar.gif (2.5 KB, 421 views)
Attached Files
File Type: xml product-NoAvatar.xml (650 Bytes, 43 views)

Last edited by Allan; 19 Jan 2007 at 08:12..
Views: 3674
Reply With Quote
Comments
  #2  
Old 17 Jan 2007, 19:04
Mr_Snob Mr_Snob is offline
 
Join Date: Jan 2004
Real name: HASANN
cool hack thank you for your usefully tutorial Allan
Reply With Quote
  #3  
Old 19 Jan 2007, 03:44
bigmonay2k bigmonay2k is offline
 
Join Date: May 2004
how do I download the product

Last edited by bigmonay2k; 19 Jan 2007 at 03:50.
Reply With Quote
  #4  
Old 19 Jan 2007, 08:13
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Real name: allan
Originally Posted by bigmonay2k View Post
how do I download the product
Product add ^^
__________________
-------------------------------------------------------------------------------------------
Administrator vBulletin-Ressources.com, French vBulletin Resources.
Reply With Quote
  #5  
Old 19 Jan 2007, 15:50
bigmonay2k bigmonay2k is offline
 
Join Date: May 2004
^ THANKS, how does this thing work, I upload the image, I don't see anything
Reply With Quote
  #6  
Old 21 Jan 2007, 08:58
Terminatoronly's Avatar
Terminatoronly Terminatoronly is offline
 
Join Date: Mar 2006
cool i like it
Reply With Quote
  #7  
Old 22 Jan 2007, 01:44
bigmonay2k bigmonay2k is offline
 
Join Date: May 2004
Originally Posted by Terminatoronly View Post
cool i like it
did it work for you??
Reply With Quote
  #8  
Old 27 Feb 2007, 17:04
Mr Pink's Avatar
Mr Pink Mr Pink is offline
 
Join Date: Oct 2006
Location: [Italy]
Real name: Norman
Bunny!

After a little (yes, a llittle big) search, I've found also this code:


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

Using this one, you will call the current user avatar (logged user).
Maybe it isn't the best, but it's what I was searching for (a simple code without plug-ins, file edits).
Now only what I need to do, is search a conditional for users that have not an avatar.

Originally Posted by Mr Pink View Post
After a little (yes, a llittle big) search, I've found also this code:


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

Using this one, you will call the current user avatar (logged user).
Maybe it isn't the best, but it's what I was searching for (a simple code without plug-ins, file edits).
Now only what I need to do, is search a conditional for users that have not an avatar.
Oh, great. It does't work.
Zorry.
__________________
Web City Forum Online
My new vB.org account is Triky

Last edited by Mr Pink; 27 Feb 2007 at 17:31. Reason: Automerged Doublepost
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article 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 03:44.

Layout Options | Width: Wide Color: