Footers
<script>
var n = 1;var Online = new Array();
Online[n++] = ["ID","USERNAME"];
var loc = window.location.href.split("/index.php")[0];
var username = $("td.titlebg2 span b").not($("td.titlebg2 span b:contains(News)")).html();
for(c=1;c<Online.length;c++) {
$("td b a").each(function(){
if(this.href.match("profile;u=" + Online[c][0]) && this.innerHTML == Online[c][1]){
$("span.smalltext").each(function() {
if(this.innerHTML.match("Offline")) {
this.innerHTML = this.innerHTML.replace("Offline","Online");
};});
$("div.smalltext a").each(function(){
if(this.title == "Personal Message (Offline)"){
this.title = this.title.replace("Offline","Online");
};});
$("div.smalltext a img").each(function(){
if(this.alt == "Offline"){
this.src = "http://www.smfboards.com/Themes2/default/images/useron.gif";
};});
};});
$("div.smalltext br:first").each(function(){
if(this.parentNode.innerHTML.match(/Users active in/i) && username){
$(this).after("<a href='" + loc + "/index.php?action=profile;u=" + Online[c][0] + "'>" + Online[c][1] + "</a>, ");
}else{
$(this).after("<a href='" + loc + "/index.php?action=profile;u=" + Online[c][0] + "'>" + Online[c][1] + "</a>, ");
};});
$("span.middletext").each(function() {
if(this.innerHTML.match(/Most Online Today: <b>[\d,]+<\/b>./i)) {
this.innerHTML = this.innerHTML.replace(/Most Online Today: <b>([\d,]+)<\/b>./i, "Most Online Today: <b>" + c + "</b>.");
}});
};
</script>
Here is V3 of Always Online!
This one does just like the other versions, but adds the usernames at the bottom on the Users Online list too!
ID = The Users ID that you want to seem like they are online
USERNAME = The Name of the user you want to seem like they are online.
Enjoy