vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - No Avatar 0.1 (https://vborg.vbsupport.ru/showthread.php?t=233451)

webmastersitesi 01-17-2010 10:00 PM

No Avatar 0.1
 
1 Attachment(s)
İ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:D;
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> 


RL714 01-19-2010 07:06 AM

its default avatar, thanks

Dr.osamA 01-20-2010 12:54 AM

thanxxx

installed
________
Hotels In Mexico

Videx 01-22-2010 03:14 AM

I don't get it. What's it do, and what need does it fulfill?

mandingo 01-22-2010 03:19 AM

Quote:

Originally Posted by Videx (Post 1963048)
I don't get it. What's it do, and what need does it fulfill?

It puts a default avatar if user hasn't uploaded or chosen one.

sematopdemir 01-22-2010 04:59 AM

installed

aaronrand 01-25-2010 04:28 PM

how do i know which to post in, postbit or postbit_legacy?
i put in postbit, but nothing displayed.

ascott 01-25-2010 06:27 PM

I'm getting this error when I try to upload the plugin

XML Error: EntityRef: expecting ';' at Line 486

ascott 01-25-2010 06:32 PM

Working now I uploaded it as a product :D

TalkVirginia 03-05-2010 10:53 PM

1 Attachment(s)
I tried this on both postbit and postbit_legacy. It shows up on Postbit but the user info slides down below the avatar. Below are examples:

Is there any way to make the user info stay to the right of the avatar?

derrene 03-06-2010 10:15 AM

1 Attachment(s)
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 ;-)

TalkVirginia 03-06-2010 10:28 AM

Quote:

Originally Posted by derrene (Post 1998354)
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.

derrene 03-06-2010 03:37 PM

Quote:

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

i have it colored in my post

TalkVirginia 03-31-2010 04:55 AM

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>


YankForum 03-31-2010 01:09 PM

installed , tnx for sharing

CharlieDelta 05-03-2010 12:51 AM

Installed! Works great!

FReeSTER 06-23-2010 06:36 AM

Quote:

Originally Posted by derrene (Post 1998354)
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 :D

lubbie 08-31-2010 02:21 PM

Thanks ;) Installed
How can i get this also working in the widgets?
There is still the default pic shown (images/misc/unknown.gif)

COL NIL SATIS 08-31-2010 02:25 PM

tagged

tech4c 09-22-2010 08:06 AM

thanks

doubleclick 05-11-2012 09:04 AM

Nice idea. Thanks!


All times are GMT. The time now is 05:23 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01154 seconds
  • Memory Usage 1,773KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete