Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Private messages without chatterbox

by ikegami (Patriarch)
on Oct 17, 2004 at 20:01 UTC ( [id://399961]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Private messages without chatterbox
in thread Private messages without chatterbox

A variation:

Replace the node id at <------ with the node id of the page on which the form is located, the node id of the full page chat (3184), the node id of inbox (48824), or whatever. This is where you'll be redirected when the message is sent.

<form method="POST"> <input type="hidden" name="op" value="message"> <input type="hidden" name="node_id" value="3184"> <------ <table> <tr><td>To:</td><td><input type="text" name="recipient"></td></tr> <tr><td>Private Msg:</td><td><input type="text" name="text" width="100 +"></td></tr> </table> <input type="hidden" name="message" value=""> <input type="button" value="Send" onclick=" this.form.message = "/msg [" + this.form.recipient + "] " + this.fo +rm.text; this.form.submit(); "> </form>

Requires JavaScript. Untested. Doesn't check the length. It has the side offect of preventing messages from being sent to the CB

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://399961]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-26 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found