Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

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

Category: Mini Mods - Version: 3.8.x Rating:
Released: 09-12-2009 Last Update: 11-15-2009 Installs: 339
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.

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

Download Now

File Type: xml product-gd_davatar.xml (2.3 KB, 1469 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.
5 благодарности(ей) от:
Sayid, sofrehkhune, zascok, zylstra

Comments
  #62  
Old 11-16-2009, 06:42 PM
yamahapaul's Avatar
yamahapaul yamahapaul is offline
 
Join Date: Aug 2008
Location: UK
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by imported_silkroad View Post
This would be a much more useful mod if we could specify default avatars for various user groups. One default avatar for the entire site is not very useful, IMHO.
I prefer this myself, as it encourages users to be individual, unique and to personalise their avatar..... just an opinion..
Reply With Quote
  #63  
Old 11-16-2009, 07:04 PM
LB1981 LB1981 is offline
 
Join Date: Mar 2009
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this mod
Reply With Quote
  #64  
Old 11-24-2009, 03:50 PM
Palace55 Palace55 is offline
 
Join Date: Nov 2009
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this modification, it has been installed on my forums!
Reply With Quote
  #65  
Old 12-07-2009, 01:26 PM
netcommander netcommander is offline
 
Join Date: Dec 2004
Location: Turkey/Antalya
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello
i've used this hack and i've uninstall via admincp and i've upgrade 4.0 and i see this error
Quote:
Database error in vBulletin 4.0.0 Beta 5:

Invalid SQL:

SELECT
post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
user.*, userfield.*, usertextfield.*,
icon.title as icontitle, icon.iconpath,
avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight,


editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
editlog.reason AS edit_reason, editlog.hashistory,
postparsed.pagetext_html, postparsed.hasimages,
sigparsed.signatureparsed, sigparsed.hasimages AS sighasimages,
sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid

,blog_user.entries
FROM post AS post
LEFT JOIN user AS user ON(user.userid = post.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
LEFT JOIN icon AS icon ON(icon.iconid = post.iconid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)


LEFT JOIN editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN postparsed AS postparsed ON(postparsed.postid = post.postid AND postparsed.styleid = 19 AND postparsed.languageid = 11)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 19 AND sigparsed.languageid = 11)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
LEFT JOIN blog_user AS blog_user ON (blog_user.bloguserid = post.userid)
WHERE post.postid IN ()
ORDER BY post.dateline;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
ORDER BY post.dateline' at line 29
Error Number : 1064
Request Date : Sunday, December 6th 2009 @ 09:40:16 PM
Error Date : Sunday, December 6th 2009 @ 09:40:16 PM
Script : http://www.xxxxx.com/forum/showthrea...-yardym-fx5500
Referrer :
IP Address : 66.249.xx.xx
Username :Guest
Classname : vB_Database
MySQL Version :
how can I fix this problem
Reply With Quote
  #66  
Old 12-07-2009, 02:35 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by netcommander View Post
Hello
i've used this hack and i've uninstall via admincp and i've upgrade 4.0 and i see this error

how can I fix this problem
This hack could not cause that error. I haven't seen that error before.

If you uninstalled it, it certainly isn't running anymore, and it makes no database changes. Furthermore, even if you kept it installed, it works just the same on vB4 as it does on vB3.

I don't know the cause of your error or how to resolve it, only that it isn't caused by this mod.
Reply With Quote
  #67  
Old 12-07-2009, 11:48 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Taht error message is from a thread that has no data. You've run impex.
Reply With Quote
  #68  
Old 12-08-2009, 08:05 AM
netcommander netcommander is offline
 
Join Date: Dec 2004
Location: Turkey/Antalya
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm how can fix this error Zachery ?
what can I do with impex ?
Thanks for all answer
Reply With Quote
  #69  
Old 12-16-2009, 01:00 PM
SİMAR's Avatar
SİMAR SİMAR is offline
 
Join Date: Jun 2009
Location: Germany~Offenburg
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks man
Reply With Quote
  #70  
Old 01-30-2010, 10:11 PM
carolc carolc is offline
 
Join Date: Oct 2009
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This works very nicely, thanks.

Is it possible for you to get this to work with the PhotoPost Gallery? If not, can you PM me an example of the conditional statements you used and I can see if I can figure out something similar to add to my gallery?

Thanks
Reply With Quote
  #71  
Old 02-03-2010, 04:23 PM
xDazedx xDazedx is offline
 
Join Date: Feb 2010
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the great Mod
Reply With Quote
Reply


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 06:30 PM.


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.04658 seconds
  • Memory Usage 2,345KB
  • 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
  • (3)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
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)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