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.

Change Text In "Who's Online"

View previous topic View next topic Go down

Solved Change Text In "Who's Online"

Post by Empire_1 on July 19th 2011, 11:00 pm

Hello, I want to change the text in "Who's Online." I mean it like I want to change "Members connected during the last 48 hours:" to something else, say, for example, "Trainers who came in recently:" or something similar to that.

Here is the script for phpBB3:
Code:
<script type="text/javascript">
jQuery(function() {
var x=document.getElementById('i_whosonline').nextSibling;
x.innerHTML = x.innerHTML.replace(/Members connected during last 48 hours :/g,"Cats padded in recently:");
});
</script>

What I need is the Invision version (please do not look at the website in my profile. That is not the site I'm requesting this for).

Here is my previous request for changing text, except for phpBB3: http://help.forumotion.com/t93421-change-text-in-who-s-online


Last edited by The Divine Clutch on July 20th 2011, 5:57 am; edited 1 time in total

Empire_1
Active Poster

Male Posts : 1391
Reputation : 124
Language : English, Spanish, Mandarin, C++
Location : Summoner's Rift

Back to top Go down

Solved Re: Change Text In "Who's Online"

Post by Guest on July 20th 2011, 3:16 am

Here's the script for IPB2/Invision:

Code:
<script type="text/javascript">
jQuery(function() {
var x=document.getElementById('s0');
x.innerHTML = x.innerHTML.replace(/Members connected during last 48 hours :/g,"Cats padded in recently:");
});
</script>
Note how similar it is to the phpBB3 version I provided to you a couple days ago...

Guest
Guest


Back to top Go down

Solved Re: Change Text In "Who's Online"

Post by Empire_1 on July 20th 2011, 5:56 am

@dion wrote:Here's the script for IPB2/Invision:

Code:
<script type="text/javascript">
jQuery(function() {
var x=document.getElementById('s0');
x.innerHTML = x.innerHTML.replace(/Members connected during last 48 hours :/g,"Cats padded in recently:");
});
</script>
Note how similar it is to the phpBB3 version I provided to you a couple days ago...

Excellent! Thank you so much for all your help!! I appreciate greatly - thanks again :wouhou:

*solved*

Empire_1
Active Poster

Male Posts : 1391
Reputation : 124
Language : English, Spanish, Mandarin, C++
Location : Summoner's Rift

Back to top Go down

Solved Re: Change Text In "Who's Online"

Post by Sanket on July 20th 2011, 6:40 am

Since this thread is marked solved, I will lock this thread.


Sanket Smile


Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


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