Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Default Avatar Details »»
Default Avatar
Version: 2.0.3, by GeekyDesigns GeekyDesigns is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.x.x Rating:
Released: 11-13-2009 Last Update: 03-14-2010 Installs: 1389
Uses Plugins
 
No support by the author.

This plugin will make a default avatar show for all users if the user does not have an avatar. This works in the postbit, profiles, and members list. It uses the image "images/misc/unknown.gif" by default, which is used in several locations for the same purpose, and works on vB 3.7+ and vB4. This is editable in the Admin CP under vBulletin Options -> User Picture Options -> Default Avatar Image Location.

Updates:
  • 1.0 - 3.5 release by Zachery - unsupported.
  • 2.0 - Initial 3.7+ release.
    • 2.0.1 - Slight bugfix relating to users disabling avatar display. This setting does not affect avatars on the profile or memebers list by default, so this addon should not take it into account for those pages.
    • 2.0.2 - Added a setting to control the location of the image. See the updated description for details.
    • 2.0.3 - The avatar on the profile page now will resize properly.

This works for vBulletin 4.0 as well as 3.7+. vB3 thread located here.

Download Now

File Type: xml product-gd_davatar_2.0.3.xml (2.4 KB, 6317 views)

Screenshots

File Type: jpg defaultavatar.jpg (52.3 KB, 0 views)
File Type: jpg defaultavatar_setting.jpg (80.7 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #162  
Old 01-25-2012, 02:27 AM
Pvtiste Pvtiste is offline
 
Join Date: Nov 2005
Location: Toronto
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
Looks good! Thanks!

Feature request:
Could you add different default avatar for male and female?
+1
Any idea?

Thanks!
Reply With Quote
  #163  
Old 01-25-2012, 08:30 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pvtiste View Post
+1
Any idea?

Thanks!
I'll make/release this as long as Zachery gives me permission to use (some of) his code, or if this is something he'd code in this mod himself.

Zachery?
Reply With Quote
2 благодарности(ей) от:
Pvtiste, sadiq6210
  #164  
Old 01-25-2012, 08:42 AM
Pvtiste Pvtiste is offline
 
Join Date: Nov 2005
Location: Toronto
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HMBeaty View Post
I'll make/release this as long as Zachery gives me permission to use (some of) his code, or if this is something he'd code in this mod himself.

Zachery?
Yes please
Reply With Quote
  #165  
Old 01-25-2012, 11:02 AM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery View Post
You could do that with a profile field Alfa1.

Do you have a profile field now?
Quote:
Originally Posted by HMBeaty View Post
I'll make/release this as long as Zachery gives me permission to use (some of) his code, or if this is something he'd code in this mod himself.

Zachery?
If we get this feature, then, can I put a color for male users and another color for female users?

i.e. for male the username color is blue
for female the username color is pink
Reply With Quote
  #166  
Old 01-25-2012, 05:08 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sadiq6210 View Post
If we get this feature, then, can I put a color for male users and another color for female users?

i.e. for male the username color is blue
for female the username color is pink
You just went way off track to what this modification does. Best way to go about doing what you're asking is having the males in one usergroup, and females in another, and changing their username html markup
Reply With Quote
  #167  
Old 01-26-2012, 04:33 AM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HMBeaty View Post
You just went way off track to what this modification does. Best way to go about doing what you're asking is having the males in one usergroup, and females in another, and changing their username html markup
Maybe :erm:
But It is related to same idea

I have +15,000 users, although I have extra filed for gender (male/female), but I can't make a usergroup for each because I should explore 15000 users and I should move the new users who will register in future I should move it manually to the another group (everyday everyday ....).

We need a smart system (Al least "IF statement"), when I see that you will do the suggestion (avatar as per gender) I thought that we can use the same idea for (color as per gender) in same mod where we will have the code to separate the users based on their gender so it is easy to use it for another purpose.

Just a suggestion
Reply With Quote
  #168  
Old 01-26-2012, 04:35 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sadiq6210 View Post
Maybe :erm:
But It is related to same idea

I have +15,000 users, although I have extra filed for gender (male/female), but I can't make a usergroup for each because I should explore 15000 users and I should move the new users who will register in future I should move it manually to the another group (everyday everyday ....).

We need a smart system (Al least "IF statement"), when I see that you will do the suggestion (avatar as per gender) I thought that we can use the same idea for (color as per gender) in same mode.

Just a suggestion
It's actually very easy. I was playing around with some code earlier today and made it work for a single usergroup
Reply With Quote
  #169  
Old 01-26-2012, 07:48 AM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HMBeaty View Post
It's actually very easy. I was playing around with some code earlier today and made it work for a single usergroup
You mean (color as per gender)?
If yes, so could you share us please
I want to give a color for male & another color for female without need to move each new user to the correct group.
Reply With Quote
  #170  
Old 01-26-2012, 07:54 AM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can we shift our discussion here:
https://vborg.vbsupport.ru/showthread.php?t=277575
Reply With Quote
  #171  
Old 02-11-2012, 02:37 AM
tortuga2 tortuga2 is offline
 
Join Date: Jan 2012
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you! great for branding.
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 10:30 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.11597 seconds
  • Memory Usage 2,354KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (17)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete