Page 1 of 1

Joomla module

Posted: 17 Aug 2007, 17:39
by biza
Well, i hope this is right place for this question/request.
I have Joomla! powered website and i would like to have on my main page Mana World server status (how many players is online) like on this web page.
If somebody knows how to create such Joomla! module, or maybe already has it, please inform me.
I think this way is better than banner to interest people about this project.
Malilosinj.info is site about my hometown and have small internet community, mostly young people.
Maybe some of them decide to join the game and eventually the project :)

Thanks!

Posted: 18 Aug 2007, 03:00
by JoshLangley
Simply include this in a html iframe tag.
http://server.themanaworld.org/status.php :)

Posted: 18 Aug 2007, 12:50
by biza
I did that, it works, but it is not good.

1. It is preformated to fit in this page (background color, text color) it looks bad on my page :(
2. I would like all text to link on themanaworld.org not on player list.
3. It is on English and whole site is translated in Croatian

Regards!

Posted: 18 Aug 2007, 14:50
by Bjørn
Here is the PHP source for status.php:

http://server.themanaworld.org/status.php.txt

It parses the online.txt file available at http://server.themanaworld.org/online.txt and produces the formatted HTML summary. It should help you to create something similar for on your own website. We use an iframe both because SourceForge doesn't allow connecting to other websites and this way it can periodically refresh (or fail without affecting page load time).

Posted: 18 Aug 2007, 17:56
by biza
Thanks, i did it!!!

And it WORKS!!!!

I have no knowledge of php so if somebody who knows can check it (i just copied file Bjorn recomended and made some small adjustment) :) .
This module should work on Mambo afaik
Just install it as any other module.
You can get it HERE

Please post here if it is working or not working on yours Joomla/Mambo.

Thanks and cheers!!