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

    Default [1e2] Gravatar as Default Avatar for users without image: auto generate random avatar  



    How To

    1- Go to Plugins & Products -> Manage Products -> [Add/Import Product], then select the xml file downloaded, click Yes for Allow Overwrite and click Import button

    2- Go to Settings->Options->User Picture Options and you will find three new option at the end of the page (see screenshot) where you can:

    * Choose the Gravatar Type (choose between different Gravatar icon):
    • 404: do not load any image if none is associated with the email hash, instead return an HTTP 404 (File Not Found) response. But if an user has its own avatar saved on gravatar.com, that image is displayed.
    • mm: (mystery-man) a simple, cartoon-style silhouetted outline of a person (does not vary by email hash). But if an user has its own avatar saved on gravatar.com, that image is displayed.
    • identicon: a geometric pattern based on an email hash. But if an user has its own avatar saved on gravatar.com, that image is displayed.
    • monsterid: a generated 'monster' with different colors, faces, etc. But if an user has its own avatar saved on gravatar.com, that image is displayed.
    • wavatar: generated faces with differing features and backgrounds. But if an user has its own avatar saved on gravatar.com, that image is displayed.
    • retro: awesome generated, 8-bit arcade-style pixelated faces. But if an user has its own avatar saved on gravatar.com, that image is displayed.


    * Choose the Gravatar Dimension from 1 to 512 pixel square (default is 80) accordingly to your theme. You must write only numbers without characters or punctuation (so for example 120 and not 120px nor 120,5).

    * Choose the Gravatar Dimension for your Sidebar from 1 to 512 pixel square (default is 30) accordingly to your theme. You must write only numbers without characters or punctuation (so for example 120 and not 120px nor 120,5).

    *- Choose the Gravatar Ratings. All images are rated default as "g":
    • g: suitable for display on all websites with any audience type.
    • pg: may contain rude gestures, provocatively dressed individuals, the lesser swear words, or mild violence.
    • r: may contain such things as harsh profanity, intense violence, nudity, or hard drug use.
    • x: may contain hardcore sexual imagery or extremely disturbing violence.



    Note: uninstall Geekydesigns default avatar hack to make work.

    A manual edit for 4 files is needed if you want gravatar also in Blog and in ForumHome Sidebar. It's a simple search and replace, you can do it in 1 minute.

    As soon as I have time, I will make automaic the manual edit and I will add gravatar support also for CMS.

    The plugin adds a footer link to author website as copyright mark, but I don't require you to keep it. To remove the copyright info just disable the plugin for footer link:
    go to Plugins & Products->Plugin Manager and search the plugins for Gravatar as Default Avatar and delete or disable the one named "Profile Hooks". Consider a donation if you do so.


    vBulletin 3.8 version, please, download HERE

    Changelog:
    v 1.0 Initial release
    v 1.0.1 corrected a bug that makes the gravatar all the same in user profile
    v 1.1.0 Added a rudimental menu option to choose gravatar type, dimension and ratings
    v 1.1.1 Improvements in option menu to prevent errors and make it easier
    v 1.1.2:
    • Added option to choose dimensio for gravatar in sidebar.
    • Added a file called "gravatar in sidebar and blog.txt" with instruction to manual edit 4 file in order to have gravatar also in Sidebar blocks and in Blog.

    v 1.1.2p updated manual edits for VB 4.1.4 and 4.1.5
    Hình Kèm Theo Hình Kèm Theo
    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. Trả lời: 0
    Bài mới gởi: 19-05-2012, 08:27 PM
  2. Trả lời: 0
    Bài mới gởi: 21-11-2011, 07:32 AM
  3. Default Avatar
    By admin in forum v4.0.x Modifications
    Trả lời: 5
    Bài mới gởi: 06-03-2011, 06:52 AM
  4. BT - Show users avatar online.php
    By admin in forum v4.0.x Modifications
    Trả lời: 0
    Bài mới gởi: 29-03-2010, 05:46 PM
  5. Default Avatar
    By admin in forum v3.8.x Modifications
    Trả lời: 0
    Bài mới gởi: 14-09-2009, 07:57 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
  •