The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Send message for user

3 posters

Go down

In progress Send message for user

Post by -MiSHmaSH- October 28th 2013, 6:03 pm

Hi would like code that when I fill form and send it, it sends to selected user. Like that form: http://tankionline.latvianforum.net/h1-tester I fill and it sends to my private messages.
-MiSHmaSH-
-MiSHmaSH-
Forumember

Male Posts : 267
Reputation : 12
Language : Latvian

Back to top Go down

In progress Re: Send message for user

Post by Sanket October 28th 2013, 6:16 pm

http://testing.4rumer.com/
My test forum has that as a widget, you can try it.

Here is the code.

Code:
<form enctype="multipart/form-data" name="post" method="post" action="/privmsg">
    Username: <input id="username" class="post" type="text" tabindex="1" size="25" value="Admin" name="username[]"><br>
    Subject: <input id="acpro_inp10" class="post" type="text" onkeypress="if (event.keyCode==13){return false}" title="" tabindex="2" maxlength="64" size="45" value="Shop" name="subject" style="width:450px"><br />
    Message:<br />
    <textarea id="text_editor_textarea" class="post" wrap="virtual" tabindex="3" cols="35" rows="15" name="message" style="width:100%;height:250px"></textarea>
    <input type="hidden" value="" name="lt">
    <input type="hidden" value="inbox" name="folder">
    <input type="hidden" value="post" name="mode">
    <input class="mainoption" type="submit" accesskey="s" tabindex="6" value="Send" name="post">
    </form>
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

In progress Re: Send message for user

Post by -MiSHmaSH- October 28th 2013, 8:13 pm

No, I don't need that, sorry. If it is not possible as PM, maybe it works for e-mail?
-MiSHmaSH-
-MiSHmaSH-
Forumember

Male Posts : 267
Reputation : 12
Language : Latvian

Back to top Go down

In progress Re: Send message for user

Post by Sanket October 29th 2013, 5:03 am

I don't understand, if you fill in the details it will send a PM. Isn't that what you want?
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

In progress Re: Send message for user

Post by [NH]Shadow October 29th 2013, 12:31 pm

Hi,
This is the code for the widget you have requested.
Code:

[font=Verdana, Arial, Helvetica, sans-serif]<head></head><body>

<h3>Test!</h3>

<form action="MAILTO:insert-email@address.com" method="post" enctype="text/plain">
Name:<br>
<input type="text" name="name" value="your name"><br>
E-mail:<br>
<input type="text" name="mail" value="your email"><br>
Comment:<br>
<input type="text" name="comment" value="your comment" size="50"><br><br>
<input type="submit" value="Send">
<input type="reset" value="Reset">
</form>


</body>[/font]
[font=Verdana, Arial, Helvetica, sans-serif]


Cheers!
[NH]Shadow
[NH]Shadow
Forumember

Male Posts : 28
Reputation : 3
Language : English, Русский, Svenska, Español

http://teamnighthawk.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum