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.

How To change who is online text?

3 posters

Go down

In progress How To change who is online text?

Post by vkitkat 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
avatar
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 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
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

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

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

Phpbb2 forum for how to do it.?
smurfavr
smurfavr
Active Poster

Male Posts : 1883
Reputation : 22
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Back to top

- Similar topics

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