MyBB Community Forums

Full Version: Password box in new thread (guests), is there a way to remove it?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

Where would I find the template file and code where I could comment out the password field for guests to post in certain forums? We don't use passwords and guests are confused over this password box.

MyBB 1.4.4

Thanks,
Gene
You mean in the new reply and new thread pages, yes??
(2009-03-03, 06:45 PM)Mattalan Wrote: [ -> ]You mean in the new reply and new thread pages, yes??

Exactly what I want, yes, I still want the function in case I ever need it and only want to eliminate (comment out) the password box.

Thanks,
Gene
Ok, if you open the Ungrouped Templates set, find the loginbox template, and change it to this:

<tr>
<td class="trow2"><strong>{$lang->username}</strong></td>
<td class="trow2"><input type="text" class="textbox" name="username" size="30" value="{$username}" /></td>
</tr>
<!--<tr>
<td class="trow1"><strong>{$lang->password}</strong></td>
<td class="trow1"><input type="password" class="textbox" name="password" size="30" value="{$password}" /></td>
</tr>-->

See what that does.
Great, thanks for the swift answer.

Cheers,
Gene