Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Gamers Modules & Blocks :: Archives ⇒ Teamspeakdisplay for Dragonfly :: Archived


Teamspeakdisplay for Dragonfly :: Archived
DragonflyCMS blocks and modules relating to Gamers - note, strictly DragonflyCMS matters ONLY or they will be deleted.
Go to page Previous  1, 2
Topic Archived View previous topic :: View next topic  
Author Message
darkgrue
Developer
Developer

Offline Offline
Joined: Apr 20, 2004
Posts: 542
Location: Lancaster, CA
PostPosted: Thu Mar 29, 2007 7:12 pm
Post subject: Re: Teamspeakdisplay for Dragonfly

lndknox wrote:
Brammers: I was having the same problem, until I found out it logs in anonymously. So, instead of using your usernames password, you need to use the anonymous server login.

It's a limitation of the teamspeak:// URI handler as far as I know (in the TeamSpeak client). I don't think there's alternate login constructs.

Generally, I don't think the JavaScript login prompt are going to be most user's preferred method, at least for regulars. TS has a much more flexible address book-type arrangement for that. It's a convienance, but one that's only so in a pretty narrow range of situations.

_________________
It is pitch black. You are likely to be eaten by a grue.

darkgrue's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Ubuntu 11.04, Atom D525/Apache 2.2.17/MySQL 5.1.54/PHP 5.3.5/Dragonfly 10.0.04 CVS
Back to top
View user's profile Visit poster's website
mafa
Supporter
Supporter

Offline Offline
Joined: Jan 30, 2006
Posts: 32
Location: Submerged
PostPosted: Mon Apr 16, 2007 6:23 pm
Post subject: Re: Teamspeakdisplay for Dragonfly

I have confirmed query port with host, my config is all correct, yet the block informs me "server is offline"

Any advice on my next process of elimination?

_________________
Sounds like a subdural hematoma to me...

mafa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
CMS Version 9.1.2.1 PHP Version 5.0.4 MySQL Version 4.1.20 Build Date Mar 29 2006
Back to top
View user's profile
mdthomann
Newbie
Newbie

Offline Offline
Joined: Feb 16, 2007
Posts: 39
Location: Chicago
PostPosted: Tue Apr 17, 2007 1:59 pm
Post subject: Re: Teamspeakdisplay for Dragonfly

Possibly blocked by your host. I could not get my hosting service to open up the outbound port. So I had success by switching to TSViewer. www.tsviewer.com

_________________
.m@.

"Reality is merely an illusion, albeit a very persistent one. " - Albert Einstein

mdthomann's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
{GoDaddy Hosted} Linux/ 1.3.33 / 5.0.45 / 4.3.11 / 9.1.2.1
Back to top
View user's profile Visit poster's website
darkgrue
Developer
Developer

Offline Offline
Joined: Apr 20, 2004
Posts: 542
Location: Lancaster, CA
PostPosted: Tue Apr 17, 2007 3:43 pm
Post subject: Re: Teamspeakdisplay for Dragonfly

mafa wrote:
I have confirmed query port with host, my config is all correct, yet the block informs me "server is offline"

Any advice on my next process of elimination?

If as you say, you've configured the module correctly and it still doesn't work, you're done. There's different diagnostics that you could possibly do to confirm the results, but you'd need a command prompt on your DF host to do them (telnet to a TCP port is a quick way to check connectivity).

I'm not sure why this question comes up as much as it does. Especially in the same thread.

darkgrue wrote:
99.99% of the time, people who can't use this block (as well as some of the other gaming blocks), can't do so because the server that their Dragonfly CMS is running on isn't permitted outbound connections on non-standard ports. Some hosting porivders only allow outbound on HTTP, some require that you register outbound connections in the account control panel, some don't allow outbound requests at all.

There's no way to work around that issue - the blocks require outbound connections on particular ports.

Either switch to a host that allows outbound queries, or if you are desperate for a complicated solution, set up yet another host to do the TeamSpeak query and construct a block to put the result in an IFRAME.

_________________
It is pitch black. You are likely to be eaten by a grue.

darkgrue's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Ubuntu 11.04, Atom D525/Apache 2.2.17/MySQL 5.1.54/PHP 5.3.5/Dragonfly 10.0.04 CVS
Back to top
View user's profile Visit poster's website
Golem
Dragonfly addicted
Dragonfly addicted

Offline Offline
Joined: Nov 25, 2004
Posts: 336
Location: Germany
PostPosted: Wed Apr 18, 2007 7:00 am
Post subject: Re: Teamspeakdisplay for Dragonfly

Hey,

I just switched over from Ventrilo to Teamspeak just because of your marvellous block Dark Smile

I have two questions though:

1. Would it be possible to allow the registered users to log in as such through the block. As I understand it, right now only anonymous access (with a server password) is possible.

2. Would an enhancement to the module to allow the registration to the server via Dragonfly (eg for certain groups only) be possible at all ? I am rather new to TS. But the way I understand it right now it is rather hard to have control about who registers to the TS Server: Either you allow anonymous users to register and have no control or you do it manually and have to catch each user online to allow him registration.

But as it is the module is just great and i'd like to thank you for it Smile


Golem's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.17.8/MySQL: 4.1.22/PHP: 4.4.8/DF: 9.2.1.1
Back to top
View user's profile Visit poster's website
darkgrue
Developer
Developer

Offline Offline
Joined: Apr 20, 2004
Posts: 542
Location: Lancaster, CA
PostPosted: Wed Apr 18, 2007 9:08 pm
Post subject: Re: Teamspeakdisplay for Dragonfly

Golem wrote:
Hey,

I just switched over from Ventrilo to Teamspeak just because of your marvellous block Dark Smile

I have two questions though:

1. Would it be possible to allow the registered users to log in as such through the block. As I understand it, right now only anonymous access (with a server password) is possible.

/boggle

Your question was answered on this very page, four messages up:

darkgrue wrote:
lndknox wrote:
Brammers: I was having the same problem, until I found out it logs in anonymously. So, instead of using your usernames password, you need to use the anonymous server login.

It's a limitation of the teamspeak:// URI handler as far as I know (in the TeamSpeak client). I don't think there's alternate login constructs.

Generally, I don't think the JavaScript login prompt are going to be most user's preferred method, at least for regulars. TS has a much more flexible address book-type arrangement for that. It's a convienance, but one that's only so in a pretty narrow range of situations.


The module does nothing to connect to TeamSpeak or interact with the TeamSpeak server or client. It's a legitimate enhancement request... for the TeamSpeak authors.

I suspect that they will (and possibly should) reject such a request for security reasons. The password is sent in the clear in the URI. Server passwords aren't very secure to begin with, and one could arguably shrug. Registered user (and admin) passwords being passed the same way could end up with your TS server being owned.

Golem wrote:
2. Would an enhancement to the module to allow the registration to the server via Dragonfly (eg for certain groups only) be possible at all ? I am rather new to TS. But the way I understand it right now it is rather hard to have control about who registers to the TS Server: Either you allow anonymous users to register and have no control or you do it manually and have to catch each user online to allow him registration.

It's technically possible, I suppose, but I consider it way to far out-of-scope for this module. It's only a status block, the whole login thing was just a convenience and I only really bothered with it because what I was porting included a (badly implemented) version of it.

First, you'd have to have the TS server use an external DB. The bundled DB I don't think can expose itself to a network interface. But you can have the TS server use a MySQL DB.

There is at least one PHP API available CyTS, so there is some of the problem solved there. I can't speak as to whether it's a quality solution or not though - haven't used it, just did some cursory research.

You'd then need to port something like gTeamSpeak, which could be pretty painful - vBulletin's pretty different from DF.

Keep in mind that even when all that's done there's just the problem of passing the authentication token in the first place (that is, it won't solve your first question). Neither the TS client nor the server can read the DF authentication cookie on the client's broswer. So, while this whole thing could concievably create TS users that replicate DF usernames and passwords, or something, you [the user] would still have to pass to the TS client those credentials in order to log into the TS Server. Either by creating an address book entry in the TS client, or passing them in the unregistered user URI. DF could create for the user a URI that contained their login credentials - if the TS authors added a URI login method for registered users - but again, that information passes in the clear. Which is bad security. Worse, if that username/password is the same as the DF one, but even if it isn't, it's still a design I wouldn't approve.

My first impression would be that such a feature that wouldn't be a nasty unsecure hack would be a significant integration effort. It would probably also be very functionally limited unless the TS application made significant changes in its interface.

It might just be easier to write a cron script to extract the username and password hashes and replicate them into a the TS database (assuming they use the same hash functions). A hack, to be sure, but one with a really low cost.

Golem wrote:
But as it is the module is just great and i'd like to thank you for it Smile

Thanks, you're welcome! Big grin

_________________
It is pitch black. You are likely to be eaten by a grue.

darkgrue's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Ubuntu 11.04, Atom D525/Apache 2.2.17/MySQL 5.1.54/PHP 5.3.5/Dragonfly 10.0.04 CVS
Back to top
View user's profile Visit poster's website
Kinsman
Dragonfly addicted
Dragonfly addicted

Offline Offline
Joined: May 29, 2006
Posts: 343
Location: Australia
PostPosted: Mon Jul 30, 2007 8:16 am
Post subject: Re: Teamspeakdisplay for Dragonfly

D/L link is broken?


Kinsman's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.18-164.11.1.el5xen/2.2.13/5.0.89-community-log/5.2.11/9.3.3.0
Back to top
View user's profile Visit poster's website
darkgrue
Developer
Developer

Offline Offline
Joined: Apr 20, 2004
Posts: 542
Location: Lancaster, CA
PostPosted: Tue Jul 31, 2007 1:16 am
Post subject: Re: Teamspeakdisplay for Dragonfly

Kinsman wrote:
D/L link is broken?

The link in the OP works fine, goes to the project page on my site which links to both download sites. Everything works fine. Which link were you referring to?

_________________
It is pitch black. You are likely to be eaten by a grue.

darkgrue's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Ubuntu 11.04, Atom D525/Apache 2.2.17/MySQL 5.1.54/PHP 5.3.5/Dragonfly 10.0.04 CVS
Back to top
View user's profile Visit poster's website
Golem
Dragonfly addicted
Dragonfly addicted

Offline Offline
Joined: Nov 25, 2004
Posts: 336
Location: Germany
PostPosted: Sat Oct 20, 2007 1:39 pm
Post subject: Re: Teamspeakdisplay for Dragonfly

Hi darkgrue,

I have a short question about the dynamic block. The block and module are working perfectly. It is just a minor cosmetic issue that I cannot figure out:

The block displays the theme's background image and therefore breaks with the look of the other blocks.

What I'd like to have is that it looks like all the other blocks of that theme. In my case that would be the background color #EFEFEF. I have tried to edit the block ("Background-color:transparent"). But the color I add there only appears for less that a second when the block is loadinng.

Now my question: How can I modify the code of the block so that it uses the standard background for blocks given by the theme. Or if not possible: can I "hard code" the mentioned color into the block?

Thx in advance for any help Smile
I have attached an image so that you get an idea of what I am aiming at.


Golem's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.17.8/MySQL: 4.1.22/PHP: 4.4.8/DF: 9.2.1.1
Back to top
View user's profile Visit poster's website
darkgrue
Developer
Developer

Offline Offline
Joined: Apr 20, 2004
Posts: 542
Location: Lancaster, CA
PostPosted: Wed Oct 24, 2007 9:22 pm
Post subject: Re: Teamspeakdisplay for Dragonfly

Golem wrote:
Hi darkgrue,

I have a short question about the dynamic block. The block and module are working perfectly. It is just a minor cosmetic issue that I cannot figure out:

The block displays the theme's background image and therefore breaks with the look of the other blocks.

What I'd like to have is that it looks like all the other blocks of that theme. In my case that would be the background color #EFEFEF. I have tried to edit the block ("Background-color:transparent"). But the color I add there only appears for less that a second when the block is loadinng.

The dynamic block is actually loading an IFRAME of the module in order to display the infomation. What you need to do is modify the styling of the module, not the block.

So, you want to start poking around in modules/Teamspeak/index.php, around Line 86, as well as look at perhaps adding more styling information to the teamspeakdisplay_block.css file.

Without experimenting with style settings, I'm not really sure what exactly you need to change to get the background changed, but the way to do it for the dynamic block is definitely in the module code.

_________________
It is pitch black. You are likely to be eaten by a grue.

darkgrue's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Ubuntu 11.04, Atom D525/Apache 2.2.17/MySQL 5.1.54/PHP 5.3.5/Dragonfly 10.0.04 CVS
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  Gamers DelightGamers Modules & Blocks :: Archives
Page 2 of 2
All times are GMT
Go to page Previous  1, 2

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

lesa meira...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy