WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
Add vk.com with number of times the post to sharing (13 posts)

5 stars
  1. Skesov
    Member
    Posted 8 months ago #

    I am from russia and in our country (big country) vk.com is most populary social site. But your plugin not have full support vk.com (I don't know why). So I up star rating if you add vk.com in sharing. I want see button and number of times the post in one block of sharing.

    And Publicize, please.

    Links:
    Support for developers of vk.com:
    http://vk.com/developers.php#devstep2

    Like button API:
    http://vk.com/developers.php?oid=-17680044&p=Like

    Share button API:
    http://vk.com/developers.php?oid=-17680044&p=Share

    You plugin is best, but I want a full Russian support.

  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 8 months ago #

    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:
    http://en.support.wordpress.com/sharing/#adding-your-own-service

    You will need to use the following URL as Sharing service:
    http://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.

  3. Skesov
    Member
    Posted 8 months ago #

    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) http://www.alexa.com/siteinfo/vk.com

  4. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 8 months ago #

    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:
    http://plugins.trac.wordpress.org/ticket/2016

  5. Skesov
    Member
    Posted 8 months ago #

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

  6. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 8 months ago #

    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: http://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?

  7. Skesov
    Member
    Posted 8 months ago #

    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

  8. Skesov
    Member
    Posted 8 months ago #

    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:)

  9. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 8 months ago #

    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:
    http://wordpress.org/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:
    http://translate.wordpress.com/projects/jetpack/

    Thanks!

  10. Skesov
    Member
    Posted 8 months ago #

    Ok. Thanks for a plugins :)

  11. samaralife
    Member
    Posted 8 months ago #

    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.

  12. alex_koliada
    Member
    Posted 8 months ago #

    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.

  13. Dendroid
    Member
    Posted 5 months ago #

    I added an icon for "icon + text" style. Replace:
    <span>Vk.com</span>
    with:
    <span style="background-image:url(&quot;http://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?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.