The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Icon to show users offline?

View previous topic View next topic Go down

In progress Icon to show users offline?

Post by Hagoromo Otsutsuki on March 12th 2015, 6:14 pm

I always wanted to look at a feature where it shows the user is offline in a thread on a forum instead of people looking on the friend list is this possible?

Hagoromo Otsutsuki
Forumember

Male Posts : 528
Reputation : 21
Language : English
Location : Heaven

http://naruto-omniverse.forumotion.com/

Back to top Go down

In progress Re: Icon to show users offline?

Post by Hagoromo Otsutsuki on March 13th 2015, 2:31 pm

Bump?

Hagoromo Otsutsuki
Forumember

Male Posts : 528
Reputation : 21
Language : English
Location : Heaven

http://naruto-omniverse.forumotion.com/

Back to top Go down

In progress Re: Icon to show users offline?

Post by brandon_g on March 13th 2015, 2:45 pm

Yes it is possible, there should be a default one already there. If not try looking ACP-->Users and Usergroups--> Profile and see if there is one for online.

You can also check if there is an image/icon for this on your forum in ACP (Advanced mode)-->Display-->Pics Management look for an 'online' image in one of the tabs. If there is not one then you simply need to find an image you want to use and copy and paste the url to it in the space (if you have one on your computer then you can upload it and copy and paste the image url you get).

Hope this helps,
-Brandon


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5359
Reputation : 489
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

In progress Re: Icon to show users offline?

Post by Ange Tuteur on March 13th 2015, 7:02 pm

Hello @Hagoromo Otsutsuki,

Could you provide a link to your forum ?

Thanks

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Icon to show users offline?

Post by Hagoromo Otsutsuki on March 13th 2015, 7:27 pm

@Ange Tuteur wrote:Hello @Hagoromo Otsutsuki,

Could you provide a link to your forum ?

Thanks
Fictional Battle Omniverse.

Hagoromo Otsutsuki
Forumember

Male Posts : 528
Reputation : 21
Language : English
Location : Heaven

http://naruto-omniverse.forumotion.com/

Back to top Go down

In progress Re: Icon to show users offline?

Post by Ange Tuteur on March 13th 2015, 7:39 pm

Do you have an online icone in pics management ?
AP > Display > Pics management > Avance > Buttons > Online

On phpbb2, if you have an icon for it, it'll show somewhere under the post next to the arrows :

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Icon to show users offline?

Post by Hagoromo Otsutsuki on March 13th 2015, 7:45 pm

So I can't have a image section for Offline?

Hagoromo Otsutsuki
Forumember

Male Posts : 528
Reputation : 21
Language : English
Location : Heaven

http://naruto-omniverse.forumotion.com/

Back to top Go down

In progress Re: Icon to show users offline?

Post by APE on March 13th 2015, 7:47 pm

You mean you want a offline icon to show when a member is offline and it to change when the member is online ?





APE
Manager
Manager

Male Posts : 8648
Reputation : 762
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

In progress Re: Icon to show users offline?

Post by Ange Tuteur on March 13th 2015, 8:33 pm

By default there's no offline icon, but we can add one with a bit of JavaScript. Go to modules > javascript codes management and create a new script

Placement : In the topics
Code:
$(function() {
  var offline = 'http://illiweb.com/fa/subsilver/icon_delete.gif';
 
  for (var p = $('.messaging.gensmall'), i = 0, j = p.length; i<j; i++) {
    for (var img = p[i].getElementsByTagName('IMG'), k = 0, l = img.length, match; k<l; k++) {
      /i_icon_online/.test(img[k].className) && (match = true);
      if (k == l - 1 && !match) {
        var off = document.createElement('IMG');
        off.src = offline;
        off.title = 'Offline';
        p[i].getElementsByTagName('TD')[0].appendChild(off);
      }
    }
  }
});

To change the offline icon, replace http://illiweb.com/fa/subsilver/icon_delete.gif by the URL of your icon.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum