To start off, I
DID NOT make either of these codes. Agent Moose made em. I tweaked the second one.
This code is to add a custom page to your forums.
Footers
<script>
function smf_page_v1(link,title,content){
//Created by Agent Moose (smcodes.smfforfree3.com)
if(location.href.match("action="+link)){
document.title=""+title+"";
$("#bodyarea").hide()
$("#bodyarea").before("<div class='tborder'><div class='catbg' style='padding: 6px; vertical-align: middle; text-align: center; '>"+title+"</div><div id='upshrinkHeaderIC'><table border='0' width='100%' cellspacing='1' cellpadding='4' class='bordercolor'><tr><td class='windowbg2' width='100%'>"+content)
$("#bodyarea").after("</td></tr></table></div></div>")
};};
smf_page_v1("URL","TITLE","CONTENT")
</script>
Replace "URL" with the URL you want for the page. (action=URL)
Replace "TITLE" with the title of the page.
Replace "CONTENT" with the content you want in the page.
Note: In the content of your page, you CANNOT have any enters or double quotes ("). You MUST use <BR> when you want a line break and use single quotes (') instead of double (").
This code is to add extra content boxes to one of your existing custom pages.
Footers:
<script>
function smf_page_v1(link,title,content){
//Created by Agent Moose (smcodes.smfforfree3.com)
if(location.href.match("action="+link)){
$("#bodyarea").hide()
$("#bodyarea").before("<div class='tborder'><div class='catbg' style='padding: 6px; vertical-align: middle; text-align: center; '>"+title+"</div><div id='upshrinkHeaderIC'><table border='0' width='100%' cellspacing='1' cellpadding='4' class='bordercolor'><tr><td class='windowbg2' width='100%'>"+content)
$("#bodyarea").after("</td></tr></table></div></div>")
};};
smf_page_v1("URL","TITLE","CONTENT")
</script>
Replace "URL" with the page URL you want to add the box to.
Replace "TITLE" with the Title of the new box.
Replace "CONTENT" with the content of the new box.
Just as in the code to add a page, you CANNOT use enters or double quotes (").
Again, I
DID NOT make these. I only tweaked the second one. Moose did all the good work
