Remove these words ...
3 posters
Page 1 of 1
Remove these words ...
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>
Ahmed.K- Forumember
- Posts : 347
Reputation : 4
Language : English
Re: Remove these words ...
Go to your Admin Panel > Display > Templates > General > topics_list_box:
- Add this at the very end of the topic_list_box template:
- Add this at the very end of the topic_list_box template:
- Code:
<style>#stats {
display: none;
}
Guest- Guest
Re: Remove these words ...
Add this code in your css;
- Code:
#usersonline{
font-size:0px;
}
#usersonline a{
font-size:12px!important;
}
Re: Remove these words ...
@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;
}
No, I want remove just these words "Users browsing this forum:"
candy_fear wrote:Add this code in your css;
- Code:
#usersonline{
font-size:0px;
}
#usersonline a{
font-size:12px!important;
}
No, this will remove all the commas too.
Ahmed.K- Forumember
- Posts : 347
Reputation : 4
Language : English
Re: Remove these words ...
Add this to your Javascript: (Set to Sub-forums)
- Code:
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: ': ' ',
});
});
Guest- Guest
Re: Remove these words ...
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.
$(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.
Ahmed.K- Forumember
- Posts : 347
Reputation : 4
Language : English
Re: Remove these words ...
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.
Since you've said you've solved the problem. Topic Archived.
Derri- Helper
- Posts : 8711
Reputation : 638
Language : English & Basic French
Location : Scotland, United Kingdom
Similar topics
» How do you remove the "Free Forum" words displayed at the top?
» Replacing words
» Key Words Help
» Changing the words under a avatar?
» Nav-Bar Hover Words
» Replacing words
» Key Words Help
» Changing the words under a avatar?
» Nav-Bar Hover Words
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum