Bạn ghé thăm diễn đàn lần đầu? hãy đăng ký ngay bây giờ để tham gia.
  • Đăng nhập:

Chào mừng bạn đến với ITVNN FORUM - Diễn đàn công nghệ thông tin.

Nếu đây là lần đầu tiên bạn tham gia diễn đàn, xin mời bạn xem phần Hỏi/Ðáp để biết cách dùng diễn đàn. Để có thể tham gia thảo luận bạn phải đăng ký làm thành viên, click vào đây để đăng ký.


  • Partner Area
    • Chương trình khuyến mãi khi chuyển dịch vụ về 123HOST Việt Nam Anh Hùng - Thông tin truyền thông
Trang 23/35 đầuđầu ... 13212223242533 ... cuốicuối
kết quả từ 221 tới 230 trên 345
Tăng kích thước phông chữ Giảm kích thước phông chữ
  1. #1
    HTT.itvn's Avatar

    Trạng thái
    Offline
    Họ tên
    Hoàng Thiên Thanh
    Tham gia ngày
    Oct 2009
    Thành viên thứ
    2889
    Đến từ
    Hà Tĩnh
    Giới tính
    Bài gởi
    2,814
    Level: 52 [?]
    Experience: 16,147,987
    Next Level: 16,259,327
    Cảm ơn 123
    Cảm ơn 1,701 lần / 895 Bài viết

    Icon1 Hướng dẫn đóng khung thông tin chi tiết cho VBB 4.x  

    Mấy ngày qua nhiều thành viên thắc mắc về cách đóng khung từng thông tin ở mục thông tin , nay mình hướng dẫn chi tiết cho các bạn đóng khung từng thông tin cụ thể :

    Bước 1 : vào Admin CP >> Styles & Templates >> Search in Templates >> ở mục Search for Textposbit.css ( nhớ tick vào ô Đồng ý ở mục Tìm trong tựa đề >> Find >> Kick vào postbit.css >> Dán code sau vào cuối cùng :
    (Bài viết của HTT.itvn )

    /* eTiKeT Postbit_Legacy*/
    .eti_postbit_merkezli {
    padding-left: 4px;
    padding-right: 2px;
    padding-top: 2px;
    padding-bottom: 2px;
    background-color: #efefef;
    border-top: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
    border-left: 1px solid #c4c4c4;
    border-bottom: 1px solid #c4c4c4;
    margin-bottom: 4px;
    text-align:center;
    -moz-box-shadow: 0 2px 6px #b3b3b3;
    -webkit-box-shadow: -1px 2px 2px #b3b3b3;
    -moz-border-radius-bottom{vb:stylevar left}:6px;
    -moz-border-radius-top{vb:stylevar right}:6px;
    -webkit-border-top-{vb:stylevar right}-radius: {vb:stylevar threadlisthead_top_corner_radius};
    -webkit-border-bottom-{vb:stylevar left}-radius: {vb:stylevar threadlisthead_top_corner_radius};}

    .eti_postbit {
    padding-left: 4px;
    padding-right: 2px;
    padding-top: 2px;
    padding-bottom: 2px;
    background-color: #efefef;
    border-top: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
    border-left: 1px solid #c4c4c4;
    border-bottom: 1px solid #c4c4c4;
    margin-bottom: 4px;
    -moz-box-shadow: 0 2px 6px #b3b3b3;
    -webkit-box-shadow: -1px 2px 2px #b3b3b3;
    -moz-border-radius-bottom{vb:stylevar left}:6px;
    -moz-border-radius-top{vb:stylevar right}:6px;
    -webkit-border-top-{vb:stylevar right}-radius: {vb:stylevar threadlisthead_top_corner_radius};
    -webkit-border-bottom-{vb:stylevar left}-radius: {vb:stylevar threadlisthead_top_corner_radius};
    }


    .itvnn_postbit {
    text-align:center;
    }


    Save and Reload ( Bài viết của HTT.itvn)

    Bước 2 : Đóng khung từng chi tiết .

    - Đưa thông tin tên thành viên vào giữa
    Demo : như diễn đàn này .
    Admin CP >> Styles & Templates >> Style manager >> Chọn skin cần chỉnh , edit templates >> Postbit templates >> Postbit_legacy >> Tìm đoạn code sau :

    <div class="username_container">
    <vb:if condition="$post['userid']">

    {vb:raw memberaction_dropdown}
    {vb:raw post.onlinestatus}
    <vb:else />
    <span class="username guest">{vb:raw post.musername}</span>
    </vb:if>
    </div>
    Thêm thẻ <div class="itvnn_postbit">......</div> như sau ( chú ý chữ màu đỏ ) .

    <div class="username_container">
    <vb:if condition="$post['userid']">
    <div class="itvnn_postbit">
    {vb:raw memberaction_dropdown}
    {vb:raw post.onlinestatus}
    <vb:else />
    <span class="username guest">{vb:raw post.musername}</span>
    </vb:if>
    </div></div>

    Save and reload ( Bài Viết của HTT.itvn)
    Vào diễn đàn của bạn để xem kết quả .

    - Màu nick :
    Admin CP >> Usergroups >> Usergroup Manager >> Administrators . Kick vào Tiếp tục >> Mục Username HTML Markup , ở ô đầu tiên bạn gán thẻ <b><font color=red> ( chữ màu đỏ là bạn có thể thay đổi sang màu khác như : blue , green , gray ,...) , ở ô thứ 2 bạn gán thẻ kết thúc </font></b> . Các mục khác để nguyên . Kick vào Update .

    Tương tự với Smod , mod và Member . ( Bài Viết của HTT.itvn)

    - Gán biểu tượng hình ảnh cho admin , smod , mod và member .

    Demo : Như diễn đàn này .
    Đầu tiên tải file ảnh về tại đây và upload lên thư mục images/ranks/ trong host .
    Admin CP >> User Ranks >> Add New User Ranks >> Mục Usergroup chọn Administrators , ở mục Minimum Posts để giá trị 0 và mục User Rank File Path gõ đường dẫn file ảnh là images/ranks/admin.gif >> Save . ( Bài Viết của HTT.itvn)
    Tương tự với smod , mod và member .
    Sau khi làm xong bạn phải vào User rank manager để kích hoạt , kick vào update user titles and ranks >> Ở mục đầu tiên kick vào update user titles and ranks lần nữa .
    Nhấn F5 để xem thành quả .

    P/s : Những thắc mắc - góp ý thì viết tại đây và kiên trì chờ trả lời , mình sẽ trả lời nhanh nếu có thể . Nhiều bạn mới hỏi có vài 3 phút rồi spam liên tục để gây chú ý . Không phải ai cũng online 24/24 .
    thay đổi nội dung bởi: HTT.itvn; 10-06-2010 lúc 03:49 AM
    Chuyên thiết kế website / forum / Modules ... Hỗ trợ trực tuyến : d.web_vn@yahoo.com

    -------------------------------------------------------------------------------------------------
    Bởi vì : " Anh chỉ mất đi một người không yêu anh,
    Nhưng em mất đi một người yêu em thật lòng ... "

    -------------------------------------------------------------------------------------------------




  2. The Following 53 Thank You to HTT.itvn For This Useful Post:

    alien007 (05-07-2012),babylovevt (19-08-2011),caphekt (29-03-2012),checknvh (05-04-2011),ClickGroup (14-07-2011),Cold_Zero (03-09-2011),computerangel (26-07-2010),crazy (15-03-2012),daikamam (01-09-2010),download (19-07-2011),Dunglx (13-04-2011),Gác Kiếm (14-11-2010),gd2010 (27-05-2011),Hải Minh (21-12-2011),hcthai (20-02-2011),hctpro (19-03-2011),hieu2007 (05-10-2010),hoaitan.net (12-09-2011),hoangmic (09-06-2011),hoangtuut089 (29-05-2011),Hoàng Tiến Nhân (15-09-2011),Iruky (17-03-2012),itnamdinh (26-08-2011),KateMP (10-09-2011),keroppi (21-04-2011),ketnoiso (15-08-2011),khanhdt (08-06-2011),kieuqtoan (07-01-2011),lecanhduong (19-03-2012),leduytan (09-08-2011),Mèo tin học (05-10-2011),monkey (23-07-2011),mr.chemgio (06-04-2011),neko gorudo (07-06-2011),New-Mem (21-10-2010),nguyentuduong (08-09-2011),nh0ckti (22-05-2012),oaichua07 (06-08-2011),phamduytung (25-11-2011),phoenix159 (02-01-2013),profesionalbk (17-05-2011),quoccuong123 (27-07-2010),spider95 (20-08-2010),ThuyHien (14-03-2013),trandiem2210 (04-04-2011),trumhamdoa (01-12-2010),ttkcnd (23-07-2010),tuandeptrai (07-08-2010),tunganhken (29-02-2012),vanhientb91 (13-04-2011),vanminh (26-04-2011),vothien93 (27-07-2010),ypmv2 (05-11-2010)

  3. #221
    tuanxa90's Avatar

    Trạng thái
    Offline
    Tham gia ngày
    Apr 2011
    Thành viên thứ
    45015
    Tuổi
    35
    Giới tính
    Bài gởi
    12
    Level: 23 [?]
    Experience: 62,423
    Next Level: 62,494
    Cảm ơn 3
    Cảm ơn 0 lần / 0 Bài viết

    Default giúp em với

    anh ơi em đã chèn đoạn code vào rùi nhưng vẫn không đóng đc khung thông tin anh giúp em sửa đoạn code nhé :
    Code: 
    {vb:raw template_hook.postbit_start}
    <li class="postbitlegacy postbitim postcontainer" id="post_{vb:raw post.postid}">
    <!-- see bottom of postbit.css for .userinfo .popupmenu styles -->
    
        <div class="posthead">
            <vb:if condition="$show['inlinemod']"><label for="post_imod_checkbox_{vb:raw post.postid}"></vb:if>
                <span class="postdate {vb:raw post.statusicon}">
                    <vb:if condition="$show['announcement']">
                        <span class="date">{vb:rawphrase x_until_y, {vb:raw post.startdate}, {vb:raw post.enddate}}</span>
                    <vb:else />
                        <span class="date">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']">&nbsp;<span class="time">{vb:raw post.posttime}</span></vb:if></span>
                    </vb:if>
                </span>
                <span class="nodecontrols">
                    <vb:if condition="$post['postid'] AND $post['threadid'] AND !$show['moderated']">
                        <a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" class="<vb:if condition="$show['inlinemod']">ie</vb:if>postcounter">#{vb:raw post.postcount}</a><a id="postcount{vb:raw post.postid}" name="{vb:raw post.postcount}"></a>
                    </vb:if>
                    <vb:if condition="$show['moderated']">{vb:rawphrase moderated_post}</vb:if>
                    <vb:if condition="$show['inlinemod']">
                        <input class="postimod" type="checkbox" id="post_imod_checkbox_{vb:raw post.postid}" name="plist[{vb:raw post.postid}]" value="{vb:raw post.checkbox_value}" />
                    </vb:if>
                </span>
            <vb:if condition="$show['inlinemod']"></label></vb:if>
        </div>
        <div class="postdetails">
            <div class="userinfo">
                <div class="username_container">
                <vb:if condition="$post['userid']">        
                            <div class="itvnn_postbit">
                    {vb:raw memberaction_dropdown}
                    {vb:raw post.onlinestatus}
                <vb:else />
                    <span class="username guest">{vb:raw post.musername}</span>
                </vb:if></div>
                </div>
                <span class="usertitle">
                    {vb:raw post.usertitle}
                </span>
                <vb:if condition="$post['rank']">
                    <span class="rank">{vb:raw post.rank}</span>
                </vb:if>
                {vb:raw template_hook.postbit_userinfo_left}
                <vb:if condition="$show['reputation']">
                    <span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
                </vb:if>
                <vb:if condition="$show['avatar']">
                <a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
                    <img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
                </a>
                </vb:if> 
                <vb:if condition="$post['userid']">
                    <hr />
                    <dl class="userinfo_extra">
                        <vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if>
                    
    <vb:if condition="$post['field5']"><div class="eti_postbit">Họ tên : {vb:raw post.field5}</div></vb:if>
    <vb:if condition="$post['field6']"><div class="eti_postbit">Ðến từ : {vb:raw post.field6}</div></vb:if>
    <vb:if condition="$post['field7']"><div class="eti_postbit">Năm sinh : {vb:raw post.field7}</div></vb:if>
    <vb:if condition="$post['field8']"><div class="eti_postbit">Giới tính : {vb:raw post.field8}</div></vb:if>
    
    <vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if>
    <vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
    <div class="eti_postbit"><dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd></div>
    {vb:raw template_hook.postbit_userinfo_right_after_posts}
    </dl>
        
                        {vb:raw template_hook.postbit_userinfo_right_after_posts}
                    </dl>
                    <vb:if condition="$show['infraction'] OR $show['reppower']">
                    <dl class="user_rep">
                        <vb:if condition="$show['infraction']">
                        <dt>{vb:rawphrase infractions}</dt> 
                        <dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
                        </vb:if>
                        <vb:if condition="$show['reputation']">
                            <vb:if condition="$show['reppower']">
                        <dt>{vb:rawphrase reppower}</dt> 
                        <dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd> 
                            </vb:if>
                        </vb:if>
                    </dl>
                    </vb:if>
                    {vb:raw template_hook.postbit_userinfo_right}
                    <div class="imlinks">
                        {vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
                    </div>
                </vb:if>
            </div>
            <div class="postbody">
                <div class="postrow<vb:if condition="$show['postedited'] || $post['signature']"> has_after_content</vb:if>">
                    {vb:raw template_hook.postbit_messagearea_start}
                    <vb:if condition="$post['title'] OR $show['messageicon']">
                    <h2 class="title icon">
                        <vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
                    </h2>
                    </vb:if>
    
    
                            <vb:if condition="$post['isfirstshown']">
                                {vb:raw ad_location.ad_showthread_firstpost_start}
                                {vb:raw ad_location.thread_first_post_content}
                            </vb:if>
                            <vb:if condition="$post['islastshown']">
                                {vb:raw ad_location.thread_last_post_content}
                            </vb:if>
                    <div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">
                        <div id="post_message_{vb:raw post.postid}">
                            <blockquote class="postcontent restore ">
                                {vb:raw post.message}
                            </blockquote>
                        </div>
    
                        <vb:if condition="$show['attachments']">
                            <div class="attachments">
    
                            <vb:if condition="$show['thumbnailattachment']">
                                <fieldset class="postcontent">
                                    <legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_thumbnails}" /> {vb:rawphrase attached_thumbnails}</legend>
                                    {vb:raw post.thumbnailattachments}
                                </fieldset>
                            </vb:if>
    
                            <vb:if condition="$show['imageattachment']">
                                <fieldset class="postcontent">
                                    <legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
                                    {vb:raw post.imageattachments}
                                </fieldset>
                            </vb:if>
    
                            <vb:if condition="$show['imageattachmentlink']">
                                <fieldset class="postcontent">
                                    <legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
                                    <ul>
                                    {vb:raw post.imageattachmentlinks}
                                    </ul>
                                </fieldset>
                            </vb:if>
    
                            <vb:if condition="$show['otherattachment']">
                                <fieldset class="postcontent">
                                    <legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_files}</legend>
                                    <ul>
                                    {vb:raw post.otherattachments}
                                    </ul>
                                </fieldset>
                            </vb:if>
    
                            <vb:if condition="$show['moderatedattachment']">
                                <fieldset class="postcontent">
                                    <legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attachments_pending_approval}</legend>
                                    <ul>
                                    {vb:raw post.moderatedattachments}
                                    </ul>
                                </fieldset>
                            </vb:if>
    
                            </div>
                        <!-- / attachments -->
                        </vb:if>
                    </div>
                </div>
                <vb:if condition="$show['postedited'] || $post['signature']">
                <div class="after_content">
                    <vb:if condition="$show['postedited']">
                    <!-- edit note -->
                    <blockquote class="postcontent lastedited">
    <!--                    <img src="{vb:stylevar imgdir_button}/edit_40b.png" class="inlineimg" alt="" /> -->
                        <vb:if condition="$show['postedithistory']">
                            {vb:rawphrase last_edited_link_by_x_on_y_at_z_postid, {vb:raw post.edit_username}, {vb:raw post.edit_date}, 
                                {vb:raw post.edit_time}, {vb:raw post.historyurl}}
                        <vb:else />
                            {vb:rawphrase last_edited_by_x_on_y_at_z, {vb:raw post.edit_username}, {vb:raw post.edit_date}, {vb:raw post.edit_time}}
                        </vb:if>
                        <vb:if condition="$post['edit_reason']">
                            <span class="reason">{vb:rawphrase reason}:</span> {vb:raw post.edit_reason}
                        </vb:if>
                    </blockquote>
                    <!-- / edit note -->
                    </vb:if>
                                           {vb:raw template_hook.postbit_signature_start}
                                    {vb:raw ad_location.ad_showthread_firstpost_sig}
                    <vb:if condition="$post['signature']">
                            <blockquote class="signature restore"><div class="signaturecontainer">{vb:raw post.signature}</div></blockquote>
                    </vb:if>
                                            {vb:raw template_hook.postbit_signature_end}
                </div>
                </vb:if>
                <div class="cleardiv"></div>
            </div>
        </div>
            <div class="postfoot">
                <!-- <div class="postfoot_container"> -->
                <div class="textcontrols floatcontainer">
                    <span class="postcontrols">
                        <img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
                        <vb:if condition="$post['editlink']">
                            <a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}"><img src="{vb:raw vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a> 
                        <span class="seperator">&nbsp;</span>
                        </vb:if>
                        <vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
                            <a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}" rel="nofollow"><img id="replyimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a> 
                        <span class="seperator">&nbsp;</span>
                        </vb:if>
                        <vb:if condition="$post['replylink']">
                            <a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow"><img id="quoteimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" />  <vb:if condition="$post['forwardlink']">{vb:rawphrase reply_to_private_message}<vb:else />{vb:rawphrase reply_with_quote}</vb:if></a> 
                        <vb:if condition="$show['multiquote_post']"><span class="seperator">&nbsp;</span></vb:if>
                        </vb:if>
                        <vb:if condition="$show['multiquote_post']">
                            
                             <a class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}"><img id="mq_image_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase multi_quote_this_message}" />&nbsp;</a> 
                        </vb:if>
                    </span>
                    <span class="postlinking">
                        <vb:if condition="!$post['forwardlink'] && THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'">
                            <vb:if condition="$promote_sectionid AND $promote_sectionid != -1">
                                   <a href="{vb:raw promote_url}" class="promotecms">{vb:rawphrase promote_to_article}</a>
                                                           <span class="seperator">&nbsp;</span>
                            </vb:if>
                        </vb:if>
    
                        {vb:raw template_hook.postbit_controls}
                        {vb:raw post.iplogged}
                        <vb:if condition="$post['forwardlink']">
                            <a class="forwardpost" href="{vb:raw post.forwardlink}" rel="nofollow"><img src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase forward_message}" /> {vb:rawphrase forward}</a>
                            <vb:if condition="$show['reputationlink'] OR $show['infractionlink'] OR $show['moderated'] OR $show['spam'] OR $show['deletedpost'] OR $show['redcard'] OR $show['yellowcard']"><span class="seperator">&nbsp;</span></vb:if>
                        </vb:if>
                        <vb:if condition="$show['reputationlink']">
                            <span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation" title="{vb:rawphrase reputation}" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&amp;p={vb:raw post.postid}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase reputation}" /> -->&nbsp;</a></span>
                        </vb:if>
    
                        <vb:if condition="$show['infractionlink']">
                            <a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}"><!-- <img src="{vb:stylevar imgdir_button}/add-infraction_sm.png" alt="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}" /> --> &nbsp;</a> &nbsp;
                        </vb:if>
                        <vb:if condition="$show['reportlink']">
                            <a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> -->&nbsp;</a> &nbsp;
                        </vb:if>
    
                        <vb:if condition="$show['moderated']">
                            <img class="moderated" src="{vb:stylevar imgdir_misc}/moderated_sm.png" alt="{vb:rawphrase moderated_post}" />
                        </vb:if>
                        <vb:if condition="$show['spam']">
                            <img class="spam" src="{vb:stylevar imgdir_misc}/spam_detected.png" alt="{vb:rawphrase spam_post}" />
                        </vb:if>
                        <vb:if condition="$show['deletedpost']">
                            <vb:if condition="$show['managepost']">
                                <a class="deleted" href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php?{vb:raw session.sessionurl}do=managepost&amp;p={vb:raw post.postid}" title="{vb:rawphrase manage}">&nbsp;</a>
                            <vb:else />
                                <img class="deleted_nolink" class="inlineimage" src="{vb:stylevar imgdir_button}/deleted_sm.png" alt="{vb:rawphrase deleted_post}" />
                            </vb:if>
                        </vb:if>
                        <vb:if condition="$show['redcard']">
                            <a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> &nbsp;</a>
                            <vb:elseif condition="$show['yellowcard']" />
                                <a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_warning}"><!--<img src="{vb:stylevar imgdir_button}/yellow-card_sm.png" alt="{vb:rawphrase received_warning}" /> --> &nbsp;</a>
                        </vb:if>
                    </span>
                <!-- </div> -->
                </div>
            </div>
        <hr />
    </li>
    {vb:raw template_hook.postbit_end}
    untitledhg.jpg
    thay đổi nội dung bởi: Tiểu Bá Vương 1404; 21-04-2011 lúc 12:38 PM

  4. #222
    HTT.itvn's Avatar

    Trạng thái
    Offline
    Họ tên
    Hoàng Thiên Thanh
    Tham gia ngày
    Oct 2009
    Thành viên thứ
    2889
    Đến từ
    Hà Tĩnh
    Giới tính
    Bài gởi
    2,814
    Level: 52 [?]
    Experience: 16,147,987
    Next Level: 16,259,327
    Cảm ơn 123
    Cảm ơn 1,701 lần / 895 Bài viết

    Default

    @Tuanxa90 : Em đã chèn đoạn CSS vào chưa ? Nếu chưa chèn đoạn css vào thì không thể đóng khung được . Em xem lại bài đầu tiên ( Buoc 1 ) của topic này nhé .

  5. Thành viên sau đây nói lời Cảm ơn tới HTT.itvn cho bài viết hữu ích này:

    tuanxa90 (21-04-2011)

  6. #223
    tuanxa90's Avatar

    Trạng thái
    Offline
    Tham gia ngày
    Apr 2011
    Thành viên thứ
    45015
    Tuổi
    35
    Giới tính
    Bài gởi
    12
    Level: 23 [?]
    Experience: 62,423
    Next Level: 62,494
    Cảm ơn 3
    Cảm ơn 0 lần / 0 Bài viết

    Default

    anh ơi em đã chèn đoạn code vào đó rùi mà không đc anh xem lại cho em với code của em ở trên đó ? giúp em nha .
    ko thì anh cho em xin code của anh đã làm em copy save cũng đc hihi .thanks

  7. #224
    Tiểu Bá Vương 1404's Avatar

    Trạng thái
    Offline
    Họ tên
    BCP Hùng
    Tham gia ngày
    Oct 2010
    Thành viên thứ
    32314
    Đến từ
    Vietnam
    Tuổi
    31
    Giới tính
    Bài gởi
    3,311
    Level: 53 [?]
    Experience: 17,821,665
    Next Level: 19,059,430
    Cảm ơn 394
    Cảm ơn 1,859 lần / 992 Bài viết

    Default

    Xem lại css anh bỏ vào là gì, class là eti_postbit hay post_field hay ... ?

  8. Thành viên sau đây nói lời Cảm ơn tới Tiểu Bá Vương 1404 cho bài viết hữu ích này:

    tuanxa90 (21-04-2011)

  9. #225
    tuanxa90's Avatar

    Trạng thái
    Offline
    Tham gia ngày
    Apr 2011
    Thành viên thứ
    45015
    Tuổi
    35
    Giới tính
    Bài gởi
    12
    Level: 23 [?]
    Experience: 62,423
    Next Level: 62,494
    Cảm ơn 3
    Cảm ơn 0 lần / 0 Bài viết

    Default

    anh ơi ::::Tiểu Bá Vương 1404 :::::Xem lại css anh bỏ vào là gì, class là eti_postbit hay post_field hay ... ?
    :::::::::::::::cái đó là gì em ko pít ?em làm như trên vd rùi mà .chỉ cho em với . thanks

  10. #226
    Tiểu Bá Vương 1404's Avatar

    Trạng thái
    Offline
    Họ tên
    BCP Hùng
    Tham gia ngày
    Oct 2010
    Thành viên thứ
    32314
    Đến từ
    Vietnam
    Tuổi
    31
    Giới tính
    Bài gởi
    3,311
    Level: 53 [?]
    Experience: 17,821,665
    Next Level: 19,059,430
    Cảm ơn 394
    Cảm ơn 1,859 lần / 992 Bài viết

    Default

    Trích Nguyên văn bởi tuanxa90 View Post
    ...cái đó là gì em ko pít ?em làm như trên vd rùi mà .chỉ...với...
    Gửi lại đoạn code đã chèn vào postbit.css hoặc bất kì temp css nào khác để đóng khung.

  11. Thành viên sau đây nói lời Cảm ơn tới Tiểu Bá Vương 1404 cho bài viết hữu ích này:

    tuanxa90 (21-04-2011)

  12. #227
    tuanxa90's Avatar

    Trạng thái
    Offline
    Tham gia ngày
    Apr 2011
    Thành viên thứ
    45015
    Tuổi
    35
    Giới tính
    Bài gởi
    12
    Level: 23 [?]
    Experience: 62,423
    Next Level: 62,494
    Cảm ơn 3
    Cảm ơn 0 lần / 0 Bài viết

    Default

    anh oi css của em ở phàn bên trên đó anh xem giùm em ?thanks

    ko ai giúp em ah nả quá
    thay đổi nội dung bởi: Tiểu Bá Vương 1404; 21-04-2011 lúc 08:10 PM Lý do: Gộp bài

  13. #228
    HTT.itvn's Avatar

    Trạng thái
    Offline
    Họ tên
    Hoàng Thiên Thanh
    Tham gia ngày
    Oct 2009
    Thành viên thứ
    2889
    Đến từ
    Hà Tĩnh
    Giới tính
    Bài gởi
    2,814
    Level: 52 [?]
    Experience: 16,147,987
    Next Level: 16,259,327
    Cảm ơn 123
    Cảm ơn 1,701 lần / 895 Bài viết

    Default

    Trích Nguyên văn bởi tuanxa90 View Post
    ko ai giúp em ah nả quá
    Trên kia anh nhìn mãi không thấy đoạn CSS ở đâu cả . Em có hiểu ngôn ngữ lập trình CSS là gì không vậy ?

    Em đã thực hiện bước này chưa ?

    Bước 1 : vào Admin CP >> Styles & Templates >> Search in Templates >> ở mục Search for Text gõ posbit.css ( nhớ tick vào ô Đồng ý ở mục Tìm trong tựa đề >> Find >> Kick vào postbit.css >> Dán code sau vào cuối cùng :
    (Bài viết của HTT.itvn )

    /* eTiKeT Postbit_Legacy*/
    .eti_postbit_merkezli {
    padding-left: 4px;
    padding-right: 2px;
    padding-top: 2px;
    padding-bottom: 2px;
    background-color: #efefef;
    border-top: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
    border-left: 1px solid #c4c4c4;
    border-bottom: 1px solid #c4c4c4;
    margin-bottom: 4px;
    text-align:center;
    -moz-box-shadow: 0 2px 6px #b3b3b3;
    -webkit-box-shadow: -1px 2px 2px #b3b3b3;
    -moz-border-radius-bottom{vb:stylevar left}:6px;
    -moz-border-radius-top{vb:stylevar right}:6px;
    -webkit-border-top-{vb:stylevar right}-radius: {vb:stylevar threadlisthead_top_corner_radius};
    -webkit-border-bottom-{vb:stylevar left}-radius: {vb:stylevar threadlisthead_top_corner_radius};}

    .eti_postbit {
    padding-left: 4px;
    padding-right: 2px;
    padding-top: 2px;
    padding-bottom: 2px;
    background-color: #efefef;
    border-top: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
    border-left: 1px solid #c4c4c4;
    border-bottom: 1px solid #c4c4c4;
    margin-bottom: 4px;
    -moz-box-shadow: 0 2px 6px #b3b3b3;
    -webkit-box-shadow: -1px 2px 2px #b3b3b3;
    -moz-border-radius-bottom{vb:stylevar left}:6px;
    -moz-border-radius-top{vb:stylevar right}:6px;
    -webkit-border-top-{vb:stylevar right}-radius: {vb:stylevar threadlisthead_top_corner_radius};
    -webkit-border-bottom-{vb:stylevar left}-radius: {vb:stylevar threadlisthead_top_corner_radius};
    }

    .itvnn_postbit {
    text-align:center;
    }
    Nhấn Save

  14. #229
    keroppi's Avatar

    Trạng thái
    Offline
    Tham gia ngày
    Dec 2010
    Thành viên thứ
    35715
    Tuổi
    34
    Giới tính
    Bài gởi
    177
    Level: 36 [?]
    Experience: 942,062
    Next Level: 1,000,000
    Cảm ơn 71
    Cảm ơn 5 lần / 4 Bài viết

    Default

    + Nếu bạn dùng Mod level như diễn đàn này thì bạn đóng khung như sau :
    Admin CP >> Styles & Templates >> Style manager >> Chọn skin cần chỉnh , edit templates >> Postbit templates >> postbit_userlevel >> Chèn code sau lên đầu :
    < div class="eti_postbit">
    Chèn code sau nằm cuối :
    </div>
    Trích Nguyên văn bởi keroppi View Post
    Uả, cái này nếu em không đóng khung thì nó ko bị sao cả. Nhưng làm đóng khung theo anh HTT hướng dẫn í. Thì nó bị lỗi. Toàn bộ phần bài viết nó trắng hết ra, thò ra mấy chữ bên phải thôi. Anh hướng dẫn cho em đóng khung với
    Anh HTT vào giúp em với. Mà cái mod này em cài xong thì ở cái thanh ngang dưới Next level sao nó ko có màu xanh giống của ITVNN mình mà chỉ là màu trắng nhỉ

  15. #230
    Tiểu Bá Vương 1404's Avatar

    Trạng thái
    Offline
    Họ tên
    BCP Hùng
    Tham gia ngày
    Oct 2010
    Thành viên thứ
    32314
    Đến từ
    Vietnam
    Tuổi
    31
    Giới tính
    Bài gởi
    3,311
    Level: 53 [?]
    Experience: 17,821,665
    Next Level: 19,059,430
    Cảm ơn 394
    Cảm ơn 1,859 lần / 992 Bài viết

    Default

    Trích Nguyên văn bởi keroppi View Post
    ...cái thanh ngang dưới Next level sao nó ko có màu xanh giống của ITVNN...
    Đây là lỗi về hình ảnh, một anh up cái hình userlever.gif (images/misc/) vào thư mục tuơng ứng của style anh dùng.
    Hai là anh thay đổi cái code sau :
    HTML Code: 
      <div style="width:{vb:raw ewidth}; height:9px; margin:1px; background-image: url({vb:stylevar imgdir_misc}/userlevel.gif); background-repeat:repeat-x;"></div>
    chỗ : background-image: url({vb:stylevar imgdir_misc}/userlevel.gif) sửa lại thành background-image: url(images/misc/userlevel.gif)

    Còn đóng khung thì anh chú ý, <div class="eti_postbit"> chứ không phải < div class="eti_postbit"> như của anh Thanh (chắc anh ấy gõ nhầm thêm dấu cách).

  16. Thành viên sau đây nói lời Cảm ơn tới Tiểu Bá Vương 1404 cho bài viết hữu ích này:

    keroppi (22-04-2011)


 
Trang 23/35 đầuđầu ... 13212223242533 ... cuốicuối

Thread Information

Users Browsing this Thread

There are currently 3 users browsing this thread. (0 members and 3 guests)

Similar Threads

  1. Trả lời: 8
    Bài mới gởi: 11-01-2012, 10:26 PM
  2. Lỗi khung khi tạo khung avata như ITVNN áp dụng cho postbit
    By BlogSoftvn in forum Hỏi đáp & Thảo luận
    Trả lời: 2
    Bài mới gởi: 23-11-2011, 02:36 PM
  3. Trả lời: 6
    Bài mới gởi: 19-10-2011, 08:33 AM
  4. [Help] Đóng khung avatar dạng temp và đóng khung bài viết dạng shadow
    By hoangduykt7990 in forum Hỏi đáp & Thảo luận
    Trả lời: 6
    Bài mới gởi: 02-09-2011, 09:28 AM
  5. Trả lời: 10
    Bài mới gởi: 12-08-2011, 08:33 PM

Tags for this Thread

Bookmarks

Quuyền Hạn Của Bạn

  • Bạn không thể tạo chủ đề mới
  • Bạn không thể trả lời bài viết
  • Bạn không thể gửi file đính kèm
  • Bạn không thể chỉnh sửa bài viết
  •