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ài: Signature Backgrounds

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,132,075
    Next Level: 35,467,816
    Cảm ơn 53
    Cảm ơn 2,450 lần / 1,409 Bài viết

    Default Signature Backgrounds  

    This mod will allow users to add backgrounds to their signatures. It requires 3 new fields and 1 template edit. This mod requires some experience in editing templates.

    First field is X-1:

    Type: Single-Line Textbox
    Name: Signature Background
    Details: Choose a color or image for your background
    The rest is default. On this field color names, hex values or links can be used. ie., black, white, #000000, #FFFFFF, http://yourimagelink.com/yourimage.png, http://yourimagelink.com/yourimage.gif

    Second field is X-2:

    Type: Single-Line Textbox
    Name: Signature Background Border Color
    Details: Choose a color for the border if any
    The rest is default.

    The third is X-3:

    Type: Multiple-Selection Checkbox
    Name: Signature Background Link ?
    Details: If you used a link to an image check yes here.
    Options: Yes
    The rest is default. This field tells it if it's a link or not and switches the codes accordingly.

    Now for the templates open postbit/postbit_legacy and find:
    Code: 
    <!-- sig -->
    Then replace from <!-- sig --> to <--/ sig --> with:
    Code: 
    <!-- Signature Background -->
                
                          <if condition="$post['fieldX-1']">
                    <div style="<if condition="$post['fieldX-2']">border:$post[fieldX-2] 1px solid;</if> background:<if condition="$post['fieldX-3']">url($post[fieldX-1]);<else />$post[fieldX-1]; </if> align:center"><br /> <br />            
                      $post[signature]
            <else />
    
                      <div>________________<br />
                           $post[signature]
    </if>
    
    </div>
            <!-- / Signature Background -->
    Replace the X's with your fields and that's it.

    I am just learning all of this stuff so if i did something wrong in my coding please for give me. But this works great on my board.

    Demo:
    .♥.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. Trả lời: 0
    Bài mới gởi: 23-05-2016, 02:40 PM
  2. Postbit Legacy - Usergroup Backgrounds vb4
    By Dunglx in forum v4.x Modifications
    Trả lời: 0
    Bài mới gởi: 24-08-2011, 07:56 PM
  3. Valentine Backgrounds with Hearts and Butterfly
    By hisoping in forum Desktop Enhancement
    Trả lời: 0
    Bài mới gởi: 30-01-2011, 04:39 PM
  4. 8WayRun.Com - Signature Check
    By admin in forum v4.0.x Modifications
    Trả lời: 0
    Bài mới gởi: 14-08-2010, 08:58 AM
  5. Signature only on first post VB4.0x
    By admin in forum v4.0.x Modifications
    Trả lời: 0
    Bài mới gởi: 14-04-2010, 04:36 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
  •