Addon 2x [SVG] Messengers - Thêm trình tin nhắn cho XenForo 2

[VNXF] Theme Digital – Sự lựa chọn hoàn hảo cho diễn đàn công nghệ hiện đại

PVS

Super Moderator
Thành viên BQT
Code này có bản quyền, nếu có nhu cầu sử dụng, bạn hãy click để tìm bản gốc có trả phí
[SVG] Messengers - Thêm trình tin nhắn cho XenForo 2 2.1.10

Add-on hỗ trợ thêm biểu tượng của trình nhắn tin và mạng xã hội với thông tin trong bài viết của XenForo 2.

svg-messengers.png

Đầu tiên, tạo các trường người dùng bổ sung:
ICQ
  • Field ID: icq
  • Header: ICQ
  • Description: ICQ number.
  • Display Location: Contact Information
  • Display Order: choose by yourself, for example there is my screenshot.
  • Field type: Single-line text field
  • Requirements for value matching: None
  • Basic settings: Do not put "Apparently in the user information block in messages"
Telegram
  • Field ID: telegram
  • Title: Telegram
  • Description: Nickname in Telegram starting @.
  • Place of display: Contact information
  • Display order: choose for yourself, for example, there is my screenshot.
  • Field type: Single-line text field
  • Requirements for matching values: Regular expression
    Mã:
    ^[a-zA-Z0-9-_.,@:]+$
  • Basic settings: Do not put "Apparently in the user information block in the messages"
WhatsApp
  • field ID: whatsapp
  • Header: WhatsApp
  • Description: Phone number without a space.
  • Display Location: Contact Information
  • Display Order: choose by yourself, for example there is my screenshot.
  • Field type: Single-line text field
  • Requirements for matching values: Regular expression
    Mã:
    ^\+?\d{1,3}?[- .]?\(?(?:\d{2,3})\)?[- .]?\d\d\d[- .]?\d\d\d\d$
  • Basic settings: Do not put "Apparently in the user information block in the messages"
Viber
  • Field ID: viber
  • Title: Viber
  • Description: The phone number without a space.
  • Display Location: Contact Information
  • Display Order: choose by yourself, for example there is my screenshot.
  • Field type: Single-line text field
  • Requirements for matching values: Regular expression
    Mã:
    ^\+?\d{1,3}?[- .]?\(?(?:\d{2,3})\)?[- .]?\d\d\d[- .]?\d\d\d\d$
  • Basic settings: Do not put "Apparently in the user information block in the messages"
Skype
  • ID fields: skype
  • Title: Skype
  • Description: Nickname in Skype.
  • Display Location: Contact Information
  • Display Order: choose by yourself, for example there is my screenshot.
  • Field type: Single-line text field
  • Requirements for matching values: Regular expression
    Mã:
    ^[a-zA-Z0-9-_.,@:]+$
  • Basic settings: Do not put "Apparently in the user information block in the messages"
Vkontakte
  • Field ID: vk
  • Title: Vkontakte
  • Description: The page address.
  • Display Location: Contact Information
  • Display Order: choose by yourself, for example there is my screenshot.
  • Field type: Single-line text field
  • Requirements for value matching: Reference
  • Basic settings: Do not put "Visibly in the user information block in the messages"
Odnoklassniki
  • Field ID: ok
  • Title: Odnoklassniki
  • The rest is similar to Vkontakte.
Facebook
  • Field ID: facebook
  • Caption: Facebook
  • The rest is similar to Vkontakte.
Twitter
  • Field ID: twitter
  • Title: Twitter
  • The rest is similar to Vkontakte.
Instagramr
  • Field ID: instagram
  • Title: Instagram
  • The rest is similar to Vkontakte.
Pinterest
  • Field ID: pinterest
  • Title: Pinterest
  • The rest is similar to Vkontakte.
Add-on đã thay đổi thiết lập trong cài đặt Facebook và Twitter để khớp các giá trị từ "Validator" thành "Link", có vẻ như nó rõ ràng hơn. :)

Không cần thiết phải làm tất cả các lĩnh vực, bài viết đã chỉ ra tất cả những gì có thể được thực hiện.

svg-messengers-1.png svg-messengers-2.png svg-messengers-3.png
Chúc các bạn thành công.


Nguồn: Internet​
 
Back
Top