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
    • ITVNN HOSTING - Thiết kế website, Cung cấp Domain, Hosting, VPS Việt Nam Anh Hùng - Thông tin truyền thông
kết quả từ 1 tới 1 trên 1
Tăng kích thước phông chữ Giảm kích thước phông chữ
  1. #1
    admin's Avatar

    Trạng thái
    Offline
    Họ tên
    Mai Thanh Trung
    Tham gia ngày
    Aug 2006
    Thành viên thứ
    1
    Đến từ
    Pleiku, Gia Lai
    Tuổi
    39
    Giới tính
    Bài gởi
    4,984
    Level: 57 [?]
    Experience: 32,168,159
    Next Level: 35,467,816
    Cảm ơn 53
    Cảm ơn 2,450 lần / 1,409 Bài viết

    Default Private Message button in postbit footer  

    This simple mod does what is says on the tin, it adds a PM button in the postbit footer using the vBulletin 4.0.2 css convention for mouseover buttons.

    Note: This mod is NOT compatible with vBulletin 4.0.1 or earlier.



    It could be argued that this is a little superfluous as there is a PM link in the dropdown under the members name, but that link requires a "click>>>scroll>>>click" to get to where you want to be. If your members use the PM system a lot, then they may appreciate a "one click" option.

    There are...
    1x addition to the postbit.css template
    1x addition to the posbit (or postbit_legacy) template
    2x images to upload

    INSTRUCTIONS:
    1x addition to he posbit.css template
    Go to..
    Styles & Templates>Stlye Manager>your skin>edit templates>CSS templates>postbit.css
    ----------------------------------------------------------------------
    Find (search for "editpost"):
    HTML Code: 
    .postbitlegacy .postfoot .textcontrols a.editpost, .postbit .postfoot .textcontrols a.editpost, .eventbit .eventfoot .textcontrols a.editevent  {
        background: url({vb:stylevar imgdir_button}/edit_40b.png) no-repeat transparent {vb:stylevar left} ;
        padding-{vb:stylevar left}: 20px;
    }
    .postbitlegacy .postfoot .textcontrols a.editpost:hover, .postbit .postfoot .textcontrols a.editpost:hover, .eventbit .eventfoot .textcontrols a.editevent:hover  {
        background: url({vb:stylevar imgdir_button}/edit_40b-hover.png) no-repeat transparent {vb:stylevar left};
        padding-{vb:stylevar left}: 20px;
    }
    Under that, put:
    HTML Code: 
    .postbitlegacy .postfoot .textcontrols a.pminpostbit, .postbit .postfoot .textcontrols a.pminpostbit  {
        background: url({vb:stylevar imgdir_button}/pminpostbit_40b.png) no-repeat transparent {vb:stylevar left};
        padding-{vb:stylevar left}: 20px;
    }
    .postbitlegacy .postfoot .textcontrols a.pminpostbit:hover, .postbit .postfoot .textcontrols a.pminpostbit:hover  {
        background: url({vb:stylevar imgdir_button}/pminpostbit_40b-hover.png) no-repeat transparent {vb:stylevar left};
        padding-{vb:stylevar left}: 20px;
    }
    ----------------------------------------------------------------------
    Click "save".

    1x addition to the posbit (or postbit_legacy) template:
    Go to..
    Styles & Templates>Stlye Manager>your skin>edit templates>postbit templates>postbit
    ----------------------------------------------------------------------
    Find (search for "editpost"):
    HTML Code: 
    <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>
    Under that, put:
    HTML Code: 
    <!-- ////////start PM button in postbit////// -->
    <vb:if condition="$show['pmlink']"><a class='pminpostbit' href="private.php?{vb:raw session.sessionurl}do=newpm&amp;u={vb:raw post.userid}" rel="nofollow"><img src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase send_pm}" />PM</a><span class="seperator">&nbsp;</span></vb:if>
    <!-- ////////end PM button in postbit////// -->
    Click "save".

    2x images to upload:
    FTP into your forum/images/buttons dir and upload these two attached images:
    ----------------------------------------------------------------------
    pminpostbit_40b.png
    pminpostbit_40b-hover.png
    ----------------------------------------------------------------------

    That's it.
    File Kèm Theo File Kèm Theo
    .♥.Thà không yêu cho cuộc đời trong trắng.♥.
    .♥.Lỡ yêu rồi phải cố gắng thành công.♥.


    Thiết kế website, Cung cấp Domain, Hosting, VPS


 

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Mass Private Message
    By admin in forum v5.x Modifications
    Trả lời: 0
    Bài mới gởi: 04-11-2012, 11:41 AM
  2. Codecanyon - Simple Private Message System v1.2
    By admin in forum PHP Scripts
    Trả lời: 0
    Bài mới gởi: 19-10-2012, 04:34 PM
  3. Vấn đề private message trong VBB???
    By duylong2091 in forum Hỏi đáp & Thảo luận
    Trả lời: 0
    Bài mới gởi: 30-05-2012, 10:17 PM
  4. Private message Animation
    By admin in forum v4.0.x Modifications
    Trả lời: 1
    Bài mới gởi: 23-04-2011, 03:33 PM
  5. Mass Private Message
    By admin in forum v4.0.x Modifications
    Trả lời: 0
    Bài mới gởi: 03-01-2011, 05:48 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
  •