SMF For Free Support Forum
Signup For Free Forum
November 20, 2008, 03:06:14 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
  Print  
Author Topic: [Guide] Setup Flash Chat Page With Tab  (Read 2710 times)
0 Members and 1 Guest are viewing this topic.
trevix
SMF For Free Sr. Member
*
Offline Offline

Posts: 303



View Profile WWW
« on: October 12, 2007, 05:14:23 pm »

Follow the guide from 1 down, I tried to make it as easy to understand as possible

(if you have SMF Page v1 Skip step 1 & 2)
1. Get SMF Page v1 code made by Agent Moose

2. Install the code in the header and footer

3. Configure
Code:
smf_page_v1("LINK","TITLE","CONTENT")
a. LINK is the url you want, so make it chat or flashchat, it adds the "http://yourforum.smfforfree#.com/index.php?action="
b. TITLE is what is displayed at top for the page title, call it Chat or Flash Chat
c. CONTENT is where the flash chat code goes.

4. To get the code for your your chat go Here, click chat login, then under the big square add it will say Get a free chatbox for your website! make sure you click that.

5. Set up the layout you want for your chatbox, then copy the code to notepad for editing
a. Your code should look like this
Code:
<script language="JavaScript">
document.writeln('<iframe src="http://www.spinchat.com/cb/start?chn=Welcome!;srv=1;cat=2;id=Rw-okn8AAAEAAC-1EXY;st=1;w=640;h=480;url='+escape(location)+'" width="640" height="480" border="0" frameborder="0"></iframe>');
</script><noscript>
<iframe src="http://www.spinchat.com/cb/start?chn=Welcome!;srv=1;cat=2;id=Rw-okn8AAAEAAC-1EXY;st=1;w=640;h=480" width="640" height="480" border="0" frameborder="0">
<a href="http://www.spinchat.com">Spinchat.com - free chat community with boards, blogs, online games and more</a>
</iframe></noscript><br><a href="http://www.spinchat.com">Get your own chat on spinchat.com!</a>
b. On the second line copy from <iframe> to </iframe> on the same line
c. Open another notepad, and paste what you copied
d. Now search the code for any " and replace every one with '
e. Add <center> at the begining of the code before <iframe>, and </center> at the end of the code after </iframe>
f. The code should look like this
Code:
<ceter><iframe src='http://www.spinchat.com/cb/start?chn=Welcome!;srv=1;cat=2;id=Rw-okn8AAAEAAC-1EXY;st=1;w=640;h=480;url='+escape(location)+'' width='640' height='480' border='0' frameborder='0'></iframe></center>
(your welcome to use this code if you want, but other ppl will be using it too)
g. Now add the code to the CONTEXT on step 3

6. To setup a tap for your chat get the Add More Tabs code made by Agent Moose also.  Now add that code to your header and footer.

7. Configure
Code:
links[0] = ["LINKS NAME","URL FOR LINK"]
a. LINKS NAME will be the tabs name
b. URL FOR LINK is http://yourforum.smfforfree#.com/index.php?action= then what ever you put for Link on step 3



How did i do on this guide?
Logged


Ad Machine - Free advertising and tips on how to promote your board.
mr_css
SMF For Free Sr. Member
*
Offline Offline

Posts: 259



View Profile
« Reply #1 on: October 26, 2007, 06:18:25 pm »

what would the link be?
Logged


            WOLFSCAPE FORUMS
Coreeeey
SMF For Free Sr. Member
*
Offline Offline

Posts: 311



View Profile WWW
« Reply #2 on: November 03, 2007, 03:17:39 pm »

Is there any way I can use a different chat code such as from www.geesee.com for this same thing?

EDIT: Never mind, I got it working with my geesee chat code.
« Last Edit: November 03, 2007, 03:25:55 pm by Coreeeey » Logged

Nick_LRG
SMF For Free Member
*
Offline Offline

Posts: 96



View Profile WWW
« Reply #3 on: November 03, 2007, 11:25:31 pm »

when  i do this it says "no input file specified"


what does this mean
Logged

---
simply sibyl
Global Moderator
*
Offline Offline

Posts: 9115


Please do not PM me for Support


View Profile WWW
« Reply #4 on: November 03, 2007, 11:27:22 pm »

Go back from the beginning and triple check every single step.
Logged

Nick_LRG
SMF For Free Member
*
Offline Offline

Posts: 96



View Profile WWW
« Reply #5 on: November 03, 2007, 11:28:43 pm »

but i did and i followed everything but, i think i need to do something when adding the extra page, but i don't know what.
Logged

---
simply sibyl
Global Moderator
*
Offline Offline

Posts: 9115


Please do not PM me for Support


View Profile WWW
« Reply #6 on: November 03, 2007, 11:31:27 pm »

Moose generally isnt on very late in the evening so you may need to wait for him unless someone who has installed this comes on and can help you.

Also please leave your forum url each time you ask for help with something..  that way we can go to your forum and take a look at your header/footer and see how you put it in.   
Logged

Nick_LRG
SMF For Free Member
*
Offline Offline

Posts: 96



View Profile WWW
« Reply #7 on: November 03, 2007, 11:34:32 pm »

http://joshhorn573scape.smfforfree2.com/index.php
Logged

---
trevix
SMF For Free Sr. Member
*
Offline Offline

Posts: 303



View Profile WWW
« Reply #8 on: November 03, 2007, 11:41:13 pm »

where it says links[links.length] = ["Flash Chat","joshhorn573scape.php?action=Chatroom"]
add the http:// in front of your url
Logged


Ad Machine - Free advertising and tips on how to promote your board.
trevix
SMF For Free Sr. Member
*
Offline Offline

Posts: 303



View Profile WWW
« Reply #9 on: November 03, 2007, 11:43:06 pm »

smf_page_v1("joshhorn573scape.php?action=Chatroom"
And change this url to Chatroom, it adds all the other stuff automatically to the ur
Logged


Ad Machine - Free advertising and tips on how to promote your board.
Nick_LRG
SMF For Free Member
*
Offline Offline

Posts: 96



View Profile WWW
« Reply #10 on: November 03, 2007, 11:46:08 pm »

smf_page_v1("joshhorn573scape.php?action=Chatroom"
And change this url to Chatroom, it adds all the other stuff automatically to the ur


hu?

now i get a cannot connect to server page thing.
« Last Edit: November 03, 2007, 11:48:18 pm by Nick_LRG » Logged

---
trevix
SMF For Free Sr. Member
*
Offline Offline

Posts: 303



View Profile WWW
« Reply #11 on: November 03, 2007, 11:49:22 pm »

on step 3 when you configure
Code:
smf_page_v1("LINK","TITLE","CONTENT")

for the link you just put like chatroom, the code will add "http://forum.smfforfree.com/index.php?action=" automatically

so when you put joshhorn573scape.php?action=Chatroom for the link it thought you meant http://forum.smfforfree.com/index.php?action=joshhorn573scape.php?action=Chatroom 
Logged


Ad Machine - Free advertising and tips on how to promote your board.
Nick_LRG
SMF For Free Member
*
Offline Offline

Posts: 96



View Profile WWW
« Reply #12 on: November 03, 2007, 11:50:06 pm »

so i just remove "chatroom" off the end?
Logged

---
trevix
SMF For Free Sr. Member
*
Offline Offline

Posts: 303



View Profile WWW
« Reply #13 on: November 03, 2007, 11:50:40 pm »

put Chatroom for your link, it will work then nothin else just Chatroom
Logged


Ad Machine - Free advertising and tips on how to promote your board.
Nick_LRG
SMF For Free Member
*
Offline Offline

Posts: 96



View Profile WWW
« Reply #14 on: November 03, 2007, 11:52:39 pm »

nope, didn't work.

here is my head

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


<script>
function addlinks(){
//Created by Agent Moose
$(function() {
var links = new Array()
links[links.length] = ["Flash Chat","http://joshhorn573scape.php?action=Chatroom"]

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>


and my footer

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("chatroom","Flash Chat!","<center><iframe src='http://www.spinchat.com/cb/start?chn=Joshhorn+RPG;srv=1;cat=3;id=Ry1H6H8AAAEAAE6pbyU;st=5;w=640;h=480;url='+escape(location)+'' width='640' height='480' border='0' frameborder='0'></iframe></center>")
</script>
Logged

---


Pages: [1] 2
  Print  
 
Jump to:  

cheap low cost web hosting reviews

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