Joomla module

Content and general development discussion, including quest scripts and server code. TMW Classic is a project comprising the Legacy tmwAthena server & the designated improved engine server based on evolHercules.


Forum rules

This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.

Its current use is for the continued development of the server and game it has always served: TMW Classic.

Post Reply
User avatar
biza
Peon
Peon
Posts: 25
Joined: 17 Jul 2007, 16:17
Location: Mali Lošinj, Croatia
Contact:

Joomla module

Post 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!
JoshLangley
Peon
Peon
Posts: 45
Joined: 23 Jun 2007, 05:42
Location: Melbourne, Australia

Post by JoshLangley »

Simply include this in a html iframe tag.
http://server.themanaworld.org/status.php :)
kind regards,
Josh Langley.

http://www.myspace.com/Langerz
User avatar
biza
Peon
Peon
Posts: 25
Joined: 17 Jul 2007, 16:17
Location: Mali Lošinj, Croatia
Contact:

Post 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!
User avatar
Bjørn
Manasource
Manasource
Posts: 1438
Joined: 09 Dec 2004, 18:50
Location: North Rhine-Westphalia, Germany
Contact:

Post 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).
User avatar
biza
Peon
Peon
Posts: 25
Joined: 17 Jul 2007, 16:17
Location: Mali Lošinj, Croatia
Contact:

Post 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!!
Post Reply