Skype Integration

Started by vbgamer45, August 13, 2008, 06:08:27 PM

Previous topic - Next topic

Bugo

Russian translation:

<file name="$languagedir/Modifications.russian-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Skype Integration
$txt['skype'] = 'Skype';
$txt['skype_in'] = 'Это ваше имя пользователя в Skype.';
$txt['skype_image'] = 'Показывать статическую картинку Skype';
]]></add>
</operation>
</file>


Don't forget to save the file in the encoding UTF8 w\o BOM.

hadesflames

Quote from: eng_HK on March 16, 2010, 02:36:40 AM
Hi all..
I have 2 Problems...

1)
I tried to install the 2.1.2 after removing the 2.1.1... but received this error

PATH/Packages/temp/skype_settings.php
Line: 20

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.11, while your database is at version 1.1.9. The above error might possibly go away if you execute the latest version of upgrade.php.

So i cannot install the new version.. my db is updated already but I continue to receive this error and I cannot go fw..

Did you do as the error message stated and run an upgrade.php for smf 1.1.11?

Quote from: eng_HK on March 16, 2010, 02:36:40 AM
2)
When I removed the 2.1.1 I didn't think that the script remove also column of skype id to my users...So now when i move back to 2.1.1 I have all the SkypeID clean.. There's a way to upgrade without remove it?
I'm going send an email to all to tell them that they have to re-insert the skype id..

That's odd. It shouldn't remove the column. Unless you had the 2.1.1 with the remove_settings.php, in which case, yeah, sorry about that =[

Also, I recommend you re-download 2.1.2

Quote from: Bugo on March 16, 2010, 07:05:11 AM
Russian translation:

<file name="$languagedir/Modifications.russian-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Skype Integration
$txt['skype'] = 'Skype';
$txt['skype_in'] = 'Это ваше имя пользователя в Skype.';
$txt['skype_image'] = 'Показывать статическую картинку Skype';
]]></add>
</operation>
</file>


Don't forget to save the file in the encoding UTF8 w\o BOM.


Thanks for the translation! Added.

~DS~

Conflit with FB Connect in load.php
Can you make it search instead of the whole line considering mem.fbname come before that.

Find:
mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login,

Replace:
mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login, mem.skype,


Find:
mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login, mem.karma_good,

Replace:
mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login, mem.karma_good, mem.skype,
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

3dphoto

Hi,

I tried to install Skype 1.1 mod a few years ago- I got Skype support in Profile and Who's Online, but not in the sidebar of the posts, which is where it would be most useful.  I wanted to update to 2.1.2, but when I try to uninstall the mod, it says that no uninstaller is available.  I tried to install over it, and it tells me:

QuoteThis package is already installed, and no upgrade was found!

You should uninstall the old version first to avoid problems, or ask the author to create an upgrade from your old version.

Please remember to always make regular backups of your sources and database before installing mods, especially beta versions.

-clip-
5.     Execute Modification     ./Sources/Subs-Members.php     Test successful
6.    Execute Modification    ./Themes/default/Display.template.php    Test failed
7.    Execute Modification    ./Themes/default/PersonalMessage.template.php    Test failed
8.    Execute Modification    ./Themes/default/Profile.template.php    Test failed
9.    Execute Modification    ./Themes/default/Memberlist.template.php    Test failed
10.    Execute Modification    ./Themes/default/Settings.template.php    Test successful
-clip-

Any idea how I can uninstall the old one?  I am using Helios theme, but different themes are in use by my membership, and SMF 1.1.11.  Forum is at www.3dphoto.net/forum

Thanks,
Jeff

hadesflames

Quote from: 3dphoto on April 15, 2010, 11:40:04 PM
Hi,

I tried to install Skype 1.1 mod a few years ago- I got Skype support in Profile and Who's Online, but not in the sidebar of the posts, which is where it would be most useful.  I wanted to update to 2.1.2, but when I try to uninstall the mod, it says that no uninstaller is available.  I tried to install over it, and it tells me:

QuoteThis package is already installed, and no upgrade was found!

You should uninstall the old version first to avoid problems, or ask the author to create an upgrade from your old version.

Please remember to always make regular backups of your sources and database before installing mods, especially beta versions.

-clip-
5.     Execute Modification     ./Sources/Subs-Members.php     Test successful
6.    Execute Modification    ./Themes/default/Display.template.php    Test failed
7.    Execute Modification    ./Themes/default/PersonalMessage.template.php    Test failed
8.    Execute Modification    ./Themes/default/Profile.template.php    Test failed
9.    Execute Modification    ./Themes/default/Memberlist.template.php    Test failed
10.    Execute Modification    ./Themes/default/Settings.template.php    Test successful
-clip-

Any idea how I can uninstall the old one?  I am using Helios theme, but different themes are in use by my membership, and SMF 1.1.11.  Forum is at www.3dphoto.net/forum

Thanks,
Jeff

Hmm...I wasn't able to replicate this issue. It uninstalls fine for me. Try going into FTP and replacing the skype mod.zip package with a fresh one, and see if that happens to help.

Quote from: Dismal Shadow on April 09, 2010, 02:32:46 AM
Conflit with FB Connect in load.php
Can you make it search instead of the whole line considering mem.fbname come before that.

Find:
mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login,

Replace:
mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login, mem.skype,


Find:
mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login, mem.karma_good,

Replace:
mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login, mem.karma_good, mem.skype,

No sorry. I won't change the installer for this. If you want both of them, you will have to manually edit the installer yourself, or manually install one of the two mods.

Cereus

How about Ultimate Profile integration? Can you do it?

Hugs.

divecall

QuoteHow about Ultimate Profile integration? Can you do it?

Nice Idea !

Can somebody do this ?

Kellerassel

can somebody help me with installing in smf 2 rc3?

live627

Not unless you actually do the math and tell what's wrong.

Kellerassel

i mean rc4 not rc3. sry -.-

live627

Error: Lacking information :P

Did you try emulation mode to install assuming it won't really let you install?

NanoSector

Isn't compatible with RC4, even in emulate mode; lots of errors.

Nice mod though.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

hcfwesker

#152
Quote from: Arkhan Holycross on July 13, 2010, 02:13:38 AM
How about Ultimate Profile integration? Can you do it?

Hugs.

I know this is late, but for those interested ...

For SMF 2.0 , to add skype also in Ultimate Profile

Themes/default/UltimateProfile.template.php

Find
echo '
<dt><img src="', $settings['images_url'] ,'/email_sm.gif" alt="', $txt['email'], '" /></dt>
<dd>';


Add BEFORE
if (!isset($context['disabled_fields']['skype']) && !empty($context['member']['skype']['link']))
echo '
<dt><img src="', $settings['images_url'] ,'/skype.gif" alt="', $txt['skype'], '" /></dt>
<dd>', $context['member']['skype']['link_text'], '</dd>';



To get the mod to work with SMF 2.0 , Revert to SMF RC3

Change the edits made in ...

Sources/Load.php 

From this
'skype' => $profile['skype'] !='' && (empty($modSettings['guest_hideContacts']) || !$user_info['is_guest']) ? array(
'name' => &$profile['skype'],
'href' => 'skype:'.$profile['skype'].'?userinfo',
'link' => '<a href="skype:' . $profile['skype'] . '?userinfo" target="_blank"><img src="' . (empty($settings['skype_image']) ? 'http://mystatus.skype.com/smallicon/' . $profile['skype'] : $settings['images_url'] . '/skype.png') . '" alt="S" border="0" /></a>',
'link_text' => '<a href="skype:' . $profile['skype'] . '?userinfo" target="_blank">' . $profile['skype'] . '</a>'
) : array('name' => '', 'href' => '', 'link' => '', 'link_text' => ''),


To this

'skype' => $profile['skype'] !='' && (empty($modSettings['guest_hideContacts']) || !$user_info['is_guest']) ? array(
'name' => $profile['skype'],
'href' => 'skype:'.$profile['skype'].'?userinfo',
'link' => '<a href="skype:' . $profile['skype'] . '?userinfo" target="_blank" title="' . $txt['skype'] . ' - ' . $profile['skype'] . '"><img src="' . $settings['images_url'] . '/skype.gif" alt="S" border="0" /></a>',
'link_text' => '<a href="skype:' . $profile['skype'] . '?userinfo" target="_blank" title="' . $txt['skype'] . ' - ' . $profile['skype'] . '">' . $profile['skype'] . '</a>'
) : array('name' => '', 'href' => '', 'link' => '', 'link_text' => ''),



all other install errors, just manually install as is.



societyofrobots

Any chance of getting this updated to work with 2.0.1?


hcfwesker, I tried your suggestion, but there were just too many manual edits. In the past I took the manual edit route, but I ended up pulling my hair out for every SMF upgrade to keep track of all the changes. :-\

~DS~

Quote from: societyofrobots on November 30, 2011, 01:13:21 AM
Any chance of getting this updated to work with 2.0.1?


hcfwesker, I tried your suggestion, but there were just too many manual edits. In the past I took the manual edit route, but I ended up pulling my hair out for every SMF upgrade to keep track of all the changes. :-\
Try this: http://www.simplemachines.org/community/index.php?topic=460078.msg3213565#msg3213565
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

live627

Quote from: societyofrobots on November 30, 2011, 01:13:21 AM
Any chance of getting this updated to work with 2.0.1?
I think it's safe to say no. Use the custom profile fields, which are here to stay.

hcfwesker

If you're not willing to do the manual edits then the profile fields trick suggested above is going to be your best route.  MOD hasn't been updated since RC3, and I wouldn't hold my breathe for the MOd author to update it any time soon.

societyofrobots

Thanks ~DS~, that worked.

Advertisement: