by javascript, remove these words "Users browsing this forum:", how?
<div id="usersonline">Users browsing this forum: Admin, Admin1, Admin2,...</div>
<div id="usersonline">Users browsing this forum: Admin, Admin1, Admin2,...</div>
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
<style>#stats {
display: none;
}
#usersonline{
font-size:0px;
}
#usersonline a{
font-size:12px!important;
}
@Mark wrote:Go to your Admin Panel > Display > Templates > General > topics_list_box:
- Add this at the very end of the topic_list_box template:
- Code:
<style>#stats {
display: none;
}
candy_fear wrote:Add this code in your css;
- Code:
#usersonline{
font-size:0px;
}
#usersonline a{
font-size:12px!important;
}
function changeText(word, replacement) {
for (var name in word) {
document.getElementById('stats').innerHTML = document.getElementById('stats').innerHTML.replace(RegExp(name, 'g'), word[name]);
}
}
$(window).load(function () {
changeText({
'Users browsing this forum: ': ' ',
});
});
Ahmed.K wrote:I made something and it works fine:
$(function(){
var oldtext = $('#usersonline').html();
var newtext = oldtext.replace('Users browsing this forum:','');
$('#users_online').html(newtext);
});
Thanks anyway.
By the way, Mark, do you have any idea about this problem?
https://help.forumotion.com/t133248-adding-the-profile-link
If so, please post your solution there.