Our Sponsors



PHP Nuke themes, stock photos, icons, drupal themes and more.
Custom jobs at low cost, free lancers and service buyers.



Western Studios :: View topic - Live Server Status
Need Jobs done? Use our brand new Jobs Board to get your projects done at affordable prices.
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups     ProfileProfile   Log inLog in 


Live Server Status


Goto page 1, 2, 3  Next
 
Post new topic   Reply to topicprinter friendly version    Western Studios Forum Index -> General
Western Studios

WS Newbie
WS Newbie
~PHP Nuke User~


Posts: 15
Next Group: 35 posts
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

Western Studios

Site Admin
Site Admin
~PHP Nuke User~

Platinum Subscriber

Posts: 3358
Staff
Next Group: 1642 posts
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

Western Studios

WS Newbie
WS Newbie
~PHP Nuke User~


Posts: 15
Next Group: 35 posts
ShotoKan wrote:

YES!! A center block.
I would really appreciate that.
Thanks,

Posted: Mon Oct 02, 2006 2:27 pm

Western Studios

WS Newbie
WS Newbie
~PHP Nuke User~


Posts: 15
Next Group: 35 posts
ShotoKan wrote:

admin wrote:
I assume you need this in a center block. right?

I will put together the block for you


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

Western Studios

Site Admin
Site Admin
~PHP Nuke User~

Platinum Subscriber

Posts: 3358
Staff
Next Group: 1642 posts
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

Post new topic   Reply to topic    Western Studios Forum Index -> The hangout -> General All times are GMT - 5 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts What is this site missing? 5 admin 1850 Sat Aug 30, 2008 2:31 am
strik9 View latest post
No new posts Version Information 4 Guest 772 Sat Jun 18, 2005 11:49 pm
Guest View latest post
No new posts New site design 4 admin 1493 Tue Apr 13, 2004 10:18 am
admin View latest post
This topic is locked: you cannot edit posts or make replies. Site logo 3 Greener 1833 Wed Feb 25, 2004 11:48 am
admin View latest post
 
Forums ©