News:

Wondering if this will always be free?  See why free is better.

Main Menu

[SMF 2.0.8] Online/offline 'dot' in avatar?

Started by Rain Forest, December 15, 2014, 04:26:17 PM

Previous topic - Next topic

Rain Forest

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

Burke ♞ Knight

Quote from: .Elephant on December 15, 2014, 04:26:17 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?

Hristo

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.

Mstcool

^ She moved all her mods to her github account (or something like that), so it might still be there. :P

Hristo


Deaks

~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

Suki

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.

Rain Forest

Quote from: ♞ Burke Knight ♞ on December 15, 2014, 04:33:46 PM
Quote from: .Elephant on December 15, 2014, 04:26:17 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 :)

Antes

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;}

Advertisement: