Advertisement:

Author Topic: [SMF 2.0.8] Online/offline 'dot' in avatar?  (Read 2229 times)

Offline Rain Forest

  • Full Member
  • ***
  • Posts: 657
  • 𝒢𝒾𝓇𝒶𝒻𝒻𝑒
    • Love Troops
[SMF 2.0.8] Online/offline 'dot' in avatar?
« on: December 15, 2014, 04:26:17 PM »
I'd like to know the changes I have to make to see an Online/offline dot in the avatar in topic view.

E.g. You can see from here.


Also, I found out that @{dhayzon} is using it on his SMF forums Light white bright Theme
Link to his forums click

If anyone could help me out, please :)

Offline Burke ♞ Knight

  • SMF Hero
  • ******
  • Posts: 3,534
Re: [SMF 2.0.8] Online/offline 'dot' in avatar?
« Reply #1 on: December 15, 2014, 04:33:46 PM »
Also, I found out that @{dhayzon} is using it on his SMF forums Light white bright Theme
Link to his forums click

If anyone could help me out, please :)

Well, if you found someone that has it, why not ask them?

Offline Hristo

  • Jr. Member
  • **
  • Posts: 319
  • Gender: Male
Re: [SMF 2.0.8] Online/offline 'dot' in avatar?
« Reply #2 on: December 15, 2014, 05:32:32 PM »
Reminds me of Suki's On / Off Avatar Frame mod http://www.simplemachines.org/community/index.php?topic=284589.0 but apparently it is no longer available.

Offline Mstcool

  • Sr. Member
  • ****
  • Posts: 911
Re: [SMF 2.0.8] Online/offline 'dot' in avatar?
« Reply #3 on: December 16, 2014, 03:14:28 AM »
^ She moved all her mods to her github account (or something like that), so it might still be there. :P

Offline Hristo

  • Jr. Member
  • **
  • Posts: 319
  • Gender: Male
Re: [SMF 2.0.8] Online/offline 'dot' in avatar?
« Reply #4 on: December 16, 2014, 04:36:09 AM »
Yes, but I could not find it there too unless I miss something.
https://github.com/MissAllSunday?tab=repositories

Offline Deaks

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 22,185
  • Gender: Male
    • pouvik on GitHub
Re: [SMF 2.0.8] Online/offline 'dot' in avatar?
« Reply #5 on: December 17, 2014, 08:31:30 PM »

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,584
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: [SMF 2.0.8] Online/offline 'dot' in avatar?
« Reply #6 on: December 17, 2014, 08:40:45 PM »
http://missallsunday.com/Downloads/OnOffAvatar.zip

It may or may not be what you are looking for.  Adding a dot on people's avatars depending on their online status should be easy enough to do, a source edit to inject some custom css code.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.

Offline Rain Forest

  • Full Member
  • ***
  • Posts: 657
  • 𝒢𝒾𝓇𝒶𝒻𝒻𝑒
    • Love Troops
Re: [SMF 2.0.8] Online/offline 'dot' in avatar?
« Reply #7 on: December 25, 2014, 02:23:55 PM »
Also, I found out that @{dhayzon} is using it on his SMF forums Light white bright Theme
Link to his forums click

If anyone could help me out, please :)

Well, if you found someone that has it, why not ask them?

I did but he refuses to give me the answer :)

Offline Antes

  • Evil Black Cat
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,976
  • Gender: Male
  • Black cat rulz!
    • XinYenFon on GitHub
    • merta on LinkedIn
    • @XinYenFon on Twitter
    • WoWSnips
Re: [SMF 2.0.8] Online/offline 'dot' in avatar?
« Reply #8 on: December 25, 2014, 07:00:28 PM »
Open Display.template.php

Code: (Find) [Select]
', $message['member']['avatar']['image'], '
Code: (Add Before) [Select]
', $modSettings['onlineEnable'] ? '<img src="'. $message['member']['online']['image_href'].'" alt="'. $message['member']['online']['text'].'" class="dot_avatar" />' : '','
Open Index.css
Code: (Add to End) [Select]
.dot_avatar {position: absolute;}
Open for PAID works # Support Me

Current Project(s): [ WoWSnips ]
Past Project(s): [ ezPortal ] # [ Lunarfall ] # [ RDD (HTML5) ]