Post by mnhub on Feb 23, 2013 6:39:33 GMT -8
was requested by SIGa in pluging area, but was sent here to ask, so am also asking.
support.proboards.com/thread/434900/request-plugin-extra-stations-center
You could really just do this with a template modification.warning v4 code info below
This code will add extra sections to your info center with whatever material you decide to put in them. Enjoy.
Main Footer:
All the editing, adding, and removing of sections takes place here:
Code:newsections[0] = ["Section Name","Section Info Center Icon","Section Information"];
newsections[1] = ["Section Name","Section Info Center Icon","Section Information"];
newsections[2] = ["Section Name","Section Info Center Icon","Section Information"];
newsections[3] = ["Section Name","Section Info Center Icon","Section Information"];
It'd be general stuff that you want there. Like, maybe you want your affiliate in the info center.
support.proboards.com/thread/434900/request-plugin-extra-stations-center
This code will add extra sections to your info center with whatever material you decide to put in them. Enjoy.
Main Footer:
Code:<script type="text/javascript">
<!--
/*
Extra Info Center Sections.
Coded By Moose.
Don't repost or edit.
*/
var newsections = new Array();
newsections[0] = ["Section Name","Section Info Center Icon","Section Information"];
newsections[1] = ["Section Name","Section Info Center Icon","Section Information"];
newsections[2] = ["Section Name","Section Info Center Icon","Section Information"];
newsections[3] = ["Section Name","Section Info Center Icon","Section Information"];
var table = document.getElementsByTagName('table');
for(i=0;i<table.length;i++){
var cellone = table[i].rows[0].cells[0];
if(cellone.className == "titlebg" && cellone.align == "center" && cellone.colSpan == "2" && cellone.innerHTML.match(/<b>Info Center<\/b>/i)){
for(n=0;n<newsections.length;n++){
var firstrow = table[i].insertRow(-1);
var firstcell = firstrow.insertCell(0);
firstcell.className = "catbg";
firstcell.colSpan = "2";
firstcell.innerHTML = '<font size="2" class="cattext"><b>'+newsections[n][0]+'</b></font>';
var secondrow = table[i].insertRow(-1);
var secondcell = secondrow.insertCell(0);
var thirdcell = secondrow.insertCell(1);
secondcell.className = "windowbg";
secondcell.vAlign = "middle";
secondcell.align = "center";
secondcell.width = "20";
secondcell.innerHTML = '<img border="0" src="'+newsections[n][1]+'" />';
thirdcell.className = "windowbg";
thirdcell.innerHTML = '<table width="98%" cellpadding="3" align="center"><tr><td valign="top" align="left"><font size="1">'+newsections[n][2]+'</font></td></tr></table>';
}}}
//-->
</script>
All the editing, adding, and removing of sections takes place here:
Code:newsections[0] = ["Section Name","Section Info Center Icon","Section Information"];
newsections[1] = ["Section Name","Section Info Center Icon","Section Information"];
newsections[2] = ["Section Name","Section Info Center Icon","Section Information"];
newsections[3] = ["Section Name","Section Info Center Icon","Section Information"];
It'd be general stuff that you want there. Like, maybe you want your affiliate in the info center.