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
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
   
Well I have finally received an email back from my hosts and they are willing to "open" the ports needed so I can run the block!! The problem is I don't know what they need, is it the port I use to connect to BF2 and Uo (16567, 28960) or another 1? The Squery sites still down so I don't know where to turn. Any help would be appreciated!!

ANT



Back to top Reply with quote
#2   
Tendency
CZ Super Newbie
 Codezwiz Site Donator
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 
BF2 = 29900
Uo = 28960




_________________
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
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
   
Thanks once again for you're help mate, i'll let them know and see what happens.



Back to top Reply with quote
#4   re: Squery Block not always showing my servers
kaotic
CZ Newbie
kaotic has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Nov 02, 2005
0.00 posts per day
Posts: 1
Points: 42
   
I am looking to do the same, but where can I find this block. This would be for COD2 .



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 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Oct 31, 2005
0.00 posts per day
Posts: 7
Points: 153
   
sorry this a bit off-topic but how can i add multiple static server? for instance, i have 2 servers for my clan and i want them both to be shown statically on the module or the block and i cant figure out how. thanks



Back to top Reply with quote
#6   re: Squery Block not always showing my servers
Tendency
CZ Super Newbie
 Codezwiz Site Donator
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 
you could make the content in html and use the block maker under "Nuke Tools" in the main menu. You could also take another query block and edit the $content lines to your liking.




_________________
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 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Oct 31, 2005
0.00 posts per day
Posts: 7
Points: 153
   
is there no other easy way? i dunno if you get what im saying completely.heres an image of my site layout and what im talking about

ive seen 2 static servers with squery everywhere but i dont know how to do it. i know how to do 1, but i cant get the other to show. thanks for yor help.



Back to top Reply with quote
#8   re: Squery Block not always showing my servers
Neviar
CZ Newbie
Neviar has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Oct 31, 2005
0.00 posts per day
Posts: 7
Points: 153
   
any ideas? using an array didn't quite work.... the block uses arrays to show servers but i dont think that the module can use it tho.



Back to top Reply with quote
#9   re: Squery Block not always showing my servers
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
What version of SQuery you using? Here's from the readme in SQuery 3.9:
Using the static display
------------------------

If you only want people to be able to view a certain server, you can enable the static display mode.  This removes the server entry box and favorites, and directly queries the server configured.

// $static_ip = "64.34.164.46";
// $static_port = "28960";
// $static_game = "Call of Duty";

To enable this mode, remove the comment lines "//" and put in your server information.

$static_ip = "64.34.164.46";
$static_port = "20100";
$static_game = "SOF II";

Block Configuring
-----------------

Block config has changed from previous versions!

$block_servers = array (
   "64.34.164.46,28960,CoD:United Offensive",
   "205.234.149.6,13203,MOH:PA",
   "65.255.231.189,27016,Counterstrike",
   );
   Here you would as few or as many servers as you would like to display in your block. The format is similar to Favorites with the exception that server name is not included.


$websiteurl="http://www.yourwebsite.com"; 
This must be set to the address for YOUR website, the one you are installing SQuery on.  Otherwise, the Block will not work.


I ran this with two different game servers before...just use a center block.


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 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Oct 31, 2005
0.00 posts per day
Posts: 7
Points: 153
   
so there isnt a way to do it in the module? like for instance. i link to the squery module on my navigation bar with the name "live server stats". when you do the static display, it shows one server all the time without the query box. is there a way to show two statically in the module? or do i have to use center blocks?



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