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
    s0ct0j0c's Avatar
    Banned

    Trạng thái
    Offline
    Họ tên
    Kiều Sơn Lâm
    Tham gia ngày
    Jan 2011
    Thành viên thứ
    36613
    Đến từ
    TP.HCM
    Tuổi
    31
    Giới tính
    Bài gởi
    454
    Level: 41 [?]
    Experience: 2,212,029
    Next Level: 2,530,022
    Cảm ơn 91
    Cảm ơn 89 lần / 68 Bài viết

    Default Signature Uploader [xxsU]-XenXer0  

    This is a small snippet I ripped out of my media uploader project. It's purpose is to make a simple field to add a signature uploader into the signature editor page.


    Upload the contents of the xxsU.zip to your site root


    Then you must set your board to debug mode ( to have the uploader show up in all styles you must enter debug mode and edit the MASTER style.) replace the xxx.xxx.xxx.xxx with your ip, if you are unsure of your ip goto http://ipchicken.com and copy paste your ip in this snippet and place it in your xenforo config file located in www/library/config.php

    PHP:
    if ($_SERVER['REMOTE_ADDR'] == 'xxx.xxx.xxx.xxx')
    {
    $config['debug'] = true;


    Once in debug mode you can proceed to navigate to the account_signature template which is in the admin control panel @: appearance > templates > Master Style >

    or replacing yourxenforo.com with your domain ...

    http://yourxenforo.com/admin.php?tem...dit&style_id=0


    In the template editor viewing the account_signature template, go to the end of the doc and paste the following code:

    PHP:
    <ol id="forums" class="nodelist sectionMain">
    <
    iframe src ="/xxsU.html" width="100%" height="300" frameBorder="0">
    <
    p>Your browser does not support iframes.</p>
    </
    iframe><p>
    <
    a href="/account/signature">refresh the signature page</a>
    </
    ol>


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

    the docs you have uploaded need to be edited as well for your domain....


    All that must be changed is the domain name to be relative to your site. Open the xxsU.php file and edit the line above every instance of // replace your.com with the name of your xenforo installation's domain. There is 5 edits for address in file, 1 in the first part and the other 4 are one after another lower in the doc.

    end results...





    I'm half asleep right now so, let me know what if anything needs a fixxin an I will get to it.

    source thread http://xenforo.com/community/threads...4/#post-196847
    File Kèm Theo File Kèm Theo


 

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. 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
  2. Click to view signature ver 1.0 for vB 4.x
    By admin in forum v4.0.x Modifications
    Trả lời: 0
    Bài mới gởi: 10-06-2010, 04:46 PM
  3. 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
  4. Single Signature Per Page
    By hau_ooo in forum Mods
    Trả lời: 0
    Bài mới gởi: 22-02-2010, 07:08 PM
  5. Signature Backgrounds
    By admin in forum v3.8.x Modifications
    Trả lời: 0
    Bài mới gởi: 01-11-2009, 08:52 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
  •