Squery Block not always showing my servers

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   re: Squery Block not always showing my servers
echo
CZ Wiz
 Codezwiz Site Donator
echo has been a member for over 20 year's 20 Year Member
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
I remember setting mine up for two servers using the module...but it was extremely slow loading up..it really bogged my site...when I switched to the center block method it worked perfect. Have you tried the game server module from: [ Register or login to view links on this board. ] ? it's a pretty nice one to, and you can add as many servers as you like. (if memory serves me right)



Back to top Reply with quote
#2   re: Squery Block not always showing my servers
Tendency
CZ Super Newbie
 Codezwiz Site Donator
Tendency has been a member for over 20 year's 20 Year Member
usa.gif florida.gif
Occupation: Longshoreman
Age: 54
Gender: Male
Fav. Sports Team: Dallas Cowboys
Website:
Status: Offline
Joined: Nov 25, 2003
0.01 posts per day
Posts: 97
Points: 9,373
  MSN Messenger 
I used the SQuery block and it shows how many servers you want to show. You dont need to create 1 block per server. In the SQuery/lib/config.php you edit the block section to show whatever servers you need. The code below is for 3 servers in one block.

// Static display for PHPNuke Block
// This must be set for the Block to work. Add a line for each server you want displayed in the block.
// SERVER IP, PORT, GAMETYPE
$block_servers = array (
   "205.234.191.146,1716,Americas Army",
   "195.242.238.11,16567,Battlefield 2",
      "64.34.164.46,20200,SOF II",
   );


If you want two seperate blocks, copy the block and rename it. Then activate it just like the original. What game is this for anyway?



_________________
I want to die peacefully in my sleep like my grandfather. Not screaming in terror like his passengers.
Back to top Reply with quote
#3   re: Squery Block not always showing my servers
echo
CZ Wiz
 Codezwiz Site Donator
echo has been a member for over 20 year's 20 Year Member
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
Thats exactly what I posted on page 2. icon_wink.gif



Back to top Reply with quote
#4   Re: re: Squery Block not always showing my servers
Tendency
CZ Super Newbie
 Codezwiz Site Donator
Tendency has been a member for over 20 year's 20 Year Member
usa.gif florida.gif
Occupation: Longshoreman
Age: 54
Gender: Male
Fav. Sports Team: Dallas Cowboys
Website:
Status: Offline
Joined: Nov 25, 2003
0.01 posts per day
Posts: 97
Points: 9,373
  MSN Messenger 


Originally posted by echo @ Sun Nov 27, 2005 9:25 pm:

Thats exactly what I posted on page 2. icon_wink.gif


Yeah you did...lmao Sorry about that....




_________________
I want to die peacefully in my sleep like my grandfather. Not screaming in terror like his passengers.
Back to top Reply with quote
#5   re: Squery Block not always showing my servers
Neviar
CZ Newbie
Neviar has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Oct 31, 2005
0.00 posts per day
Posts: 7
Points: 153
   
this is for halo. the center block tends to take up a lot of the main page and just isnt that pretty. ive tried the gameservers but didn't like it. you said you got 2 to work in module? how? icon_biggrin.gif



Back to top Reply with quote
#6   
Tendency
CZ Super Newbie
 Codezwiz Site Donator
Tendency has been a member for over 20 year's 20 Year Member
usa.gif florida.gif
Occupation: Longshoreman
Age: 54
Gender: Male
Fav. Sports Team: Dallas Cowboys
Website:
Status: Offline
Joined: Nov 25, 2003
0.01 posts per day
Posts: 97
Points: 9,373
  MSN Messenger 
The instructions are above. I also found a Halo module.

See it Here - [ Register or login to view links on this board. ]

Download Here - [ Register or login to view links on this board. ]




_________________
I want to die peacefully in my sleep like my grandfather. Not screaming in terror like his passengers.
Back to top Reply with quote
#7   re: Squery Block not always showing my servers
Neviar
CZ Newbie
Neviar has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Oct 31, 2005
0.00 posts per day
Posts: 7
Points: 153
   
i dont mean to sound rude, but im looking for the solution that echo mentioned. here is a link to my squery that i love very much and would never switch.
[ Register or login to view links on this board. ]

If you visit that link, i have the server queried there statically. i would like to add a second server query statically below that.

putting them in blocks on the main site takes up way too much space and i would like to keep that area reserved for news and other things. if someone could please help with getting this please reply. thanks.



Back to top Reply with quote
#8   re: Squery Block not always showing my servers
Tendency
CZ Super Newbie
 Codezwiz Site Donator
Tendency has been a member for over 20 year's 20 Year Member
usa.gif florida.gif
Occupation: Longshoreman
Age: 54
Gender: Male
Fav. Sports Team: Dallas Cowboys
Website:
Status: Offline
Joined: Nov 25, 2003
0.01 posts per day
Posts: 97
Points: 9,373
  MSN Messenger 
I was able to make it happen via iframe. check it out on my site - [ Register or login to view links on this board. ]

I will attach the module and you will need to edit the index file for your path and server information. You can also remain the folder whatever you want the module to be named.



Attached Files
Halo.zip (885 Bytes, Downloaded: 5235 Time(s))



_________________
I want to die peacefully in my sleep like my grandfather. Not screaming in terror like his passengers.
Back to top Reply with quote
#9   re: Squery Block not always showing my servers
lofty3109
CZ Newbie
lofty3109 has been a member for over 19 year's 19 Year Member
sweden.gif
Occupation: Have
Gender: Male
Website:
Status: Offline
Joined: Mar 09, 2005
0.00 posts per day
Posts: 12
Points: 1,361
   
Hi there,

I finally got new hosts and the block works ok now, mind you SQuery are now back online and version 4 has been released (I am using that.) I have 3 servers at the moment (2 COD2 & 1 BF2), and I can show all 3 in a centre block, though I can't get it to show the map pics on the COD2 servers (BF2 works ok!!)



Back to top Reply with quote
#10   re: Squery Block not always showing my servers
Neviar
CZ Newbie
Neviar has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Oct 31, 2005
0.00 posts per day
Posts: 7
Points: 153
   
tendency that's perfect! just what i was looking for. Thank YOU icon_mrgreen.gif icon_mrgreen.gif icon_mrgreen.gif



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

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
You cannot attach files in this forum
You cannot download files in this forum