Styles D.C Metro Dashboard - Hiện đại, nhẹ nhàng mà chuyên nghiệp

compuzones

Gefreiter
Tham gia
29/09/2015
Bài viết
60
Được Like
58
Screenshot_1.png

I mean for her featured resources given distance ..
do not be too tight .. it would be nice to see her
 

nhozharass

S.E.O Gà
Thành viên BQT
Tham gia
25/05/2015
Bài viết
180
Được Like
138
ai cứu giúp đời em với đc không ạ huhu sao nó lại bị lỗi ava nhỉ?
loi4rum.png
 

baoquoc

Private
Tham gia
02/07/2016
Bài viết
39
Được Like
19
ad cho hỏi.
Mình muốn tạo 1 trang home dạng portal của tinhte.vn trên style này thì làm thế nào nhé!
Nghĩa là mình đăng bài viết lên trang chủ dạng từ trên xuống dưới như tinhte nhưng vẫn nằm trong layout của style này.
Help giúp nha. Đang vật lộn với style này mấy ngày nay. Hic
Thank all.
 

dcstylexf

Major
Tham gia
24/03/2015
Bài viết
2,006
Được Like
1,615
ad cho hỏi.
Mình muốn tạo 1 trang home dạng portal của tinhte.vn trên style này thì làm thế nào nhé!
Nghĩa là mình đăng bài viết lên trang chủ dạng từ trên xuống dưới như tinhte nhưng vẫn nằm trong layout của style này.
Help giúp nha. Đang vật lộn với style này mấy ngày nay. Hic
Thank all.
style này không khác những style khác đâu bạn, cài addon vào nó vẫn hoạt động bình thường và bạn có thể mod lại :)
 

baoquoc

Private
Tham gia
02/07/2016
Bài viết
39
Được Like
19
Mình cài xenportal 1.6 rồi nhưng ko có portal tinhte. bạn có source nào dùng đc cho mình xin nha
 

baoquoc

Private
Tham gia
02/07/2016
Bài viết
39
Được Like
19
Làm sao để add portal tinhte.vn bạn.
Mò ko ra. Hic
 

nguyennsn

Private
Tham gia
04/06/2016
Bài viết
17
Được Like
9
ad cho hỏi.
Mình muốn tạo 1 trang home dạng portal của tinhte.vn trên style này thì làm thế nào nhé!
Nghĩa là mình đăng bài viết lên trang chủ dạng từ trên xuống dưới như tinhte nhưng vẫn nằm trong layout của style này.
Help giúp nha. Đang vật lộn với style này mấy ngày nay. Hic
Thank all.
Bạn dán đè code này vào EWRblock_RecentNews
Mã:
<xen:require css="message_user_info.css" />
<xen:require css="bb_code.css" />
<xen:require css="EWRblock_RecentNews_tinhte.css" />

<div id="recentNews">
<xen:foreach loop="$RecentNews" value="$news">
<div class="recentNews sectionMainportal section" id="{$news.thread_id}">

<div class="{xen:if {$option.leftdate}, 'leftDate'} primaryContent">
<div class="subHeading">
<div style="float: right; white-space: nowrap;">

<xen:if is="{$visitor.permissions.EWRporta.canPromote}">
&nbsp; (<a href="{xen:link 'threads/edit', $news}" class="OverlayTrigger">{xen:phrase edit}</a>)
</xen:if>
</div>

<a href="{xen:link threads, $news}" class="newsTitle">{$news.title}</a>
</div>


<div class="baseHtml messageContent">
<div class="postedBy">
<span class="posted">bởi <a href="{xen:link members, $news}"class="username">{$news.username}</a>
vào <a href="{xen:link threads, $news}">{xen:datetime $news.promote_date}</a></span>

</div>

<xen:if is="{$news.promote_icon} != 'disabled'">
<xen:if hascontent="true">
<div style="hinhanh">
<div style="text-align: center">
<xen:contentcheck>
                            <xen:if is="{$news.attach}">
                                <a href="{xen:link threads, $thread}" title="{$news.title}"><img src="{xen:link attachments,$news.attach}" alt="{$news.attach.filename}" /></a>
                            <xen:elseif is="{$news.medio}" />
                                <div style="background: url('{xen:helper medio, $news.medio}') no-repeat;">
                                    <a href="{xen:link 'full:media/popout', $news.medio}" class="OverlayTrigger"><img src="styles/8wayrun/EWRmedio_play.png" width="160" height="90" /></a>
                                </div>
                            <xen:elseif is="{$news.image}" />
                                <a href="{xen:link threads, $news}"><img src="{$news.image}" alt="{$news.image}" /></a>
                            <xen:else />
                                <a href="{xen:link threads, $news}"><img src="@imagePath/portal/news.jpg" alt="{$news.title}" /></a>
                            </xen:if>
                            </xen:contentcheck>

</div></div>
</xen:if>
</xen:if>

<div class="newsText">{xen:raw $news.messageHtml}</div>
<div class="clearFix"></div>
</div>

<div class="sectionFooterportal">
</div>
</div>
</div>
</xen:foreach>

<xen:if hascontent="true">
<div class="sectionMain section">
<xen:contentcheck>
<xen:if is="{$option.pagenav} && {$option.count} > {$option.limit}">
<xen:if is="{$category}">
<xen:pagenav link="articles" linkdata="{$category}" page="{$page}" perpage="{$option.limit}" total="{$option.count}" />
<xen:else />
<xen:pagenav link="portal" page="{$page}" perpage="{$option.limit}" total="{$option.count}" />
</xen:if>
</xen:if>
</xen:contentcheck>
</div>
</xen:if>
</div>
Và đoạn này vào EWRblock_RecentNews.css
Mã:
.recentNews .subHeadingportal{margin:-10px -10px 10px}
.recentNews .subHeadingportal a{color:#ff7f00}
.recentNews .messageUserBlock{float:right;margin-left:10px}
.recentNews .newsDate{float:left;margin:0 10px 10px 0;padding:0 10px 5px;width:35px;font-weight:bold;text-align:center}
.recentNews .newsDate .newsMonth{padding:10px 0 5px!important;margin:0 -10px 5px!important;text-transform:uppercase}
.recentNews .newsDate .newsDay{font-size:26px}
.recentNews .leftDate .newsDate{margin-left:-45px}
.recentNews .leftDate .newsText{text-align:justify}
.recentNews .messageContent{font-size:13px;text-align:justify}
.recentNews .messageContent .postedBy{margin-bottom:10px;padding-bottom:5px;border-bottom:1px dashed @primaryLighterStill}
.recentNews .messageContent .username{font-weight:bold}
.recentNews .messageContent .posted{background:transparent url('@imagePath/xenforo/icons/sticky.png') no-repeat left bottom;padding-left:20px}
.recentNews .messageContent .comments{float:right;background:transparent url('@imagePath/xenforo/widgets/discussion-new.png') no-repeat left bottom;padding-left:20px;font-weight:bold}
.recentNews .messageContent .clearFix{clear:right}
.recentNews .sectionFooterportal{margin:10px -10px -10px;text-align:right;position:relative}
.recentNews .sectionFooterportal .continue{padding:6px;font-size:12px}
.recentNews .sectionFooterportal .continue a{background:transparent url('@imagePath/xenforo/icons/redirect.png') no-repeat left bottom;padding-left:20px}
.recentNews .sectionFooterportal .continue a:hover{text-decoration:none}
.recentNews .sectionFooterportal .source{padding-top:6px;float:left}
.recentNews .sectionFooterportal .sharePage{position:absolute}
.recentNews .sectionFooterportal .shareControl{margin-top:4px!important}
#recentNews .recentNews.sectionMain{background-color:transparent;border:0;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-khtml-border-radius:0;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;-khtml-box-shadow:none;-khtml-box-shadow:none;padding:0}
#recentNews .recentNews .subHeading,#recentThreads .sectionHeaders{border:0;font-size:16px;color:#666;background:#F1F1EC url('@imagePath/styles/flexile/xenforo/gradients/navigation-tab.png') repeat-x top;padding:10px 15px;margin:0 -15px 10px;border-bottom:1px solid rgb(214,214,214);border-top-left-radius:6px;-webkit-border-top-left-radius:6px;-moz-border-radius-topleft:6px;-khtml-border-top-left-radius:6px;border-top-right-radius:6px;-webkit-border-top-right-radius:6px;-moz-border-radius-topright:6px;-khtml-border-top-right-radius:6px}
#recentNews .recentNews .subHeading a,#recentThreads .sectionHeaders a{font-size:22px!important;font-weight:bold!important;color:#333!important}
.mainContentportal{margin:-15px 315px 0 0!important;background-color:transparent;border:0;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-khtml-border-radius:0;box-shadow:none!important;-moz-box-shadow:none!important;padding:0}
#content.EWRporta_Portal .mainContent{background-color:transparent;border:0;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-khtml-border-radius:0;box-shadow:none!important;-moz-box-shadow:none!important;padding:0;overflow:hidden}
#content.EWRporta_Portal .breadBoxTop,#content.EWRporta_Portal .titleBar{display:none}
 

dcstylexf

Major
Tham gia
24/03/2015
Bài viết
2,006
Được Like
1,615
Update version 1.0.4 fix một vài lỗi nhỏ!
Các bạn có thể download ở #1.
 

eBin

Gefreiter
Tham gia
15/12/2015
Bài viết
62
Được Like
53
Bác có thể tách cái categories riêng được không :D
 

nhozharass

S.E.O Gà
Thành viên BQT
Tham gia
25/05/2015
Bài viết
180
Được Like
138
Ai bị lỗi giống em không ạ giúp em với ạ sao nó ko hiện ra gì hết.
upload_2016-7-21_11-14-41.png
 

nhozharass

S.E.O Gà
Thành viên BQT
Tham gia
25/05/2015
Bài viết
180
Được Like
138
chắc bản bị lỗi em update lên mới nó đã hết. Cám ơn anh.
 

baoquoc

Private
Tham gia
02/07/2016
Bài viết
39
Được Like
19
Bạn dán đè code này vào EWRblock_RecentNews
Mã:
<xen:require css="message_user_info.css" />
<xen:require css="bb_code.css" />
<xen:require css="EWRblock_RecentNews_tinhte.css" />

<div id="recentNews">
<xen:foreach loop="$RecentNews" value="$news">
<div class="recentNews sectionMainportal section" id="{$news.thread_id}">

<div class="{xen:if {$option.leftdate}, 'leftDate'} primaryContent">
<div class="subHeading">
<div style="float: right; white-space: nowrap;">

<xen:if is="{$visitor.permissions.EWRporta.canPromote}">
&nbsp; (<a href="{xen:link 'threads/edit', $news}" class="OverlayTrigger">{xen:phrase edit}</a>)
</xen:if>
</div>

<a href="{xen:link threads, $news}" class="newsTitle">{$news.title}</a>
</div>


<div class="baseHtml messageContent">
<div class="postedBy">
<span class="posted">bởi <a href="{xen:link members, $news}"class="username">{$news.username}</a>
vào <a href="{xen:link threads, $news}">{xen:datetime $news.promote_date}</a></span>

</div>

<xen:if is="{$news.promote_icon} != 'disabled'">
<xen:if hascontent="true">
<div style="hinhanh">
<div style="text-align: center">
<xen:contentcheck>
                            <xen:if is="{$news.attach}">
                                <a href="{xen:link threads, $thread}" title="{$news.title}"><img src="{xen:link attachments,$news.attach}" alt="{$news.attach.filename}" /></a>
                            <xen:elseif is="{$news.medio}" />
                                <div style="background: url('{xen:helper medio, $news.medio}') no-repeat;">
                                    <a href="{xen:link 'full:media/popout', $news.medio}" class="OverlayTrigger"><img src="styles/8wayrun/EWRmedio_play.png" width="160" height="90" /></a>
                                </div>
                            <xen:elseif is="{$news.image}" />
                                <a href="{xen:link threads, $news}"><img src="{$news.image}" alt="{$news.image}" /></a>
                            <xen:else />
                                <a href="{xen:link threads, $news}"><img src="@imagePath/portal/news.jpg" alt="{$news.title}" /></a>
                            </xen:if>
                            </xen:contentcheck>

</div></div>
</xen:if>
</xen:if>

<div class="newsText">{xen:raw $news.messageHtml}</div>
<div class="clearFix"></div>
</div>

<div class="sectionFooterportal">
</div>
</div>
</div>
</xen:foreach>

<xen:if hascontent="true">
<div class="sectionMain section">
<xen:contentcheck>
<xen:if is="{$option.pagenav} && {$option.count} > {$option.limit}">
<xen:if is="{$category}">
<xen:pagenav link="articles" linkdata="{$category}" page="{$page}" perpage="{$option.limit}" total="{$option.count}" />
<xen:else />
<xen:pagenav link="portal" page="{$page}" perpage="{$option.limit}" total="{$option.count}" />
</xen:if>
</xen:if>
</xen:contentcheck>
</div>
</xen:if>
</div>
Và đoạn này vào EWRblock_RecentNews.css
Mã:
.recentNews .subHeadingportal{margin:-10px -10px 10px}
.recentNews .subHeadingportal a{color:#ff7f00}
.recentNews .messageUserBlock{float:right;margin-left:10px}
.recentNews .newsDate{float:left;margin:0 10px 10px 0;padding:0 10px 5px;width:35px;font-weight:bold;text-align:center}
.recentNews .newsDate .newsMonth{padding:10px 0 5px!important;margin:0 -10px 5px!important;text-transform:uppercase}
.recentNews .newsDate .newsDay{font-size:26px}
.recentNews .leftDate .newsDate{margin-left:-45px}
.recentNews .leftDate .newsText{text-align:justify}
.recentNews .messageContent{font-size:13px;text-align:justify}
.recentNews .messageContent .postedBy{margin-bottom:10px;padding-bottom:5px;border-bottom:1px dashed @primaryLighterStill}
.recentNews .messageContent .username{font-weight:bold}
.recentNews .messageContent .posted{background:transparent url('@imagePath/xenforo/icons/sticky.png') no-repeat left bottom;padding-left:20px}
.recentNews .messageContent .comments{float:right;background:transparent url('@imagePath/xenforo/widgets/discussion-new.png') no-repeat left bottom;padding-left:20px;font-weight:bold}
.recentNews .messageContent .clearFix{clear:right}
.recentNews .sectionFooterportal{margin:10px -10px -10px;text-align:right;position:relative}
.recentNews .sectionFooterportal .continue{padding:6px;font-size:12px}
.recentNews .sectionFooterportal .continue a{background:transparent url('@imagePath/xenforo/icons/redirect.png') no-repeat left bottom;padding-left:20px}
.recentNews .sectionFooterportal .continue a:hover{text-decoration:none}
.recentNews .sectionFooterportal .source{padding-top:6px;float:left}
.recentNews .sectionFooterportal .sharePage{position:absolute}
.recentNews .sectionFooterportal .shareControl{margin-top:4px!important}
#recentNews .recentNews.sectionMain{background-color:transparent;border:0;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-khtml-border-radius:0;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;-khtml-box-shadow:none;-khtml-box-shadow:none;padding:0}
#recentNews .recentNews .subHeading,#recentThreads .sectionHeaders{border:0;font-size:16px;color:#666;background:#F1F1EC url('@imagePath/styles/flexile/xenforo/gradients/navigation-tab.png') repeat-x top;padding:10px 15px;margin:0 -15px 10px;border-bottom:1px solid rgb(214,214,214);border-top-left-radius:6px;-webkit-border-top-left-radius:6px;-moz-border-radius-topleft:6px;-khtml-border-top-left-radius:6px;border-top-right-radius:6px;-webkit-border-top-right-radius:6px;-moz-border-radius-topright:6px;-khtml-border-top-right-radius:6px}
#recentNews .recentNews .subHeading a,#recentThreads .sectionHeaders a{font-size:22px!important;font-weight:bold!important;color:#333!important}
.mainContentportal{margin:-15px 315px 0 0!important;background-color:transparent;border:0;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-khtml-border-radius:0;box-shadow:none!important;-moz-box-shadow:none!important;padding:0}
#content.EWRporta_Portal .mainContent{background-color:transparent;border:0;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-khtml-border-radius:0;box-shadow:none!important;-moz-box-shadow:none!important;padding:0;overflow:hidden}
#content.EWRporta_Portal .breadBoxTop,#content.EWRporta_Portal .titleBar{display:none}

Bạn cho hỏi, cài này là đè lên ( Xóa cái cũ) hay copy dán vào ( cộng thêm) cái có sẵn.
Đã thử mà ko biết bị sao nó bảo đỏ 2 file.
Thank
 

Hướng dẫn sử dụng

XenForo 1 XenForo 2
Translate by PVS

Dịch vụ XenForo của VNXF

Mr. Tuấn

Mobile/Zalo: 0988 488 096

Telegram: bluekpro

Email: [email protected]

Nhà Tài Trợ

Mút Xốp Không Gian
pallet Thịnh Phát
Top Bottom