The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Send message for user

View previous topic View next topic Go down

In progress Send message for user

Post by -MiSHmaSH- on 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-
Forumember

Male Posts : 267
Reputation : 11
Language : Latvian

Back to top Go down

In progress Re: Send message for user

Post by Sanket on 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
ForumGuru

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

http://webartzforum.com

Back to top Go down

In progress Re: Send message for user

Post by -MiSHmaSH- on 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-
Forumember

Male Posts : 267
Reputation : 11
Language : Latvian

Back to top Go down

In progress Re: Send message for user

Post by Sanket on 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
ForumGuru

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

http://webartzforum.com

Back to top Go down

In progress Re: Send message for user

Post by [NH]Shadow on 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
Forumember

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

http://teamnighthawk.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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