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

  #16  
Old 15 Mar 2009, 03:53
RiSqq RiSqq is offline
 
Join Date: Jan 2009
wcguy, to shorten it further use $stylevar[imgdir_misc]/noavatar.gif.

this is what the script should be as default. Maybe OP should update?
Reply With Quote
  #17  
Old 16 Mar 2009, 14:36
y2krazy y2krazy is offline
 
Join Date: Jun 2003
Real name: Sean
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
Reply With Quote
  #18  
Old 19 Mar 2009, 03:03
Wyzrd Wyzrd is offline
 
Join Date: Dec 2005
I'm having a slight problem with this. I have it set for where members can choose whether or not they want the new horizontal postbit, or the old vertical postbit. When doing this, it will only work on the horizontal postbit. How can I get it to work for the old vertical postbit.

--------------------------------
EDIT: I figured out my problem. Thanks. for this great edition to vB.

Last edited by Wyzrd; 19 Mar 2009 at 03:13.
Reply With Quote
  #19  
Old 19 Mar 2009, 05:42
Fastbird's Avatar
Fastbird Fastbird is offline
 
Join Date: Aug 2005
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
+1 I'd like to know this also!
__________________
http://ltxtech.com - The largest forum dedicated to all LTX powered vehicles - join today!
Reply With Quote
  #20  
Old 19 Mar 2009, 21:33
Bowromir Bowromir is offline
 
Join Date: Dec 2005
thanks! works great
Reply With Quote
  #21  
Old 23 Mar 2009, 16:21
newguy's Avatar
newguy newguy is offline
 
Join Date: Nov 2007
Just wondering if the instructions have been updated, since some posts suggested some changes?
Reply With Quote
  #22  
Old 23 Mar 2009, 16:59
jonah1892 jonah1892 is offline
 
Join Date: Jul 2008
how would i go about doing this on the ipbroarcade avatars
Reply With Quote
  #23  
Old 23 Mar 2009, 18:27
newguy's Avatar
newguy newguy is offline
 
Join Date: Nov 2007
Originally Posted by jonah1892 View Post
how would i go about doing this on the ipbroarcade avatars
Are you talking about the no avatar that shows in the arcade when that member does not have a avatar installed?

If so I just found the directory of the no avatar for the arcade and uploaded the one I wanted to show, and made it the same file name and over write the no avatar.gif
Reply With Quote
  #24  
Old 24 Mar 2009, 05:04
jonah1892 jonah1892 is offline
 
Join Date: Jul 2008
thank you
Reply With Quote
  #25  
Old 25 Mar 2009, 20:23
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
I hate template edits...

Any way to package this as a product?
__________________
Free Computer Help
Reply With Quote
  #26  
Old 25 Mar 2009, 21:05
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Just tried your manual install instructions...and it doesn't work...

I think you need to take a look at the coding so it's compatible with 3.8.1 PL1.

Also...this mod conflicts with [tk] Egg Avatar mod.

Installed...then Uninstalled.

Sorry...
__________________
Free Computer Help
Reply With Quote
  #27  
Old 25 Mar 2009, 21:14
macc's Avatar
macc macc is offline
 
Join Date: Feb 2008
i use myself vbulletin 3.8.1 PL1 and this code works fine !

never used [tk] Egg Avatar mod...


regards

macc
__________________

Welcome to Libar
Reply With Quote
  #28  
Old 02 Apr 2009, 20:57
powerful_rogue powerful_rogue is offline
 
Join Date: Jan 2007
Real name: Dave
Shame this dosent work with [tk] egg avatar
Reply With Quote
  #29  
Old 05 Apr 2009, 02:48
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Real name: Alex
This is NOT an add-on, but a template modification.
__________________

Reply With Quote
  #30  
Old 06 Apr 2009, 17:33
y2krazy y2krazy is offline
 
Join Date: Jun 2003
Real name: Sean
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
3 weeks and no help. Anyone have any ideas? :/

~ Sean
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:38.

Layout Options | Width: Wide Color: