Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-04-20 20:52:09
- ricoschette
- Member
- From: Estonia
- Registered: 2005-09-17
- Posts: 176
Is it possible to create Skype on/off button?
I wonder if it is possible to make such a button that would have 2 states: lights green, when I am online and red, when I’m offline.
I’m not sure how would it work in the easiest way.
Sure I could make that work easily with just creating 2 CSS classes for an image. And when I’m online, let’s say in working hours, I could go to the textpattern’s admin, change one line of code in page template and that would be it.
Smth like that: <div class=“skype-on”></div> or <img src=“skype-on.gif” /> :)
But how could that work without user doing anything like that…
Suggestions?
Last edited by ricoschette (2008-04-20 20:54:46)
Offline
Re: Is it possible to create Skype on/off button?
Offline
#3 2008-04-20 22:49:57
- ricoschette
- Member
- From: Estonia
- Registered: 2005-09-17
- Posts: 176
Re: Is it possible to create Skype on/off button?
Tnx, but I was more thinking about like a plugin – when logged in to the TXP admin then skype button would itself know which colors to show :)
I know, it’s probably stupid…
Offline
#4 2008-04-20 22:54:24
- Ruhh
- Member
- From: dakota dunes
- Registered: 2008-01-20
- Posts: 305
Re: Is it possible to create Skype on/off button?
I think there is a plugin that would show if you are online or not. I think the ign_password_protect plugin would show your name if you are logged into textpattern.
<txp:Ruhh />
Offline
Re: Is it possible to create Skype on/off button?
I think there is a plugin that would show if you are online or not..
rvm_privileged can be made to return a value if you are logged in
Last edited by colak (2008-04-21 06:27:18)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Is it possible to create Skype on/off button?
ricoschette wrote:
Tnx, but I was more thinking about like a plugin – when logged in to the TXP admin then skype button would itself know which colors to show :)
I know, it’s probably stupid…
i thought you were referring to your skype online/offline status, not your textpattern status.
Offline
Re: Is it possible to create Skype on/off button?
Does skype offer code where users status can be seen on a website?
The suggestion above assumes that when someone connects on txp interface then their skype is on… I know… it is just an assumption which might be far removed from reality but if it is true for ricoschette then the code below could work until a plugin is developed or a page with the code required by skype is indicated.
<txp:rvm_if_privileged name="txp_login_name"><img src=“skype-on.gif” /><txp:else /><img src=“skype-off.gif” /></txp:rvm_if_privileged>
Last edited by colak (2008-04-21 07:52:21)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Is it possible to create Skype on/off button?
colak wrote:
Does skype offer code where users status can be seen on a website?
sure, see the link i’ve posted above.
Offline