Okay here's the complete non working script.
Under the template definitions at the top of profile.php I have added this...
Quote:
'edittitlecolor' => array(
'titlecolor',
),
|
Then I have what I listed at the top of this page...
And to finish it off I have this template...
Quote:
<form action="profile.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="updatetitlecolor" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td>
<fieldset class="fieldset">
<legend>Update User Title Color</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td><smallfont>Enter the color of what you would like your User Title Color to appear on posts.</smallfont>
<div>
<textarea name=font rows=1 cols=30>$bbuserinfo[titlecolor]</textarea>
</div> </td>
</tr>
</table>
</fieldset>
</td>
</tr>
<tr>
<td>
<div style="margin-top:$stylevar[cellpadding]px">
<input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" />
<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
</div>
</td>
</tr>
</table>
</form>
|