MyBB Community Forums

Full Version: Login form show only title bar, help!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I just recently change theme with this https://community.mybb.com/mods.php?action=view&pid=798

Everything's seems fine except the login form. See attach file.

What went wrong and how to fix it?

br,
GSMKing
mybb 1.8.14
https://gsmunited.com.ph/index.php
login form is working fine for me (firefox)

further support is denied due to illegal files distribution through your forum.

[support eligibility policy]
(2018-09-05, 06:03 AM).m. Wrote: [ -> ]login form is working fine for me (firefox)

further support is denied due to illegal files distribution through your forum.

[support eligibility policy]

I managed to fix it somehow by modifying/copying codes from my other themes. And I do understand that I broke some support eligibility policy. Sorry about that I am Cellphone Technician and we do some mess up things sometimes. That's what we do for a living.

br,
GSMKing
https://gsmunited.com.ph/

Home » Template Sets » COD Templates » Edit Template: header_welcomeblock_guest

						<!-- Continuation of div(class="upper") as opened in the header template -->
						<span class="welcome">{$lang->welcome_guest} <a href="{$mybb->settings['bburl']}/member.php?action=login" onclick="$('#quick_login').modal({ fadeDuration: 250, keepelement: true, zIndex: (typeof modal_zindex !== 'undefined' ? modal_zindex : 9999) }); return false;" class="login"><i class="fa fa-sign-in panel-login"></i>{$lang->welcome_login}</a> <a href="{$mybb->settings['bburl']}/member.php?action=register" class="register"><i class="fa fa-user-plus panel-register"></i>{$lang->welcome_register}</a></span>
					</div>
				</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" />
						<input name="my_post_key" type="hidden" value="{$mybb->post_code}" />
						<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 style="padding: 20px;">
								<td style="padding: 20px;" class="remember_me trow1">									
<div align="center">									
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr style="padding: 20px;">
<td valign="top" width="50">
	
<strong>{$login_username}</strong><br />
	
	
<p class="field"><input style="margin-left: -3px; padding: 9px  12px;" name="quick_username" id="quick_login_username" type="text" value="" class="textbox initial_focus" /></p>
	
	
<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>
<td>&nbsp;</td>
<td valign="top">
	
<strong>{$lang->password}</strong><br />
	
<p class="field"><input style="margin-left: -2px; padding: 9px  12px;" name="quick_password" id="quick_login_password" type="password" value="" class="textbox" /></p> 
	
<a href="{$mybb->settings['bburl']}/member.php?action=lostpw" class="lost_password">{$lang->lost_password}</a>
</td>
</tr>
</table>
	</div>									

								</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>
(2018-09-05, 07:16 AM)GSMKing Wrote: [ -> ]
(2018-09-05, 06:03 AM).m. Wrote: [ -> ]login form is working fine for me (firefox)

further support is denied due to illegal files distribution through your forum.

[support eligibility policy]

I managed to fix it somehow by modifying/copying codes from my other themes. And I do understand that I broke some support eligibility policy. Sorry about that I am Cellphone Technician and we do some mess up things sometimes. That's what we do for a living.

br,
GSMKing
https://gsmunited.com.ph/

Home » Template Sets » COD Templates » Edit Template: header_welcomeblock_guest

						<!-- Continuation of div(class="upper") as opened in the header template -->
						<span class="welcome">{$lang->welcome_guest} <a href="{$mybb->settings['bburl']}/member.php?action=login" onclick="$('#quick_login').modal({ fadeDuration: 250, keepelement: true, zIndex: (typeof modal_zindex !== 'undefined' ? modal_zindex : 9999) }); return false;" class="login"><i class="fa fa-sign-in panel-login"></i>{$lang->welcome_login}</a> <a href="{$mybb->settings['bburl']}/member.php?action=register" class="register"><i class="fa fa-user-plus panel-register"></i>{$lang->welcome_register}</a></span>
					</div>
				</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" />
						<input name="my_post_key" type="hidden" value="{$mybb->post_code}" />
						<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 style="padding: 20px;">
								<td style="padding: 20px;" class="remember_me trow1">									
<div align="center">									
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr style="padding: 20px;">
<td valign="top" width="50">
	
<strong>{$login_username}</strong><br />
	
	
<p class="field"><input style="margin-left: -3px; padding: 9px  12px;" name="quick_username" id="quick_login_username" type="text" value="" class="textbox initial_focus" /></p>
	
	
<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>
<td>&nbsp;</td>
<td valign="top">
	
<strong>{$lang->password}</strong><br />
	
<p class="field"><input style="margin-left: -2px; padding: 9px  12px;" name="quick_password" id="quick_login_password" type="password" value="" class="textbox" /></p> 
	
<a href="{$mybb->settings['bburl']}/member.php?action=lostpw" class="lost_password">{$lang->lost_password}</a>
</td>
</tr>
</table>
	</div>									

								</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>

As long your website carries files like this one shown in the screenshot, your website will be 'Denied Support.

Hosting a file that has NOTHING to do with the phone company is a violation of MyBB's Code of Conduct.

You can read MyBB's Code of Conduct HERE.

[Image: ba3dfa0071c52ef548b9d8e3369db01a.png]