Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Thanks for your feedback!

    While Jetpack doesn’t support every Social Network out there, you can add your own custom service by following the instructions here:
    https://en.support.wordpress.com/sharing/#adding-your-own-service

    You will need to use the following URL as Sharing service:
    https://vkontakte.ru/share.php?url=%post_url%

    You could also create a custom plugin to add the VK.com button to the existing Jetpack sharing services, like so:
    https://github.com/jeherve/vk-sharing-jetpack
    Feel free to download this plugin and install it on your site if you like.

    Thread Starter Skesov

    (@skesov)

    I’m change this plugin because he is didn’t work. Now he is work. Thank. But, please, add normal support to vk.com. He is 22 site in the world and second in Russia (AlexaRank) https://www.alexa.com/siteinfo/vk.com

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    But, please, add normal support to vk.com.

    Sure, we’ll consider it for a future Jetpack update. I took note of your suggestion here:
    https://plugins.trac.www.ads-software.com/ticket/2016

    Thread Starter Skesov

    (@skesov)

    Вот плагин с моими изменениями, теперь это виджет “Мне нравится” со счетчиком. Инструкция для установки внутри: https://yadi.sk/d/wQOHutD8Bn6yd

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    And for those of us those who do not speak Russian:

    Here’s the plugin with my changes, now is the widget “Like” with the counter. Instructions for installation inside: https://yadi.sk/d/wQOHutD8Bn6yd

    @skesov Would you like me to merge your changes into the plugin I created? Is the Like button better than the Share button?

    Thread Starter Skesov

    (@skesov)

    It would be nice. But plugin now create a one line with “1”. And i don’t understand why…
    And this method need next code before </head>:

    <script type=”text/javascript”>
    VK.init({
    apiId: xxxxxxx,
    onlyWidgets: true
    });
    </script>

    xxxxxx – AppID from apps vk.com

    Thread Starter Skesov

    (@skesov)

    I’m not proffesional developer and my knowledge is very weak ??
    I’m just learn.
    But if u need help with russian translate or another, i can help u:)

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    It would be nice. But plugin now create a one line with “1”. And i don’t understand why…

    I’ll take a closer look later, and release the plugin here as soon as I have made the changes:
    https://www.ads-software.com/plugins/vk-sharing-jetpack/

    My plugin shouldn’t add new strings to the existing Jetpack plugin, but you’re more than welcome to suggest new strings for the Sharing screen here:
    https://translate.wordpress.com/projects/jetpack/

    Thanks!

    Thread Starter Skesov

    (@skesov)

    Ok. Thanks for a plugins ??

    I’d second the request to add VKontakte sharing capabilities to Jetpack. Practically no one uses Pinterest, StumbleUpon, Reddit and Digg (which are supported by Jetpack) in Russia, while VK is widely used.

    alex_koliada

    (@alex_koliada)

    Hello there!

    But plugin now create a one line with “1”. And i don’t understand why…
    And this method need next code before </head>…

    I’m from Ukraine, but I will write in English to all in this thread.

    I have modified your plugin so now it is not nessesary to add anything to the <head> and there is no unnecessary “1” after the button. I guess that released plugin by Jeremy Herve still has that bug. Fix me if I am mistaken.

    But you still have to add your App ID to the variable $apiId.
    It is possible to move that setting to the external file or to the settings later.

    PS: Oh, and I changed widget options to type: “button” so that now it shows VK Like button instead of sharing button. I think it would be useful to give user a choice of that. I know that it is called “Sharing Widget”, yes, but VK Like button also has capability to share post after you liked it, just like Facebook’s Like widget. Furthermore, Like Button is used more widely than the Sharing one.

    My modification lies here: https://drive.google.com/file/d/0B1kZIULx0NktV0VQTDFrcFVmRDA/edit?usp=sharing

    Thanks.

    I added an icon for “icon + text” style. Replace:
    <span>Vk.com</span>
    with:
    <span style="background-image:url(&quot;https://vk.com/images/vk16.png&quot;);">Вконтакте</span>

    How to add a share counter into the button? Is it possible in the plugin? Or need to change jetpack phps?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Add vk.com with number of times the post to sharing’ is closed to new replies.