Footers
<script>
var TabNewsBoard = "BOARD"
if(window.ActiveXObject){var TabNews = new ActiveXObject("Microsoft.XMLHTTP");}else{var TabNews = new XMLHttpRequest();};
//Created by Agent Moose (smcodes.smfforfree3.com)
var loc = window.location.href.split('index.php')[0];
TabNews.open("GET",loc+"/index.php/board,"+TabNewsBoard,true);
TabNews.onreadystatechange = function(){
if(TabNews.readyState == 4){
var moose = document.createElement("div");
moose.innerHTML = TabNews.responseText;
var topic = moose.getElementsByTagName("span");
for(x=0;x<topic.length;x++){
if(topic[x].id.match(/msg/i) && topic[x].parentNode.className == "windowbg" && topic[x].parentNode.innerHTML.match(/newicon/i)){
$(".maintab_back:contains(Logout),.maintab_back:contains(Register)").after('<td class="maintab_last">&#'+'8195;</td><td class="maintab_first"/><td valign="top" class="maintab_back">'+topic[x].innerHTML+'</td>');
};};};};
TabNews.send("");
</script>
After relising this wasn't the code that was request, I decided to go ahead and post it. It makes a new tab up top with a link with the Latest topic that was posted in.
BOARD = The board ID that you want the topic to be from.