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
  #172  
Old 10-26-2006, 01:00 PM
criscokid criscokid is offline
 
Join Date: Nov 2003
Location: London, UK
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You'll need to apply the 'if' part of the code to the memberlist template - I've applied it to the 'show friends mod' to show on the memberinfo page.
Reply With Quote
  #173  
Old 10-26-2006, 01:40 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But what's the code for it 'cause I have no idea.
Reply With Quote
  #174  
Old 10-26-2006, 04:50 PM
criscokid criscokid is offline
 
Join Date: Nov 2003
Location: London, UK
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Snake
But what's the code for it 'cause I have no idea.
You need to download the zip file that contains the mod - see the top of this page.
Reply With Quote
  #175  
Old 12-11-2006, 06:56 AM
erinys erinys is offline
 
Join Date: Mar 2006
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should release this as a 3.6 pluging so it shows up in the 3.6 listing its working perfectly fine with it anyway
Reply With Quote
  #176  
Old 12-11-2006, 05:27 PM
A_V A_V is offline
 
Join Date: Nov 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed in 3.6.4
Reply With Quote
  #177  
Old 12-22-2006, 05:39 PM
TrikkeTalk's Avatar
TrikkeTalk TrikkeTalk is offline
 
Join Date: May 2006
Location: The Netherlands
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Works like a charm on 3.6.4 too. Thanks for this nice hack.
Reply With Quote
  #178  
Old 02-14-2007, 03:37 AM
amagazi amagazi is offline
 
Join Date: Jan 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok.. how does this plug in work? Does it even work for 3.6.4? Cuz if it does, it doesn't seem to do anything on my board.....
Reply With Quote
  #179  
Old 02-28-2007, 08:55 PM
ncweb ncweb is offline
 
Join Date: Feb 2007
Location: US
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amagazi View Post
Ok.. how does this plug in work? Does it even work for 3.6.4? Cuz if it does, it doesn't seem to do anything on my board.....

Maybe this...

Quote:
Originally Posted by Snake View Post
Actually this mod is designed to work in posts & profiles only so I don't think it's been designed to work in memberlist too.

Working fine with 3.6.4 on my board as well
Reply With Quote
  #180  
Old 04-18-2007, 12:20 PM
voter's Avatar
voter voter is offline
 
Join Date: Dec 2006
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Because of 3.6.x somehow don't like it and don'T want to import

I tried to do by hand going into AdminCP->Plugins & Products->Add New Plugin

Write as a title Default Avatar
Choose for Hook Location postbit_display_complete
Copy the code which is inside from <phpcode ><![CDATA[ ....CODE.... ] ]></ phpcode>

And second one as Default Avatar member.php
Hook Memeber_complete
Copied the second code that is inside <phpcode ><![CDATA[ ....CODE.... ] ]></ phpcode>


Working....
Reply With Quote
  #181  
Old 04-18-2007, 01:38 PM
voter's Avatar
voter voter is offline
 
Join Date: Dec 2006
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I extend the hack to Member Lists, combined with a Random Avatar suggestion from Michael Morris https://vborg.vbsupport.ru/showthread.php?t=95870

Now all members in memberlist shown with avatars, randomly choosen from a given folder /images/avatars/xx.gif.

Where xx is a number from 1 to 50, which means, you need to have gif pictures in that folder with a name using a number.

Again AdminCP->Plugins & Products->Add New Plugin

Write as a title Default Avatar memberlist

Choose for Hook Location Memberlist_bit

Give PHP code

Quote:
if (!$avatarurl)
{
$randomavatar = rand(1,50);
$avatarurl = "/images/avatars/$randomavatar.gif";
}
$show['avatar'] = true;
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 07:36 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.05400 seconds
  • Memory Usage 2,304KB
  • 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
  • (4)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
  • (1)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