Avatar Online/Offline

Started by M-DVD, April 13, 2009, 05:28:13 AM

Previous topic - Next topic

M-DVD

Link to Mod




MOD Avatar Online/Offline v1.0
=====================






  • Autor:
M-DVD
  • Version:
1.0
  • Release:
08th April 2009
  • Languages:

  • Compatible With:
SMF 1.1.1 - 1.1.8
SMF 2 RC1




Comment this Mod
My MODs
Images
Help support my MODs

Features:

  • With this MOD the Avatars users's Offline are displayed transparent.

  • This MOD work in Display Avatars, Profile Avatars and Avatar in PMs :)

  • You can set the level Transparency or disable this feature:
    SMF 1.1.X: Admin > Themes and Layout > Reset Options
    SMF 2: Admin > Configuration > Themes and Layout > Member Options

    You should set the transparency for enable the MOD

  • Your users can set the level transparency or disable this feature from his profile.
    Profile > Modify Profile > Look and Layout Preferences

==========================

Languages (normal & utf-8)


$txt['display_transparencyoffline'] = 'Set Transparency in Avatar Offline <i>(0 for disable, 100 max)</i>';

I welcome new translations here

==========================

Características:

  • Con este MOD los Avatares de los Usuarios Offline serán mostrados transparentes.

  • Este MOD funciona en los Avatares del Display, del Perfil y Avatares en PMs :)

  • Puedes fijar el nivel de transparencia o desactivar esta característica:
    SMF 1.1.X: Administración > Temas y Diseño > Reinicializar Opciones
    SMF 2: Administración > Configuración del Foro > Temas y Diseño > Opciones de Usuario

    Debes fijar la transparencia para activar el MOD

  • Tus usuarios también pueden fijar el nivel de transparencia o desactivarla, desde su perfil.

Fin.

edi67

CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Marcus Forsberg


TheListener

#3
Have had a look at this mod.

My question is are two avatars supposed to show on profiles at posts?

Sudhakar Arjunan

Its really a good though author.

Hi TheListener,

Hope the uploaded image will be transparent while online and dull less display transparency when offline.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

islam2hamy

nice

Arabic-utf8 :


$txt['display_transparencyoffline'] = 'إجعل الصورة الشخصية الخاصة بالعضو شفافة عندما يكون غير متصل <i>(0 للتعطيل, 100 الحد الأقصى)</i>';


please before put the translation in the file be sure that the file encode is UTF-8

Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





Özgür

Really Nice M-DVD. Congrats.
Turkish Translation

$txt['display_transparencyoffline'] = 'Çevrimdışı olanların avatar sönüklüğünü ayarla <i>(0 kapatır maksimum 100 seçebilirsiniz)</i>';

So Long

blanix

#7
i have the options only in profile !?

smf 1.1.8
My SMF: 1.1.9

EgAr


Ravac

Serbian_latin translation

$txt['display_transparencyoffline'] = 'Postavite transparentnost (providnost) za odsutan Avatar <i>(0 da isključite, 100 maksimalno)</i>';

Serbian_cyrilic translation

$txt['display_transparencyoffline'] = 'Поставите транспарентност (провидност) за одсутан Аватар <i>(0 да искључите, 100 максимално)</i>';

Alpay


M-DVD

Sorry for not responding sooner.

Quote from: edi67 on April 13, 2009, 06:03:32 AM
nice

Quote from: Nas on April 13, 2009, 06:05:21 AM
Nice idea! Congrats!

Quote from: Alpay on April 18, 2009, 05:08:31 AM
Very Good mod.

Thanks for your coments :D

--

Quote from: EgAr on April 14, 2009, 09:35:38 PM
Exelente como siempre M-DVD

Gracias :D

--

Quote from: TheListener on April 13, 2009, 06:22:58 AM
Have had a look at this mod.

My question is are two avatars supposed to show on profiles at posts?

Quote from: A.SK on April 13, 2009, 07:09:19 AM
Its really a good though author.

Hi TheListener,

Hope the uploaded image will be transparent while online and dull less display transparency when offline.

Thanks :D, and yes.

Is the same avatar.

If the user is online, the avatar is displayed normal.
If the user is offline, the avartar is displayed transparent.

Important: You should enable the transparency, set the level transparency in the: Themes and Layout / Setting

--

Quote from: blanix on April 14, 2009, 05:28:16 PM
i have the options only in profile !?

smf 1.1.8

The administrator in:
SMF 1.1.X: Admin > Themes and Layout > Reset Options
SMF 2: Admin > Configuration > Themes and Layout > Member Options

Your users in:
Profile > Modify Profile > Look and Layout Preferences

You don't have the settings in Admin CP?

--

Quote from: islam2hamy on April 13, 2009, 02:08:24 PM
nice

Arabic-utf8 :


$txt['display_transparencyoffline'] = 'إجعل الصورة الشخصية الخاصة بالعضو شفافة عندما يكون غير متصل <i>(0 للتعطيل, 100 الحد الأقصى)</i>';


please before put the translation in the file be sure that the file encode is UTF-8
Quote from: Özgür´ on April 14, 2009, 03:09:26 PM
Really Nice M-DVD. Congrats.
Turkish Translation

$txt['display_transparencyoffline'] = 'Çevrimdışı olanların avatar sönüklüğünü ayarla <i>(0 kapatır maksimum 100 seçebilirsiniz)</i>';


Quote from: Ravac on April 15, 2009, 03:34:16 PM
Serbian_latin translation

$txt['display_transparencyoffline'] = 'Postavite transparentnost (providnost) za odsutan Avatar <i>(0 da isključite, 100 maksimalno)</i>';

Serbian_cyrilic translation

$txt['display_transparencyoffline'] = 'Поставите транспарентност (провидност) за одсутан Аватар <i>(0 да искључите, 100 максимално)</i>';

Thanks for translate :D

Rehash D Internet

Hi,

I'm getting no options for this after installing it in Theme Settings>Reset Options.

TheListener

How many avatars are supposed to show once the mod has been installed?

In a members post we see two avatars. Is this right?

blanix

Quote from: blanix on April 14, 2009, 05:28:16 PM
i have the options only in profile !?

smf 1.1.8

Quote from: M-DVDThe administrator in:
SMF 1.1.X: Admin > Themes and Layout > Reset Options
SMF 2: Admin > Configuration > Themes and Layout > Member Options

Your users in:
Profile > Modify Profile > Look and Layout Preferences

You don't have the settings in Admin CP?

--

Yes, i have no settings in admin-cp on 1.1.8 ..


cya
My SMF: 1.1.9

M-DVD

Ok, check if the changes have been made successfully in the file:

Themes/yourtheme(or default)/Settings.template.php

Or attach and I check.


Rehash D Internet

There are no alterations in my settings.template. What changes need I make?

tckbm

$txt['display_transparencyoffline'] = 'Set Transparency in Avatar Offline
<i>(0 for disable, 100 max)</i>';

In Portuguese-BR OR brazilian OR pt-br

$txt['display_transparencyoffline'] = 'Usar transparência em Avatar Offline <i>(0 para desativar, 100 máximo)</i>';


I can translate all of your mods, send me an MP if u want ...

Regards!

blanix

i have the settingscode in settings.template:

array(
'id' => 'display_transparencyoffline',
'type' => 'integer',
'label' => $txt['display_transparencyoffline'],
'default' => true,
),


.. but no settings in admin-cp.
My SMF: 1.1.9

M-DVD

Quote from: TheListener on April 21, 2009, 08:52:23 AM
How many avatars are supposed to show once the mod has been installed?

In a members post we see two avatars. Is this right?

errr, no. One avatar. The same avatar.

If you're offline, your avatar it will show up transparent.

You can check the Sample Images.

--

Quote from: tckbm on April 22, 2009, 10:23:01 AM
$txt['display_transparencyoffline'] = 'Set Transparency in Avatar Offline
<i>(0 for disable, 100 max)</i>';

In Portuguese-BR OR brazilian OR pt-br

$txt['display_transparencyoffline'] = 'Usar transparência em Avatar Offline <i>(0 para desativar, 100 máximo)</i>';


I can translate all of your mods, send me an MP if u want ...

Regards!

Thanks for translate :), today or tomorrow I will send the MP

Also, you can see the list of my MODs here

--

Quote from: Rehash D Internet on April 22, 2009, 12:19:34 AM
There are no alterations in my settings.template. What changes need I make?

Quote from: blanix on April 22, 2009, 09:46:35 PM
i have the settingscode in settings.template:

array(
'id' => 'display_transparencyoffline',
'type' => 'integer',
'label' => $txt['display_transparencyoffline'],
'default' => true,
),


.. but no settings in admin-cp.

I have one dude.

Have you done click here?

Rehash D Internet

In profile.php where do I edit? The parse says before '</table>' but there are countless.

DaRKeN_58

Que raro tios, a mi no me funciona y esta todo bien instalado y revisado pero los avatares siguen teniendo color.

:S:S:S
... :-X Dime de que presumes y te diré de que careces ;)...

M-DVD

Quote from: Rehash D Internet on April 28, 2009, 11:39:48 AM
In profile.php where do I edit? The parse says before '</table>' but there are countless.

:P  Really said: '
[tab][tab][tab][tab][tab][tab][tab][tab][tab]</table>'

You should search, something like this:

                                 </td>
                              </tr>
                              </table>
                        </td>
                     </tr>';

   // Show the standard "Save Settings" profile button.
   template_profile_save();


Quote from: DaRKeN_58 on April 30, 2009, 07:59:07 PM
Que raro tios, a mi no me funciona y esta todo bien instalado y revisado pero los avatares siguen teniendo color.

:S:S:S

¿Lo has activado? Debes fijar la transparencia, por defecto está en cero.
¿Donde activarlo?, revisa estas imágenes adjuntas.

http://www.simplemachines.org/community/index.php?topic=304517.msg2031124#msg2031124

Have you activated? You must set the transparency, by default is zero.
Where do I do it?, Check the attached images.

http://www.simplemachines.org/community/index.php?topic=304517.msg2031124#msg2031124



DaRKeN_58

Listo, ya esta. El problema era que tenía que añadirle manualmente texto a un archivo.

Gracias a todos.
... :-X Dime de que presumes y te diré de que careces ;)...

M-DVD

Your welcome. I am glad that it worked.

No hay de que, me alegra que haya funcionado :)

ZeUsSaN

ukrainian:

$txt['display_transparencyoffline']= 'Встановлена Прозорість в Avatar Offline <i>(0 для відключення, 100 максимально)</i>';


russian:

$txt['display_transparencyoffline']= 'Установленная Прозрачность в Avatar Offline <i>(0 для отключения, 100 максимум)</i>';

M-DVD

Quote from: ZeUsSaN on May 14, 2009, 10:46:18 PM
ukrainian:

$txt['display_transparencyoffline']= 'Встановлена Прозорість в Avatar Offline <i>(0 для відключення, 100 максимально)</i>';


russian:

$txt['display_transparencyoffline']= 'Установленная Прозрачность в Avatar Offline <i>(0 для отключения, 100 максимум)</i>';


Thanks for translate. Have been uploaded :D

Tanshaydar

Does it work with 2.0 RC1.2 ?
I used to use with 1.1.10 and it was working like a charm. But now I upgraded to 2.0

chrishicks

#28
This works great unless the avatar is an animated gif. Is there a way to fix that or no?

I thought it was a Firefox problem until I logged out. Stupid oversight on my part.

EDIT:  It won't work in IE8 until I hit compatibility mode. Any idea how to fix this?

jd3t2qh36r

I don't understand !!!!!!!!!!!!!!!!

Apllicmz

Good Work
Dont forget Update Portuguese linguage


<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
//    MOD Avatar Online Offline trsnalate Candidosa2
$txt['display_transparencyoffline'] = 'Definir Transpar&ecirc;ncia no Avatar Off-line <i>(0 Para Desabilitar, 100 max)</i>';]]></add>
        </operation>
    </file>
    <file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
//    MOD Avatar Online Offline trsnalate Candidosa2
$txt['display_transparencyoffline'] = 'Definir Transpar&ecirc;ncia no Avatar Off-line <i>(0 Para Desabilitar, 100 max)</i>';]]></add>
        </operation>
    </file>
    <file name="$languagedir/Modifications.portuguese_brazilian.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
//    MOD Avatar Online Offline trsnalate Candidosa2
$txt['display_transparencyoffline'] = 'Definir Transpar&ecirc;ncia no Avatar Off-line <i>(0 Para Desabilitar, 100 max)</i>';]]></add>
        </operation>
    </file>
    <file name="$languagedir/Modifications.portuguese_brazilian-utf8.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
//    MOD Avatar Online Offline trsnalate Candidosa2
$txt['display_transparencyoffline'] = 'Definir Transpar&ecirc;ncia no Avatar Off-line <i>(0 Para Desabilitar, 100 max)</i>';]]></add>
        </operation>
    </file>



brion

I am not able to get manual install directions for this. Does anyone have a copy of the 1.1.X version?

smldmr

for RC2 you can modificate the code for Profile.template.php like this:

Find:
</ul>
<dl>


add before:


<li>
<input type="hidden" name="default_options[display_transparencyoffline]" value="0" />
<label for="display_transparencyoffline">', $txt['display_transparencyoffline'], ' <input type="text" name="default_options[display_transparencyoffline]" id="display_transparencyoffline" value="', !empty($context['member']['options']['display_transparencyoffline']) ? $context['member']['options']['display_transparencyoffline'] : '0', '" size="3" /></label>
</li>


nuva

nice mod ;D

here is the dutch translation:
<file name="$languagedir/Modifications.dutch.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
//    MOD Avatar Online Offline trsnalate
$txt['display_transparencyoffline'] = 'Stel de transparantheid voor offline leden in: <i>(0 voor uitschakelen, 100 max)</i>';]]></add>
        </operation>
    </file>
    <file name="$languagedir/Modifications.dutch-utf8.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
//    MOD Avatar Online Offline trsnalate
$txt['display_transparencyoffline'] = 'Stel de transparantheid voor offline leden in: <i>(0 voor uitschakelen, 100 max)</i>';]]></add>
        </operation>
    </file>
Alone for a while I've been searching through the dark
For traces of the love you left inside my lonely heart
To weave by picking up the pieces that remain
Melodies of life--love's lost refrain

oOo--STAR--oOo

any support for 2.0RC2

used this mod on 1.1.10.. would love an 2.0RC2 version Thanks
You can't fool a sufficiently talented fool.

http://www.uniquez-home.com
In Design Phase!

Mods I am designing,  No refresh Collapse Categories , Poll Redesign , Pure CSS Breadcrumb , Profile Statuses, Profile Views.

smldmr

Quote from: aljo1985 on February 12, 2010, 09:10:54 PM
any support for 2.0RC2

used this mod on 1.1.10.. would love an 2.0RC2 version Thanks

i'm using it on my RC2 forum. only the code for profile.template.php must be modified. Take a look at my last message:

http://www.simplemachines.org/community/index.php?topic=304517.msg2364047#msg2364047

diegolyanky

Instalé el MOD ... Luego hice las modificaciones pertinentes para mi tema ( Helios Multi ) ...

Pero, no veo dónde configurar la transparencia.

Si voy a Administración > Temas y Diseño > Reinicializar Opciones no veo ninguna opción como para configurar eso. Solo veo algo así:

Helios_Multi
Reiniciar los valores por defecto (visitante) para este tema (0 opciones con valores personalizados.)
Reinicializar las opciones actuales de todos los usuarios para este tema
Eliminar todas las opciones de los usuarios y utilizar los valores por defecto (412 usuarios usando sus propias opciones actualmente.)


Dónde y qué precisamente debo presionar para activar / modificar el nivel de transparencia de Avatares ?

Saludos Cordiales !!
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

Swer

update this mod for rc2 or rc3 please :)

FireDitto

I would like to use this on RC3. It's nifty =D
Second Pass Weyr<br />An AU Pernse RPG<br /><br />SMF 2.0.6 with SP 2.3.5

maf_avt

Any updates for 2.0 RC3?
Will be nice ))

NHWD

Instead of the transparency effect.. Can I add an image that displays whether they're online or not?

H3lioz


Advertisement: