Advertisement:

Author Topic: Adk Avatar User State  (Read 9581 times)

Adk-Team

  • Guest
Adk Avatar User State
« on: October 15, 2011, 09:57:04 AM »
Link to Mod

Adk 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.x

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


« Last Edit: February 18, 2013, 07:27:57 PM by Adk-Team »

Offline Manu.G

  • Full Member
  • ***
  • Posts: 448
  • Gender: Female
  • Angel by Day, Devil by Night
    • http://facebook.com/manuela.guth on Facebook
    • Official Arsenie Forum
Re: Adk Avatar User State
« Reply #1 on: November 06, 2011, 11:52:11 AM »
I installed your mod and it's really nice, but I getting tons of entries in the error log :(


Quote
8: Undefined index: Off

And I think it has to do with this code:


Code: [Select]


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.5
SimplePortal 2.3.5
and tons of mods :D

Adk-Team

  • Guest
Re: Adk Avatar User State
« Reply #2 on: November 06, 2011, 09:12:53 PM »
Url?
Version smf?
Theme?

More details please ;)

Offline Manu.G

  • Full Member
  • ***
  • Posts: 448
  • Gender: Female
  • Angel by Day, Devil by Night
    • http://facebook.com/manuela.guth on Facebook
    • Official Arsenie Forum
Re: Adk Avatar User State
« Reply #3 on: November 07, 2011, 02:03:33 AM »
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 :-??
« Last Edit: November 07, 2011, 03:52:43 AM by Manu.G »
Version SMF 2.0.5
SimplePortal 2.3.5
and tons of mods :D

Adk-Team

  • Guest
Re: Adk Avatar User State
« Reply #4 on: November 07, 2011, 10:46:54 AM »
I see the mod working good.

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

Offline Manu.G

  • Full Member
  • ***
  • Posts: 448
  • Gender: Female
  • Angel by Day, Devil by Night
    • http://facebook.com/manuela.guth on Facebook
    • Official Arsenie Forum
Re: Adk Avatar User State
« Reply #5 on: November 07, 2011, 01:31:00 PM »
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.5
SimplePortal 2.3.5
and tons of mods :D

Offline Manu.G

  • Full Member
  • ***
  • Posts: 448
  • Gender: Female
  • Angel by Day, Devil by Night
    • http://facebook.com/manuela.guth on Facebook
    • Official Arsenie Forum
Re: Adk Avatar User State
« Reply #6 on: November 11, 2011, 04:22:24 PM »
I won't bother, but have you found the error in my files?
Version SMF 2.0.5
SimplePortal 2.3.5
and tons of mods :D

Adk-Team

  • Guest
Re: Adk Avatar User State
« Reply #7 on: November 11, 2011, 07:03:40 PM »
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?

Offline Manu.G

  • Full Member
  • ***
  • Posts: 448
  • Gender: Female
  • Angel by Day, Devil by Night
    • http://facebook.com/manuela.guth on Facebook
    • Official Arsenie Forum
Re: Adk Avatar User State
« Reply #8 on: November 11, 2011, 07:17:02 PM »
No, visitors can't post messages

Here is a screenshot of my error-log
Version SMF 2.0.5
SimplePortal 2.3.5
and tons of mods :D

Adk-Team

  • Guest
Re: Adk Avatar User State
« Reply #9 on: November 11, 2011, 07:37:23 PM »
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...

Offline Manu.G

  • Full Member
  • ***
  • Posts: 448
  • Gender: Female
  • Angel by Day, Devil by Night
    • http://facebook.com/manuela.guth on Facebook
    • Official Arsenie Forum
Re: Adk Avatar User State
« Reply #10 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? :(
Version SMF 2.0.5
SimplePortal 2.3.5
and tons of mods :D

Offline Suki

  • Developer
  • SMF Super Hero
  • *
  • Posts: 12,329
  • Kaizoku Jotei
    • Free SMF mods
Re: Adk Avatar User State
« Reply #11 on: November 11, 2011, 07:58: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.
Hand in glove
We can go wherever we please
And everything depends upon
How near you stand to me

And if the people stare
Then the people stare
Oh, I really don't know and I really don't care

Adk-Team

  • Guest
Re: Adk Avatar User State
« Reply #12 on: November 11, 2011, 07:59:19 PM »
I'm out of time today, but tomorrow I tell you how.
Will not have to delete the messages.

Regards

Offline Manu.G

  • Full Member
  • ***
  • Posts: 448
  • Gender: Female
  • Angel by Day, Devil by Night
    • http://facebook.com/manuela.guth on Facebook
    • Official Arsenie Forum
Re: Adk Avatar User State
« Reply #13 on: November 11, 2011, 08:00:44 PM »
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 ;)
« Last Edit: November 12, 2011, 11:47:11 AM by Manu.G »
Version SMF 2.0.5
SimplePortal 2.3.5
and tons of mods :D

Adk-Team

  • Guest
Re: Adk Avatar User State
« Reply #14 on: November 21, 2011, 04:09:06 PM »
It seemed to me, because for several days to test the mod again and again and never gave me the error.

Regards

Offline Abhay Trivedi

  • Semi-Newbie
  • *
  • Posts: 16
  • Gender: Male
  • Windows & WP7 Forum. ;)
    • scubix on Facebook
    • @scubixblog on Twitter
    • Scubix
Re: Adk Avatar User State
« Reply #15 on: December 06, 2011, 01:38:43 AM »
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

  • Guest
Re: Adk Avatar User State
« Reply #16 on: December 06, 2011, 04:25:45 AM »
Url please

Adk-Team

  • Guest
Re: Adk Avatar User State
« Reply #17 on: January 20, 2012, 01:45:43 PM »
Updated to 2.0.2

Offline City Builder

  • Jr. Member
  • **
  • Posts: 281
Re: Adk Avatar User State
« Reply #18 on: January 22, 2012, 11:51:48 AM »
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

  • Guest
Re: Adk Avatar User State
« Reply #19 on: January 22, 2012, 12:03:15 PM »
url please