PDA

View Full Version : Mini Mods - No Avatar 0.1


webmastersitesi
01-17-2010, 10:00 PM
İnstall
Noavatar.xml -->Import Plugin

İnstall Step 2
Postbit or Postbit_Legacy Open and Find;
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" /></div>
</a>

Add Bellow or Under:D;
<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 (http://mexicohoteles.org)

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
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
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
works on 4.0.2

find in postbit_legacy
<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
<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 (https://vborg.vbsupport.ru/showthread.php?t=152931) is attached

note: importing-> click "rebuild all template modifycations"
(works in 4.0.2 too ;-)

TalkVirginia
03-06-2010, 10:28 AM
works on 4.0.2

find in postbit_legacy
<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
<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 (https://vborg.vbsupport.ru/showthread.php?t=152931) 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
title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />

that can i find in my template

i have it colored in my post (https://vborg.vbsupport.ru/showpost.php?p=1998354&postcount=11)

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:


<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:


<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
works on 4.0.2

find in postbit_legacy
<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
<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 (https://vborg.vbsupport.ru/showthread.php?t=152931) 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!