![]() |
Quote:
$answer3="$bbuserinfo[username]"; ?? Quote:
|
Quote:
In my "post" template, I had it down like this: $question1: $bbuserinfo[ username] $question2: $answer2 $question3: $answer3 $question4: $answer4 --------------------------- Though I hard-coded the $bbuser-thing into the "post" template and didn't input an answer for question 1 in the main form template ... I didn't use an $answer1 variable at all, so I had not defined $answer1 in the php file. The form that posted looked like this: (1) Your Username: Talisman (2) Your first name: Susan (3) Your boat name: (4) Your country flag: USA Every time I tested it, the boat name ($answer3) came up blank when it exactly matched the content of my $bbuserinfo[ username] variable. I confirmed this by entering a different boat name (that didn't match my username). When the $answer3 boat name was different from the username..... it worked. Now, I'll go try it the way you showed, Erwin. Be back soon to let you know how that turns out. Cheers! |
Erwin, can you help me out with why I would get the following error message when trying to run form1.php?
Fatal error: Call to undefined function: gettemplate() in /home2/cms/public_html/forums/form1.php on line 214 The form is located at: http://forums.classicmortgageservices.net/form1.php I haven't even begun to customize it, Im just trying to get it working. I added the templates exactly as the instructions said... Thanks, Ryan |
I can see that problem, retsell.
Your error message points to "/forums/form1.php" but the link you show uses a different directory structure for your "forums" subdirectory. |
Quote:
Im confused. http://www.classicmortgageservices.net/forums/form1.php its the same as: http://forums.classicmortgageservices.net/form1.php forums.classicmortgageservices.net is just a subdomain that points to /forums Am I not understanding you? |
Ok, sorry for the confusion, retsell...... I thought the link would be literal. Was going for a solution that was too obvious, I guess. :(
|
this hack scares me, I really REALLY want to use it, but its not working correctly, shame because its JUST what i need
|
Put the form1.php file in the same directory as your forums.
It cannot find the nopermission function ie. cannot find your global.php |
woooooh hold the press! i finally got this godamn thing working
thirteen template edits and ten file edits down the line, duno what the problem was. anyways is their anyway of making one of the submitted fields the title of the thread? |
Quote:
|
All times are GMT. The time now is 11:06 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:
|