vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   PM Question (https://vborg.vbsupport.ru/showthread.php?t=71685)

Spyke 11-12-2004 11:37 PM

PM Question
 
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

Code:

<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.

Code:

<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 :)


All times are GMT. The time now is 03:15 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00957 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete