News:

Wondering if this will always be free?  See why free is better.

Main Menu

[TIP/TRICK] Skype Profile

Started by ~DS~, November 22, 2011, 03:16:58 AM

Previous topic - Next topic

~DS~

Quote from: Oldiesmann on November 16, 2011, 12:38:18 AM
It's quite easy to just add it as a custom profile field - no mod required.

Here's how you can do it...

First, enable custom profile fields if you haven't already done so:
Admin -> Configuration -> Core Features
Click the "Switch" icon next to "Advanced profile fields" (it will change from gray to green)
Scroll down and click "Save"

Create a new profile field (Admin -> Configuration -> Features and Options -> Profile Fields)
(If an option isn't listed here, use whatever you want for it)
Name: Skype
Profile Section: Forum Profile
Show on topic view: Checked
Choose Placement: With Icons

Show enclosed with text:
<a href="skype:{INPUT}?call"><img src="http://mystatus.skype.com/smallicon/{INPUT}" alt="Skype - {INPUT}" title="Skype - {INPUT}" /></a>

Type: Text
Maximum Length: 32
Input Mask: No HTML
Privacy: Users can see this field; owner can edit it
Active: Checked

After that, just save the field and it will be there for users to edit. The code I've given you will show an icon based on the user's online status, if they've chosen to make that available over the web. If you want to use a different icon, just replace the "mystatus.skype.com" URL in the img code with the URL for the image you wish to use.

All credits goes to Oldiesmann :)
"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

vanGils

@ ~DS~

Thanks man.

Still I have a question.
It works but.
The logo is gray and not green when I am online on Skype.
Is that normal?

~DS~

Quote from: vanGils on November 28, 2011, 04:14:27 PM
@ ~DS~

Thanks man.

Still I have a question.
It works but.
The logo is gray and not green when I am online on Skype.
Is that normal?
It should be green, if your profile page is refreshed
"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

vanGils

#3
Ok.
Check that and it stil is still gray.   ;)
And I am online on Skype.
Is it checking the online status?

~DS~

Quote from: vanGils on November 28, 2011, 04:32:52 PM
Ok.
Check that and it stil is still gray.   ;)
And I am online on Skype.
Is it checking the online status?
Offline:
http://cl.ly/342d2n0H1D0u031j3q1X

Online:
http://cl.ly/1M0y2K2Z3s3k263M0N1T
"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

societyofrobots

Hi, this mod works for me. But . . . when going to Profile -> Forum Profile . . .

it doesn't include Skype listed next to the other messenger options (ICQ, AIM, MSN, etc). Instead, it's separated and located at the bottom of the page, making it hard to find.

I'm assuming there is no way around this without manually editing files?

(not a biggie, just asking if I've overlooked something)

td_bms

#6
Hi there,
I have done all as explain above, but the icon is still gray with an X in the middle of the icon.
I have refreshed as suggested, but nothing it remains gray even though is working.

Another question is it possible to replace the icon with the official of Skype or there are some right to be paid for it?
Second: where do I find that default icon??
Third: in the section
<a href="skype:{INPUT}?call"><img src="http://mystatus.skype.com/smallicon/{INPUT} [nofollow]" alt="Skype - {INPUT}" title="Skype - {INPUT}" /></a>

Is there the field {INPUT}?call that can be replaced just for a chat and NOT for a call?


Thanks

PS.
I think I have solved for what I have asked above. Is necessary to replace the word "call" in "chat".
But the question on the gray icon remain: why is it gray, while I am on line?

Thank again

live627

Quote from: societyofrobots on November 30, 2011, 06:42:52 AM
Hi, this mod works for me. But . . . when going to Profile -> Forum Profile . . .

it doesn't include Skype listed next to the other messenger options (ICQ, AIM, MSN, etc). Instead, it's separated and located at the bottom of the page, making it hard to find.

I'm assuming there is no way around this without manually editing files?

(not a biggie, just asking if I've overlooked something)
correct-o

TaKeOveR


Arvacon

Hi. This topic is old, but as I see, there is a question that never anwsered.
I had the same problem about the icon that was seems always offline, so I found that you have to make a change at your skype settings, to make this work.

Here is a screenshot about what you need to change, in order to have your online status work.

http://devforum.skype.com/t5/image/serverpage/image-id/52i4AD96129D7123668/image-size/original?v=mpbl-1&px=-1

I hope that helps as helped me.
By the way, thanks for this great tip :)

teos55

smf 2.0.3  default theme simple portal 2.3.5

  I have so many mods, so it was very diffucult for me to apply "additional instant messengers" mod .
http://custom.simplemachines.org/mods/index.php?mod=3338

failed in so many php's as expected.

So I decided to use this trick and great...  Though I'm missing goole talk as per the above mod adds. 

Maybe another trick for google talk ?

hcfwesker

Quote from: teos55 on January 16, 2013, 10:02:36 AMMaybe another trick for google talk ?

Not sure if it's already been done, but you would pretty much follow the same instructions.  Changing skype to GoogleTalk , and for the show enclosed text block add this :

<a href="mailto:{INPUT}" target="_blank" title="GoogleTalk - {INPUT}"><img src="' . $settings['images_url'] . '/gtalk.gif" alt="GoogleTalk - {INPUT}" /></a>

Just save this image as gtalk.gif and upload it to your theme's images folder.

Arantor

Since it's embedding HTML into the page, it's going to have to be a link to the image, based on the contents of the field... might be useful to either post your attachment elsewhere or at least post the code you're trying to use.
Holder of controversial views, all of which my own.


MrTrane

As MSN is now officially dead I have noticed that more people have started using this so I will just drop my version of this.
Instead of calling the user when you click on their Skype image you can make it to show the user profile which is way better than receiving calls from people that you do not know.

Here's the code for it:
<a href="skype:{INPUT}?userinfo"><img src="http://mystatus.skype.com/smallicon/{INPUT}" alt="Skype - {INPUT}" title="Skype - {INPUT}" /></a>

Also, to be able to see someone's status on the image they have to enable the "Allow my online status to be visible on the web" from their Skype > Privacy Settings.

AumoeLooure

It's a good idea...but...You don't specify exactly where we are to put the code, and how to find said code?

Arantor

If you read the first post, it does actually say so. You use the in-built custom profile fields feature ;)
Holder of controversial views, all of which my own.


AumoeLooure

Arantor, thanks, but I did do that already. That part I understood. I just don't understand where to put the code?

Arantor

In the box given in the Custom Profile Fields screen...
Holder of controversial views, all of which my own.


AumoeLooure


Mister X

Great Work, I love this whole Thing, and instead of installing those old Skype Mods and blah blah blah, Love it absolutely Love it. Thanks So Much Guys, Thanks Sooooo Much.

Advertisement: