This site is READ ONLY!! No support will be given! Everything in here is just for archiving purposes!

[Request] Code that populates PM specs

Any phpBB3 mod requests go here NOT SUPPORT!
Post Reply
sgtoverlord

[Request] Code that populates PM specs

Post by sgtoverlord »

Hello All:

I am trying to code a link that a person will click in a topic that will bring up the PM "compose" screen with:
  • a specific user in the "To" field
  • a specific subject in the "Subject" field
  • a some text in the "Body" field
I actually have code for a link with the "To" field populated and it functions correctly.

I need help with how to enter in a subject in the "subject" field, and some default text in the "body" portion of the PM.

Here is the code that I have already:

Code: Select all

http://somewebsite.com/forums/ucp.php?i=pm&mode=compose&u=2855
Any help you can provide will be greatly appreciated.

[edit]Edit by Ooopsie. Title was non-descript![/edit]
Last edited by sgtoverlord on Mon Feb 13 2012 4:35 pm, edited 2 times in total.
User avatar
cisco007
Ciscox
Ciscox
Posts: 2843
Joined: Thu Sep 16 2010 3:25 pm
Country Flag: Mexico

Re: [Request] Link that sends PM

Post by cisco007 »

isn't that how the PM button works underneath each person that posts in the topic work? or are you asking for something else!
Image
sgtoverlord

Re: [Request] Link that sends PM

Post by sgtoverlord »

Yes I am trying to do something different.

The PM button you refer to will simply put the text of the post into a quote box. It will also address the PM to the author of that post, and put the title of the post into the subject line.

I am trying to have a pm that has a specific recipient, specific text in the body (such as a set of questions), and to a specific recipient that may not be the author of that post.
User avatar
Steve
X-Steve
X-Steve
Posts: 1920
Joined: Thu Sep 16 2010 3:19 pm
Real name: Steve© MX
Country Flag: Great Britain
Location: Up north!
Contact:

Re: [Request] Code that populates PM specs

Post by Steve »

a bbcode want do that you would have to assign a new pm function in viewtopic for [c]postrow.AUTHOR[/c]r and use the funtion [c]submit_pm()[/c]

give me a couple of days i will write it up.

--moved from BBcode support -> phpBB3 Mod requests
Hello! and Do NOT contact me via private message for support!!
Post Reply