![]() |
Quote:
|
Quote:
|
Erwin,
I use this form to post trades between two members and currently have it setup to post the trade to a a specific form...I would also like to have it so it sends a PM to the other member (the person posting the form has to enter the other members name). Could I use the form answer variable to do this? Also if it is possible, and the person posting the trade enters a wrong member name (misspelled etc) would it still post in the form but not send the pm? |
Quote:
|
Quote:
|
Quote:
|
Can anyone advise me or provide help with the following scenario
When viewing someone's profile I wish to be able to click to open up a new form which will then be sent both to the person who's profile is being viewed and also to a third party preset email address. I understand how to get most of the data prefilled on the form (such as the senders email address) but cannot see how I can pass the username and usernames email address of the person who's profile is being viewed into and to be used by the form An alternative to doing this would be the ability to select a user from the member list (maybe in drop down) and then return to the form and populate the fields with their name, email address and maybe a custom field from their profile Hope someone can assist and many thanks in advance Regards Darrin |
The variables for the profile owners page are $userinfo[username] etc. rather than $bbuserinfo.. you should be able to use those to fill out form fields.
|
Seemes to be a very useful hack.
I have a suggestion/question. Is i possible to make a form that I can fill in and submit today and that will be posted as a thred on Sunday say 7 am. I want to use this to be able to spread news articles that I post at one time over several days. I also guess it could be nice if you wanted a poll posted 6 am the first day of the month or something. A chance to post a thread at any given date and time that you set in a form. |
Hi,
once again, have not been through all post of this thread. Just want to let you know, that I found two missing TABLE_PREFIXes! Code:
$DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,pagetext,allowsmilie,showsignature,ipaddress,iconid,visible) VALUES (NULL,'$formreplythreadid','".addslashes(htmlspecialchars($bbuserinfo[username]))." $formtitle','".addslashes($bbuserinfo[username])."','$bbuserinfo[userid]','".time()."','" . addslashes($formsend) . "','1','1','0','0','1')"); Code:
$DB_site->query("INSERT INTO " . TABLE_PREFIX . "post (postid,threadid,title,username,userid,dateline,pagetext,allowsmilie,showsignature,ipaddress,iconid,visible) VALUES (NULL,'$formreplythreadid','".addslashes(htmlspecialchars($bbuserinfo[username]))." $formtitle','".addslashes($bbuserinfo[username])."','$bbuserinfo[userid]','".time()."','" . addslashes($formsend) . "','1','1','0','0','1')"); Tobi |
All times are GMT. The time now is 06:11 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|