rejetto forum
May 24, 2012, 07:38:09 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: chat  (Read 1745 times)
0 Members and 1 Guest are viewing this topic.
ronny
Guest


Email
« on: October 27, 2006, 08:09:18 AM »

is there any way to talk to users connected to HFS
Logged
maverick
Insane poster
*****
Offline Offline

Posts: 1056


Computer Solutions


View Profile
« Reply #1 on: October 27, 2006, 10:34:38 AM »


Sure.  Use a chat server. 
Logged

maverick
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #2 on: October 28, 2006, 12:07:38 PM »

hehe
no, sorry
Logged
wfm
Guest


Email
« Reply #3 on: June 10, 2010, 03:45:46 PM »

make a new virtual folder and use this as "diff template"

<html>
<head>
<title>HFS %folder%</title>
<link rel="shortcut icon" href="favicon.ico" />

<!-- used to refresh chat box -->
<script language="JavaScript" type="text/JavaScript">
var refresh=true;
function Prefresh() {
  if ((document.frm.texto.value=='') & (document.frm.login.value>''))
  {
  window.location="{.get|url|text=.}";
  document.frm.texto.focus();
  refresh=true;
  }
};
if (refresh) setTimeout("Prefresh()",5000);
</script>

<!-- Define special:begin -->
{.set | pass | !clear .}
{.set | chatfile | chat.txt .}
{.set | chattext | {.load|{.^chatfile.} .} .}
{.set| maxlength | 100240.}

<!-- Limit Length of file and reset it when pass is given -->
{.if|{.length | {.^chattext.} .}>{.^maxlength.}|
  {. set | chattext |{.cut||{.div|{.^maxlength.}|2.}|{.^chattext.} .}/set.}
 /if.}
{.if|{.?text={.^pass.}.}|{:{.save | {.^chatfile.}|.}:}.}


<!-- Save chat file on hard drive -->

{.if| {.and|{.?name.}|{.?text.}|{.not| {.?text={.^pass.}.}.}/and.}
     |{:
          {.set | chattext |{.time.} --- <b>{.?name.}</b>&gt; {.?text.}<br>{.^chattext.}.}
          {.save | {.^chatfile.}|{.^chattext.} /save.}
      :}
/if.}


</head>
<body>
Welcome to the dopehaus chat board. feel free to use this as a classifiieds directory or what ever you want i guess. also this is now a perminent location for the snitchlist backup. feel free to add to it. %user% <img src="/~img27" /> ! </b>
<br>
<form name=frm>
  <b>NAME</b>{.repeat|2|&nbsp;.}<input id=login name=name style="font-size:10pt; font-weight:bold; color:7F7F7F; background-color:FFFFFF; border:3px solid #88f;" value="{.if|{.?name.}|{.?name.}|%user%.}" onfocus="javascript:refresh='false';" size="24% onblur="javascript:refresh='true';">
  <br><br>
  <b>&nbsp;TEXT</b>{.repeat|2|&nbsp;.}<input id=texto name=text style="font-size:10pt; font-weight:bold; color:7F7F7F; background-color:FFFFFF; border:3px solid #88f;" onfocus="javascript:refresh='true';" size="117%" >
  <br>
  {.repeat|9|&nbsp;.}<input type=submit>
  <br><br>
</form>

{.repeat|9|&nbsp;.}<button onclick="Prefresh();">Refresh</button>

<HR COLOR="b1aba7">
{.breadcrumbs|{:<a href="%bread-url%">{.if|{.%bread-name%=.}|Home|%bread-name%.}/</a>:} .}
<CENTER>Date: %date% - Time: %time%</CENTER>
<HR COLOR="B1ABA7">
<br><br>
{.load|{.^chatfile.}.}
<!-- give the focus to the text field -->
<script language="JavaScript" type="text/JavaScript">document.frm.texto.focus();</script>

</body>
</html>

« Last Edit: June 10, 2010, 05:31:47 PM by Mars » Logged
Mars
Operator
Insane poster
*****
Online Online

France France

Posts: 1481



View Profile WWW
« Reply #4 on: June 10, 2010, 05:37:12 PM »

An old chat of Mars accommodated to a personalized sauce  Grin


* image.png (6.75 KB, 1132x251 - viewed 92 times.)
Logged
CivicScootin
Experienced poster
***
Offline Offline

United States United States

Posts: 37



View Profile
« Reply #5 on: August 24, 2010, 01:47:55 AM »

I really hate to bring an old thread back to the front..
However I have a quick question...

Is there a way to have different users have different font colors when they post?..
Im sure its not that hard to implant (script command) it in however Im not good at scripting one bit and I have not idea where to start on this..
The strait black color just gets jumbled when many users talk at once..

Also any thought on the color change of the background?..
Or even have a script command on where to place a background image as all my testings have failed?..

Like always I do apologize for the dumb N00b questions however theirs no dumb questions - just ignorant people (in this case me)..

Thank you in advance,
Civic/Scootin
Logged

rejetto forum
« Reply #5 on: August 24, 2010, 01:47:55 AM »

Do you like this software? Consider even $2
 Logged
SilentPliz
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1046


....... chut ! shh!


View Profile WWW
« Reply #6 on: August 24, 2010, 04:50:35 PM »

Is there a way to have different users have different font colors when they post?..
Im sure its not that hard to implant (script command) it in however Im not good at scripting one bit and I have not idea where to start on this..
The strait black color just gets jumbled when many users talk at once..

 Wink This is the "Chat" done by Mars and me ... I changed a few things that should work.

1)
- You extract the archive (obviously Roll Eyes)
- You put the folder named smilhfs in the same folder as hfs.exe
- Add it to VFS ... Properties... > Flag Hidden ... Acess for Any accounts or users of your choice.

2)
You put the file hfs.diff.tpl in real(s) folder(s) you want "change" in Chat.







"Chat files" named folder_name.txt are created in the folder of hfs.exe.

* CHAT.zip (27.06 KB - downloaded 55 times.)
« Last Edit: August 26, 2010, 09:51:01 PM by SilentPliz » Logged
CivicScootin
Experienced poster
***
Offline Offline

United States United States

Posts: 37



View Profile
« Reply #7 on: August 24, 2010, 08:04:45 PM »

Wow thats sexy as hell!..
Great work Silent (& Mars)..

Just what I needed

EDIT:
Found one issue with this..
Is there any way to hide the text found with in the pix below?..
This was done after selecting the font color and size~

Thanks though as this is what I wanted ~ I enjoy the sound tone as well when a message is sent


* sshot-1.jpg (27.68 KB, 494x342 - viewed 47 times.)
« Last Edit: August 24, 2010, 08:45:10 PM by CivicScootin » Logged

SilentPliz
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1046


....... chut ! shh!


View Profile WWW
« Reply #8 on: August 24, 2010, 09:40:26 PM »

EDIT:
Found one issue with this..
Is there any way to hide the text found with in the pix below?..
This was done after selecting the font color and size~

It's not possible because of the way this chat is designed, we need HTML commands.

<font color=blue>Your text here</font> = Your text here

<font size=7>Your text here</font> = Your text here

With IE you can type text, select it and choose the option after.

With Firefox you choose the option and then you type the text.

If anyone knows how to achieve a function "select" compatible with Firefox (?) Huh? ...
« Last Edit: August 24, 2010, 09:42:55 PM by SilentPliz » Logged
CivicScootin
Experienced poster
***
Offline Offline

United States United States

Posts: 37



View Profile
« Reply #9 on: August 24, 2010, 11:30:23 PM »

With IE you can type text, select it and choose the option after.

With Firefox you choose the option and then you type the text.

If anyone knows how to achieve a function "select" compatible with Firefox (?) Huh? ...
Ok now I can see why its the way it is with Firefox..
Thank you for explaining that to me..
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 18, 2012, 02:05:56 PM
anything