PDA

View Full Version : ts2manager for Mambo released


prankstr
06-05-2005, 17:51
New teamspeak module released for Mambo CMS: http://ts2manager.mamboforge.net

Its based on MrGuide's ts2display application, but is neatly wrapped in a Mambo module. Let me know how it works for you guys.

prankstr
06-05-2005, 20:05
It works great!!!

But there is one thing that i miss now...

The auto refresh function.
I've tried to insert it myself, but that didnt work at all.
Is it possible for you to insert it?
that would be great and i'll think its finished then.

(oh, one last question)

Is it possible to get a pop up for your username and a pop up for your password to log in registered in stead of anonymous?

Thanx for making the mambo script downloadable for us so quick!

:)

I don't have the auto-refresh function in yet - will definetely be a to-do which I will add to the project.

Your last question regarding registered vs. anonymous login is another functionality I will be adding in with the next version.

Feel free to post at http://ts2manager.mamboforge.net with any suggestions/enhancements you would like to see.

Thanks,

Prankster

steelcam
06-05-2005, 20:53
thanx for th quick response again.
Its not that easy to do i'll see?
thats why my attempt failed i'll guess.
I just added this code in your php...

To make the autorefresh working without changing PHP settings you can add one line:

<?PHP
$autorefresh=$_GET['autorefresh'];
if (isset($autorefresh)) {
......
?>

prankstr
07-05-2005, 19:15
The problem with enabling autorefresh in Mambo is that unlike MRGuide's demo.php application, a Mambo module gets written after the meta tags have been generated. I may be able to figure out how to enable autorefresh in the future through the module, but for now, the easiest way to do this would be to add the following to your site template:

<meta http-equiv="refresh" content="45;" />

where the value in content= is the number in seconds before page refresh.

That line needs to be put into your template file <site root>/templates/<active template>/index.php and should be inserted immediately after this line:

<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />

Let me know how this works for you - I may add these instructions to the manual - but I'm not too happy with this solution as it requires the enduser to hack on their site templates (which is okay if you know what you're doing, but can create problems if you don't).

Basically I'd like to make the refresh option a parameter that is configurable through the admin section - that way there is less room for user error.

steelcam
07-05-2005, 19:59
I've tried it out, but the page refreshes not fast enough.

Tried it for 10 minutes and people started to ask me what was wrong with the site.

I think it would work if it only refresh the main page, not the header and menu on the right.

..If you know what i mean.

mikesee
08-05-2005, 00:11
I have installed this script and am having an issue with performance. When I publish the TS2 Server it's takes a very long time for the page to be displayed. It take the usually almost instant load of my Mambo site and slows it down to about 1 minute to load.

prankstr
08-05-2005, 00:24
I've tried it out, but the page refreshes not fast enough.

Tried it for 10 minutes and people started to ask me what was wrong with the site.

I think it would work if it only refresh the main page, not the header and menu on the right.

..If you know what i mean.

Just change the content="45;" to content="15;" or something to speed the refresh up - just realize that if you have a lot of simultaneous users, your webserver performance will take a hit.

By the way, Its impossible to refresh only one part of an HTML page (because a refresh does a complete refresh of the page) - the only way to do something like that would be to do away with the HTML display and write a java applet or ActiveX plugin to poll the ts2server at scheduled intervals. But that turns it into a whole different beast...


I have installed this script and am having an issue with performance. When I publish the TS2 Server it's takes a very long time for the page to be displayed. It take the usually almost instant load of my Mambo site and slows it down to about 1 minute to load.

Hmm thats kinda strange - is your teamspeak server co-located on the same box as your webserver?

mikesee
08-05-2005, 00:26
Hmm thats kinda strange - is your teamspeak server co-located on the same box as your webserver?

Yes they both reside on the same server.

The address if http://clubhouse.seepc.ca

mikesee
08-05-2005, 00:46
I also am having issues with this module making my SMF forum compnent not work correctly. I'm using Mambo-SMF Forum v1.3.1 put out by Mambo Hacks to connect my SMF with Mambo.

prankstr
08-05-2005, 02:44
I run the same SMF component on my server with no issues - I know depending on how you have that SMF integrated piece setup, it can really slow down your whole server. When I first installed the SMF component I had to play around with the configuration quite a bit - it still runs slow, so I'll probably be ditching it for another forum like phpbb or something once the integration for phpbb gets a little better.

mikesee
08-05-2005, 03:02
I run the same SMF component on my server with no issues - I know depending on how you have that SMF integrated piece setup, it can really slow down your whole server. When I first installed the SMF component I had to play around with the configuration quite a bit - it still runs slow, so I'll probably be ditching it for another forum like phpbb or something once the integration for phpbb gets a little better.

Thanks Prankster;

I'm going to reinstall the whole shooting match and start with the TS integration first and see what happens. Because I have nothing actually done except the basic install this is pretty straight forward for me. I'll post my results back here afterwards.

steelcam
08-05-2005, 11:48
What i ment by this: but the page refreshes not fast enough is that my website isnt refreshing quick enough, so you see the complete site rebuilding every module en background pictures.
When your on the site this is irritating.

prankstr
10-05-2005, 06:27
Okay, I might have a solution to your dilemma. Basically I am working on building the module within an Iframe - that way only the Iframe refreshes and not the rest of the page - and yes, the refresh will be configurable.

The bad news is that this functionality will probably not go in until the next release - which will probably be next week sometime. But as always, you can see what I have so far at http://redbeardshideout.net (right-click on iframe and check out page source - you will see that only the iframe autorefreshes on 10sec intervals).

I have some presentation issues to work out, but I think the end result will work nicely.

steelcam
10-05-2005, 18:05
I'll just wait and see, the idee's are great, lets just wait and see the beta's!

:) :) :)

prankstr
17-05-2005, 20:29
Version 1.2 has been released included a few new little features:


ability to specify custom stylesheet
autologin for registered users
autorefresh (just for the module - not the entire page)


If there are any other features you would like to see, please drop me your feature requests at mamboforge.

You can get the new version (1.2) at http://ts2manager.mamboforge.net

** Please note, you will need to uninstall your old version of ts2manager (if running 1.1) and re-install with 1.2.

steelcam
18-05-2005, 00:25
I've tried it out but i still cant connect to the server as a registered member, only as an anoumynous user...

Any help..please?

prankstr
18-05-2005, 18:33
In my clan, we don't use registered users much at all - so we all connect as unregistered users using the server password. In order to connect as a registered user, the module would need to know what each teamspeak user password is - I haven't made it that sophisticated - but might someday.

libertyjustice
20-05-2005, 22:45
I would LOVE to see integration into the teamspeak server with the mambo user database.

Set it so if they register on the guild / clan site it allows them registered access to the TS server.

Registered users are a good security measure to protect against attacks. We only allow unreg'ed users in the lobby. So this functionality would be extremely desired.

Especially if you could define it so that a certain user level in mambo = server admin in TS.

Apostle11
10-08-2005, 18:17
Hi

I'm having trouble with the module Pranksta. It just won't connect to our clan TS server. I have contacted my website host to open the query/admin ports, both in and out, and TCP/UDP have been opened. TS2Manager refuses to show up anything. When I refresh the webpage it's on, the page hangs for almost two minutes. I think this is the TS2M module trying to query the TS server, as it's the last item on the page to load.

Website - www.clanxio.com. Module is on the left.

Any advice would be fantastic. I'm using our TS server 84.21.135.88:8767, and have been using query ports 14534 and even 51234.

RobbieB
23-08-2005, 04:55
I can't get this module to work. I have a dedicated web and teamspeak server and everything is operating fine. When I view my website it says server down.

Error: Could not connect to query port.

I've entered all the correct info in the admin area. And obviously it works because I can login to the admin via web etc.

Mythy
08-03-2007, 21:39
Old thread I know...

How do I adjust the height? :confused: