Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2719)
*******************************
VKontakte Save mod Version 1.0.0
[/b][/center]
By:
Sinner-rushttp://www.kidsforum.kulichki.ru
*******************************
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):::
=================================================
=================================================
=================================================
*******************************Мод "Сохранение ВКонтакте", Версия 1.0.0
Разработчик: Sinner-rus
http://www.kidsforum.kulichki.ru
*******************************Информация о моде: Для 2.0 RC2; 2.0 RC3; 1.1.11
Мод позволяет сохранять ссылку на тему форума в заметках ВКонтакте, публиковать для неё описание и комментировать тему форума с друзьями в соц. сети ВКонтакте. Также возможна публикация ссылки на тему в статусе ВКонтакте (вместе с комментарием).
Переводы:Русский (и utf-8) = Sinner-rus
Английский = Sinner-rus:::::::::::::::::::::::::
ICQ для помощи:
348317
Обновления:Версия 1.0.0 (Август 15, 2010)
=================================================
=================================================
=================================================
И опять в локализации utf8 одни крякозябры... Не любите Вы русских пользователей :)
Bugo, често - не могу понять, как utf-8 делать) В notepad++ перевожу в utf-8, а не работает... И понять не могу - почему!
I thought this is a general board not a language specific. so I expected the text to be written in english Oo
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 :)
Are you sure this mod is safe? :)
Действительно, везде, кроме страницы мода, написано правильно (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!
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ú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úmero ao gravar?';
$txt['vkontaktesave_save'] = 'Gravar!';
]]></add>
</operation>
</file>
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. :)