SMF For Free Support Forum
Signup For Free Forum
September 07, 2008, 03:44:27 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: 1 2 [3] 4
  Print  
Author Topic: [Code] SMF Page v1  (Read 4474 times)
0 Members and 1 Guest are viewing this topic.
Jordan7
SMF For Free Member
*
Offline Offline

Posts: 29


View Profile WWW
« Reply #30 on: December 23, 2007, 09:10:22 pm »

Here, this is what I have...

Code:
<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+"</td></tr></table></div></div>")
};};
smf_page_v1("chatbox","Chatbox","<script type="text/javascript" src="http://www.geesee.com/sys/geeseejs.ashx?chatid=14735"></script>")
It directs me back to home page..
Logged



^Click^
Agent Moose
Moderator
*****
Offline Offline

Posts: 628


Do not PM me for Code Support or Request


View Profile WWW
« Reply #31 on: December 24, 2007, 08:04:20 pm »

Try this:

Code:
<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+"</td></tr></table></div></div>")
};};
smf_page_v1("chatbox","Chatbox","<script src='http://www.geesee.com/sys/geeseejs.ashx?chatid=14735'><\/script>")
</script>
Logged

Eternal Flame Coming Soon

SMC Code Index - The best Code Index for all your Needs!  Includes a bunch of codes not on Support.
nativejim
SMF For Free Newbie
*
Offline Offline

Posts: 10


View Profile
« Reply #32 on: December 24, 2007, 10:22:37 pm »

Thats what I use.. whats it supposed to look like? can you post a picture?


Code:
<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+"</td></tr></table></div></div>")
};};
smf_page_v1("http://smfpage.smfforfree3.com/index.php?action=smfpage","Rune Revealers","Welcome to Rune Revealers")
</script>
Logged
Agent Moose
Moderator
*****
Offline Offline

Posts: 628


Do not PM me for Code Support or Request


View Profile WWW
« Reply #33 on: December 25, 2007, 07:49:32 am »

In your code, try changing this:
Code:
smf_page_v1("http://smfpage.smfforfree3.com/index.php?action=smfpage","Rune Revealers","Welcome to Rune Revealers")

To this:
Code:
smf_page_v1("smfpage","Rune Revealers","Welcome to Rune Revealers")

Then, you would get to it something like this:
http://FORUM_NAME.smfforfreeX.com/index.php?action=smfpage

You will need to change FORUM_NAME to your forum name, and the X to your server number.  If you have a server 1, you will not have a number.
Logged

Eternal Flame Coming Soon

SMC Code Index - The best Code Index for all your Needs!  Includes a bunch of codes not on Support.
Pancakes
SMF For Free Sr. Member
*
Offline Offline

Posts: 457


sǝʞɐɔuɐd ǝɯ lol


View Profile
« Reply #34 on: March 06, 2008, 12:13:02 pm »

Hmm it worked but then it didnt work
heres my code
Code:

<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+"</td></tr></table></div></div>")
};};
smf_page_v1("sponser","Sponser the Tortoise Forum!","Hello and welcome to the sponser page this page will walk you through ways on how you can help us so lets get started

<H3>1.Affilate</H3>
You <U>CAN</U> affilate with us all you have to do is fill out this form")
</script>


And the link to the page:
http://tortoiseforum.smfforfree4.com/index.php?action=sponser
Logged

Agent Moose
Moderator
*****
Offline Offline

Posts: 628


Do not PM me for Code Support or Request


View Profile WWW
« Reply #35 on: March 06, 2008, 07:03:11 pm »

You can't have any enters in there:
Code:
<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+"</td></tr></table></div></div>")
};};
smf_page_v1("sponser","Sponser the Tortoise Forum!","Hello and welcome to the sponser page this page will walk you through ways on how you can help us so lets get started<br><br><H3>1.Affilate</H3><br>You <U>CAN</U> affilate with us all you have to do is fill out this form");
</script>
Logged

Eternal Flame Coming Soon

SMC Code Index - The best Code Index for all your Needs!  Includes a bunch of codes not on Support.
Pancakes
SMF For Free Sr. Member
*
Offline Offline

Posts: 457


sǝʞɐɔuɐd ǝɯ lol


View Profile
« Reply #36 on: March 07, 2008, 11:24:04 am »

WOW Thanks it worked!  Wink
Logged

Pancakes
SMF For Free Sr. Member
*
Offline Offline

Posts: 457


sǝʞɐɔuɐd ǝɯ lol


View Profile
« Reply #37 on: March 12, 2008, 02:52:59 pm »

May you fix my code and tell me whats wrong i have alot of pages to make  Tongue so i need to know exacly whats wrong if i do the mistake

heres my code
Code:
<script>
function addlinks(){
//Created by Agent Moose (smcodes.smfforfree3.com)
$(function() {
var links = new Array()
links[links.length] = ["SimplЭ RPG","http://smfrevisted.smfforfree4.com/index.php?action=rpgmain"]

for(m=0;m<links.length;m++){
$(".maintab_last").before("<td valign='top' class='maintab_back'><a href='"+links[m][1]+"'>"+links[m][0]+"</a></td>");
};});}
addlinks();
</script>

<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+"</td></tr></table></div></div>")
};};
smf_page_v1("rpgmain","The SimplЭ RPG Home","<form action="<a href="http://smfrevisted.smfforfree4/"target="_blank">"><input type="button" value="Play"> </form>")
</script>

[The top bit is the tab in which will take me to my SMF page
Logged

Agent Moose
Moderator
*****
Offline Offline

Posts: 628


Do not PM me for Code Support or Request


View Profile WWW
« Reply #38 on: March 12, 2008, 04:22:59 pm »

You can't use " inside of Content part.  You need to change it to '
Logged

Eternal Flame Coming Soon

SMC Code Index - The best Code Index for all your Needs!  Includes a bunch of codes not on Support.
petrol head
SMF For Free Sponsors
*
Offline Offline

Posts: 115



View Profile
« Reply #39 on: March 12, 2008, 04:54:46 pm »

Can you tell me where I'm going wrong with this code...

In footers have ..
<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+"</td></tr></table></div></div>")
};};
smf_page_v1("http://irishbikers.smfforfree.com/index.php?action=smfpage","Test","for testing")
</script>


and headers I have

<script src="http://209.85.48.12/9581/134/upload/p4217340.ibf">//Jquery code</script>
Logged

lich_king2
SMF For Free Member
*
Offline Offline

Posts: 28


View Profile
« Reply #40 on: March 22, 2008, 07:56:20 am »

I ned help here is my code
Code:
<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+"</td></tr></table></div></div>")
};};
smf_page_v1("http://wrathofsargeras.smfforfree4.com/index.php?action=smfpage","W3 ladder","Warcraft 3 ladder")
</script>[code]
[/code]
Logged

Agent Moose
Moderator
*****
Offline Offline

Posts: 628


Do not PM me for Code Support or Request


View Profile WWW
« Reply #41 on: March 22, 2008, 09:00:17 am »

You need to make the link part only part of the accuall link.  So instead of the whole URL, it would be just "smfpage".
Logged

Eternal Flame Coming Soon

SMC Code Index - The best Code Index for all your Needs!  Includes a bunch of codes not on Support.
•Patrick•
SMF For Free Member
*
Online Online

Posts: 68


View Profile
« Reply #42 on: March 28, 2008, 07:58:39 pm »

Whats wrong with my code?

Headers:
Code:
<script src="http://209.85.48.12/9581/134/upload/p4217340.ibf">//Jquery code</script>

Footers:
Code:
<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+"</td></tr></table></div></div>")
};};
smf_page_v1("chat","CHAT","<embed src='http://www.xatech.com/web_gear/chat/chat.swf' quality='high' width='540' height='405' name='chat' FlashVars='id=25845967' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://xat.com/update_flash.shtml' /><br><small><a target='_BLANK' href='http://xat.com/web_gear/?cb'></a> <a target='_BLANK' href='http://xat.com/web_gear/chat/go_large.php?id=25845967'></a></small><br>

<img style='visibility:hidden;width:0px;height:0px;' border=0 width=0 height=0 src='http://counters.gigya.com/wildfire/CIMP/Jmx*PTEyMDYxMDAyOTM4MjgmcHQ9MTIwNjEwMDMwOTg3NSZwPTUzMTUxJmQ9Jm49.jpg' />")
</script>
Logged
sweet_candygirl23
SMF For Free Full Member
*
Offline Offline

Posts: 118



View Profile WWW
« Reply #43 on: April 13, 2008, 10:21:17 pm »

Question:

Did I did anything wrong in this code?

Code:
<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+"</td></tr></table></div></div>")
};};
smf_page_v1("www.highschoollife.smfforfree2.com/index.php?action=chat","Chat","Chat

<embed src="http://www.xatech.com/web_gear/chat/chat.swf" quality="high" width="540" height="405" name="chat" FlashVars="id=27377859" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://xat.com/update_flash.shtml" /><br><small><a target="_BLANK" href="http://xat.com/web_gear/?cb">Get your own Chat Box!</a> <a target="_BLANK" href="http://xat.com/web_gear/chat/go_large.php?id=27377859">Go Large!</a></small><br>

<img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/CIMP/Jmx*PTEyMDgxNDI3NjM5MjEmcHQ9MTIwODE*MzA5NjQ4NCZwPTUzMTUxJmQ9Jm49.jpg" />")
</script>

Pls. reply.
Logged


Click the graphic above and join my forum!
BUDSTERS ONLINE COMMUNITY FORUM Smiley
Soul Fly
SMF For Free Hero
*
Offline Offline

Posts: 708



View Profile
« Reply #44 on: April 14, 2008, 10:55:53 am »

Code:
<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+"</td></tr></table></div></div>")
};};
smf_page_v1("www.highschoollife.smfforfree2.com/index.php?action=chat","Chat","<embed src="http://www.xatech.com/web_gear/chat/chat.swf" quality="high" width="540" height="405" name="chat" FlashVars="id=27377859" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://xat.com/update_flash.shtml" /><br><small><a target="_BLANK" href="http://xat.com/web_gear/?cb">Get your own Chat Box!</a> <a target="_BLANK" href="http://xat.com/web_gear/chat/go_large.php?id=27377859">Go Large!</a></small><br>
<img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/CIMP/Jmx*PTEyMDgxNDI3NjM5MjEmcHQ9MTIwODE*MzA5NjQ4NCZwPTUzMTUxJmQ9Jm49.jpg")
</script>
It maybe works now.
Not sure -.-''
Answer plz
Logged



Pages: 1 2 [3] 4
  Print  
 
Jump to:  

Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 0.58 seconds with 17 queries.