Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Solution for CMPS Blank Page Mobile Style Details »»
Solution for CMPS Blank Page Mobile Style
Version: 1.00, by TeamSempoi TeamSempoi is offline
Developer Last Online: Sep 2014 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 4.2.0 Rating:
Released: 07-12-2012 Last Update: Never Installs: 18
Template Edits
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 07-14-2012, 04:10 PM
thecore762 thecore762 is offline
 
Join Date: Jul 2008
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome, thank you!
Reply With Quote
  #3  
Old 07-15-2012, 02:59 AM
1320Nation 1320Nation is offline
 
Join Date: Sep 2008
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah do doubt the white page is gone. I added this per instructions but when selecting the Forum Icon to be redirected to the forums on my website it just directs back to that same option page.
Reply With Quote
  #4  
Old 04-08-2013, 01:17 PM
larry suttles larry suttles is offline
 
Join Date: Oct 2008
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using vb 4.2 and it just redirects back to the home page.
Reply With Quote
  #5  
Old 04-08-2013, 02:44 PM
synseal's Avatar
synseal synseal is offline
 
Join Date: Apr 2009
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works perfect for me vb4.2.3 thanks.
Reply With Quote
Благодарность от:
TeamSempoi
  #6  
Old 12-05-2013, 05:48 PM
TheEliteGaming TheEliteGaming is offline
 
Join Date: Jun 2013
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perfect! Thanks!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:43 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07383 seconds
  • Memory Usage 2,290KB
  • Queries Executed 20 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (1)post_thanks_box_bit
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete