How To change who is online text?

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);
});
avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2917
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

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.?
avatar
smurfavr
Active Poster

Male Posts : 1693
Reputation : 17
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Back to top


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