View Full Version : Solved $eznloptinbox not showing
kenfuzed
12-04-2008, 02:38 PM
I can't seem to get the optin option to show up in the User CP. I added $eznloptinbox to the register template (all styles) but still not showing to my members.
$eznloptinbox
<if condition="$show['email']">
The optin/optout option only shows up under the Admin CP > User Manager > User Profile Fields.
The code snippet you posted is for the register template only.
What version of vBulletin is that? You may not have a template hook in the user cp modifyoptions template, only the php hook.
For the user cp modify options you need...
<fieldset class="fieldset">
<legend>$vbphrase[eznl_receive_news_letter]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td>
$vbphrase[eznl_we_send_forum_digest]
</td>
</tr>
<td><label for="cb_eznlemail"><input type="checkbox" name="eznlemail" value="1" id="cb_eznlemail" $ezcheck />$vbphrase[eznl_receive_news_letter]</label></td>
</tr>
</table>
</fieldset>
Or at a minimum...
$vbphrase[eznl_we_send_forum_digest]<br />
<input type="checkbox" name="eznlemail" value="1" id="cb_eznlemail" $ezcheck /><br />
added to the template Modify User Option Templates->modifyoptions.
I don't have that template to look at, but you should get the idea.
kenfuzed
12-04-2008, 03:33 PM
That did the trick, thanks!
That did the trick, thanks!
You're welcome.
Just a note, I'm closing these so each issue get a new thread.
Thanks
vBulletin® v3.8.5, Copyright ©2000-2010, Jelsoft Enterprises Ltd.