News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

VKontakte Safe mod

Started by sinner-rus, August 20, 2010, 04:30:22 AM

Previous topic - Next topic

sinner-rus

Link to Mod

*******************************
VKontakte Save mod Version 1.0.0
[/b][/center]
By: Sinner-rus
http://www.kidsforum.kulichki.ru [nofollow]
*******************************

Mod Information:
For 2.0 RC2; 2.0 RC3; 1.1.11

This mod allow to save topic link in social network VKontakte, write description to it and discuss it with friends in comments. Also you can public this link in your status with a comment.

Translation:
Russian (and utf-8) = Sinner-rus
English = Sinner-rus


:::::::::::::::::::::::
ICQ for help: 348317


Changelog:
:::Version 1.0.0 (August 15, 2010):::
  • First release.

=================================================
=================================================
=================================================

*******************************
Мод "Сохранение ВКонтакте", Версия 1.0.0
Разработчик: Sinner-rus
http://www.kidsforum.kulichki.ru [nofollow]
*******************************

Информация о моде:
Для 2.0 RC2; 2.0 RC3; 1.1.11

Мод позволяет сохранять ссылку на тему форума в заметках ВКонтакте, публиковать для неё описание и комментировать тему форума с друзьями в соц. сети ВКонтакте. Также возможна публикация ссылки на тему в статусе ВКонтакте (вместе с комментарием).

Переводы:
Русский (и utf-8) = Sinner-rus
Английский = Sinner-rus


:::::::::::::::::::::::::
ICQ для помощи: 348317


Обновления:
Версия 1.0.0 (Август 15, 2010)
  • Первый релиз.

=================================================
=================================================
=================================================
I am not supported by anyone. And never was. And never will.

Bugo

И опять в локализации utf8 одни крякозябры... Не любите Вы русских пользователей :)

sinner-rus

Bugo, често - не могу понять, как utf-8 делать) В notepad++ перевожу в utf-8, а не работает... И понять не могу - почему!
I am not supported by anyone. And never was. And never will.

chilly

I thought this is a general board not a language specific. so I expected the text to be written in english Oo

Language Coordinator

Bugo

Quote from: sinner-rus on August 23, 2010, 05:22:07 AM
Bugo, често - не могу понять, как utf-8 делать) В notepad++ перевожу в utf-8, а не работает... И понять не могу - почему!
В меню Notepad++: Кодировки => Преобразовать в UTF8 (без BOM), сохранить как languages-utf8.xml; Кодировки => Преобразовать в ANSI, сохранить как languages.xml. Ничего сложного :)

Quote from: chilly on August 23, 2010, 05:36:24 AM
I thought this is a general board not a language specific. so I expected the text to be written in english Oo
Don't get so hyper :)

digger

Are you sure this mod is safe?  :)

atfosan

Действительно, везде, кроме страницы мода, написано правильно (Save) :)
Архивчик для себе перепаковал, исправив кодировку. Смотрите во вложениях. Спасибо за мод!

Sorry for Russian in post but Vkontakte is popular only in Russian speakinkg countries. And is this mod works with VK.com? I don't check it but if developer try to realese this feature for foreign users it will be great!
my SMF project - school site: forum with PortaMx and SimpleSEF mods

Apllicmz

when update dont forget portuguese
thank you
<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[// Vkontakte Save mod, Version 1.0.0 by Sinner-rus
$txt['vkontaktesave_on'] = 'Activar o mod "Vkontakte Save';
$txt['vkontaktesave_view'] = 'Mostrar o n&uacute;mero ao gravar?';
$txt['vkontaktesave_save'] = 'Gravar!';
]]></add>
        </operation>
    </file>
    <file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[// Vkontakte Save mod, Version 1.0.0 by Sinner-rus
$txt['vkontaktesave_on'] = 'Activar o mod "Vkontakte Save';
$txt['vkontaktesave_view'] = 'Mostrar o n&uacute;mero ao gravar?';
$txt['vkontaktesave_save'] = 'Gravar!';
]]></add>
        </operation>
    </file>



Manu.G

I want to use this modification because we've a lot of Russian forum members and they want to share topics of our
forum at vkontakte.
The problem I've is the postion of the button.


I would like to see the "save" button under the posting.
I've installed the "TweetThis" modification and want to have the Vkontakte-butten beside the Twitter-button.
What changes of your code are for need to get it work?
<span id="author">', $txt['author'], '</span>';
      //VKontakte Like Mod     
      if (!empty($modSettings['vkontaktesave_on']) && !empty($modSettings['vkontaktesave_view'])){
echo'<div align="right" style="padding-top:5px;"><script type="text/javascript"><!--
document.write(VK.Share.button(false,{type: "round", text: "', $txt['vkontaktesave_save'], '"}));
--></script><>';
} elseif (!empty($modSettings['vkontaktesave_on']) && empty($modSettings['vkontaktesave_view'])) {
echo '<div align="right" style="padding-top:5px;"><script type="text/javascript"><!--
document.write(VK.Share.button(false,{type: "round_nocount", text: "', $txt['vkontaktesave_save'], '"}));
--></script><>'; }
echo'

Would be nice to get help. :)
Version SMF 2.0.8
SimplePortal 2.3.5

Advertisement: