Back to vBulletin 4.x Template Modifications

Solution for CMPS Blank Page Mobile Style
Mod Version: 1.00, by TeamSempoi

vB Version: 4.2.0 Rating: (2 votes - 5.00 average) Installs: 18
Released: 13 Jul 2012 Last Update: Never Downloads: 0
Not Supported Template Edits  

Who has Using vbadvanced.com CPMS got the problem with the portal system
  1. the CPMS Page Blank on Mobile Style

Okay, so heres a step by step.
-AdminCP->Styles and Templates->Style Manager
-On dropdown for mobile style(s) in question, click Add New Template
-Name: adv_portal

Paste This Code On adv_portal

Code:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
	{vb:raw headinclude}
	<title>{vb:raw vboptions.bbtitle}</title>
	{vb:raw headinclude_bottom}
</head>
<body>
{vb:raw header}
{vb:raw navbar}
<vb:if condition="$show['guest']">
	<div id="pagetitle" class="pagetitle ui-bar-b">
	<h1 class="pagetitle">{vb:rawphrase log_in}</h1>
</div>
<div data-role="content">
	<form class="block vbform"  method="post" action="login.php?do=login">	
		<input type="hidden" name="do" value="login" />
		<input type="hidden" name="vb_login_md5password" value="" />		
		<input type="hidden" name="vb_login_md5password_utf" value="" />
		<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
		<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
		<input type="hidden" name="url" value="{vb:raw url}" />
		<div data-role="fieldcontain">
			<label for="vb_login_username">{vb:rawphrase username}:</label>
			<input type="text" class="primary textbox" id="vb_login_username" name="vb_login_username" accesskey="u" tabindex="1" />
			<label for="vb_login_password">{vb:rawphrase password}:</label>
			<input type="password" class="primary textbox" id="vb_login_password" name="vb_login_password" tabindex="1" />
			<input type="checkbox" name="cookieuser" id="cb_cookieuser" value="1" tabindex="1" /> 
			<label for="cb_cookieuser">{vb:rawphrase remember_me}</label>
		</div>
		<button type="submit" name="sbutton" data-theme="a">{vb:rawphrase log_in}</button>
	</form>
</div>
<vb:else />
	<div id="pagetitle" class="pagetitle ui-bar-b">
	<h1 class="pagetitle">{vb:rawphrase vbulletin_menu}</h1>
</div>
<div data-role="content">
	<div class="searchbar">
		<form action="search.php?{vb:raw session.sessionurl}do=process" method="post" id="navbar_search" class="navbar_search">
			<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
			<input type="hidden" name="do" value="process" />
			<input type="hidden" name="contenttype" value="vBForum_Post" />
			<input type="hidden" name="searchfromtype" value="vBForum:Post" />
			<div class="buttoncontainer">
				<button type="submit" name="sbutton" data-theme="c">{vb:rawphrase search}</button>
			</div>
			<div class="textboxcontainer">
				<input type="text" value="" name="query" tabindex="99"/>
			</div>
		</form>
	</div>
	<div class="ui-grid-b ui-body-c gridmenu">
		<vb:if condition="$show['articles']">
		<div class="ui-block-b">
			<div class="iconcontainer">
				<a href="<vb:if condition="$vboptions['vbcms_url']">{vb:raw vboptions.vbcms_url}/{vb:raw vboptions.site_tab_url}{vb:raw session.sessionurl_q}<vb:else />{vb:raw vboptions.site_tab_url}{vb:raw session.sessionurl_q}</vb:if>" rel="external" class="gridmenuicon"><img src="{vb:stylevar imgdir_mobile}/articles.png" /></a>
				<a href="<vb:if condition="$vboptions['vbcms_url']">{vb:raw vboptions.vbcms_url}/{vb:raw vboptions.site_tab_url}{vb:raw session.sessionurl_q}<vb:else />{vb:raw vboptions.site_tab_url}{vb:raw session.sessionurl_q}</vb:if>" rel="external">{vb:rawphrase articles}</a>
			</div>
		</div>
		</vb:if>
		<div class="ui-block-b">
			<div class="iconcontainer">
				<a href="{vb:link forumhome}" rel="external" class="gridmenuicon"><img src="{vb:stylevar imgdir_mobile}/forums.png" /></a>
				<a href="{vb:link forumhome}" rel="external">{vb:rawphrase forums}</a>
			</div>
		</div>
		<vb:if condition="$show['blogs']">
		<div class="ui-block-b">
			<div class="iconcontainer">
				<a href="{vb:raw $vboptions.vbblog_url}{vb:if "$vboptions['vbblog_url']", '/', ''}blog.php{vb:raw session.sessionurl_q}" rel="external" class="gridmenuicon"><img src="{vb:stylevar imgdir_mobile}/blogs.png" /></a>
				<a href="{vb:raw $vboptions.vbblog_url}{vb:if "$vboptions['vbblog_url']", '/', ''}blog.php{vb:raw session.sessionurl_q}" rel="external">{vb:rawphrase blogs}</a>
			</div>
		</div>
		</vb:if>
		<vb:if condition="$show['quick_links_albums']">
		<div class="ui-block-b">
			<div class="iconcontainer">
				<a href="album.php{vb:raw session.sessionurl_q}" rel="external" class="gridmenuicon"><img src="{vb:stylevar imgdir_mobile}/album.png" /></a>
				<a href="album.php{vb:raw session.sessionurl_q}" rel="external">{vb:rawphrase albums}</a>
			</div>
		</div>
		</vb:if>
		<vb:if condition="$show['member']">
		<div class="ui-block-b">
			<div class="iconcontainer">
				<a href="{vb:link member, {vb:raw bbuserinfo}}" rel="external" class="gridmenuicon"><img src="{vb:stylevar imgdir_mobile}/profile.png" /></a>
				<a href="{vb:link member, {vb:raw bbuserinfo}}" rel="external">{vb:rawphrase profile}</a>
			</div>
		</div>
		<div class="ui-block-b">
			<div class="iconcontainer">
				<a href="{vb:link member, {vb:raw bbuserinfo}, {vb:raw pageinfo_friends}}" rel="external" class="gridmenuicon"><img src="{vb:stylevar imgdir_mobile}/friends.png" /></a>
				<a href="{vb:link member, {vb:raw bbuserinfo}, {vb:raw pageinfo_friends}}" rel="external">{vb:rawphrase friends}</a>
			</div>
		</div>
		<div class="ui-block-b">
			<div class="iconcontainer">
				<a href="mobile.php?{vb:raw session.sessionurl}do=notifications" rel="external" class="gridmenuicon"><img src="{vb:stylevar imgdir_mobile}/notifications.png" /></a>
				<a href="mobile.php?{vb:raw session.sessionurl}do=notifications" rel="external">{vb:rawphrase your_notifications} (<span class="notifications_total_count">{vb:raw notifications_total}</span>)</a>
			</div>
		</div>
		<div class="ui-block-b">
			<div class="iconcontainer">
				<a href="private.php{vb:raw session.sessionurl_q}" rel="external" class="gridmenuicon"><img src="{vb:stylevar imgdir_mobile}/messages.png" /></a>
				<a href="private.php{vb:raw session.sessionurl_q}" rel="external">{vb:rawphrase messages} ({vb:raw bbuserinfo.pmunread})</a>
			</div>
		</div>
		<vb:if condition="$show['searchbuttons']">
			<div class="ui-block-b">
				<div class="iconcontainer">
					<a href="search.php?{vb:raw session.sessionurl}do=getnew" rel="external" class="gridmenuicon"><img src="{vb:stylevar imgdir_mobile}/whatsnew.png" /></a>
					<a href="search.php?{vb:raw session.sessionurl}do=getnew" rel="external">{vb:rawphrase getnew_tab}</a>
				</div>
			</div>
		</vb:if>
		<vb:comment>
		<div class="ui-block-b">
			<div class="iconcontainer">
				<a href="{vb:raw vboptions.bburl}" rel="external" class="gridmenuicon"><img src="{vb:stylevar imgdir_mobile}/settings.png" /></a>
				<a href="{vb:raw vboptions.bburl}" rel="external">{vb:rawphrase control_panel}</a>
			</div>
		</div>
		</vb:comment>
		</vb:if>
		{vb:raw template_hook.mobile_gridmenu_end} 
	</div>
</div>
</vb:if>
{vb:raw footer}
</body>
</html>
this will show the login pages for unregister member
for register member will show gridmenu

i hope this will help you all guy

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024