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

    Default 8WayRun.Com - Random Header  

    I'm an unemployed computer programmer... if you appreciate the work I have done on this mod, please don't hesitate in offering me a donation by clicking the "Support Developer" link to the right of this text.
    I had to rewrite this mod because it stopped working in vB4x. It now requires a product installation; don't blame me, blame vB4x.

    This script does not use Javascript!
    I wrote this mod for my own website last year (http://www.8wayrun.com/). I was looking for a way to create a random header situation, while also letting people select the random header through their UserCP and force a header depending on what forum they are on. If you go to my website (http://www.8wayrun.com/), a random character will appear on your header, if you ctrl+refresh, a new character will show up... if you go to our character specific forums, the character in the random header will be forced to the character of that specific forum... I have done my best to make this script as simple as possible.

    Product Demo:Installation Procedure:
    1. Upload all the files in the "upload" directory of the attached zip file to your forum root.
      .
    2. Import the product file called "product-header.xml" in the Product Manager of vBulletin.
      .
    3. RANDOM OPTION: Put the images you want randomized into the "header" folder that you just uploaded in the previous step.
      This randomized option will work with any JPG, GIF or PNG image extension.
      .
    4. SELECTED OPTION: If you want, you can let users SELECT which header they want on places where the script would normally randomize.
      1. Create a new "Single-Selection Menu" profile field in your adminCP.
      2. For each selection option, enter an image's filename as an option.
      3. Set Default: None
      4. Field Required: No
      5. Field Editable: Yes
      6. Private Field: No
      7. Field Searchable on Members List: No
      8. Show on Members List: No
      9. Display Page: Options: Other

      After you submit, this field will be given a name (ex: field9). Make sure to remember this name.
      This selected option will work with any image extension defined in an image's filename
      .
    5. FORCED OPTION: If you want to FORCE an image on specific forum, upload the image, to the "header/forums" directory.
      Images are forced by their forum ID, so if the forum you want to force is forum 38, then name the image "38.png".
      By default, this selected option will only work with the PNG image extension.
      If you want to change this extension to something else, open up the included "header/header.php".
      Find and edit the fourth line in this file which by default should state: $forced = ".png";
      .
    6. NOTE: This script has a heirarchy of importance when searching for images.
      1. The first thing it will look for is the FORCED OPTION.
      2. If it doesn't find a forced image, it will use the SELECTED OPTION.
      3. If it doesn't find a selected image, it will use the RANDOM OPTION.

    Usage Procedure:
    Anywhere you want to use this random script, just link to this script, instead of an image.
    header/header.php?fid={vb:var forum.forumid}&pid={vb:var bbuserinfo.field9}
    Notice the field9 above, this should match the field name given to you in a previous step.
    You can use this script anywhere you would normally use an image; whether it be your logo image, or even the background image to your header or website.
    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. [8wayRun.Com] XenMedio (Media) v.1.3.3
    By s0ct0j0c in forum Add-ons and Modifications
    Trả lời: 0
    Bài mới gởi: 21-04-2011, 02:45 PM
  2. [8wayRun.Com] XenAtendo (Events) 1.3.4
    By s0ct0j0c in forum Add-ons and Modifications
    Trả lời: 0
    Bài mới gởi: 21-04-2011, 07:54 AM
  3. [8wayRun.Com] XenPorta (Portal) v.1.3.4
    By Tiểu Bá Vương 1404 in forum Add-ons and Modifications
    Trả lời: 0
    Bài mới gởi: 21-04-2011, 12:03 AM
  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. Jujubins Header - Forumid Header
    By thanhdia in forum v3.8.x Modifications
    Trả lời: 0
    Bài mới gởi: 05-11-2009, 08:11 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
  •