zett
Member
So I'm trying to create a block for XenPorta which I think many Minecraft server admins running a XenForo forum will appriciate.
A easy to use Minequery block.
The honest truth, I have no idea about PHP and even less about the XenPorta block system but I'm interested in learning it and contributing to the community.
I simply couldn't find a decent guide on how to create these and I don't understand the block by looking at the source, neither did a friend that knows PHP.
I came up with an temporary work around using the HtmlBlock with an iFrame and MC List for Minequery PHP.
Result can be viewed here: http://massiveminecraft.com/index.php
That's not exactly how I'd like it though.
I would want it to look about like that: http://www.mcelite.co.uk/index.php (as far the layout goes)
It uses bigger avatar faces and has these typical transparent black XenForo tooltips instead the names listed. It's also a iFrame and this is what I am trying to prevent. Tooltips at the side cut off and if there are many players online a scroll bar appears - the block is not stretching according to the content.
Also I would like if there was some options in the block settings;
1. Server IP/Domain
2. Minequery port
3. Display ping tickbox
4. Display online status tickbox
5. Display server IP tickbox
I attached MC List. It should include all PHP data needed, what I need to know is where to put what and how to add the CSS rules and the XenForo tooltips to get a layout that looks about like the above example. Also how to make these block options.
Every help is appriciated.
Thanks in advance!
A easy to use Minequery block.
The honest truth, I have no idea about PHP and even less about the XenPorta block system but I'm interested in learning it and contributing to the community.
I simply couldn't find a decent guide on how to create these and I don't understand the block by looking at the source, neither did a friend that knows PHP.
I came up with an temporary work around using the HtmlBlock with an iFrame and MC List for Minequery PHP.
Result can be viewed here: http://massiveminecraft.com/index.php
That's not exactly how I'd like it though.
I would want it to look about like that: http://www.mcelite.co.uk/index.php (as far the layout goes)
It uses bigger avatar faces and has these typical transparent black XenForo tooltips instead the names listed. It's also a iFrame and this is what I am trying to prevent. Tooltips at the side cut off and if there are many players online a scroll bar appears - the block is not stretching according to the content.
Also I would like if there was some options in the block settings;
1. Server IP/Domain
2. Minequery port
3. Display ping tickbox
4. Display online status tickbox
5. Display server IP tickbox
I attached MC List. It should include all PHP data needed, what I need to know is where to put what and how to add the CSS rules and the XenForo tooltips to get a layout that looks about like the above example. Also how to make these block options.
Every help is appriciated.
Thanks in advance!