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.

How To change who is online text?

View previous topic View next topic Go down

In progress How To change who is online text?

Post by vkitkat on March 7th 2014, 1:05 am

How can I change the who is online text? For example instead of "Members connected in the last 24 hours" I could change that to "Members who visited today", "Registered Users" can be "Users online right now". Those are the only two things I want to change. Phpbb3

vkitkat
New Member

Female Posts : 24
Reputation : 1
Language : English

Back to top Go down

In progress Re: How To change who is online text?

Post by Ange Tuteur on March 7th 2014, 2:24 am

Hello vkitkat,

Try this :
Administration Panel > Modules > Javascript codes management > create a new script

Title : what you wish
Placement : in the homepage, or in all the pages
Paste the code below and save :
Code:
$(function() {
  var text = {
  onLast : 'Members who visited today',
  onNow : 'Users online right now '
  };
 
  var newTxt = $('#i_whosonline + p').html().replace(/Members connected during last 24 hours/,text["onLast"]).replace(/Registered Users/,text["onNow"]);
  $('#i_whosonline + p').html(newTxt);
});

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: How To change who is online text?

Post by smurfavr on March 11th 2014, 7:55 pm

Phpbb2 forum for how to do it.?

smurfavr
Active Poster

Male Posts : 1422
Reputation : 13
Language : Bulgarian

http://smurfa.bulgarianforum.net/

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