|
Agent Moose
|
 |
« Reply #15 on: September 15, 2007, 09:30:04 am » |
|
You can use HTML. Like <b> and things like that. And, you can use a Chatbox. You just have to make sure you have it so that there are no Double Quotes(") in the code. If there are, change them to single quotes. That is the only way it will work.
|
|
|
|
|
Logged
|
SMC Code Index - The best Code Index for all your Needs! Includes a bunch of codes not on Support.[/center]
|
|
|
Gordie
SMF For Free Hero
Offline
Posts: 594
I'm around somewhere!!!
|
 |
« Reply #16 on: October 10, 2007, 07:40:54 pm » |
|
Sorry...I still haven't been able to get this one to work either,and I'm on server 1.What do we use for the url?
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Agent Moose
|
 |
« Reply #18 on: October 10, 2007, 09:08:27 pm » |
|
Post your code here and I will see what I can do. And this works on all servers.
|
|
|
|
|
Logged
|
SMC Code Index - The best Code Index for all your Needs! Includes a bunch of codes not on Support.[/center]
|
|
|
|
trevix
|
 |
« Reply #19 on: October 10, 2007, 10:04:41 pm » |
|
I got this in the botto of my footer <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://hellbound.smfforfree3.com/index.php?action=chat", "Chat", "testing testing 1 2 3") </script> and i've got <script src="http://hellbound.smfforfree3.com/jquery.js"></script> in the top
|
|
|
|
|
Logged
|
Ad Machine - Free advertising and tips on how to promote your board.
|
|
|
Gordie
SMF For Free Hero
Offline
Posts: 594
I'm around somewhere!!!
|
 |
« Reply #20 on: October 11, 2007, 07:51:27 am » |
|
I finally got it to work,but for the "LINK" in the code ,you don't have to insert the actual link...you just have to insert the word that you want at the end of your link.For example,if your link was http://mypage.com/index.php?action=test",then you just have to insert"test" where it says "LINK". Here look at my 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("game","Game of the Day","<iframe width='750' height='550' src='http://www.freeonlinegames.com/embed.php?g_id=13792' frameborder='0' scrolling='no'></iframe>") </script>
And here is the end result: My smf page
|
|
|
|
« Last Edit: October 11, 2007, 07:53:59 am by Gordie »
|
Logged
|
|
|
|
|
trevix
|
 |
« Reply #21 on: October 11, 2007, 10:55:25 am » |
|
ok now i am kinda annoied, how would i make a flash chat from www.spinchat.com work with it. I know that you cant have quoted stuff for the context of the page but is there any way around it so i can add my chat.
|
|
|
|
|
Logged
|
Ad Machine - Free advertising and tips on how to promote your board.
|
|
|
Gordie
SMF For Free Hero
Offline
Posts: 594
I'm around somewhere!!!
|
 |
« Reply #22 on: October 11, 2007, 11:05:10 am » |
|
You can have quoted codes in the "CONTENT" section,you just have to change all the double quotes(") in your chatroom code to single quotes(') first.Then paste the "new" chat code inside the quotes where it says "CONTENT"
|
|
|
|
|
Logged
|
|
|
|
|
trevix
|
 |
« Reply #23 on: October 11, 2007, 03:59:11 pm » |
|
Moose could you rewite it so you can use enters, its hard to setup codes in them with out the lines to space them out
|
|
|
|
« Last Edit: October 12, 2007, 03:30:56 pm by trevix »
|
Logged
|
Ad Machine - Free advertising and tips on how to promote your board.
|
|
|
|
Nick_LRG
|
 |
« Reply #24 on: November 07, 2007, 08:01:38 pm » |
|
what do i put in my link
"joshhorn573scape.smforfree2.com"
under the "LINK" part, what do i add to make it take me to a new page?
|
|
|
|
|
Logged
|
---
|
|
|
|
Agent Moose
|
 |
« Reply #25 on: November 07, 2007, 09:22:35 pm » |
|
The Link is how you would get to it. So, If you have the link part "rawr", you can get to it by going to this: joshhorn573scape.smforfree2.com/index.php?action=rawr
|
|
|
|
|
Logged
|
SMC Code Index - The best Code Index for all your Needs! Includes a bunch of codes not on Support.[/center]
|
|
|
|
Jordan7
|
 |
« Reply #26 on: November 10, 2007, 08:25:12 pm » |
|
http://runecafe.smfforfree4.com/affiliatesI added the page it just redirects to a different website.. This is what I 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://www.runecafe.smfforfree4.com/affiliates","Affiliates","Message Slayer To Become An Affiliate") </script>
|
|
|
|
|
Logged
|
 ^Click^
|
|
|
|
Agent Moose
|
 |
« Reply #27 on: November 10, 2007, 09:04:53 pm » |
|
You don't need the whole URL for the LINK part. Here, try this: <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("affiliates","Affiliates","Message Slayer To Become An Affiliate") </script> You would get to your new page with this link: http://www.runecafe.smfforfree4.com/index.php?action=affiliates
|
|
|
|
|
Logged
|
SMC Code Index - The best Code Index for all your Needs! Includes a bunch of codes not on Support.[/center]
|
|
|
Acer
SMF For Free Newbie
Offline
Posts: 7
|
 |
« Reply #28 on: December 02, 2007, 05:35:29 am » |
|
hm does html work in "Content" ?
|
|
|
|
|
Logged
|
|
|
|
|
Agent Moose
|
 |
« Reply #29 on: December 02, 2007, 07:17:49 am » |
|
Yes HTML Works in content.
You can't use Double Quotes ("), only Single (')
|
|
|
|
|
Logged
|
SMC Code Index - The best Code Index for all your Needs! Includes a bunch of codes not on Support.[/center]
|
|
|
|
|
|