Not Solved How many mybb modals are there?
#1
Not Solved
How many mybb modals are there?

can anyone list me the modals thanks

Need to convert them to bootstraps
Reply
#2
Not Solved
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.
Reply
#3
Not Solved
the login has a modal i believe
Reply
#4
Not Solved
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>
Reply
#5
Not Solved
thanks i need the other modals thanks
Reply
#6
Not Solved
What exactly do you need?
Reply
#7
Not Solved
if you are gonna swap modal you need to do them all, bootstrap and mybb modal uses the same naming class so they clash
Reply
#8
Not Solved
Besides login, buddy list, and reputation rate, what other modals are there?

get more smilies listing
What goes around comes around
Reply
#9
Not Solved
misc_imcenter_aim
misc_imcenter_skype
misc_imcenter_yahoo
misc_smilies_popup
misc_whoposted
What goes around comes around
Reply
#10
Not Solved
thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)