This code is not mine, I just got this on my forum then I don't remember who is the author of this so here's the code
Code:
function changeText(word,replacement){for(var name in word){document.getElementById('onlinelist').innerHTML=document.getElementById('onlinelist').innerHTML.replace(RegExp(name,'g'),word[name])}}$(window).load(function(){changeText({'In total there is ':' ','In total there are ':' ','Registered Users:':' ','user online ::':'<span style="font-size: 14px;"><b>people are online (in the past 15 minutes)</b></span><br/>','users online ::':'<span style="font-size: 14px;"><b>people are online (in the past 15 minutes)</b></span><br/>',})});
Powered by PunBB
Currently 0 users have thanked nanako for this post:
if code work, you can just change words what need to write on forum (online users in last 15 minutes) in words on your language, writte what you want to writte there, and I will change it for you.
Powered by PunBB
Currently 0 users have thanked Zyon for this post: