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?

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 : 13187
Reputation : 2895
Language : EN10, FR5
Location : Macungie, PA

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

Male Posts : 1616
Reputation : 14
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