myQuiltAdmin1 Comments Field

MyQuiltAdmin 1 is now out of date. It is highly recommend that you download the latest copy that comes with a comment field built in. If for some reason you cannot use the later versions, this tutorial will work for you.

Adding a comments field to the form allows your visitors to fill in a bit of information about themselves when requesting a patch trade, allowing you to get to know the bee-member better, thus forming friendships more quickly. This is the whole point of the q*bee, after all!

Remember: the submitted comments will be sent via e-mail, but will not be stored in the myQuilt Admin database.

First things first, open form.php (or the file in which your form coding is stored if you have changed this) and add the following line after the member number input field:

<textarea name="comments" id="comments"></textarea> <label for="comments">Comments</label><br />

Save that file. Now open trade.php and near the top it should say $patch = $_POST['patch']; — underneath that add:

$comments = $_POST['comments'];.
Now find the line $body .= "(Save this patch as $patch_stored)\n\n"; (near the bottom of the file) and underneath it add:
$body .= "Comments: $comments";

Save trade.php, upload both of the modified files and enjoy!

NOTE: You can download the myQuilt Admin q*bee patch script from bubblessoc.net.

Page last modified: April 7, 2008