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

Reply
 
Thread Tools
No Avatar 0.1 Details »»
No Avatar 0.1
Version: 0.1, by webmastersitesi webmastersitesi is offline
Developer Last Online: Nov 2016 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.0.x Rating:
Released: 01-17-2010 Last Update: 01-17-2010 Installs: 41
DB Changes
 
No support by the author.

İnstall
Noavatar.xml -->Import Plugin

İnstall Step 2
Postbit or Postbit_Legacy Open and Find;
PHP Code:
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" /></div>
            </
a
Add Bellow or Under;
PHP Code:
<vb:else />
<
vb:if condition="$bbuserinfo[showavatars]">
<
div class="mesajgorunumu">
<
img src="{vb:raw vboptions.noavatar_url}" alt="{vb:raw post.username} Don't Avatar" border="0" />
</
div></vb:if> 

Download Now

File Type: xml noavatar.xml (1.5 KB, 258 views)

Screenshots

File Type: jpg adminnoavatar.jpg (83.8 KB, 0 views)
File Type: jpg noavatarforum.jpg (60.1 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 03-06-2010, 10:15 AM
derrene derrene is offline
 
Join Date: Nov 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works on 4.0.2

find in postbit_legacy
Code:
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
			</a>
add below
Code:
<vb:else />
<vb:if condition="$bbuserinfo[showavatars]">
<div class="mesajgorunumu">
<img src="{vb:raw vboptions.noavatar_url}" alt="{vb:raw post.username} Don't Avatar" border="0" />
</div></vb:if>

templatefile for TMS is attached

note: importing-> click "rebuild all template modifycations"
(works in 4.0.2 too ;-)
Attached Files
File Type: xml noavatar-template-file.xml (944 Bytes, 18 views)
Reply With Quote
  #13  
Old 03-06-2010, 10:28 AM
TalkVirginia's Avatar
TalkVirginia TalkVirginia is offline
 
Join Date: Oct 2008
Location: Virginia
Posts: 545
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by derrene View Post
works on 4.0.2

find in postbit_legacy
Code:
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
			</a>
add below
Code:
<vb:else />
<vb:if condition="$bbuserinfo[showavatars]">
<div class="mesajgorunumu">
<img src="{vb:raw vboptions.noavatar_url}" alt="{vb:raw post.username} Don't Avatar" border="0" />
</div></vb:if>

templatefile for TMS is attached

note: importing-> click "rebuild all template modifycations"
(works in 4.0.2 too ;-)
What is different about this code than in the first post? Looks the same to me.
Reply With Quote
  #14  
Old 03-06-2010, 03:37 PM
derrene derrene is offline
 
Join Date: Nov 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
that can i find in my template

i have it colored in my post
Reply With Quote
  #15  
Old 03-31-2010, 04:55 AM
TalkVirginia's Avatar
TalkVirginia TalkVirginia is offline
 
Join Date: Oct 2008
Location: Virginia
Posts: 545
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got this to work in the PostBit template by doing the following:

Look for the following code:

HTML Code:
		<div class="userinfo<vb:if condition="!$show['avatar']">_noavatar</vb:if>">
			<div class="contact">
				<vb:if condition="$show['avatar']">
					<a class="postuseravatarlink" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
						<vb:if condition="$post.avatarurl">
							<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
						<vb:else />
                             				<img src="{vb:stylevar imgdir_misc}/unknown.gif" />
            					</vb:if>
					</a>
Insert the following code right after the last </a> tag shown in the code above:

HTML Code:
                                   <vb:else />
<a class="postuseravatarlink" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw vboptions.noavatar_url}" alt="{vb:raw post.username} Don't Avatar" border="0" />
</a>
Reply With Quote
  #16  
Old 03-31-2010, 01:09 PM
YankForum's Avatar
YankForum YankForum is offline
 
Join Date: Mar 2010
Location: MY
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed , tnx for sharing
Reply With Quote
  #17  
Old 05-03-2010, 12:51 AM
CharlieDelta CharlieDelta is offline
 
Join Date: Apr 2010
Posts: 616
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed! Works great!
Reply With Quote
  #18  
Old 06-23-2010, 06:36 AM
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Location: Rome
Posts: 730
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by derrene View Post
works on 4.0.2

find in postbit_legacy
Code:
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
			</a>
add below
Code:
<vb:else />
<vb:if condition="$bbuserinfo[showavatars]">
<div class="mesajgorunumu">
<img src="{vb:raw vboptions.noavatar_url}" alt="{vb:raw post.username} Don't Avatar" border="0" />
</div></vb:if>

templatefile for TMS is attached

note: importing-> click "rebuild all template modifycations"
(works in 4.0.2 too ;-)
thank you this worked for me too
Reply With Quote
  #19  
Old 08-31-2010, 02:21 PM
lubbie lubbie is offline
 
Join Date: May 2010
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Installed
How can i get this also working in the widgets?
There is still the default pic shown (images/misc/unknown.gif)
Reply With Quote
  #20  
Old 08-31-2010, 02:25 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tagged
Reply With Quote
  #21  
Old 09-22-2010, 08:06 AM
tech4c tech4c is offline
 
Join Date: Jan 2009
Location: New Zealand
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
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 12:42 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.13121 seconds
  • Memory Usage 2,337KB
  • Queries Executed 26 (?)
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
  • (6)bbcode_code
  • (2)bbcode_html
  • (2)bbcode_php
  • (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
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)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
  • 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_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