Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Default avatar for users with no selected avatar Details »
Default avatar for users with no selected avatar
Mod Version: 1.00, by macc (Member) macc is offline
Developer Last Online: May 2010 I like it Show Printable Version Email this Page

vB Version: 3.8.1 Rating: (9 votes - 4.11 average) Installs: 78
Released: 06 Mar 2009 Last Update: Never Downloads: 17
Not Supported Template Edits Code Changes Re-usable Code  

Just some help if you want to set the default avatar to users who did not select any avatar. It is for postbit, postbit_legacy and member list template.

In your postbit template find -
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and put this below code before </if> -
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

upload(copy) image noavatar.gif in "your template" /images/misc folder.




In your templete memberlist_resultbits find this:


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

and &nbsp; replace with this
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


For postbit_legacy find


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

and after </div> add this


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


Change "your url link" to your link to picture (avatar)!

You can make your own pictures (avatar) for users who did not select any avatar!


Hope this will help someone!

Want to see this in action? - http://libar-libar.com


Regards,

macc

Download Now

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

Screenshots

Click image for larger version

Name:	set_avatar.jpg
Views:	654
Size:	52.5 KB
ID:	96025  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
[Release -Gamma / RC1 / RC2]Default Avatar for users with no avatar :) Zachery vBulletin 3.0 Template Modifications 21 27 Jun 2005 11:13
[Release -Gamma / RC1 / RC2]Default Avatar for users with no avatar :) Zachery vBulletin 3.0 Template Modifications 21 07 Jul 2004 21:16

  #31  
Old 06 Apr 2009, 17:35
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Does this work on the blog / blog list as well?
Reply With Quote
  #32  
Old 06 May 2009, 02:35
pigpog's Avatar
pigpog pigpog is offline
 
Join Date: Oct 2008
I did the first two steps relatively easily, but when I put the postbit_legacy bit in, my threads got completely messed up (with bits here, bits there) and I immediately had to revert back to an old version of postbit_legacy.

I think this is a great idea so I'm not giving up on it now, and and I'm going to keep fiddling with the code until I either get it working or.... give up.
Reply With Quote
  #33  
Old 16 Jun 2009, 13:19
ubcforums's Avatar
ubcforums ubcforums is offline
 
Join Date: Apr 2009
Thanks...works perfectly
__________________
Reply With Quote
  #34  
Old 17 Jun 2009, 03:51
rrudeboy's Avatar
rrudeboy rrudeboy is offline
 
Join Date: May 2009
Thumbs up

works great on version 3.8.2...
__________________
~rb 
Reply With Quote
  #35  
Old 19 Jun 2009, 01:08
idoL1 idoL1 is offline
 
Join Date: Feb 2009
no avatars work on my site at all now....not the default or the people who had avatars before??? any idea?
Reply With Quote
  #36  
Old 19 Jun 2009, 13:16
macc's Avatar
macc macc is offline
 
Join Date: Feb 2008
Originally Posted by idoL1 View Post
no avatars work on my site at all now....not the default or the people who had avatars before??? any idea?
have no idea...maybe you make some wrong in your code!

regards

macc
__________________

Welcome to Libar
Reply With Quote
  #37  
Old 20 Jun 2009, 03:49
theforumplace theforumplace is offline
 
Join Date: Jul 2007
Real name: Andy
Thumbs down

Very sloppy code and instructions.

Sean try removing this line from the edited postbit code.

It has not solved the issue but instead just removed the link which cleans it up.


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

Regards

Andy
Reply With Quote
  #38  
Old 23 Jun 2009, 08:56
xxxclubk1dxxx xxxclubk1dxxx is offline
 
Join Date: Oct 2007
thank you once again!
Reply With Quote
  #39  
Old 23 Jun 2009, 14:35
TAIFUN_T's Avatar
TAIFUN_T TAIFUN_T is offline
 
Join Date: Apr 2009
after each update the forum again to edit the template? Hm...
I like http://www.vbulletin.org/forum/showthread.php?t=165563
Reply With Quote
  #40  
Old 23 Jun 2009, 15:01
macc's Avatar
macc macc is offline
 
Join Date: Feb 2008
Originally Posted by TAIFUN_T View Post
after each update the forum again to edit the template? Hm...
I like http://www.vbulletin.org/forum/showthread.php?t=165563
after forum update you do not need make any changes in your templates for this modifications!

regards

macc
__________________

Welcome to Libar
Reply With Quote
  #41  
Old 25 Jun 2009, 22:05
NLP-er's Avatar
NLP-er NLP-er is offline
 
Join Date: Aug 2008
Real name: Michał Podbielski
Originally Posted by y2krazy View Post
How can I get the "Set Avatar" text to show up for just THAT user. With the code, as it is in the original post. Everyone will see "Set Avatar" under a user's avatar that isn't set. When they click on it, it will take them to edit their own avatar.

Thanks in advance!

~ Sean
Next one - also want to know
__________________
vBulletin Enterprise Translator (vBET) - your forum in 53 languages - get more traffic, users and incomes from AdSense!
Reply With Quote
  #42  
Old 25 Jun 2009, 22:32
NLP-er's Avatar
NLP-er NLP-er is offline
 
Join Date: Aug 2008
Real name: Michał Podbielski
Originally Posted by y2krazy View Post
How can I get the "Set Avatar" text to show up for just THAT user. With the code, as it is in the original post. Everyone will see "Set Avatar" under a user's avatar that isn't set. When they click on it, it will take them to edit their own avatar.

Thanks in advance!

~ Sean
Made it

Just put your Set Avatar link in this if


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

Of course you can customize it - I set "No Avatar" to enyone else.
__________________
vBulletin Enterprise Translator (vBET) - your forum in 53 languages - get more traffic, users and incomes from AdSense!
Reply With Quote
  #43  
Old 29 Jun 2009, 06:53
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Real name: Shawn
whats with members now having 2 avatars lol?
__________________
Sorry Guys, just a little busy lately.
Reply With Quote
  #44  
Old 01 Aug 2009, 19:48
Verionia Verionia is offline
 
Join Date: Jul 2009
Thanks soo much, worked! A+!
Reply With Quote
  #45  
Old 03 Aug 2009, 05:34
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
After removing [tk] Egg Avatar mod...this works great!

Installed and working fine on vB 3.8.3.
__________________
Free Computer Help
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 21:46.

Layout Options | Width: Wide Color: