[wordpress插件] Custom Google Talk Chatback自定义Google Talk聊天

wordpress 插件 文章 2020-04-08 09:40 428 0 全屏看文

AI助手支持GPT4.0

评分
80
描述

Embed links to your Google Talk Chatback.

嵌入指向您的Google Talk聊天的链接。

Display different things when online or offline.

联机或脱机时显示不同的内容。

The plugin is made to be highly customizable.

该插件可高度自定义。

Features

功能

    • Custom “start chat link” and “offline text”.

    • 自定义“开始聊天链接”和“离线文本”。

      Use text or image.

    • 使用文字或图片。

    • Display things depending on if the user is online or offline
    • 根据用户在线还是离线显示内容

    • Widget, Shortcode and Template Tag support
    • 窗口小部件,简码和模板标签支持

    • Translatable (send them to us if you make any)
    • 可翻译(如果有的话,请发送给我们)

    Contact

    联系

    Go to the Plugin Home Page over at Intervaro Web Agency to

    转到通过Intervaro Web Agency插入插件主页

    give feedback or propose a feature!

    提供反馈或提出功能!

    Special thanks to Israelwebdev

    特别感谢以色列Webdev

    who made the script that makes it possible to check if a user is online or offline.

    谁编写了脚本,从而可以检查用户是在线还是离线。

安装步骤

    1. Upload custom-google-talk-chatback to the /wp-content/plugins/ directory
    2. custom-google-talk-chatback 上载到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Find your personal Google Talk Hash Key (ID), see below
    6. 找到您的个人Google Talk哈希键(ID),请参见下文

    7. Add the widget, insert shortcode into the WYSIWYG or use template tag in your theme template.
    8. 添加窗口小部件,在“所见即所得”中插入简码,或在主题模板中使用模板标签。

    The Google Talk Hash Key (ID)

    Google Talk哈希键(ID)

    To use this plugin you first need to know what you hash key is for your Google Talk account.

    要使用此插件,您首先需要知道您的Google Talk帐户的哈希键是什么。

    The hash key is the string containing characters and numbers, found between the tk= and & at http://www.google.com/talk/service/badge/New

    哈希键是包含字符和数字的字符串,位于http://www.google.com/talk/service/badge/New上的 tk = 之间

    or for domain users, at: http://www.google.com/talk/service/a/YOUR-DOMAIN-HERE/badge/New

    或对于域用户,请访问:http://www.google.com/talk/service/a/ 您的域HERE / badge / New

    Widget instructions

    小部件说明

    Just drag the widget to the prefered sidebar and set it up as wanted.

    只需将小部件拖动到首选的侧边栏,然后根据需要进行设置即可。

    Shortcode instructions

    简码说明

    There are 3 shortcodes available.

    有3种简码。

    [gtalk hash=”” link=”” offline=””]

    [gtalk hash =“” link =””“离线=“””]

    Prints a link to start chat or a text message if offline

    打印链接以开始聊天或发短信(如果离线)

      • Hash: your hash key (ID) for Google Talk Chatback
      • 哈希:您的Google Talk聊天哈希键(ID)

      • Link: link text
      • 链接:链接文字

      • Offline (optional): text if offline
      • 离线(可选):文本(如果离线)

      [gtalk_online hash=””] [/gtalk_online]

      [gtalk_online hash =””] [/ gtalk_online]

      Content inside shortcode will only be displayed if user is online

      简码中的内容仅在用户在线时显示

      [gtalk_offline hash=””] [/gtalk_offline]

      [gtalk_offline hash =””] [/ gtalk_offline]

      Content inside shortcode will only be displayed if user is offline

      简码中的内容仅在用户离线时显示

      Template Tag instructions

      模板标记说明

        <?php gtalk_status($ hash)?>

      Returns 1 (true) if online and 0 (false) if offline

      如果在线则返回1(true),如果离线则返回0(false)

        <?php gtalk_link($ hash,$ link)?>

      Returns a link to start chat

      返回链接以开始聊天

        • Hash: your hash key (ID) for Google Talk Chatback
        • 哈希:您的Google Talk聊天哈希键(ID)

        • Link: link text or image (HTML)
        • 链接:链接文本或图片(HTML)

下载地址
https://downloads.wordpress.org/plugin/custom-google-talk-chatback.1.2.1.zip
-EOF-

AI助手支持GPT4.0