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
  #182  
Old 05-27-2007, 10:42 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed...

Seems to work fine so far on v3.6.7PL1 ... :up:

Thanks...

Regards,
Badger
Reply With Quote
  #183  
Old 06-15-2007, 06:09 AM
citroenar citroenar is offline
 
Join Date: Jan 2007
Location: Serbia
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great with v3.6.7PL1.

Installed
Reply With Quote
  #184  
Old 06-23-2007, 07:37 PM
elitemerlin elitemerlin is offline
 
Join Date: Mar 2007
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great, except for one thing, no avatars show up on Memberlist.php - is there a quick edit for this?
Reply With Quote
  #185  
Old 07-06-2007, 11:18 PM
Whiteyez Whiteyez is offline
 
Join Date: Jun 2007
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed! Works great in v3.6.7PL1..

Thanks..
Reply With Quote
  #186  
Old 07-24-2007, 09:43 PM
imk imk is offline
 
Join Date: Dec 2006
Posts: 809
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry but how do i uninstall this?
Reply With Quote
  #187  
Old 07-26-2007, 04:39 PM
Ultima07 Ultima07 is offline
 
Join Date: Jul 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HI I hate to see everyone having the same avatar, so i suggest a mod in the apropriate section so that each new registered member will have an apropriate COUNTRY avatar according to the COUNTRY they choose from the registeration. Tell me if this is possible.
Reply With Quote
  #188  
Old 07-27-2007, 08:34 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ultima07 View Post
HI I hate to see everyone having the same avatar, so i suggest a mod in the apropriate section so that each new registered member will have an apropriate COUNTRY avatar according to the COUNTRY they choose from the registeration. Tell me if this is possible.
If you want to write the code to do that, sure its possible
Reply With Quote
  #189  
Old 07-27-2007, 01:02 PM
Ultima07 Ultima07 is offline
 
Join Date: Jul 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you create that mod Zachery?
Reply With Quote
  #190  
Old 08-25-2007, 12:28 AM
Michael2's Avatar
Michael2 Michael2 is offline
 
Join Date: Nov 2001
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I use 100x100 avatars so I slightly modified one posted earlier. Just posting it in case anyone else wants to use it.
Reply With Quote
  #191  
Old 08-31-2007, 06:09 PM
Arminios Arminios is offline
 
Join Date: Apr 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ultima07 View Post
HI I hate to see everyone having the same avatar, so i suggest a mod in the apropriate section so that each new registered member will have an apropriate COUNTRY avatar according to the COUNTRY they choose from the registeration. Tell me if this is possible.
The code for it is already written. However, I found it easier without using this plugin.

https://vborg.vbsupport.ru/showthrea...highlight=menu <-- Where I found the code.

However, this is what you do:

Go into the postbit_legacy template and find the following code
Code:
<if condition="$show['avatar']">
				<div class="smallfont">
					&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
				</div>
			</if>

Change it to
Code:
<if condition="$show['avatar']">
				<div class="smallfont">
					&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
				</div>
			<else />
<br />
<if condition="$post[fieldX]"><img src="images/YOURPATH/$post[fieldX].gif" alt="$post[fieldX]"></if>

			        </if>
You will need to change the "fieldX" to the User Profile Field that have your country list. Then you change the url to the location where you got your avatars saved.

It's important they are called the same thing as the inputs you have in the User Profile fields.

F.ex if Denmark, Norway and Sweden are in your list you need to have avatar files called Denmark.gif, Norway.gif and Sweden.gif.

If it's .png or .jpg files, even something else, you need to change ".gif" to that in the code.

Just PM me if you need more assistance with it.

However, that will only show the avatar in the postbit field, I'm trying to find out how to change it in the profile and memberlist also, I'm just experimenting my way through hacks.


edit:
I would be delighted if anyone could tell me how to modify my memberlsit by doing what I did in my postbit. https://vborg.vbsupport.ru/showthrea...49#post1329549

I tried a little, but it didn't work out, and I'm getting a little tired after a long workday

The code I was trying to change was in the memberlist_resultbit
Code:
	<if condition="$show['avatarcol'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['avatar']"><img src="$avatarurl" border="0" $avwidth $avheight alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" hspace="4" vspace="4" /><else />&nbsp;</if></td></if>
I tried replacing "&nbsp;" with my code, but think that was wrong since nothing came up.
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 03: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.05207 seconds
  • Memory Usage 2,309KB
  • 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_code
  • (2)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