ShotoKan wrote: Hi I am trying to create a new block to show the live server status for my game server. I have installed this query that brings all the information i want to show for my servers as you can see here http://www.n00bfest.com/v3/pquery/query.php Now how could I make that work as a block for my php-nuke site? Here is the source code so you can see how that works exactly http://www.n00bfest.com/v3/pquery/SourceQuery.zip I appreciate your help Thanks, Posted: Mon Oct 02, 2006 12:07 pm
admin(Mark) wrote: I assume you need this in a center block. right? I will put together the block for you Posted: Mon Oct 02, 2006 2:19 pm
ShotoKan wrote: YES!! A center block. I would really appreciate that. Thanks, Posted: Mon Oct 02, 2006 2:27 pm
ShotoKan wrote:
Hey, I know you probably busy. I just wanted to let you know that i amost got the block to work. I just actually put it into a IFRAME. You can see the block working here http://www.n00bfest.com/v3 My problem now is that since it is a IFRAME the BG color of the html part is always WHITE so i has to force a color to make it fir to my theme but since I use moe than one theme when the users choose another theme the BG color don't match. If you go to the bottom of the page on the right side there is a block to change the theme then you can see how the BG color is not workiing. I would like to know how could i get the current active theme and apply that to the block. Thanks, Posted: Mon Oct 16, 2006 12:38 pm
admin(Mark) wrote: hi, sorry about that. Yeah I am currently busy getting the new subscription module for release. You can get the theme by using global $ThemeSel Something like this should work. Place this code inside the php file that is included inside the iframe. http://www.westernstudios.net/pastebin/index.php?show=74 That should get the styles for which ever theme the user has. Posted: Mon Oct 16, 2006 2:51 pm
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||