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: MySmilies vB (v4.x)

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

    Default MySmilies vB (v4.x)  

    NOTE: I have marked this hack as Re-usable Code - This means that code from this hack may be used in other hacks, which can ONLY be released on official vB sites that use Jelsoft's verification system to verify your vBulletin license status, and as long as Kentaurus, Mosh, and I (SecondV) are credited in your hack.

    This is a port of MySmilies vB for v3.8x which was a port of Mosh's MySmilies VB for v3.7.x.
    Mosh's was a port of Kentaurus's MySmilies VB for v3.6.x (version 1.03) to work with vBulletin v3.7.0.


    vBulletin Version Compatibility & Permission Info

    This hack was tested on vB 4.1.4 - and will only work with this version and later versions

    Info for hackers:
    You may modify, improve, upgrade, redistribute this hack, include it
    in another hack or yours or translate it provided you do it free of
    charge and you distribute it in www.vbulletin.org at least, there is no
    need to pm me asking for permission
    Some portions of the code are (c) Jelsoft Enterprises Ltd.

    NOTE: I have marked this hack as Re-usable Code - This means that code from this hack may be used in other hacks, which can ONLY be released on official vB sites that use Jelsoft's verification system to verify your vBulletin license status, and as long as Kentaurus and I are credited in your hack.
    What Does This Hack Do?

    This hack puts the control of the smilies on the users. It lets any user (that you give permission to) upload or modify the smilies that he can use.

    These are not the smilies that vb uses, these are user-customized smilies. The smilies that you already have in place are preserved and are still used. But users may upload their own smilies for their use, and they are kept separate from the standard forum smilies.

    For users:
    • Users can keep a library of their own smilies (they can upload them from their computer or web)
    • Users enter their replacement text, for example, :iamhappy: would be changed to their own user happy smilie
    • The custom smilies are parsed in any post, signature, or pm
    • If they have enabled the WYSIWYG editor, smilies are shown there


    For administrators:
    • Usergroup control of who may upload custom smilies
    • Usergroup control of the size (width, height, size in bytes) of the smilie
    • Smilie quota, both for max number of smilies and max number of bytes or hard disk space
    • The administrator can choose where to save the smilies (the directory, default: mysmiliesvb)
    • Auto-template Injection - if the appropriate template hooks are available, you will not need to make any template edits at all, if edits needed you only need to paste a single variable where you need it




    Installation Instructions

    See the included Installation Instructions.txt file in the sv_mysmiliesvb.zip zip file.

    ADDITIONAL NOTE:
    A limitation exists with the fix that rectifies the problem of attachments showing when also posting them inline within the same post; when applied, all attachments will need to be displayed inline, if they have not been, then the ones that have not been posted inline will be hidden along with the ones that have been posted inline.

    Uninstall Instructions

    1. Delete mysmiliesvb.php from your forum's root directory.
    2. Delete the mysmiliesvb directory from your forum's root directory.
    3. Delete class_dm_mysmiliesvb.php from your forum's /includes directory.
    4. Delete bitfield_mysmiliesvb.xml from your forum's /includes/xml directory.
    5. Delete delete.gif from your forum's /images/misc directory (if more than one style remember to delete it from all misc directories).
    6. Optional Step: This step is only if the auto template injection does not work, and you did the optional template edits.

      In the USERCP_SHELL template, find and delete:
      PHP Code: 
      {vb:raw mysmilie_usercp
      In the navbar template, find and delete:
      PHP Code: 
      {vb:raw mysmilie_navbar
    7. Uninstall the product in vB using the AdminCP Product Manager.


    To Do List

    Features are being done in the order that they appear on the list.
    1. Admin Control Panel utility to view/delete one, some or all custom smilies
    2. Add custom user smilies to the misc.php?do=showsmilies page and to the "More Smilies" popup.

    Version History
    v4.0.001 - May 26th, 2011
    -- Updated for vB4

    v3.8.004 - January 15th, 2010
    -- Changed: query() calls were being used instead of query_read()
    -- Changed: Smilies are now built and added to datastore cache
    -- Changed: Since smilies are stored in the datastore, smilies are no longer queried/parsed by userid.
    -- Fixed: Custom smilies not parsed when quoted by other users.
    -- Added: /includes/functions_mysmiliesvb.php - build_mysmilies_datastore() function.

    v3.8.003 - August 5th, 2009
    -- Fixed: Ok, should finally be fixed on upgrade - no more parse errors.
    -- Fixed: Those upgrading from Mosh's version should be fine now.

    v3.8.002 - August 4th, 2009
    -- Fixed: errors when upgrading from previous versions of MySMilies should be fixed.

    v3.8.001 - August 4th, 2009
    -- Initial v3.8.0 release - mod taken over by Eric Sizemore (SecondV)
    -- Fixed: standard_error calls were not using eval() as they should be
    -- Fixed: Some queries were not using TABLE_PREFIX
    -- Fixed: Even though phrases were in place, some parts of the mod used hardcoded langauge strings.
    -- Fixed: Some errors in templates, missing ending tags, etc.
    -- Fixed: Upload - the upload source didn't appear to be detected properly.
    -- Changed: "maxversion" in the product XML increased.
    -- Changed: "hard delete" option no longer on by default.
    -- Changed: The "mysmiliesvb" table was altered to have KEY's on the "userid" and "dateline" columns. Hopefully this will increase performance/smilie lookups.

    Screenshots:
    File Kèm Theo File Kèm Theo
    thay đổi nội dung bởi: Tiểu Bá Vương 1404; 07-06-2011 lúc 01:24 PM
    .♥.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. MySmilies vB (v4.x)
    By admin in forum v4.0.x Modifications
    Trả lời: 0
    Bài mới gởi: 27-05-2011, 10:00 PM
  2. MySmilies vB (v3.8.0)
    By thanhdia in forum v3.8.x Modifications
    Trả lời: 0
    Bài mới gởi: 01-11-2009, 03:46 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
  •