Log in

View Full Version : PM Question


Spyke
11-12-2004, 11:37 PM
Hi,

Don't know if this goes here, sorry if it doesn't.

How do i set a pre-defined title of a PM with a link?

what i'm trying to do is, when a user clicks a link it will take them to the New PM form with the user name and title already filled in. So, like sending a normal PM but with setting the title as well as the username.

http://forumname.com/forums/private.php?do=newpm&u=1 sets the username, so, what do i add to that for it to set the title as well?

Thanks :)

Gio~Logist
11-13-2004, 01:37 AM
if ur sayig what i think u r, just reply lol

Spyke
11-13-2004, 01:57 AM
no, the link isn't anywhere in the PM area.

Ok, let's see.

In HTML when you hit a "E-Mail Me" link or what have you, the code is


<a href="mailto:name@domain.com" subject="Subject Name">E-Mail Me</a>


The 'subject="Subject Name' set's the e-mails subject to Subject Name.

I'm trying to do that, but with a private message.


<a href="/forums/private.php?do=newpm&u=1">Send PM<a/>


That will set the user 1's username to send the message too. How do i also get it to set the title?

Thanks.

miz
11-13-2004, 05:19 AM
you cant get the title cuse its not set yet but you can get the user name of member

Spyke
11-13-2004, 03:56 PM
hmm, ok, thanks anyway :)