News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Avatar User State

Started by ^HeRaCLeS^, October 15, 2011, 09:57:04 AM

Previous topic - Next topic

^HeRaCLeS^

Link to the mod

Avatar User State


Autor/Author:
     ^HeRaCLeS^
    
Características:
     Este mod nos pondra un marco en los avatares diferenciando su estado (Online/Offline)
     Opciones:
          Activar/Desactivar

     Las opciones de este mod se encuentran en: Centro de Administración » Modificaciones

     Copyright 2011 by SMF Personal @ visita www.smfpersonal.net para soporte oficial.

     Si tu quieres ayudarnos, por favor visita nuestra seccion de contribuciones: Contribuir


Features:
     This mod will put us a framework in the avatares for differentiating you status (Online/Offline)
     Options:
          Enable/Disable

     The options of this mod are in: Administration Center » Modification Settings

     Copyright 2011 by SMF Personal @ visit www.smfpersonal.net for official support.

     If you want help, please visit our contributions section: Contribute



Idiomas/Languages:
     o English
     o Spanish_es
     o Spanish_es-utf8
     o Spanish_latin
     o Spanish_latin-utf8

Compatibilidad/Compatibility:
     o SMF 2.0*

Desarrollador/Developer:
     Adk-Team

Notas/Notes:
     El mod utiliza css3, puede que no se vea correctamente en ie6, ie7, ie8.
     El mod usa un avatar default para los miembros que no tienen uno. Solo en el display.
     This mod using css3, It will not be compatible with ie6, ie7, ie8.
     The mod uses a default avatar for members without one. Only in Display
^HeRaCLeS^
*¤×• Ni te molestes en enviarme un Mp porque el soporte lo doy solo por el foro •×¤*


SMFPersonal

Manu.G

I installed your mod and it's really nice, but I getting tons of entries in the error log :(


Quote8: Undefined index: Off

And I think it has to do with this code:





if (!empty($modSettings['Adk_Aus'])) {
if (!empty($message['member']['online']['is_online'])) { $Estado = 'On'; }
elseif (empty($message['member']['online']['is_online'])) { $Estado = 'Off'; }
}
else {
$Estado = '';



What I can do to prevent entires in the error-log?
Version SMF 2.0.8
SimplePortal 2.3.5

Adk-Team

Url?
Version smf?
Theme?

More details please ;)

Manu.G

#3
Url: http://forum.arsenie.net
SMF Version: 2.0.1
Theme: Based on the Core but modified by me

I think I've installed to much modifications, but we love them :D


As far as I can see, only guests causing this problem :-??
Version SMF 2.0.8
SimplePortal 2.3.5

Adk-Team

I see the mod working good.

You can display a link where the error?
Attach files "display.template.php and load.php"

Manu.G

The error seems to be in the display.template.php on line 307 (error-log)
I attached my display.template.php and load.php


Yes, the mod is working good :D I love it :D
Version SMF 2.0.8
SimplePortal 2.3.5

Manu.G

I won't bother, but have you found the error in my files?
Version SMF 2.0.8
SimplePortal 2.3.5

Adk-Team

Your files are perfect and your site will look good.
I do not understand where the error.

Could leave a screenshot of the error log?

You have enabled the visitors to post messages?

Manu.G

No, visitors can't post messages

Here is a screenshot of my error-log
Version SMF 2.0.8
SimplePortal 2.3.5

Adk-Team

Apparently the error comes from users deleted.

For example:
topic: http://forum.arsenie.net/index.php?topic=5140.0
user: Arsenie the 1

topic: http://forum.arsenie.net/index.php?topic=3564.0
user: emese

topic: http://forum.arsenie.net/index.php?topic=3447.0
user: Love-Arsy

etc...

It could erase those users or assign an avatar to avoid the error...

Manu.G

So I've to delete all those postings? How can I add an avatar for deleted members? :(
Version SMF 2.0.8
SimplePortal 2.3.5

Suki

Quote from: Manu.G on November 11, 2011, 07:52:58 PM
So I've to delete all those postings? How can I add an avatar for deleted members? :(

You don't need to delete all those post.

The mod author must check if the user id its different from 0, being 0 the id of a guest in a guest post, in that case the "state" should be off or shouldn't happen at all.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Adk-Team

I'm out of time today, but tomorrow I tell you how.
Will not have to delete the messages.

Regards

Manu.G

#13
That's ok :)
Thanks in advance for your help :D


The problem seems to be solved.
I installed another "Default Avatar" modification and all entries in the error-log seems to be history,
because there aren't any entries since hours.
It wasn't your modification, it was the default-avatar mod I had installed ;)
Version SMF 2.0.8
SimplePortal 2.3.5

Adk-Team

It seemed to me, because for several days to test the mod again and again and never gave me the error.

Regards

Abhay Trivedi

dis mod is nt working for me!!
no errors..it stays as it waz bfore nd m getting da same online/offline green button near my posts...plz hlp me asap...
theme is twitter colour
smf v2.0.1
nd many mods..
Scubix Tech Forum [nofollow] for Windows Phone 7 , Windows 8 and Windows for PC Stuff.

Adk-Team


Adk-Team


City Builder

Not working with our 2.0.2 installation using the Minecraft theme.  I chose the two check boxes for our minecraft them when installing but there is no highlight around the users avatars.  Could it be that it doesn't work in the Chrome browser?

Adk-Team


Advertisement: