The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Icon to show users offline?

4 posters

Go down

In progress Icon to show users offline?

Post by Beyonder 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?
Beyonder
Beyonder
Forumember

Male Posts : 726
Reputation : 29
Language : English
Location : Beyond Realm

http://fictionalomniverse.forumotion.com/

Back to top Go down

In progress Re: Icon to show users offline?

Post by Beyonder March 13th 2015, 2:31 pm

Bump?
Beyonder
Beyonder
Forumember

Male Posts : 726
Reputation : 29
Language : English
Location : Beyond Realm

http://fictionalomniverse.forumotion.com/

Back to top Go down

In progress Re: Icon to show users offline?

Post by brandon_g 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


Icon to show users offline? Brando10
Remember to mark your topic Icon to show users offline? Solved15 when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

Icon to show users offline? Scre1476
Team Leader
Review Section Rules | Request A Review | Sticker Points
brandon_g
brandon_g
Manager
Manager

Male Posts : 10113
Reputation : 923
Language : English
Location : USA

https://www.broadcastingduo.com

Back to top Go down

In progress Re: Icon to show users offline?

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

Hello @Hagoromo Otsutsuki,

Could you provide a link to your forum ?

Thanks
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Icon to show users offline?

Post by Beyonder March 13th 2015, 7:27 pm

Ange Tuteur wrote:Hello @Hagoromo Otsutsuki,

Could you provide a link to your forum ?

Thanks
Fictional Battle Omniverse.
Beyonder
Beyonder
Forumember

Male Posts : 726
Reputation : 29
Language : English
Location : Beyond Realm

http://fictionalomniverse.forumotion.com/

Back to top Go down

In progress Re: Icon to show users offline?

Post by Ange Tuteur 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 :
Icon to show users offline? Captu146
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Icon to show users offline?

Post by Beyonder March 13th 2015, 7:45 pm

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

Male Posts : 726
Reputation : 29
Language : English
Location : Beyond Realm

http://fictionalomniverse.forumotion.com/

Back to top Go down

In progress Re: Icon to show users offline?

Post by Ape 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 ?


Icon to show users offline? Left1212Icon to show users offline? Center11Icon to show users offline? Right112
Icon to show users offline? Ape_b110
Icon to show users offline? Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19452
Reputation : 2012
Language : fluent in dork / mumbojumbo & English haha

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

Back to top Go down

In progress Re: Icon to show users offline?

Post by Ange Tuteur 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://2img.net/i/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 https://2img.net/i/fa/subsilver/icon_delete.gif by the URL of your icon.
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

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