Quote:
Originally Posted by Chris-777
As a heads up:
I didn't like the mood changer in the navbar, so I moved it to the bottom of the 'modifyprofile' template. It worked for changing the mood, but for whatever reason it kills everything else. With the code on that page, it breaks the user's ability to save any changes to any of the user profile fields.
Just a heads up if you run into it.
|
That's odd, i'm not having that issue and i did a search first to see if anyone had moved it to "modifyprofile" template, like me & you, I didn't like it in the navbar either.
You sure you didn't accidentally put it in one of the form tags?
Code:
<fieldset class="fieldset">
<legend><label for="tb_customtext">$vbphrase[my_mood]</label></legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td colspan="2">$vbphrase[my_mood_explanation]</td>
</tr>
<tr>
<td>$usermoods</td>
</tr>
</table>
</fieldset>
I added the above code, above this line in "modifyprofile" template:
<if condition="$show['birthday_optional']">
I added my own explanation phrase as well, create the following phrase or ad your own phrase:
my_mood_explanation