• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Hướng dẫn fix lỗi array memberlist.php style mobile vbb 4.2.0

Admin

Well-Known Member
Staff member
Administrator
Demo: xem tại style mobile của tuoitrevn nhá
Hướng dẫn: Admincp > Style & Templates > Style Manager > Edit Template > Member's List Templates > memberlist
Thay toàn bộ bằng code sau
HTML:
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"><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>
<title>{vb:rawphrase members_list} - {vb:raw vboptions.bbtitle}</title>
{vb:raw headinclude}
<link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}memberlist.css" />
{vb:raw headinclude_bottom}
</head>
<body>
<div class="bodywrapping">
{vb:raw header}
{vb:raw navbar}
<div id="pagetitle"><br />
    <h1>{vb:rawphrase members_list}</h1>
</div>
<div >
	<vb:if condition="$pagenav">
		<div>
			{vb:raw pagenav}
		</div>
 	</vb:if>
<div id="memberlist" class="block">
    <div class="blockbody">
             <table id="memberlist_table" width="100%">
        <vb:each from="memberlistbits" value="userinfo">
			<div>
				<a href="{vb:link member, {vb:raw userinfo}}" class="username">{vb:raw userinfo.musername}</a>   -   <span styles="align:right">{vb:raw userinfo.usertitle}</span>
			</div>
		</vb:each>
</table>
    </div>
</div>
<vb:if condition="$pagenav">
<div id="pagination_bottom">
    {vb:raw pagenav}
</div>
</vb:if>
{vb:raw forumjump}
{vb:raw footer}
</div>
</body>
</html>
Ai dùng mobile thì copy ở đây
[TEXT]<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"><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>
<title>{vb:rawphrase members_list} - {vb:raw vboptions.bbtitle}</title>
{vb:raw headinclude}
<link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}memberlist.css" />
{vb:raw headinclude_bottom}
</head>
<body>
<div class="bodywrapping">
{vb:raw header}
{vb:raw navbar}
<div id="pagetitle"><br />
<h1>{vb:rawphrase members_list}</h1>
</div>
<div >
<vb:if condition="$pagenav">
<div>
{vb:raw pagenav}
</div>
</vb:if>
<div id="memberlist" class="block">
<div class="blockbody">
<table id="memberlist_table" width="100%">
<vb:each from="memberlistbits" value="userinfo">
<div>
<a href="{vb:link member, {vb:raw userinfo}}" class="username">{vb:raw userinfo.musername}</a> - <span styles="align:right">{vb:raw userinfo.usertitle}</span>
</div>
</vb:each>
</table>
</div>
</div>
<vb:if condition="$pagenav">
<div id="pagination_bottom">
{vb:raw pagenav}
</div>
</vb:if>
{vb:raw forumjump}
{vb:raw footer}
</div>
</body>
</html>[/TEXT]
Nguồn: buidoi
 

Facebook Comments

Similar threads

New posts New threads New resources

Back
Top