Hướng dẫn thêm công cụ quản lý bài viết cho style mobile vbb

  • Thread starter Thread starter AdminAdmin is verified member.
  • Start date Start date
Admin

AdminAdmin is verified member.

Well-Known Member
Staff member
Administrator
Thực ra cái này mod lâu lắm rồi mà lão Lê tí cũng mod lại k share nên share nốt cho ae dùng demo:

PHP:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
    <vb:if condition="$threadinfo['keywords']"><meta name="keywords" content="{vb:raw threadinfo.keywords}" /></vb:if>
    <meta name="description" content="{vb:raw thread.meta_description}" />
    {vb:raw headinclude}
    <title>{vb:raw thread.prefix_plain_html} {vb:raw thread.title}</title>
</head>
<body>

<div class="bodywrapping">

{vb:raw header}
{vb:raw navbar}
{vb:raw poll}
        
<div class="titlebg1">{vb:rawphrase thread}: {vb:raw threadinfo.title}</div>
<vb:if condition="$show['inlinemod']">
    <form action="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}inlinemod.php?threadid={vb:raw threadinfo.threadid}&amp;p={vb:raw postid}" method="post" id="inlinemodform" name="inlinemodform">
    </vb:if>



<vb:if condition="$show['inlinemod']">
    <form action="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}inlinemod.php?threadid={vb:raw threadinfo.threadid}&amp;p={vb:raw postid}" method="post" id="inlinemodform" name="inlinemodform">
    </vb:if>

            {vb:raw postbits}




        <vb:if condition="$show['inlinemod']">
                <div class="titlebg1"><a href="javascript://" class="popupctrl"><span class="ctrlcontainer">{vb:rawphrase moderation_tools} (<span id="post_inlinemod_count">0</span>)</span></a></div>
                    <vb:if condition="$show['managethread']">
                    <label><input type="radio" name="do" value="mergeposts" tabindex="31" /> {vb:rawphrase merge_posts}&hellip;</label>
                    <label><input type="radio" name="do" value="moveposts" tabindex="32" /> {vb:rawphrase move_posts}&hellip;</label>
                    <label><input type="radio" name="do" value="copyposts" tabindex="33" /> {vb:rawphrase copy_posts}&hellip;</label>
                    </vb:if>
                    <vb:if condition="$show['spamctrls']">
                    <label><input type="radio" name="do" value="spampost" tabindex="34" /> {vb:rawphrase delete_posts_as_spam}&hellip;</label>
                    </vb:if>
                    <vb:if condition="$show['managepost']">
                    <label><input type="radio" name="do" value="deleteposts" tabindex="35" /> {vb:rawphrase delete_posts}&hellip;</label>
                    <label><input type="radio" name="do" value="undeleteposts" tabindex="36" /> {vb:rawphrase undelete_posts}</label>
                    </vb:if>
                    
    
                    <label><input type="radio" name="do" value="viewpost" tabindex="41" /> {vb:raw vbphrase.view_selected_posts}</label>
                    
                                        {vb:raw template_hook.inlinemod_post_bottom}
                        <center><input type="submit" class="button" value="{vb:rawphrase proceed_ellipsis}" tabindex="43" /></center> 

            </vb:if>


    <vb:if condition="$show['inlinemod']">
        <input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
        <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
        <input type="hidden" name="threadid" value="{vb:raw threadinfo.threadid}" />
        <input type="hidden" name="p" value="{vb:raw postid}" />
        <input type="hidden" name="url" value="{vb:raw url}" />
    </form>
    </vb:if>



<div id="below_postlist" class="<vb:if condition="!$show['inlinemod']">noinlinemod </vb:if>below_postlist">
    <vb:if condition="$show['largereplybutton']">
        <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&amp;noquote=1"class="newcontent_textcontrol" id="newreplylink_bottom"><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a>
    </vb:if>
    <div id="pagination_bottom" class="pagination_bottom">
    <vb:if condition="$show['pagenav']">
        {vb:raw pagenav}
    </vb:if>
        {vb:raw forumjump}



<vb:if condition="$show['multiquote_global']">
<!-- multiquote scripts -->
<script type="text/javascript">
<!--
var mqlimit = {vb:raw vboptions.mqlimit};
//-->
</script>
<!-- / multiquote scripts -->
</vb:if>

<vb:if condition="$show['quickreply'] OR $show['ajax_js']">
<!-- ajax errors table -->
<div id="ajax_post_errors" class="hidden">


            




        </vb:if>    
    <vb:if condition="$show['member']">
<div>
<form action="newreply.php" method="post">
<br>
<div class=head>Trả lời nhanh</div>
<textarea wrap="virtual" name="message" rows="10" cols="30" style="height:100px;width:99%" tabindex="1">
</textarea>


<input type="hidden" name="wysiwyg" value="0" />
<input type="hidden" name="fromquickreply" value="1" />
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="postreply" />
<input type="hidden" name="t" value="{vb:raw threadid}" id="qr_threadid" />
<input type="hidden" name="p" value="{vb:raw qrpostid}" id="qr_postid" />
<input type="hidden" name="parseurl" value="1" />
<input type="hidden" name="loggedinuser" value="{vb:raw bbuserinfo.userid}" />
<vb:if condition="$bbuserinfo['signature']">


<label for="cb_signature">
<input type="checkbox" name="signature" id="cb_signature" value="1" checked="checked" tabindex="1" />
{vb:rawphrase show_your_signature}
</label>
<br>

</vb:if>
<input type="submit" id="btn" value="Gá»*i bà i" />
</form>
</div>
</vb:if>

            
        

            
<div class="titlebg1"><a class="popupctrl" href="javascript://">{vb:rawphrase administrative}</a></div>
<vb:if condition="$show['adminoptions']">

                    
                    <form action="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php" method="post">
                        
                            <vb:if condition="$show['openclose']">
                                <label>
                                    <input type="radio" name="do" value="openclosethread" checked="checked" tabindex="1" />
                                    <vb:if condition="$show['closethread']">{vb:rawphrase close_thread}<vb:else />{vb:rawphrase open_thread}</vb:if>
                                </label>
                            </vb:if>
                            <vb:if condition="$show['moderatethread']">
                                <label>
                                    <input type="radio" name="do" value="moderatethread" tabindex="2" /> 
                                    <vb:if condition="$show['approvethread']">{vb:rawphrase approve_thread}<vb:else />{vb:rawphrase unapprove_thread}</vb:if>
                                </label>
                            </vb:if>
                            <vb:if condition="$show['movethread']">
                                <label><input type="radio" name="do" value="movethread" tabindex="3" /> {vb:rawphrase move_thread}&hellip;</label>
                                <label><input type="radio" name="do" value="copythread" tabindex="4" /> {vb:rawphrase copy_thread}&hellip;</label>                    
                            </vb:if>
                            <vb:if condition="$show['editthread']">
                                <label><input type="radio" name="do" value="editthread" tabindex="5" /> {vb:rawphrase edit_thread}&hellip;</label>
                            </vb:if>
                            <vb:if condition="$show['deletethread']">
                            <label><input type="radio" name="do" value="deletethread" tabindex="6" /> {vb:rawphrase delete_thread}&hellip;</label>
                            </vb:if>
                            <vb:if condition="$show['managethread']">
                                <label>
                                    <input type="radio" name="do" value="stick" tabindex="7" />
                                    <vb:if condition="$show['unstick']">{vb:rawphrase unstick_thread}<vb:else />{vb:rawphrase stick_thread}</vb:if>
                                </label>
                                <label><input type="radio" name="do" value="mergethread" tabindex="8" /> {vb:rawphrase merge_threads}&hellip;</label>
                                <label><input type="radio" name="do" value="removeredirect" tabindex="9" /> {vb:rawphrase remove_redirects}</label>
                            </vb:if>
                                <br><center><input type="submit" class="button" value="{vb:rawphrase proceed_ellipsis}" tabindex="10" /> 
                                <input class="button" type="reset" value="{vb:rawphrase reset}" tabindex="11" />
                            

                        <input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
                        <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
                        <input type="hidden" name="t" value="{vb:raw threadid}" />
                        <input type="hidden" name="pollid" value="{vb:raw pollid}" />
                    </form>
                
            </vb:if></center>

{vb:raw footer}

</body>
</html>
Ai dùng thì thanks, các thẻ div có thể không đúng với css của bạn nên nhớ sửa lại nhé
Hầu hết các style mình share đều có hết
 

Facebook Comments

Similar threads

Admin
Replies
0
Views
2K
AdminAdmin is verified member.
Admin
Tjeuphong
Replies
27
Views
3K
TranDucTranDuc is verified member.
TranDuc
Back
Top