Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Private messages without chatterbox

by ambrus (Abbot)
on Oct 11, 2004 at 18:09 UTC ( [id://398232] : note . print w/replies, xml ) Need Help??

in reply to Private messages without chatterbox

Go to the User Settings page. In your Personal Nodelet, add an entry saying
<form method="post" action="?"><font size="-4"><input type="hidden" na +me="node_id" value="3193" /><input type="hidden" name="op" value="mes +sage" /><input type="text" name="message" value="" size="30" maxlengt +h="255" /><input type="submit" name="message_send" value="talk" /></f +ont></form>
Than, you can talk or send a private message even if you don't have the cb nodelet enabled (you must enable the Personal Nodelet of course).

Replies are listed 'Best First'.
Re^2: Private messages without chatterbox
by dfaure (Chaplain) on Oct 11, 2004 at 20:13 UTC

    This ++trick should definitely be documented somewhere (and now this is done thanks to you!).

    Anyway, the FAQ should have a perlmonks' tips & tricks section to link this kind of stuff...

    HTH, Dominique
    My two favorites:
    If the only tool you have is a hammer, you will see every problem as a nail. --Abraham Maslow
    Bien faire, et le faire savoir...

      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 + "] " + +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