MyBB Community Forums

Full Version: How many mybb modals are there?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How many mybb modals are there?

can anyone list me the modals thanks

Need to convert them to bootstraps
as far asI know, MyBB does no use modals.
So the list will be empty.

BUT, to include bootstrap is a different story. No problem to make the forum responsive, with use of col eg col-sm-2 for sidebar,col-sm-6, container-fluid, img-responsive and so on.

Have not tried to include the use of modal, btn and so on, since I guess it will be to much work to retype many of them after an mybb update.
the login has a modal i believe
True, try this
<ul class="list-unstyled">
<li><a href="{$mybb->settings['bburl']}/member.php?action=login" onclick="$('#quick_login').modal({ fadeDuration: 250, keepelement: true }); return false;" class="login btn btn-default custom">{$lang->welcome_login}</a></li>
    	<li><a href="{$mybb->settings['bburl']}/member.php?action=register" class="btn btn-default custom">{$lang->welcome_register}</a></li>
  </ul>
</div>
				<div class="modal" id="quick_login" style="display: none;">
					<form method="post" action="{$mybb->settings['bburl']}/member.php">
						<input name="action" type="hidden" value="do_login" />
						<input name="url" type="hidden" value="" />
						<input name="quick_login" type="hidden" value="1" />
						<table width="100%" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" border="0" class="tborder">
							<tr>
								<td class="thead" colspan="2"><strong>{$lang->login}</strong></td>
							</tr>
							<tr>
								<td class="trow1" width="25%"><strong>{$login_username}</strong></td>
								<td class="trow1"><input name="quick_username" id="quick_login_username" type="text" value="" class="textbox initial_focus" /></td>
							</tr>
							<tr>
								<td class="trow2"><strong>{$lang->password}</strong></td>
								<td class="trow2">
									<input name="quick_password" id="quick_login_password" type="password" value="" class="textbox" /> <a href="{$mybb->settings['bburl']}/member.php?action=lostpw" class="lost_password">{$lang->lost_password}</a>
								</td>
							</tr>
							<tr>
								<td class="trow1">&nbsp;</td>
								<td class="trow1 remember_me">
									<input name="quick_remember" id="quick_login_remember" type="checkbox" value="yes" class="checkbox" checked="checked" />
									<label for="quick_login_remember">{$lang->remember_me}</label>
								</td>
							</tr>
							<tr>
								<td class="trow2" colspan="2">
									<div align="center"><input name="submit" type="submit" class="button" value="{$lang->login}" /></div>
								</td>
							</tr>
						</table>
					</form>
			</div>
				<script type="text/javascript">
					$("#quick_login input[name='url']").val($(location).attr('href'));
	</script>
thanks i need the other modals thanks
What exactly do you need?
if you are gonna swap modal you need to do them all, bootstrap and mybb modal uses the same naming class so they clash
Besides login, buddy list, and reputation rate, what other modals are there?

get more smilies listing
misc_imcenter_aim
misc_imcenter_skype
misc_imcenter_yahoo
misc_smilies_popup
misc_whoposted
thanks