Posts showing user online or offline.

Go down

Solved Posts showing user online or offline.

Post by aprilshowers0923 on January 7th 2016, 11:19 pm

Is it possible to show on posts if a user is online or offline?

April


Last edited by aprilshowers0923 on January 13th 2016, 1:24 am; edited 1 time in total
avatar
aprilshowers0923
Forumember

Posts : 153
Reputation : 6
Language : english

http://backgroundsapril.forumotion.com/

Back to top Go down

Solved Re: Posts showing user online or offline.

Post by APE on January 8th 2016, 2:18 am

@aprilshowers0923 wrote:Is it possible to show on posts if a user is online or offline?

April
Hello @aprilshowers0923
Please read the following thread
https://help.forumotion.com/t144041-online-and-offline-appearances-phpbb2-profile?highlight=offline

  Also Please remember to do a search in the forum for key words
as there is about 6 pages of this on the forum

To do a search with keywords Click the search button in the navbar and then type in a key word like Offline or Online or online and offline then press enter.

The forum will then look for the words you have typed and show a popup of the posts with that word in the title.



avatar
APE
Administrator
Administrator

Male Posts : 12964
Reputation : 1376
Language : fluent in dork / mumbojumbo & English haha

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

Back to top Go down

Solved Re: Posts showing user online or offline.

Post by aprilshowers0923 on January 8th 2016, 5:53 am

Okay I read it and followed the instructions with the codes and its not working for me.

avatar
aprilshowers0923
Forumember

Posts : 153
Reputation : 6
Language : english

http://backgroundsapril.forumotion.com/

Back to top Go down

Solved Re: Posts showing user online or offline.

Post by aprilshowers0923 on January 9th 2016, 3:22 am

I think I figured this out but I still can't do anything because only the founder of the forum who has left the group can see the templates so I can't change coding.

I tried it out using my test forum.

April
avatar
aprilshowers0923
Forumember

Posts : 153
Reputation : 6
Language : english

http://backgroundsapril.forumotion.com/

Back to top Go down

Solved Re: Posts showing user online or offline.

Post by 10spetter10 on January 9th 2016, 11:21 pm

You can test if this javascript works, use as placing 'on the topics':

Code:
$(function() {
  $('.messaging.gensmall').each(function() {
    if(!$(this).find('.i_icon_online').length) {
      $(this).find('td').append('offline');
    }
  });
});

When the default template is used on your forum it should insert the text 'offline'. You can change it by an image or something by editing the value inside
Code:
append('offline');
on line 4.
avatar
10spetter10
Forumember

Posts : 195
Reputation : 82
Language : Dutch

Back to top Go down

Solved Re: Posts showing user online or offline.

Post by aprilshowers0923 on January 13th 2016, 1:24 am

My problem here is that we have no founder just an owner and the owner cant see the templates in the admin panel.

For now I am going to close this until the owner of the forum can fix this founder situation.

Thank you
April
avatar
aprilshowers0923
Forumember

Posts : 153
Reputation : 6
Language : english

http://backgroundsapril.forumotion.com/

Back to top Go down

Solved Re: Posts showing user online or offline.

Post by SLGray on January 13th 2016, 3:14 am

Topic solved and archived


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 44193
Reputation : 3142
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Back to top


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