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

Reply
 
Thread Tools
Default Avatar Details »»
Default Avatar
Version: 1.00, by Zachery Zachery is offline
Developer Last Online: May 2017 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 10-01-2005 Last Update: Never Installs: 616
Uses Plugins
Additional Files  
No support by the author.

Self Explanatory.

Will showup on the member.php page and in the postbit / postbit_legacy

default path is
images/avatars/noavatar.gif

You can modify this by editing the two plugins.

I even took the time to make you guys a noavatar.gif file

See this for the updated 3.7/3.8 verison

Show Your Support

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

Comments
  #112  
Old 04-04-2006, 02:01 PM
ogden2k's Avatar
ogden2k ogden2k is offline
 
Join Date: Apr 2003
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rareclownfish
I'm having a little problem with it. Whenever I click on any user and view their profile the avatar comes up as a RED X.
What do I need to change?
In the XML file, specifiy the full path to the default images.
Reply With Quote
  #113  
Old 04-06-2006, 11:03 AM
ryancooper ryancooper is offline
 
Join Date: Jul 2002
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to link the default no avatar to the choose avatar section of the member. Some of my members dont realize where to change there avatar and this would be a easy way to do it.
Reply With Quote
  #114  
Old 04-06-2006, 11:07 AM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ryancooper
Is there a way to link the default no avatar to the choose avatar section of the member. Some of my members dont realize where to change there avatar and this would be a easy way to do it.
Great idea!
Reply With Quote
  #115  
Old 04-06-2006, 11:55 AM
TitanJeff's Avatar
TitanJeff TitanJeff is offline
 
Join Date: Jul 2002
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I appear to be getting errors. Here is my code:

<?xml version="1.0" encoding="ISO-8859-1"?>

<plugins>
<plugin active="1" product="vbulletin">
<title>Default Avatar</title>
<hookname>postbit_display_complete</hookname>
<phpcode><![CDATA[if (!$this->post['avatarurl'])

{

$this->post['avatarurl'] = "images/avatars/flame.gif";

}

if ($this->registry->userinfo['showavatars'])

{

$show['avatar'] = true;

}]]></phpcode>
</plugin>
<plugin active="1" product="vbulletin">
<title>Default Avatar member.php</title>
<hookname>member_complete</hookname>
<phpcode><![CDATA[if (!$avatarurl)

{

$userinfo['avatarurl'] = "images/avatars/flame.gif";

}

$show['avatar'] = true;]]></phpcode>
</plugin>
</plugins>

Any suggestions? Thanks.
Reply With Quote
  #116  
Old 04-14-2006, 10:40 AM
criscokid criscokid is offline
 
Join Date: Nov 2003
Location: London, UK
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ryancooper
Is there a way to link the default no avatar to the choose avatar section of the member. Some of my members dont realize where to change there avatar and this would be a easy way to do it.
I think I made a similar suggestion a few months ago - it would certainly be of benefit to those users that are new to discussion forums.

I have this plugin running on my site. I've just logged in to the site using Firefox and instead of my own avatar showing the 'no avatar selected' avatar is showing. Using MSIE my own avatar is showing. Anyone have any idea of what the problem is?
Reply With Quote
  #117  
Old 04-14-2006, 11:24 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Odd... are you 100% positive that you are logged in as the same user on both?
Reply With Quote
  #118  
Old 04-16-2006, 08:11 PM
criscokid criscokid is offline
 
Join Date: Nov 2003
Location: London, UK
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My avatars are set to 80x80 whilst the 'deafualt avatar' is 64x64. What is happening is that the 'deafualt avatar' (64x64) is being shown at 80x80 so it appears to be stretched out.

I've tried this with another person on their own computer and it's happening to them when they view their threads in Firefox. When I view the same thread in Firefox on my computer the new avatar is showing. It's almost as if Firefox isn't properly 'pulling' the image in - it's refreshing the image size but not the actual image.
Reply With Quote
  #119  
Old 04-17-2006, 11:02 PM
TitanJeff's Avatar
TitanJeff TitanJeff is offline
 
Join Date: Jul 2002
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any idea what I goofed up there in the code? I would like to get this going. Thanks.
Reply With Quote
  #120  
Old 04-19-2006, 01:32 AM
Roms's Avatar
Roms Roms is offline
 
Join Date: Jun 2004
Location: Witness ProtectionProgram
Posts: 1,841
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Reply With Quote
  #121  
Old 04-19-2006, 07:01 AM
jodycwilliams jodycwilliams is offline
 
Join Date: Apr 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice! Definitely put this to use on my forums!
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 10:56 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.05296 seconds
  • Memory Usage 2,303KB
  • Queries Executed 25 (?)
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
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete