• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ Feature Requests (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

Private messages?

This forum is now locked as we will no longer be developing the v1.x branch

Moderators: OldWolf, re*s.t.a.r.s.*2

Topic locked
7 posts • Page 1 of 1

Postby DaveS » Sun Feb 19, 2006 6:50 pm

this would be a great addtion
R.David Sisemore
Webmaster
Brothers of the Third Wheel
www.btw-trikers.org
DaveS
Member
 
Posts: 12
Joined: Sat Feb 18, 2006 5:02 pm
Location: San Diego, CA USA
  • Website
Top

Postby phpfreechat » Sun Feb 19, 2006 7:15 pm

planned for 1.0 release.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby edpollard » Mon May 15, 2006 10:07 pm

This is a great option, I looked at it in the beta demo site. One suggestion, could you alias /msg to the command you created for it? I know I am showing a bit of age but /msg comes very naturally to me in chat programs to send private chats.
edpollard
New member
 
Posts: 6
Joined: Mon May 15, 2006 10:05 pm
Top

Postby phpfreechat » Tue May 16, 2006 1:28 pm

Hummm ... you think about something like that ?
/msg nickname message
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby Rhialto » Thu May 18, 2006 3:39 am

Why not only /m nick message? Nevermind, I don't need that feature for now but just suggesting...
Rhialto
Member
 
Posts: 30
Joined: Sat Apr 15, 2006 7:40 am
Location: Canada
Top

Postby phpfreechat » Thu May 18, 2006 8:51 am

In fact with my question I'm just trying to let you become aware of a concret problem :
One of the phpfreechat features is to allows nicknames with any kind of characteres, chinese, accent, etc ... and also spaces.
When using this kind of commands, with a space as a separator (between 'nickname' and the message content), it make imposible to know where is the real separator as the space character can exists somewhere in the nickname.

The way I manage this problem internaly is to use a hashed (using md5sum) nickname. But this hashed nickname is a unreadable string for human, something like that fdba8e62b9f99621e4caa5b149e3f82b.
So I don't want the user type : /msg fdba8e62b9f99621e4caa5b149e3f82b hello, how are you :)
Currently I don't have a user friendly manner to make possible these kind of composed commands.

I don't know if I'm clear, but any ideas are welcomed :)
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby QdR » Tue Jun 20, 2006 11:07 pm

Maybe surround the name with a special delimiter? .

/msg Any Long Name This is a message.

Simply strip the leading and trailing backslashes when a user connects, IF a user has chosen a nick like

Cool Me--> Cool Me,

You'll never get conflicts.

Then you can use RegExp to parse :)
QdR
New member
 
Posts: 4
Joined: Sun Apr 16, 2006 2:38 am
Top


Topic locked
7 posts • Page 1 of 1

Return to Feature Requests (v1.x)

Who is online

Users browsing this forum: No registered users and 7 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
cron
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub