Google Authorship - Tác quyền Google

PVS

Super Moderator
Thành viên BQT
Tham gia
28/02/2015
Bài viết
16,829
Được Like
12,690
Google Authorship - Tác quyền Google

Google + Authorship là một dịch vụ của Google liên kết Google + Profile và avatar đến các bài viết bạn tạo ra khi người ta tìm thấy bài của bạn trong google tìm kiếm và cũng cho thấy bạn là tác giả chủ đề trong mỗi chủ đề mà bạn đã tạo. Bạn phải là tác giả chủ đề này để làm việc. Nó mất khoảng hai tuần để google thêm bạn vào quyền tác giả, nếu bạn được chấp thuận. Họ sẽ gửi một thông báo đến email được kết hợp với tài khoản google circles của bạn.

KHUYẾN CÁO: Xin lưu ý rằng Google không đảm bảo hiển thị thông tin tác giả trong Google Web Search hoặc kết quả của Google News.

Google Authorship
https://plus.google.com/authorship

Google Authorship Implemention
http://support.google.com/webmasters/bin/answer.py?hl=en&answer=1408986&expand=option2

Hướng dẫn:

Bước 1:
Vào AdminCP đi đến Users/User Customization/Custom User Fields/Create New Field

- Tab Basic Information -
Field ID: googleauthor
Title: Google Plus Author Name
Description: If you add your Google + profile name to this field, add your Google + Profile link in the Google Plus Link field, add a link to this website in your Contribute To section of Google + and post your thread on your Google + page then your Google + profile will be credited in search results.

Display Location: Contact Details
Display Order: 1
Field Type: Single-line text box.

- Tab General Options -

Chỉ 'User editable' cần được check.

Lưu Field

Bước 2:
Vào AdminCP đi đến Users/User Customization/Custom User Fields/Create New Field

- Tab Basic Information -

Field ID: googleplus
Title: Google Plus Link
Description: If you enter the link to your Google + Profile page, add your name to the Google Authorship field, and add a link to this website in your Contribute To section of Google + and post your threads on your Google + page then your Google + profile will be credited in search results.

Display Location: Contact Details
Display Order: 1
Field Type: Single-line text box.

- Tab General Options -

Chỉ 'User editable' cần được check.

Lưu Field

Bước 3:
Đến AdminCP/Appearance/Styles/Your Style/

Template: message_user_info

Tìm:
Mã:
<xen:username user="$user" itemprop="name" rich="true" />

Thay thế bằng:
Mã:
<xen:username user="$user" itemprop="name" rich="true" />
<xen:if is="{$post.user_id} == {$thread.user_id} && {$post.position} != 1">
<xen:if is="{$user.customFields.googleplus}">
<xen:if is="{$user.customFields.googleauthor}">
<em class="userTitle"><a href="{$user.customFields.googleplus}" rel="author" target="_blank">Thread by {$user.customFields.googleauthor}</a></em>
</xen:if>
</xen:if>
</xen:if>

Nếu bạn muốn loại trừ các nhóm người dùng nhất định từ việc sử dụng addon sử dụng: http://vnxf.vn/google-authorship-tac-quyen-google-add-on-1-5.t6639.html

Chúc các bạn thành công.


Nguồn: xenforo.com​
 

caothanhtrung

Private
Tham gia
27/08/2015
Bài viết
5
Được Like
1
Thấy cũng khá rắc rối. Hiện tại vnxf có cài author này ko mod
 

Hướng dẫn sử dụng

XenForo 1 XenForo 2
Translate by PVS

Dịch vụ XenForo của VNXF

Mobile/Zalo: 0906081284

Telegram: anhanhxf

Chỉ nhận web nội dung lành mạnh

Nhà Tài Trợ

Mút Xốp Không Gian
Mút Sofa Không Gian
Top Bottom