Runboard.com
Слава Україні!


Forum hosted by Runboard | TDTSC Home        Please register for a free account (Learn about it) | Login to TDTSC (lost password?)

Page:  1  2 

 
Thomas Dyer Profile
Live feed
Blog
Friends
Miscellaneous info

Cedric Member

Registered: 05-2003
Location: United Kingdom
Posts: 1378
Reply | Quote
HELP!!!!!!!


Is there anybody who could help me put a RalphChat chat room together??????????

---
Margaret "Molly" Brown biography
White Star Line History Website
Titanic Pages
Apr/9/2004, 4:06 pm Link to this post Send Email to Thomas Dyer   Send PM to Thomas Dyer
 
Rosie1912 Profile
Live feed
Blog
Friends
Miscellaneous info

Celtic

Registered: 11-2003
Posts: 55
Reply | Quote
Re: HELP!!!!!!!


Ugh, I use to have a chatroom on my site but the site that hosted the chat is no more so no more chat on my site but anyways..lol..I'd be happy to try to help you..
Apr/9/2004, 4:30 pm Link to this post Send Email to Rosie1912   Send PM to Rosie1912
 
Thomas Dyer Profile
Live feed
Blog
Friends
Miscellaneous info

Cedric Member

Registered: 05-2003
Location: United Kingdom
Posts: 1378
Reply | Quote
Re: HELP!!!!!!!


I've got to make this into a chat room:

http://mitglied.lycos.de/Kimberly22/chat.pl
 emoticon

---
Margaret "Molly" Brown biography
White Star Line History Website
Titanic Pages
Apr/9/2004, 5:07 pm Link to this post Send Email to Thomas Dyer   Send PM to Thomas Dyer
 
Rosie1912 Profile
Live feed
Blog
Friends
Miscellaneous info

Celtic

Registered: 11-2003
Posts: 55
Reply | Quote
Re: HELP!!!!!!!


Ok, just need to put it on an HTML page. Which I tried it on my site, it looks to need a bit of editing or else you get a bunch of scribble, but so far it seems to be ok. The register thing doesn't work, need to figure out why.. I think it's because it needs a seperate page for registration..

Here's what I get if I just copy that complete text onto HTML document

http://www.geocities.com/rosedwb1912/tomschat.html

I've editied it a bit but I don't know how it'll work and again the registration thing is what is getting me..

http://www.geocities.com/rosedwb1912/tomschat2.html
Apr/9/2004, 6:42 pm Link to this post Send Email to Rosie1912   Send PM to Rosie1912
 
Thomas Dyer Profile
Live feed
Blog
Friends
Miscellaneous info

Cedric Member

Registered: 05-2003
Location: United Kingdom
Posts: 1378
Reply | Quote
Re: HELP!!!!!!!


This is the main chat room html (from file):

#CHAT.HTML
sub chat_html_header {
    print <<"[END]";
<HTML>
<HEAD>
[END]
    if (not $query{'pause'}) {
if ($ENV{'HTTP_USER_AGENT'} =~ /MSIE ?(5.5|6|7|8)/) {
print <<"[END]";
<META HTTP-EQUIV=refresh CONTENT=$session{'updatefrequency'} URL="$script_name?action=chat&id=$query{'id'}#end">
[END]
        } elsif ($ENV{'HTTP_USER_AGENT'} =~ /MSIE/) {
           print <<"[END]";
<SCRIPT LANGUAGE=\"JavaScript\">
<!--
window.setTimeout("window.location.reload()",$session{'updatefrequency'}000);
//-->
</SCRIPT>
<NOSCRIPT>
<META HTTP-EQUIV="refresh" CONTENT="$session{'updatefrequency'}; URL=$script_name?action=chat&id=$query{'id'}#end">
</NOSCRIPT>
[END]
        } else {
           print <<"[END]";
<META HTTP-EQUIV="refresh" CONTENT="$session{'updatefrequency'}; URL=$script_name?action=chat&id=$query{'id'}#end">
[END]
        }
    }
    print <<"[END]";
<META HTTP-EQUIV="expires" CONTENT="0">
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
$html_css
</HEAD>
$html_bodytag
[END]
    if ($session{'new_msg_on_top'}) {
print <<"[END]";
<A NAME="end"></A>
[END]
        if ($query{'pause'}) {
print <<"[END]";
<A HREF="$script_name?action=chat&id=$query{'id'}#end"><B>$html{'chat'}{'conti'}</B></A><P>
[END]
        }
    }
}

sub chat_html_footer {
    if (not $session{'new_msg_on_top'}) {
print <<"[END]";
<A NAME=\"end\"></A>
<SCRIPT LANGUAGE=\"JavaScript\">
<!--
if (document.all) {
 end.scrollIntoView(false);
}
//-->
</SCRIPT>
[END]
if ($query{'pause'}) {
print <<"[END]";
<P><A HREF="$script_name?action=chat&id=$query{'id'}#end"><B>$html{'chat'}{'conti'}</B></A>
[END]
}
    }
    print <<"[END]";
</BODY>
</HTML>
[END]
}

1;

# EOF

#CHATFRAMES.HTML
sub chatframes_html {
    print << "[END]";
<HTML>
<HEAD>
<TITLE>$html_title</TITLE>
</HEAD>
[END]

    if ($banner_url) {
print << "[END]";
<FRAMESET ROWS="65,*,60" BORDER=0 FRAMEBORDER=0 FRAMESPACING=0>
 <FRAME SRC="$banner_url" SCROLLING=NO>
[END]

    } else {
        print << "[END]";
<FRAMESET ROWS="*,60" BORDER=0 FRAMEBORDER=0 FRAMESPACING=0>
[END]

    }
    print << "[END]";
 <FRAMESET COLS="*,150" BORDER=0 FRAMEBORDER=0 FRAMESPACING=0>
[END]

    if ($session{'streaming'}) {
    print << "[END]";
  <FRAME NAME="main" SRC="$scriptst_name?action=stream&id=$query{'id'}&pause=$pause">
[END]

    } else {
    print << "[END]";
  <FRAME NAME="main" SRC="$script_name?action=chat&id=$query{'id'}&pause=$pause#end">
[END]

    }
    if ($room) {
print << "[END]";
  <FRAMESET ROWS="*,70" BORDER=0 FRAMEBORDER=0 FRAMESPACING=0>
   <FRAME SRC="$scriptsa_name?action=stillalive&id=$query{'id'}">
   <FRAME SRC="$script2_name?action=rooms&id=$query{'id'}" SCROLLING=NO>
  </FRAMESET>
[END]

    } else {
print << "[END]";
  <FRAME SRC="$scriptsa_name?action=stillalive&id=$query{'id'}">
[END]

    }
    print << "[END]";
 </FRAMESET>
 <FRAME SRC="$scriptpm_name?action=chatinput_html&id=$query{'id'}" scrolling=no>
</FRAMESET>
</HTML>
[END]

}

1;

# EOF
#CHATINPUT.HTML
sub chatinput_html {
    print <<"[END]";
<HTML>
<HEAD>
$html_css
</HEAD>
$html_bodytag
<FORM METHOD=POST ACTION="$scriptpm_name" NAME="msgform">
<TABLE FRAMESPACING=0 FRAMEPADDING=0>
<TR><TD>
<INPUT TYPE=HIDDEN NAME="action" VALUE="postmsg">
<INPUT TYPE=HIDDEN NAME="id" VALUE="$query{'id'}">
<INPUT SIZE="$input_field_size" NAME="msg" MAXLENGTH=400>
<INPUT TYPE=SUBMIT VALUE="$html{'ci'}{'post'}">
[END]
    &select_user;
    &select_action;
    print <<"[END]";
</TD><TD ALIGN="left">
&nbsp;<A HREF="$script2_name?action=options_html&id=$query{'id'}" TARGET="main">$html{'ci'}{'optio'}</A>&nbsp;<A HREF="$script2_name?action=changeuserinfo&id=$query{'id'}" TARGET="main">$html{'ci'}{'profi'}</A>
<BR>
[END]
    if (not $session{'streaming'}) {
        print <<"[END]";
&nbsp;<A HREF="$script_name?action=chat&pause=1&id=$query{'id'}#end" TARGET="main">$html{'ci'}{'pause'}</A>
[END]
    }
    print <<"[END]";
&nbsp;<A HREF="$script2_name?action=logout&id=$query{'id'}&noheader=1" TARGET="_parent"><B>$html{'ci'}{'logou'}</B></A>
</TD><TD ALIGN="right">
&nbsp;<SMALL><A HREF="$scriptgu_name?http://www.ralfchat.com" TARGET="_blank">&copy; ralf 2001</A></SMALL>
</TD></TR>
</TABLE>
</FORM>
<SCRIPT LANGUAGE="JavaScript">
<!--
[END]
    if (not $query{'norefresh'} and $ENV{'HTTP_USER_AGENT'} !~ /MSIE ?(5.5|6|7|8)/ and not $session{'streaming'}) {
print <<"[END]";
    parent.main.location.reload();
[END]
    }
    print <<"[END]";
    document.msgform.msg.focus();
//-->
</SCRIPT>
</BODY>
</HTML>
[END]
}

1;

# EOF
#STILLALIVE.HTML - the users online frame
sub stillalive_html_header {
    print <<"[END]";
<HTML>
<HEAD>
[END]

    if ($ENV{'HTTP_USER_AGENT'} =~ /MSIE ?(5.5|6|7|8)/) {
print <<"[END]";
<META HTTP-EQUIV=refresh CONTENT=20 URL="$scriptsa_name?action=stillalive&id=$query{'id'}">
[END]

    } elsif ($ENV{'HTTP_USER_AGENT'} =~ /MSIE/) {
print <<"[END]";
<SCRIPT LANGUAGE=\"JavaScript\">
<!--
window.setTimeout("window.location.reload()",${sa_refresh}000);
//-->
</SCRIPT>
<NOSCRIPT>
<META HTTP-EQUIV="refresh" CONTENT="$sa_refresh; URL=$scriptsa_name?action=stillalive&id=$query{'id'}">
</NOSCRIPT>
[END]

    } else {
print <<"[END]";
<META HTTP-EQUIV="refresh" CONTENT="$sa_refresh; URL=$scriptsa_name?action=stillalive&id=$query{'id'}">
[END]

    }
    print <<"[END]";
<META HTTP-EQUIV="expires" CONTENT="0">
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
$html_css
</HEAD>
$html_bodytag
[END]

}

sub stillalive_html_footer {
    print <<"[END]";
</BODY></HTML>
[END]

}

1;

# EOF

HTML Part
#
########################

#stream.HTML
sub stream_html {
    print <<"[END]";
<HTML>
<HEAD>
$html_css
</HEAD>
$html_bodytag
[END]
}

1;

# EOF

I've already created the options and register page.

---
Margaret "Molly" Brown biography
White Star Line History Website
Titanic Pages
Apr/9/2004, 8:23 pm Link to this post Send Email to Thomas Dyer   Send PM to Thomas Dyer
 
Thomas Dyer Profile
Live feed
Blog
Friends
Miscellaneous info

Cedric Member

Registered: 05-2003
Location: United Kingdom
Posts: 1378
Reply | Quote
Re: HELP!!!!!!!


I think I might have worked out how to do this! emoticon

---
Margaret "Molly" Brown biography
White Star Line History Website
Titanic Pages
Apr/9/2004, 8:34 pm Link to this post Send Email to Thomas Dyer   Send PM to Thomas Dyer
 
Thomas Dyer Profile
Live feed
Blog
Friends
Miscellaneous info

Cedric Member

Registered: 05-2003
Location: United Kingdom
Posts: 1378
Reply | Quote
Re: HELP!!!!!!!


I might be able to get it online tonight!!!! emoticon

---
Margaret "Molly" Brown biography
White Star Line History Website
Titanic Pages
Apr/9/2004, 8:43 pm Link to this post Send Email to Thomas Dyer   Send PM to Thomas Dyer
 
Rosie1912 Profile
Live feed
Blog
Friends
Miscellaneous info

Celtic

Registered: 11-2003
Posts: 55
Reply | Quote
Re: HELP!!!!!!!


Oh great!! That's fantastic.. It got too late last night for me to try to fix it..
Apr/10/2004, 8:07 am Link to this post Send Email to Rosie1912   Send PM to Rosie1912
 
graham 01 Profile
Live feed
Blog
Friends
Miscellaneous info

Cedric Member

Registered: 02-2004
Location: Middlesbrough UK
Posts: 5797
Reply | Quote
Re: HELP!!!!!!!


hi Tom

Looks like it is getting there, I tend to agree with Rosie though I think the index page has to be on a seperate page,

Graham

---
Why dont people do what they say nowadays http://www.freewebs.com/hms-kellington/
http://www.freewebs.com/graham7760/index.htm
http://www.freewebs.com/hmsroyaloak/
Apr/10/2004, 1:18 pm Link to this post Send Email to graham 01   Send PM to graham 01 Blog
 
Titanica Profile
Live feed
Blog
Friends
Miscellaneous info

Cedric Member

Registered: 03-2004
Posts: 551
Reply | Quote
Re: HELP!!!!!!!


Sorry Tom, I am not good with HTML. I wish I could help you with that!! emoticon

---

Apr/10/2004, 5:38 pm Link to this post Send Email to Titanica   Send PM to Titanica Blog
 


Add a reply to this TDTSC topic.

Page:  1  2 





You are not logged in (Login to TDTSC)


Copyright © 2003-2018 TDTSC Maritime Network