Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: hcfwesker on February 04, 2012, 04:11:06 PM

Title: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on February 04, 2012, 04:11:06 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=3338)

Additional Instant Messengers

Compatible with SMF 2.0, 2.0.1, 2.0.2

Current Release:  v1.0.1
QuoteTo upgrade from 1.0 simply upload the 1.0.1 Package and install, no need to uninstall 1.0

This Modification allows members to add both Skype and Google Talk Instant Messenger Icons to their Profiles.

(http://i40.tinypic.com/10zbmgh.jpg)  Skype
(http://i42.tinypic.com/55o849.jpg)  Google Talk

Previous Skype & Google Talk MODs warning
QuoteIf you previously had another Skype or Google Talk MOD installed, you will need to uninstall before installing this Modification.  In most cases member's info will be ported over to the new MOD after installation.

Admin options to disable, and also chose which appear on Member registration.
Admin > Profile Fields > Standard Profile Fields

Admin options to chose between static skype icon, or skype status icons.
Admin > Theme Settings >
Show static skype icon.
(unchecked will show member skype activity details):


For Skype Status Icon to show properly, users will need to set up their settings on their Skype Profile
In their Skype window they need to click  Skype > Privacy > activate "Allow my status to be shown on the web"
Doing this will allow thir status on skype to be shown on SMF such as Online, Away, Do not Disturb, Offline ect...

No admin settings are required upon installation.  Just install, and members can edit their information.
Profile > Modify Profile > Forum Profile

This Modification is also compatible Default Profiles with Ultimate Profiles! ( Ultimate Profiles MOD is not required for this MOD to be installed)

These Additional IM Icons will appear on the following pages.

-Profile
-Ultimate Profile
-Display page (mini profiles)
-Personal Messaging (mini profiles)
-Member List
-Who's Online
-Edit Buddies page

This Package ONLY makes edits to the SMF Default Curve theme.  Any other themes will require custom edits to the same files listed for the 'default' theme.

No copyright links are added to any footer pages.

Submitted Language Modifications are appreciated

languages/Modifications.english.php
$txt['gtalk'] = 'Google Talk';
$txt['your_gtalk'] = 'This is your GTalk address.';
$txt['gtalk1'] = 'G-Talk';
$txt['skype'] = 'Skype';
$txt['your_skype'] = 'This is your Skype username.';
$txt['skype_static_image'] = 'Show static skype icon.<br>(unchecked will show member skype activity details)';



Change Log

v1.0.1
Added Admin options to chose between static icon or skype status icons.

v1.0
First Release


This mod is licensed under Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) (http://creativecommons.org/licenses/by-sa/3.0/)

Title: Re: Additional Instant Messengers
Post by: Zuća on February 04, 2012, 06:29:41 PM
Nice mod ! :)
Thank you
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Fed Drago on February 04, 2012, 11:37:17 PM
Thank you !!!
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on February 05, 2012, 04:53:03 PM
You're Welcome :)
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: etms52 on February 06, 2012, 04:30:03 AM
my italian translation:

File:./Themes/default/languages/Modifications.italian.php

Trova (alle fine del file):
?>

Aggiunti sopra:

$txt['gtalk'] = 'Google Talk';
$txt['your_gtalk'] = 'Questo è il tuo indirizzo GTalk.';
$txt['gtalk1'] = 'G-Talk';
$txt['skype'] = 'Skype';
$txt['your_skype'] = 'Questo è il tuo nome utente su Skype.';


Link my translation: Ikariamtools website (http://www.ikariamtools.netsons.org/?p=96)
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on February 06, 2012, 10:51:31 PM
Thank you, again.  These will be included in the next update.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Draffi on February 08, 2012, 02:20:41 PM
Shows your mod the online status from skype?
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Matthew K. on February 08, 2012, 02:33:18 PM
Quote from: Draffi on February 08, 2012, 02:20:41 PM
Shows your mod the online status from skype?
I don't think it does...you'll have to wait for hcfwesker to reply for sure.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on February 09, 2012, 12:28:43 AM
Quote from: Draffi on February 08, 2012, 02:20:41 PM
Shows your mod the online status from skype?

I've added this into the next update, and it works ... along with the option for admins to chose to use the skype status icons, or just the static skype icon.   But before I release it, sometime later tomorrow, I have to lay out instructions on how users need to activate this settings, otherwise it'll just show as "offline".

If you've already installed version 1.0 , then no worries, because this can be simply upgraded by donwloading the package and clicking the Upgrade option, ot overwrite the 1.0 version.

Should have everything ready sometime tomorrow night. 
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Matthew K. on February 09, 2012, 12:31:43 AM
Quote from: hcfwesker on February 09, 2012, 12:28:43 AM
Quote from: Draffi on February 08, 2012, 02:20:41 PM
Shows your mod the online status from skype?

I've added this into the next update, and it works ... along with the option for admins to chose to use the skype status icons, or just the static skype icon.   But before I release it, sometime later tomorrow, I have to lay out instructions on how users need to activate this settings, otherwise it'll just show as "offline".

If you've already installed version 1.0 , then no worries, because this can be simply upgraded by donwloading the package and clicking the Upgrade option, ot overwrite the 1.0 version.

Should have everything ready sometime tomorrow night. 
/me likes this post.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Draffi on February 09, 2012, 03:13:23 PM
sounds cool, Sir!
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on February 09, 2012, 08:48:49 PM
Released:  v1.0.1
QuoteTo upgrade from 1.0 simply upload the 1.0.1 Package and install, no need to uninstall 1.0

+ Added Admin options to chose between static skype icon, or skype status icons.

To use these settings, goto:
Admin > Theme Settings >
Show static skype icon.
(unchecked will show member skype activity details):

Instructions for Users:
In their Skype window they need to click  Skype > Privacy > activate "Allow my status to be shown on the web"
Doing this will allow thir status on skype to be shown on SMF such as Online, Away, Do not Disturb, Offline ect...


Quote from: etms52 on February 06, 2012, 04:30:03 AM
my italian translation:

I apologize, was unable to add the language addition due to the newly added Settings feature.  If you could update with this line translated I will be sure to include it.

$txt['skype_static_image'] = 'Show static skype icon.<br>(unchecked will show member skype activity details)';
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Draffi on February 10, 2012, 06:01:36 PM
Thank you so much, hcfwesker!!!

But one question: What is the best order to install your last two mods ?

First this messenger-mod and than your social-media-mod ? or first the social-media-mod and than you messenger-mod?
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Matthew K. on February 10, 2012, 06:02:04 PM
It shouldn't matter what order they are installed in.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on February 10, 2012, 06:46:14 PM
Quote from: Draffi on February 10, 2012, 06:01:36 PM
Thank you so much, hcfwesker!!!

But one question: What is the best order to install your last two mods ?

First this messenger-mod and than your social-media-mod ? or first the social-media-mod and than you messenger-mod?

It doesn't matter which order, because both modify similar lines in files, so you're going to get install errors no matter what adding one after the other.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Matthew K. on February 10, 2012, 06:47:10 PM
Actually, even if they edit the same place, as long as the edits don't modify the actual white-space you should be fine.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Fed Drago on February 12, 2012, 05:23:55 PM
Tried to install this mod and got the following errors, I really do not like to manually add codes. If a mod makes you do that than I really do not like to install a mod. Sorry

Quote1.    Adapt Database    install.php    
*    2.    Execute Modification    ./Sources/Load.php    Test failed
      1.    Add After    ./Sources/Load.php    Test successful
      2.    Replace    ./Sources/Load.php    Test failed
      3.    Replace    ./Sources/Load.php    Test failed
      4.    Replace    ./Sources/Load.php    Test failed
*    3.    Execute Modification    ./Sources/ManageMembers.php    Test successful
*    4.    Execute Modification    ./Sources/ManageSettings.php    Test failed
      1.    Replace    ./Sources/ManageSettings.php    Test failed
      2.    Replace    ./Sources/ManageSettings.php    Test failed
*    5.    Execute Modification    ./Sources/Memberlist.php    Test successful
*    6.    Execute Modification    ./Sources/News.php    Test successful
*    7.    Execute Modification    ./Sources/Profile-Modify.php    Test successful
*    8.    Execute Modification    ./Sources/Register.php    Test successful
*    9.    Execute Modification    ./Sources/Subs-Members.php    Test successful
   10.    Execute Modification    ./Themes/default/Buddies.template.php    Skipping file
*    11.    Execute Modification    ./Themes/default/Display.template.php    Test successful
*    12.    Execute Modification    ./Themes/default/Memberlist.template.php    Test successful
*    13.    Execute Modification    ./Themes/default/PersonalMessage.template.php    Test successful
*    14.    Execute Modification    ./Themes/default/Profile.template.php    Test failed
      1.    Add Before    ./Themes/default/Profile.template.php    Test failed
      2.    Add Before    ./Themes/default/Profile.template.php    Test successful
      3.    Add After    ./Themes/default/Profile.template.php    Test successful
*    15.    Execute Modification    ./Themes/default/Settings.template.php    Test successful
   16.    Execute Modification    ./Themes/default/UltimateProfile.template.php    Skipping file
*    17.    Execute Modification    ./Themes/default/Who.template.php    Test successful
*    18.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
   19.    Extract File    ./Themes/default/images/skype.gif    
   20.    Extract File    ./Themes/default/images/gtalk.gif    

I am using 202 SMF Latest build.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Matthew K. on February 12, 2012, 11:51:08 PM
It's not this modifications fault, it's another modification you have installed, that is conflicting with this one. Go ahead and install the mod, and then manually do the edits that failed.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Fed Drago on February 13, 2012, 07:56:58 AM
Quote from: Labradoodle-360 on February 12, 2012, 11:51:08 PM
It's not this modifications fault, it's another modification you have installed, that is conflicting with this one. Go ahead and install the mod, and then manually do the edits that failed.

I rather not sorry but I feel the mod should auto install. Thank you for the efforts on this Mod but this is not a crucial feature for me and I do not have the time to do manual edits.

Thank you for your response.   :)
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Matthew K. on February 13, 2012, 12:47:58 PM
Did you read my post, bud? It's not an issue with this mod, it's a problem with another modification you have installed. Hope you read this.

Also, if you want to go ahead and install it, then attach the files that failed, I'll install it for you manually.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Fed Drago on February 14, 2012, 06:32:43 AM
Quote from: Labradoodle-360 on February 13, 2012, 12:47:58 PM
Did you read my post, bud? It's not an issue with this mod, it's a problem with another modification you have installed. Hope you read this.

Also, if you want to go ahead and install it, then attach the files that failed, I'll install it for you manually.

Yep sure did read your message LOL  Like a replied back to you I do not need this Mod as my forums do not really require it.  ;)
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: GlitchPC on February 17, 2012, 04:35:10 PM
hcfwesker...

Thanks for the mod!
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on February 17, 2012, 06:52:18 PM
Thanx for the help in support during my absense, Labradoodle-360 :)

Quote from: Fed Drago on February 13, 2012, 07:56:58 AMI feel the mod should auto install. Thank you for the efforts on this Mod but this is not a crucial feature for me and I do not have the time to do manual edits.

The ONLY guarantee you have of a MOD auto installing is with a fresh smf 2.0.2 forum.  As I explained to you before, the moment you install one MOD, you alter coding in files, and then the next, and the next, MODs you add, it alters more.  So, whether you want this MOD or not, you're going to have to take a stab at manually modifying the files ( which is actually much easier than it sounds)  or you're going to get to a point, very soon, where you wont be able to add any more MODs/Features to your site unless you take the advice we're trying to give and show you how.  Once you learn it, it's actually fun and you'll realize you been worrying over nothing.

Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: GlitchPC on February 17, 2012, 07:08:32 PM
Oh...one thing I've noticed, though...

Shouldn't my Skype icon be green if I'm logged into Skype?  It's always gray when displayed on the forum...and when clicked on...it just shows my Skype profile...instead of opening an IM to send to the individual.  I'm really not sure how you've coded this to work...
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on February 17, 2012, 07:54:45 PM
There are specific instructions on the MOD page for showing your skype status publicly?  This is what users must do on their Skype profile, not SMF forum profile.  Works fine for me on my test site, attached pic below.

QuoteFor Skype Status Icon to show properly, users will need to set up their settings on their Skype Profile
In their Skype window they need to click  Skype > Privacy > activate "Allow my status to be shown on the web"
Doing this will allow thir status on skype to be shown on SMF such as Online, Away, Do not Disturb, Offline ect...

About the Skype profile opening when clicked.... once you click the pop-up to launch skype to view the members skype profile, there will be two image icons in the window that opens, one to call and one to chat, if you both already have each other added on skype. 
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: GlitchPC on February 18, 2012, 04:56:18 AM
Thanks for that...

I remember I turned that option off in Skype.  Will turn it back on.  Thanks for the reply.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Fed Drago on February 19, 2012, 12:28:36 PM
Quote from: hcfwesker on February 17, 2012, 06:52:18 PM
Thanx for the help in support during my absense, Labradoodle-360 :)

Quote from: Fed Drago on February 13, 2012, 07:56:58 AMI feel the mod should auto install. Thank you for the efforts on this Mod but this is not a crucial feature for me and I do not have the time to do manual edits.

The ONLY guarantee you have of a MOD auto installing is with a fresh smf 2.0.2 forum.  As I explained to you before, the moment you install one MOD, you alter coding in files, and then the next, and the next, MODs you add, it alters more.  So, whether you want this MOD or not, you're going to have to take a stab at manually modifying the files ( which is actually much easier than it sounds)  or you're going to get to a point, very soon, where you wont be able to add any more MODs/Features to your site unless you take the advice we're trying to give and show you how.  Once you learn it, it's actually fun and you'll realize you been worrying over nothing.

Again I thank you for your response but I am trying to keep SMF 2.02 as vanilla as I can I have only installed 7 mods and really do not plan to install any more mods. I have been sticking only to the Mods that do not require me to do manual edits. I love your other mod that adds the other social medias without any manual edits and works like a charm. This one does not for me.

I realize that these edits are harder then they seem but I do not have the time to sit there and find code then replace it with new code.

I thank you for your time on this issue.

Cheers
Fed :D
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: pikeman on February 22, 2012, 08:04:40 PM
Nice mod, thank you!(http://www.vukovisadunava.com/Smileys/mojismajliji/hi.gif)

Serbian translation:

$txt['gtalk'] = 'Google Talk';
$txt['your_gtalk'] = 'Ovo je Vaša GTalk adresa.';
$txt['gtalk1'] = 'G-Talk';
$txt['skype'] = 'Skype';
$txt['your_skype'] = 'Ovo je Vaše Skype korisničko ime.';
$txt['skype_static_image'] = 'Prikaži statičku Skype ikonicu.<br>(isključeno će pokazati detalje člana o Skype aktivnosti)';
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: ApplianceJunk on March 02, 2012, 09:13:42 PM
Nice mod, thanks!
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: starbock on March 07, 2012, 07:34:50 PM
Hi!  Fed Drago, I wonder if you might have the Advanced Profile Fields core feature enabled?  I've run into a similar problem (although in my case the failures occur under the Install in Other Themes section).  In my case what I found is that the mod is looking for a specific string that is possibly being changed by the Advanced Profile Fields.

In my case the problem is with the core (not default) theme modifications - the default theme tests all pass without a problem - so my problem may be slightly different than yours.

As a specific example, the mod is looking for:

./Themes/core/Display.template.php
', !empty($message['member']['yim']['link']) ? '<li>' . $message['member']['yim']['link'] . '</li>' : '', '

However, my file actually has:

                                ', !isset($context['disabled_fields']['yim']) && !empty($message['member']['yim']['link']) ? '<li>' . $message['member']['yim']['link'] . '</li>' : '', '


If the string match were a little less restrictive and looked for:


!empty($message['member']['yim']['link']) ? '<li>' . $message['member']['yim']['link'] . '</li>' : '', '


The test would pass.

*IF* this is, indeed, the problem, then I'm going to side with Fed Drago on this one and suggest that while it is reasonable for mods to assume an SMF standard configuration, this one appears to not be mindful of a standard configuration with a standard core feature enabled.  Naturally, given the SMF architecture a mod cannot anticipate all possible mods made externally;  but *if* I'm correct in my observation, then my specific example is a very valid use case that the mod CAN anticipate to avoid this specific problem.

@hcfwesker - If you agree with this observation and believe that I may be right to connect the dot to the Advanced Profile Fields core feature, perhaps you could test your installer with ALL SMF core features enabled and let us know of any issues?  I'd really like to enable this mod in my forum but, like Fed Drago, I am hesitant to make too many manual customizations - I'm new to SMF and don't have the comfort level yet to drive that deep into the pool...need to enjoy the kiddy pool a little while longer but would love to add this mod!   :)
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Fed Drago on March 09, 2012, 01:35:07 AM
Quote from: starbock on March 07, 2012, 07:34:50 PM
Hi!  Fed Drago, I wonder if you might have the Advanced Profile Fields core feature enabled?  I've run into a similar problem (although in my case the failures occur under the Install in Other Themes section).  In my case what I found is that the mod is looking for a specific string that is possibly being changed by the Advanced Profile Fields.

In my case the problem is with the core (not default) theme modifications - the default theme tests all pass without a problem - so my problem may be slightly different than yours.

As a specific example, the mod is looking for:

./Themes/core/Display.template.php
', !empty($message['member']['yim']['link']) ? '<li>' . $message['member']['yim']['link'] . '</li>' : '', '

However, my file actually has:

                                ', !isset($context['disabled_fields']['yim']) && !empty($message['member']['yim']['link']) ? '<li>' . $message['member']['yim']['link'] . '</li>' : '', '


If the string match were a little less restrictive and looked for:


!empty($message['member']['yim']['link']) ? '<li>' . $message['member']['yim']['link'] . '</li>' : '', '


The test would pass.

*IF* this is, indeed, the problem, then I'm going to side with Fed Drago on this one and suggest that while it is reasonable for mods to assume an SMF standard configuration, this one appears to not be mindful of a standard configuration with a standard core feature enabled.  Naturally, given the SMF architecture a mod cannot anticipate all possible mods made externally;  but *if* I'm correct in my observation, then my specific example is a very valid use case that the mod CAN anticipate to avoid this specific problem.

@hcfwesker - If you agree with this observation and believe that I may be right to connect the dot to the Advanced Profile Fields core feature, perhaps you could test your installer with ALL SMF core features enabled and let us know of any issues?  I'd really like to enable this mod in my forum but, like Fed Drago, I am hesitant to make too many manual customizations - I'm new to SMF and don't have the comfort level yet to drive that deep into the pool...need to enjoy the kiddy pool a little while longer but would love to add this mod!   :)

Thank you I will check this out I appreciate your support on this as I understand that if you are running other mods that manual writes might have to be done. Although most of these are not really heard to do other than time consuming (if you are a noob at it like I am) I tend to stick to mods that install with out these manual code insertions. This is my preference.  I will usually not use a mod if I have to do any manual edits.

Cheers

Fed
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on March 09, 2012, 12:28:21 PM
Quote from: starbock on March 07, 2012, 07:34:50 PM@hcfwesker - If you agree with this observation and believe that I may be right to connect the dot to the Advanced Profile Fields core feature, perhaps you could test your installer with ALL SMF core features enabled and let us know of any issues?  I'd really like to enable this mod in my forum but, like Fed Drago, I am hesitant to make too many manual customizations - I'm new to SMF and don't have the comfort level yet to drive that deep into the pool...need to enjoy the kiddy pool a little while longer but would love to add this mod!   :)

It's got nothing to do with what core Features are activated or not.  The Core "theme" is a them based off an SMF1 theme, it's why most MOD authors dont add support for it in their MODs.  And the reason I always add this statement in my MOd description pages.

QuoteThis Package ONLY makes edits to the SMF Default Curve theme.  Any other themes will require custom edits to the same files listed for the 'default' theme.

The MOd will still install fine, and work on the SMF Default theme, it just wont work properly on the core theme if u get install errors.   First thing I do anytime I make an SMF 2 forum, is remove the core theme from public view.

Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Fed Drago on March 09, 2012, 03:07:37 PM
Yes I concur I delete the core theme all together and just use the curve theme and a handful of other curve theme defaults. I also try to stay on top of mods that have been updated and remain current.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: starbock on March 09, 2012, 03:30:18 PM
@hcfwesker - Thank you for that reply.  Very useful!   :)  Maybe consider explicitly stating what you said here (to delete the theme)?  What you said was very on-point and clear, very helpful for a newbie!
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: luuuciano on March 30, 2012, 04:19:03 PM
Nice one!
Here you have the spanish_es and spanish_latin strings:

$txt['gtalk'] = 'Google Talk';
$txt['your_gtalk'] = 'Esta es tu dirección GTalk.';
$txt['gtalk1'] = 'G-Talk';
$txt['skype'] = 'Skype';
$txt['your_skype'] = 'Este es tu nombre se usuario de Skype.';
$txt['skype_static_image'] = 'Mostrar icono de skype estático.<br>(no seleccionarlo para mostrar los estados de actividad de skype)';
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Sudhakar Arjunan on July 07, 2012, 07:57:59 PM
essential mod.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: nax on August 02, 2012, 05:18:58 AM
I like the idea of this but I use SMF 2.0.2 | SMF © 2011, Simple Machines
Bright Forest Theme v2.3 by Aaron

Do you have the list of manual alterations I would have to make to templates to get this to work on other than the default?

When I try to install, the default theme is OK but I get failures on my current theme I attach a screen shot so you can see which template are not compatible.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on August 03, 2012, 04:45:18 PM
Quote from: nax on August 02, 2012, 05:18:58 AMDo you have the list of manual alterations I would have to make to templates to get this to work on other than the default?

When I try to install, the default theme is OK but I get failures on my current theme I attach a screen shot so you can see which template are not compatible.

In the image you provided, where it says under each modification

1.  Add After

^^  click on the modify image at the front of each line.  That will tell you the manual edits that need to be made.  Since they failed they wont be exact, but you'll need to find the lines of code that closely match the edits listed when you click that modify image on the package install error page.

A tip that will help, all of these edits are placed with the Instant Messenger default icons, like yahoo, msn, etc.  so when you're editing a file, just use Cntrl+F  or the search tab and serach for "yahoo"  or "msn"  , should take you right to the similar lines of code. :)



Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Cereus on March 12, 2013, 02:05:28 AM
If we install this mod an error appears when we try to install → Add Social Media Icons To Profiles. Same happens if change the install order
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on March 12, 2013, 12:25:46 PM
because both make changes to similar lines in several files.  You'll have to manually install one or the other.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: TheListener on April 04, 2013, 05:42:55 PM
Any idea why the pinterest image shows as facebook and not as pinterest?

I tried including a pinterest image in my images folder to no avail.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on April 09, 2013, 07:49:38 AM
Ummm, wrong MOD, i think.  And that's a first I've heard for that if you mean the social media icons MOD?
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: TheListener on April 10, 2013, 12:18:08 AM
Quote from: hcfwesker on April 09, 2013, 07:49:38 AM
Ummm, wrong MOD, i think.  And that's a first I've heard for that if you mean the social media icons MOD?

Ya right it was  :-[

Anyways it was a theme image issue.

/me goes back to sleep.

Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: phpshiva on April 19, 2013, 06:53:43 AM
I did all the setting but its still grey

how can i solve this?
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on April 19, 2013, 01:23:09 PM
ummm., care to elaborate a little more on what you're talking about?  what is gray?
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: phpshiva on April 21, 2013, 03:24:18 AM
i'm having only the grey icon and not the rest
installing was ok no errors just this
it doesent show online away etc

had a look at the code and thats ok its where it supose to be

Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on April 21, 2013, 02:31:45 PM
Quote from: phpshiva on April 21, 2013, 03:24:18 AMi'm having only the grey icon and not the rest
it doesent show online away etc

Because Members must update their Skype options on their Skype control panel. (see attached pic below)

QuoteFor Skype Status Icon to show properly, users will need to set up their settings on their Skype Profile
In their Skype window they need to click  Skype > Privacy > activate "Allow my status to be shown on the web"
Doing this will allow thir status on skype to be shown on SMF such as Online, Away, Do not Disturb, Offline ect...

Which is why most admins prefer to use the "static skype" icon setting.  Because not all members will update their settings through Skype.

QuoteAdmin > Theme Settings >
Show static skype icon.

See attachment 2, top profile shows MY status in the green box, because I have activated my Skype settings, but the member below me hasn't (Box in RED), which means their status will always show grey until they set up this feature in their SkypeCP options.

Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Cereus on April 21, 2013, 05:33:06 PM
Quote from: hcfwesker on March 12, 2013, 12:25:46 PM
because both make changes to similar lines in several files.  You'll have to manually install one or the other.

Ok. But make it change only part of that line is more interesting. ;)

I'll try to change it manually. Thanks!
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on April 21, 2013, 06:11:16 PM
Quote from: Arkhan Holycross on April 21, 2013, 05:33:06 PMOk. But make it change only part of that line is more interesting. ;)

I'll try to change it manually. Thanks!

It can't be coded that way because I can't assume everyone who adds this MOD is also going to install the other MOD before this one.  MODs need to be coded to install like they're the first MOd being installed.  You can't just add code edits assuming other MODs are installed beforehand.  These are actually simple manual edits.  serach the files with failed installs for 'yim' and that'll be where you need to add 'skype' and 'googleplus' (in most cases)

Trust me, I made the simplest edits possible these edits necessary would allow.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: NekoJonez on April 29, 2013, 09:33:57 AM
For some reason the GTalk icon doesn't appear in all the places where the Skype icon does. What can be the cause of this?
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on April 29, 2013, 01:28:45 PM
if youre using custom themes and didnt add the image to those themes's images file. check the smf default theme and see if it appears where it should
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: NekoJonez on May 02, 2013, 05:44:49 AM
Well, nope.

But the thing is, I also have the Gamers ID plug-in installed. Can this be a conflict?
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on May 03, 2013, 12:22:30 PM
Quote from: JonezJeA on May 02, 2013, 05:44:49 AMBut the thing is, I also have the Gamers ID plug-in installed. Can this be a conflict?

they do have install conflicts in certain files.  But if you didn't get any errors on the installation part then it shouldn't have been a problem.  Search your Sources/Load.php file for the phrase "gtalk" and make sure those edits got added.  Also, check under admin > Configuration > Features & Options > Profile Fields  to make sure both Skype and Google Talk are activated.

Can you tell me which pages G-Talk DOES appear with Skype, and which doesn't.

-Profile
-Ultimate Profile (MOD must be installed)
-Display page (mini profiles)
-Personal Messaging (mini profiles)
-Member List
-Who's Online
-Edit Buddies page
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: NekoJonez on May 04, 2013, 09:42:04 AM
Now it's getting utterly confusing for me. Only 1 profile doesn't display the Skype & GTalk icon at all.

Only on the profile. It's not displaying on the other pages.

Deleting one of both didn't help.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on May 04, 2013, 06:57:20 PM
Quote from: JonezJeA on May 04, 2013, 09:42:04 AMOnly on the profile.

please be more specific with as many details as possible so I can help you more efficiently.  Posts profile? member's profile? ultimate profile?


Quote from: JonezJeA on May 04, 2013, 09:42:04 AMIt's not displaying on the other pages.

attach Sources/Load.php & default/Display.template.php  I'll take a look at them.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: NekoJonez on May 07, 2013, 09:56:49 AM
Well, I did look into it myself and found the issue. Thanks for the offer.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on May 07, 2013, 04:03:07 PM
Quote from: JonezJeA on May 07, 2013, 09:56:49 AM
Well, I did look into it myself and found the issue.

would you mind sharing what the issue was so I know for sure it wasn't the MOD, itself.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: NekoJonez on May 09, 2013, 08:16:03 AM
I dunno in which PHP it was, I believe in Load.php where it loads the profile fields of an user.

the Skype & Google talk weren't added that that line making the forum not loading it out of the db.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Lalemy on June 28, 2013, 09:29:12 AM
Hello

sry for my english.

I have a problem with the announcement of Skype in the profile of the Members.

The changes are like that, as these should be, only the icon are not shown there.

(http://img208.imageshack.us/img208/4615/2dhk.jpg)

Quote./Themes/default/Profile.template.php
Find: [Select]

            <th scope="col">', $txt['msn'], '</th>
            <th class="last_th" scope="col"></th>
         </tr>';

   // If they don't have any buddies don't list them!

Add Before: [Select]

            <th scope="col">', $txt['skype'], '</th>
            <th scope="col">', $txt['gtalk1'], '</th>
            


Find: [Select]

            <td align="center">', $buddy['msn']['link'], '</td>

Add Before: [Select]

         <td align="center">', $buddy['skype']['link'], '</td>
            <td align="center">', $buddy['gtalk']['link'], '</td>
            


Find: [Select]

            ', !isset($context['disabled_fields']['yim']) && !empty($context['member']['yim']['link']) ? '<li>' . $context['member']['yim']['link'] . '</li>' : '', '

Add After: [Select]


            ', !isset($context['disabled_fields']['skype']) && !empty($context['member']['skype']['link']) ? '<li>' . $context['member']['skype']['link'] . '</li>' : '', '
            ', !isset($context['disabled_fields']['gtalk']) && !empty($context['member']['gtalk']['link']) ? '<li>' . $context['member']['gtalk']['link'] . '</li>' : '', '

I hope, one can help me

SMF-Version 2.0.4

Greets
Lalemy
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Draffi on June 28, 2013, 10:38:15 AM
Did you copy the icon in the right directory ?

(Themes/imgages...)
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Lalemy on June 28, 2013, 11:02:54 AM
yes, i have in the right directory.

in the memberlist and forum-posts is the icon, but not in the profil.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Draffi on June 28, 2013, 11:12:17 AM
You have a custom theme - did you edit the right template?
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Lalemy on June 28, 2013, 11:25:16 AM
I do not have in that custom theme profil.template.php
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: haseyhh18 on July 01, 2013, 09:25:34 AM
Lalemy and I still have the problem. :(


Quote from: Lalemy on June 28, 2013, 09:29:12 AM
Hello

sry for my english.

I have a problem with the announcement of Skype in the profile of the Members.

The changes are like that, as these should be, only the icon are not shown there.

(http://img208.imageshack.us/img208/4615/2dhk.jpg)

Quote./Themes/default/Profile.template.php
Find: [Select]

            <th scope="col">', $txt['msn'], '</th>
            <th class="last_th" scope="col"></th>
         </tr>';

   // If they don't have any buddies don't list them!

Add Before: [Select]

            <th scope="col">', $txt['skype'], '</th>
            <th scope="col">', $txt['gtalk1'], '</th>
            


Find: [Select]

            <td align="center">', $buddy['msn']['link'], '</td>

Add Before: [Select]

         <td align="center">', $buddy['skype']['link'], '</td>
            <td align="center">', $buddy['gtalk']['link'], '</td>
            


Find: [Select]

            ', !isset($context['disabled_fields']['yim']) && !empty($context['member']['yim']['link']) ? '<li>' . $context['member']['yim']['link'] . '</li>' : '', '

Add After: [Select]


            ', !isset($context['disabled_fields']['skype']) && !empty($context['member']['skype']['link']) ? '<li>' . $context['member']['skype']['link'] . '</li>' : '', '
            ', !isset($context['disabled_fields']['gtalk']) && !empty($context['member']['gtalk']['link']) ? '<li>' . $context['member']['gtalk']['link'] . '</li>' : '', '

I hope, one can help me

SMF-Version 2.0.4

Greets
Lalemy
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on July 01, 2013, 10:19:07 PM
Have you made the manual edits for your custom theme's Profile.template.php file?  also, have you added the images for skype and GoogleTalk to your custom theme's images folder?  did you activate them under the admin settings?
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: haseyhh18 on July 02, 2013, 01:53:05 AM
Quote from: hcfwesker on July 01, 2013, 10:19:07 PM
Have you made the manual edits for your custom theme's Profile.template.php file?  also, have you added the images for skype and GoogleTalk to your custom theme's images folder?  did you activate them under the admin settings?

You read Lalemy's posts ;)
Quote from: Lalemy on June 28, 2013, 11:25:16 AM
I do not have in that custom theme profil.template.php

And yes, we have addet the Images in the Custom Theme Folder..
Yes, is it activated.. We have the Icon in the Member List and in the "Who is Online"-List.. But don't in the Profile! :(
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on July 06, 2013, 04:21:23 PM
If they do not appear when checking the SMF Default Curve theme, then please upload and attach the default theme's Profile.template.php file
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: haseyhh18 on July 08, 2013, 02:40:02 AM
We have edit the Profile.template.php in the default Folder.. We don't have the Profile.template.php in other Theme-Folder.
The Facebook Icon is available in the Profile. But dont the Skype Icon.. :(

You see this post from Lalemy.. :)

Quote from: Lalemy on June 28, 2013, 09:29:12 AM
Hello

sry for my english.

I have a problem with the announcement of Skype in the profile of the Members.

The changes are like that, as these should be, only the icon are not shown there.

(http://img208.imageshack.us/img208/4615/2dhk.jpg)

Quote./Themes/default/Profile.template.php
Find: [Select]

            <th scope="col">', $txt['msn'], '</th>
            <th class="last_th" scope="col"></th>
         </tr>';

   // If they don't have any buddies don't list them!

Add Before: [Select]

            <th scope="col">', $txt['skype'], '</th>
            <th scope="col">', $txt['gtalk1'], '</th>
            


Find: [Select]

            <td align="center">', $buddy['msn']['link'], '</td>

Add Before: [Select]

         <td align="center">', $buddy['skype']['link'], '</td>
            <td align="center">', $buddy['gtalk']['link'], '</td>
            


Find: [Select]

            ', !isset($context['disabled_fields']['yim']) && !empty($context['member']['yim']['link']) ? '<li>' . $context['member']['yim']['link'] . '</li>' : '', '

Add After: [Select]


            ', !isset($context['disabled_fields']['skype']) && !empty($context['member']['skype']['link']) ? '<li>' . $context['member']['skype']['link'] . '</li>' : '', '
            ', !isset($context['disabled_fields']['gtalk']) && !empty($context['member']['gtalk']['link']) ? '<li>' . $context['member']['gtalk']['link'] . '</li>' : '', '

I hope, one can help me

SMF-Version 2.0.4

Greets
Lalemy
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on July 09, 2013, 12:14:52 AM
once again you failed to follow my instructions for what i asked for.

Quote from: hcfwesker on July 06, 2013, 04:21:23 PMIf they do not appear when checking the SMF Default Curve theme.... then please upload and attach the default theme's Profile.template.php file

You never said if they appear or not on the SMF DEFAULT CURVE theme.  i dont care about the custom theme right now.  I don't care about lalemy's post we've already covered that.  why do you keep quoting it.  Stop!   I cannot read minds and magically figure out your issue in a whim, so I HAVE TO take this one step at a time.

And what does this have to do with facebook icon?  that is a different mod so telling me about facebook does nothing to help me figure out what the issue is.  UNLESS you installed both my MODs which in that case, 1 will give you failed installs after the other is insyalled first.  So if you added this one second and didn't make manual edits to files then that is the problem ... failed installs on Sources/Load.php & Sources/ManageSettings.php among other files may be the issue.

Check these files and see if the correct edits were added.
Sources/Load.php
Sources/ManageSettings.php
Sources/ManageMembers.php
Themes/default/Profile.template.php
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: haseyhh18 on July 09, 2013, 01:40:19 AM
Sorry, my English is not got
Same Probleme in the default Theme.

You See?!
(http://i.imagebanana.com/img/z2z1qrer/Skype.png)

Lalemy and I are Friends. This is at the same Forum.

Lalemy has installed both mods manually.

Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on July 09, 2013, 11:04:06 AM
again, my questios are getting skipped and we're going in circles.  check the Sources files I listed above.  and manually installing is most likely what caused the errors.  he/she is going to have to go through each file to check all edits from the Mod got added correctly, then check and make sure skype got added to the database for smf_members
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: haseyhh18 on July 11, 2013, 12:53:04 AM
Yes, we have the Files checked!
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: forumfjott on November 20, 2013, 03:18:11 PM
Anyone tried this for 2.0.6. version?
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: TheListener on November 20, 2013, 05:28:49 PM
Quote from: forumfjott on November 20, 2013, 03:18:11 PM
Anyone tried this for 2.0.6. version?

If what you are asking is does this work on 2.0.6 then the answer is yes.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: forumfjott on November 21, 2013, 02:49:14 AM
Thanks Grumpy. I'll give it a try then
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: NekoJonez on January 31, 2014, 08:25:21 AM
Inb4 somebody asks. Yes, 2.0.7 as well. Confirmed by me.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on February 04, 2014, 11:04:20 PM
Quote from: NekoJonez on January 31, 2014, 08:25:21 AM
Inb4 somebody asks. Yes, 2.0.7 as well. Confirmed by me.

Thanx for the confirmation.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: NekoJonez on February 05, 2014, 06:42:41 AM
Hi man, if possible... Could you add Trillian to this mod?
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on February 06, 2014, 02:20:42 AM
Just a heads up you can add your own; just like how you do custom social media icons, but for instant messengers.  Not with this mod, but just create a new custom profile field, and use the option "With Icons" (something like that) on where it's displayed.  that puts the new custom field in the same row with the messenger icons ;)

Here's skype as an example :: http://www.simplemachines.org/community/index.php?topic=460078.0

I've never heard of many using Trillian, actually the first time i've ever heard of it lol.  And, it's gotta be something popular to go through the trouble of adding a new icon to the MOD. 
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: forumfjott on February 11, 2014, 09:56:37 AM
Quote from: NekoJonez on February 05, 2014, 06:42:41 AM
Hi man, if possible... Could you add Trillian to this mod?
Havent' used it since mid 00's, but Trillian is just a "hub" for many messenger softwares as I understand it. You don't have a Trillian account, do you?
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: NekoJonez on February 11, 2014, 09:59:02 AM
Quote from: forumfjott on February 11, 2014, 09:56:37 AM
Quote from: NekoJonez on February 05, 2014, 06:42:41 AM
Hi man, if possible... Could you add Trillian to this mod?
Havent' used it since mid 00's, but Trillian is just a "hub" for many messenger softwares as I understand it. You don't have a Trillian account, do you?
That's a good point. I do have a trillian account but I think it's only used for saving your settings and login data, no?
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Impsat-1 on July 14, 2014, 02:06:01 AM
Ufff!!!... hey hcfwesker nice job, but can you update for SMF 2.0.8... I wait for it :)


Thanks & Regards 8).-
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: hcfwesker on July 14, 2014, 06:29:07 PM
It's compatible and installs just fine for 2.0.8;the MOD description page hasn't been updated, is all.  You can always check the MOD parser on the description page for the version you want and if it shows edits then it means it's compatible, which this one is.  If you have install errors with files, then you'll have to manually make the edits as they are conflicting with edits from other MODs.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Impsat-1 on July 14, 2014, 10:26:48 PM
Wow!!!... Ok, Thanks hcfwesker, I will try it.... ;)


Have a Great Time
Thanks & Regards 8).-
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: ahmedjadoon on July 26, 2015, 02:35:54 PM
I installed it but Skype icon/image doesn't show http://freecointalk.org/index.php/topic,4.0.html
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Shambles on July 26, 2015, 02:38:43 PM
Quote from: ahmedjadoon on July 26, 2015, 02:35:54 PM
I installed it but Skype icon/image doesn't show http://freecointalk.org/index.php/topic,4.0.html
Looks like the image hasn't been uploaded

QuoteThe requested URL /Themes/inferno_20a/images/skype.gif was not found on this server.
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: ahmedjadoon on July 26, 2015, 04:31:50 PM
Quote from: Shambles on July 26, 2015, 02:38:43 PM
Quote from: ahmedjadoon on July 26, 2015, 02:35:54 PM
I installed it but Skype icon/image doesn't show http://freecointalk.org/index.php/topic,4.0.html
Looks like the image hasn't been uploaded

QuoteThe requested URL /Themes/inferno_20a/images/skype.gif was not found on this server.
I uploaded and it worked. Mod didn't mention this anywhere. Thanks for help.

What image to add for Gtalk?
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: Shambles on July 26, 2015, 04:45:40 PM
Quote from: ahmedjadoonWhat image to add for Gtalk?

It's in the mod package - gtalk.gif
Title: Re: Additional Instant Messengers ( Skype + GoogleTalk)
Post by: MrCreatoR on August 07, 2015, 09:02:36 PM
Skype status can not be displayed anymore, since the mystatus.skype.com service was closed due to security reasons.

Anyone have a clue what is the alternative now?