[wordpress插件] Buddy Share It Allusers FB YR好友分享给所有用户FB YR

wordpress 插件 文章 2020-03-12 14:10 508 0 全屏看文

AI助手支持GPT4.0

评分
80
描述

This plugin configures various SHARE buttons of social networks or other buttons on different pages of the site.

此插件可配置社交网络的各种“分享”按钮或网站不同页面上的其他按钮。

You can select buttons from the following list: Facebook Share, Facebook Like, Twitter Share, LinkedIn Share, Digg, WhatsApp Share, Viber Share, Join Viber Community, Viber Group, Telegram share, Vkontakte, Google search, Bing search, Yahoo search,

您可以从以下列表中选择按钮:Facebook分享,Facebook喜欢,Twitter分享,LinkedIn分享,Digg,WhatsApp分享,Viber分享,加入Viber社区,Viber集团,Telegram分享,Vkontakte,Google搜索,Bing搜索,Yahoo搜索,

Ask search, Duckduckgo search.

询问搜索,Duckduckgo搜索。

The user will receive more information on the topic of your article from the Internet without leaving site.

用户将在不离开站点的情况下从Internet接收有关您的文章主题的更多信息。

You can also quickly insert a new custom button for any URL link.

您也可以为任何URL链接快速插入新的自定义按钮。

Can be used custom icons, images, styles.

可以使用自定义图标,图像,样式。

Works with WordPress or BuddyPress sites.

适用于WordPress或BuddyPress网站。

Original code, credit Modemlooper.

原始代码,归功于Modemlooper。

Notes

注释

License.txt – contains the licensing details for this component.

License.txt –包含此组件的许可详细信息。

安装步骤

After updating the plugin version, do the following:

更新插件版本后,请执行以下操作:

    1. Click submenu ‘BP Sharing YR’ under the ‘General options’ admin menu
    2. 点击“常规选项”管理菜单下的“ BP共享YR”子菜单

    3. Check the options and press “Save Changes” – be sure to click to save and see the site
    4. 检查选项,然后按“保存更改” –确保单击以保存并查看网站

    Automatic first Installation

    自动首次安装

      1. From inside your WordPress administration panel, visit ‘Plugins -> Add New’
      2. 从WordPress管理面板内部,访问“插件->添加新内容”

      3. Search for ‘Buddy Share It Allusers FB YR’ (by the keyword YR) and find this plugin in the results
      4. 搜索“ Buddy Share It Allusers FB YR”(通过关键字YR)并在结果中找到该插件

      5. Click ‘Install’
      6. 点击“安装”

      7. Once installed, activate via the ‘Plugins -> Installed’ page
      8. 安装后,请通过“插件->已安装”页面激活

      9. Click submenu ‘BP Sharing YR’ under the ‘General options’ admin menu
      10. 点击“常规选项”管理菜单下的“ BP共享YR”子菜单

      11. Check the options you want and press “Save Changes”
      12. 选中所需选项,然后按“保存更改”

      Manual Installation

      手动安装

        1. Upload ‘Buddy Share It Allusers FB YR’ to the ‘/wp-content/plugins/’ directory
        2. 将“ Buddy Share It Allusers FB YR”上传到“ / wp-content / plugins /”目录

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

        5. Click submenu ‘BP Sharing YR’ link under the ‘General options’ admin menu
        6. 点击“常规选项”管理菜单下的子菜单“ BP共享YR”链接

        7. Check the options you want
        8. 检查所需的选项

        Setup options:

        设置选项:

        To configure (generate) one button, you need to fill in one line of the parameter settings table.

        要配置(生成)一个按钮,您需要填写参数设置表的一行。

        The number of buttons can be up to 40 pieces (this number can be increased).

        按钮数量最多可以增加40个(此数量可以增加)。

        In the name of the button, you can specify in addition different ‘keywords’ for different types of buttons.

        在按钮名称中,您可以为不同类型的按钮另外指定不同的“关键字”。

        Buttons are generated such types:

        按钮的生成类型如下:

        1) By default: hidden button – the button is hidden behind the common (large) JS Share button, the hidden button drops out of it when pressed.

        1)默认情况下:隐藏按钮–该按钮隐藏在普通(大)JS共享按钮的后面,按下后该隐藏按钮会掉出。

        A separate parameter can be given the text of the inscription of the big JS Share button.

        可以给一个单独的参数指定JS Share大按钮的铭文。

        2) The open button, clicking on it will click on the link (the keyword ‘nojsb’).

        2)打开按钮,单击它会单击链接(关键字“ nojsb”)。

        3) Buttons above the content ‘Activity’ Buddypress (by default).

        3)“活动” Buddypress内容上方的按钮(默认情况下)。

        4) Buttons below the content ‘Activity’ Buddypress (keyword ‘afteractivity’).

        4)内容“活动” Buddypress(关键字“活动后”)下方的按钮。

        5) Buttons in any place of the blog article (‘intxt’).

        5)博客文章(“ intxt”)任意位置的按钮。

        6) Any button can have its own individual image (icon) by reference (‘imgsrc=’).

        6)任何按钮都可以通过引用('imgsrc =')拥有自己的单独图像(icon)。

        7) Any button can have its own link to the program button handler.

        7)任何按钮都可以有其自己的指向程序按钮处理程序的链接。

        The link is indicated in the URL field.

        链接显示在URL字段中。

        8) SIMULTANEOUSLY there can be ALL kinds of buttons 1) 2) 3) 4) 5) 6) 7).

        8)同时可以有各种按钮1)2)3)4)5)6)7)。

        That is, for example, there may be one large common JS Share button above the content in the Baddipress Activity and below the content of the activity, and several open small buttons next to them.

        也就是说,例如,Baddipress活动中的内容上方和活动内容下方可能有一个大型的通用JS共享按钮,旁边有几个打开的小按钮。

        Each button is individually described.

        每个按钮都有单独的说明。

        In the row of the table in the field ‘Name’ instead of setting the button you can write a command to the plugin.

        在表格行中的“名称”字段中,无需设置按钮,您可以向插件编写命令。

        The plugin command begins with the $ sign.

        plugin命令以$符号开头。

        In such a row of the table, the remaining fields are ignored, they can be left blank.

        在表格的这一行中,其余字段将被忽略,可以将其留空。

        Instructions for filling in the fields and rows of the table:

        填写表格的字段和行的说明:

        Field ‘Name’ – ‘Share on(name)’:

        字段“名称”-“共享(名称)”:

        1) It can be empty or no name – then the table row is not processed.

        1)可以为空或没有名称-则表行未处理。

        2) The table row can be of two types:

        2)表格行可以有两种类型:

        a) The string that contains the command to the plugin – if the $ character is found in the Share on: (name) field.

        a)包含插件命令的字符串-如果在“共享位置:(名称)”字段中找到$字符。

        Then the plugin ignores the remaining fields of the string.

        然后,插件将忽略字符串的其余字段。

        The command line does not generate a button.

        命令行不会生成按钮。

        b) The string that generates the button, its fields describe the parameters of the button.

        b)生成按钮的字符串,其字段描述按钮的参数。

        The Share on: (name) field in this case is the name of the button (for example, Faceb4) and there can be one or several KEYWORDS to describe how to place the button, where to take its icon, etc.

        在这种情况下,“共享位置:(名称)”字段是按钮的名称(例如Faceb4),并且可以有一个或多个关键字来描述如何放置按钮,在何处放置其图标等。

        >

        >

        3) What should I write in the Share on(name) field to generate a button?

        3)我应该在“共享姓名”字段中写些什么来生成一个按钮?

        The first word is any of your button names, for example: Faceb1, Twit2, etc, … The second, third and fourth letters of the first word will be offered pictures for the buttons, the file names of which contain these 2,3,

        第一个单词是您的按钮名称中的任何一个,例如:Faceb1,Twit2等,…将为第一个单词的第二个,第三个和第四个字母提供按钮的图片,其文件名包含这些2,3,

        4 letters.

        4个字母。

        A set of standard image files is supplied with the plugin in the img subdirectory.

        插件在img子目录中提供了一组标准图像文件。

        The user can add any additional files of any pictures to the plugin subdirectories independently.

        用户可以将任何图片的任何其他文件单独添加到插件子目录。

        4) The second and further words in the Share on(name) field – there may be ‘plugin keywords’.

        4)在“共享”(名称)字段中的第二个单词和其他单词–可能有“插件关键字”。

        The plugin keywords can be:

        插件关键字可以是:

        a) nojsb – do not hide this button behind the common JS Share button.

        a)nojsb –不要将此按钮隐藏在通用的JS Share按钮后面。

        By default, the JS Share option common button is enabled, that is, without the 'nojsb' keyword, such a button will be hidden behind the common JS button, and such a button will 'fall out' from a single JS Share button when

        默认情况下,“ JS共享”选项“通用”按钮处于启用状态,即没有'nojsb'关键字,此类按钮将隐藏在通用JS按钮的后面,并且该按钮将从“单个JS共享”按钮中“掉出”。

        it is pressed.

        被按下。

        b) intxt – such a button will appear in those articles of the BLOG in the text of which the shortcode [yr-bpshare-button] is inserted, and exactly in the place where this code is inserted into the text of the article.<

        b)intxt –这样的按钮将出现在BLOG的那些文章中,在其中插入了简码[yr-bpshare-button]的文本,并且恰好在将这段代码插入文章的文本中的位置。

        br />

        br />

        c) afteractivity – this button will appear after (below) the content of the Activity.

        c)afteractivity –此按钮将出现在Activity内容之后(下方)。

        By default, if there is no such keyword, the button will appear in front of (above) the content of the activity (Activity).

        默认情况下,如果没有这样的关键字,该按钮将出现在活动内容(Activity)的前面(上方)。

        d) imgsrc= – this button will take its image (icon) at the specified link, for example: imgsrc=http://yoursite.com/images/facebround32.png

        d)imgsrc = –此按钮将在指定的链接处获取其图像(图标),例如:imgsrc = http://yoursite.com/images/facebround32.png

        e) buttonfblike – a description of the Facebook Like button.

        e)buttonfblike – Facebook“赞”按钮的描述。

        It should be in the line that is below the lines with the Like configuration commands (below the parameter lines of the Like button).

        它应该位于“ Like”配置命令所在行的下方(“ Like”按钮的参数行下方)。

        In this line of the table only the sections of the site (pages of the site) where the button should be generated are marked.

        在表格的这一行中,仅标记了应该在其中生成按钮的站点部分(站点的页面)。

        f) ifintitle= – then such a button will appear on the site only if the xxx text is in the title of the article or in the name of the Buddypress group, or in the $title variable in the button link.

        f)ifintitle = –仅当xxx文本出现在文章标题或Buddypress组名称中,或按钮链接中的$ title变量中时,此类按钮才会出现在网站上。

        Thus, for example, you can set different Join Viber Community buttons for different Buddypress groups.

        因此,例如,您可以为不同的Buddypress组设置不同的Join Viber社区按钮。

        g) insertline – then an empty row will be inserted before such a row in the parameter table.

        g) insertline –然后将在参数表中的该行之前插入一个空行。

        But at the same time, the last bottom row of the parameter table will disappear.

        但是同时,参数表的最后一行将消失。

        h) deleteline, then this row of the parameter table will be deleted.

        h) deleteline ,则参数表的这一行将被删除。

        In this case, all the lines that are lower will rise one line up.

        在这种情况下,所有较低的行将上升一行。

        5) In the ‘Share on(name)’ field, you can specify commands to the plugin.

        5)在“共享(名称)”字段中,您可以为插件指定命令。

        Then in such a line the remaining fields are ignored.

        然后在这一行中,其余字段将被忽略。

        The plugin can specify the following commands:

        该插件可以指定以下命令:

        a) $jsbname= is a plugin command, ‘Text and text’ will replace the standard JS Share name of a single button.

        a)$ jsbname = <文本和文本>是一个插件命令,“文本和文本”将替换单个按钮的标准JS共享名。

        Very useful option.

        非常有用的选项。

        For example: $jsbname= – try.

        例如:$ jsbname = <还有更多不同的按钮> –试试。

        b) $buttonstyle= – For example, Here you can specify different style elements for the any button.

        b)$ buttonstyle = <边框:2px纯红色;> –例如,在这里,您可以为any按钮指定不同的样式元素。

        You can specify many elements of style.

        您可以指定许多样式元素。

        The command $buttonstyle= applies to all buttons that are located below in the settings table.

        命令$ buttonstyle =适用于设置表下方的所有按钮。

        To annul a style for a button, above the button, you can specify a command with a space instead of a style.

        要取消按钮的样式,请在按钮上方指定带空格而不是样式的命令。

        Or a different style.

        或不同的风格。

        Remember that commands are written in separate lines of the settings table, and are not combined with the button description.

        请记住,命令是在设置表的不同行中编写的,并且未与按钮描述结合在一起。

        c) Commands to customize the Like Facebook button:

        c)自定义“喜欢Facebook”按钮的命令:

        i.

        一世。

        The Like button is configured only by the plugin commands in the ‘Share on (name)’ field, while the remaining fields of the table row are not analyzed.

        “赞”按钮仅由“共享(名称)”字段中的插件命令配置,而不会分析表格行的其余字段。

        In the Share on (name) field, you can specify several commands at once to configure the Like button parameters.

        在(名称共享)字段中,您可以一次指定多个命令来配置“赞”按钮参数。

        All parameters of the Like button here have the same meaning as in the Facebook description of the Like button.

        “喜欢”按钮的所有参数在这里与“喜欢”按钮的Facebook描述中的含义相同。

        The commands for the Like plugin extend to those rows in the table with the ‘buttonfblike’ keywords that are located below.

        Like插件的命令扩展到表中带有位于下方的“ buttonfblike”关键字的行。

        ii.

        ii。

        $fblikeappid=<222222222222222> – the command indicates the Facebook application code for the site where you install the Like button.

        $ fblikeappid = <222222222222222> –该命令指示您要安装“赞”按钮的网站的Facebook应用程序代码。

        In this command, write down the Facebook code of the application for your site.

        在此命令中,写下您网站的应用程序的Facebook代码。

        If you do not specify this command or do not specify an application code, then the button will be called without an application code (this works using the Facebook algorithm).

        如果您未指定此命令或未指定应用程序代码,则将在没有应用程序代码的情况下调用该按钮(使用Facebook算法有效)。

        This parameter is inserted into ‘&appId=’ when the SDK is loaded for the Like button.

        在为“喜欢”按钮加载SDK时,此参数会插入“&appId =”中。

        iii.

        iii。

        $fblikeloc= – or for example fr_FR, and so on – this is the localized language of your site, by default – en_US.

        $ fblikeloc = –或例如fr_FR,依此类推–这是您网站的本地化语言,默认情况下为– en_US。

        This parameter is inserted into the link to download the SDK with a different language for the Like button.

        此参数插入到链接中,以使用其他语言为“喜欢”按钮下载SDK。

        iv.

        iv。

        $fblikesize= – small/large – size for Like button, default = small, – is the size of the button.

        $ fblikesize = <大> –小/大–“赞”按钮的大小,默认=小,–是按钮的大小。

        This parameter is inserted into the ‘data-size=’ for the Like button.

        此参数已插入到“赞”按钮的“ data-size =”中。

        v. $fblikelayout= – standard/box_count/button_count/button – the form of the Like button, default = button_count.

        v。$ fblikelayout = <标准> – standard / box_count / button_count / button –“赞”按钮的形式,默认= button_count。

        This parameter is inserted into the ‘data-layout=’ for the Like button SDK.

        此参数已插入到“喜欢”按钮SDK的“ data-layout =”中。

        vi.

        vi。

        $fblikestyle=<… ..> – Here you can specify different style elements for the div block that frames the Like button.

        $ fblikestyle = <... ..> –在这里,您可以为构成Like按钮的div块指定不同的样式元素。

        For example, for a button that has $fblikesize= $fblikelayout=

下载地址
https://downloads.wordpress.org/plugin/buddy-share-it-allusers-fb-yr.3.3.5.zip
-EOF-

AI助手支持GPT4.0