Author

Topic: How do I make a "compose private message"-link with pre-entered text? (Read 676 times)

hero member
Activity: 678
Merit: 1000
Hey, I hear my name! Tongue

But yeh, with a bit of a hacky solution it's actually possible:

https://bitcointalk.org/index.php?action=pm;sa=send2;to=NLNico;bcc=NLNico;message=test%0Anewline;subject=test%20subject

Code:
https://bitcointalk.org/index.php?action=pm;sa=send2;to=NLNico;bcc=NLNico;message=test%0Anewline;subject=test%20subject

- You can use either "to" (username) or "u" (id)
- As example I included "bcc" and "subject" too, obviously you can change/remove that
- Use "%0A" for newline
- Use "%20" for space
- It is hacky because it actually links to the "second send page", but since there is a protection (so you cannot trick people into sending a message), you get a "session expired" error. But it technically works for your purpose Tongue

I forgot about this thread so I didn't see your post Shocked but thank you so much, this will come in handy!! Smiley
legendary
Activity: 3038
Merit: 1032
RIP Mommy
copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
You sure are Legendary and you do deserve that badge, mate. Wink
legendary
Activity: 1876
Merit: 1303
DiceSites.com owner
Hey, I hear my name! Tongue

But yeh, with a bit of a hacky solution it's actually possible:

https://bitcointalk.org/index.php?action=pm;sa=send2;to=NLNico;bcc=NLNico;message=test%0Anewline;subject=test%20subject

Code:
https://bitcointalk.org/index.php?action=pm;sa=send2;to=NLNico;bcc=NLNico;message=test%0Anewline;subject=test%20subject

- You can use either "to" (username) or "u" (id)
- As example I included "bcc" and "subject" too, obviously you can change/remove that
- Use "%0A" for newline
- Use "%20" for space
- It is hacky because it actually links to the "second send page", but since there is a protection (so you cannot trick people into sending a message), you get a "session expired" error. But it technically works for your purpose Tongue
copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
As far as I know you can only pre-enter the username. Maybe ask NLNico if he knows something, that guy read through the SMF source. Wink
hero member
Activity: 812
Merit: 1000
Don't know if that is possible or not, move it to meta and a moderator or someone more familiar with the forum software might be able to help you.
hero member
Activity: 678
Merit: 1000
I know it's possible somehow to make a link so that when you click it you start composing a private message with some info already put in. I'm not talking about https://bitcointalk.org/index.php?action=pm;sa=send;u=147307 but it's a modification of it.
Jump to: