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
    PhucSD's Avatar

    Trạng thái
    Offline
    Họ tên
    Nguyễn Hữu Phúc
    Tham gia ngày
    Jan 2011
    Thành viên thứ
    37119
    Đến từ
    Quy Nhơn, Bình Định
    Tuổi
    28
    Giới tính
    Bài gởi
    701
    Level: 43 [?]
    Experience: 3,405,794
    Next Level: 3,609,430
    Cảm ơn 73
    Cảm ơn 316 lần / 199 Bài viết

    Default Relevant Store Products on Threads & Search (vB4)  

    Mod này giúp hiển thị những sản phẩm bạn muốn quảng cáo, nhưng dữ liệu này được lấy từ database hay từ nguồn khác, những sản phẩm sẽ hiển thị bên trên mỗi chủ đề, đồng thời những sản phẩm này cũng sẽ xuất hiện lúc bạn tìm kiếm trong forum.

    Đọc kĩ hướng dẫn bên dưới và xem screenshot sẽ hiểu công dụng của nó

    This hack will use data from your online store database (or whatever data source you want) and determine which are the most relevant products to show at the top of a thread. It will also show relevant products related to search queries.

    It accomplishes this task by some clever javascript that gets the most common occurrences of words / phrases in your posts, and does some clever mysql logic to figure out what is most relevant.

    This hack comes with an option for users with over 50 posts to turn OFF seeing these products.
    You need to make 2 template modifications, add some CSS and Javascript, and drop in the PHP files. Also add 1 field to the user table (sql statement included) Then edit the relevantProducts.php file to match whatever data you have. Its setup right now for a Volusion API export.

    Files:
    relevantProducts.php
    relevantProductsAjax.php
    RP-plugins.txt
    RP-search template changes.txt
    RP-box template.txt
    RP-css.css
    RP-debugging.php
    RP-hide/show template changes.txt
    RP-jQuery Plugin.js
    RP-jQuery Plugin Usage.js
    RP-sql.sql





    To make this better for later, your store might also give you product popularity, something our store does not. Factoring that in would increase the relevance of the products.
    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. Automatic Products Update Check
    By admin in forum v4.x Modifications
    Trả lời: 0
    Bài mới gởi: 02-11-2014, 11:53 AM
  2. Trả lời: 0
    Bài mới gởi: 02-05-2010, 04:47 PM
  3. Manage Products hok cho Import
    By Tử Điệp in forum Hỏi đáp & Thảo luận
    Trả lời: 3
    Bài mới gởi: 17-10-2009, 11:22 AM
  4. Threads Limiter - Limit threads posted by user in X hours
    By admin in forum v3.8.x Modifications
    Trả lời: 0
    Bài mới gởi: 27-09-2009, 08:50 PM
  5. Header Search (vb.org search style)
    By admin in forum v3.8.x Modifications
    Trả lời: 0
    Bài mới gởi: 16-09-2009, 11:02 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
  •