Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Normal Cgi Chat, some questions
HmmZ
post Apr 30 2005, 06:39 AM
Post #1


Super Member
*********

Group: Members
Posts: 362
Joined: 2-March 05
From: The Netherlands
Member No.: 4,097



CODE
<form target="entropychat" action="http://online.trap17.com:2084/">
Nick Name: <input type="text" name="nick" value="">
<input type="hidden" name="channel" value="online.trap17.com">
<input type="submit" value="Enter Chat">
</form>


Thats the normal cgi chat code and I have a few questions concerning it:
-Is it possible to change background and other colors?
-Is it possible to (when click submit) to open it in the same window...completely resized to serve as a gamechat?
-When I first logged in everything was fine, I modified the above code to get the players name and "force" it to use it in the chat, is it possible to end the session of a username? if so i would like to put a logout button in the chat too.

Thanks in advance, easy and fast chat rocks ^^ (now just modify it o.O)
Go to the top of the page
 
+Quote Post
Inspiron
post Apr 30 2005, 09:08 AM
Post #2


Trap Grand Marshal Member
***********

Group: Members
Posts: 1,203
Joined: 25-March 05
Member No.: 4,883



-Is it possible to change background and other colors? .. YES since it's just a form..
-Is it possible to (when click submit) to open it in the same window...completely resized to serve as a gamechat? .. YES by using Javascript..
-When I first logged in everything was fine, I modified the above code to get the players name and "force" it to use it in the chat, is it possible to end the session of a username? if so i would like to put a logout button in the chat too. ... Huh..? I don't understand..


Background color :
(By adding style="background-color:yellow;")
<form target="entropychat" action="http://online.trap17.com:2084/" style="background-color:yellow;">
Nick Name: <input type="text" name="nick" value="" size="20">
<input type="hidden" name="channel" value="online.trap17.com">
<input type="submit" value="Enter Chat">
</form>


Open in Same Window :
(By changing your target to "_self")
<form target="_self" action="http://online.trap17.com:2084/" style="background-color:yellow;">
Nick Name: <input type="text" name="nick" value="" size="20">
<input type="hidden" name="channel" value="online.trap17.com">
<input type="submit" value="Enter Chat">
</form>

Resize window:
http://www.javascripter.net/faq/resizing.htm
http://www.codeave.com/javascript/code.asp?u_log=7065


As for your 3rd question, I believe it's the part http://online.trap17.com:2084/ that controls the nickname.
That script in http://online.trap17.com:2084/ should be configured to accept the nickname and carry the nickname into the script for use..


Hope all these helps...

smile.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. New Credits System(23)
  2. Chat Port?(3)
  3. Questions About Deleting My Account(3)
  4. Domain Addons / Parking Questions(8)
  5. Help With Phpbb And Phpchat(3)
  6. Mp3 Questions(7)
  7. Irc Chat For Trap17(4)
  8. Account Suspended Questions(4)
  9. Questions About Credits.(9)
  10. Oscommerce Questions(1)
  11. V Bulletin Questions(4)
  12. Got A Few Questions About My New Site(8)
  13. Computighost Questions!(1)
  14. A Problem With The Javascript/cgi Chat(2)
  15. 2 Questions - Hosting(4)
  1. Directory Questions Using Cuteftp(4)
  2. Java/cgi Chat Room(5)
  3. How Can I Delete A Php Chat Room?(5)
  4. Problems With Deleted Features In A Site.(5)
  5. Domain Name Changing Questions(4)
  6. How Do I Activate This Parked Domain(11)
  7. Cpanel + Website + Ftp + Xisto Network Ban.(4)
  8. Something About Chat...(7)
  9. Drupal Questions(3)
  10. Error When Trying To Log To Cpanel(1)
  11. Is This Message Normal?(4)
  12. Tos Queries(2)
  13. Internet Relay Chat(2)


 



- Lo-Fi Version Time is now: 11th October 2008 - 09:05 PM