TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,982
  • Total Topics: 21,320
  • Online today: 231
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 197
  • Total: 197

Blocks on right-hand side

Started by JustClem, April 03, 2005, 01:15:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JustClem

I have two PHP blocks on the right hand side.  One has a script that gets info about a TeamSpeak server and the other has a script that gets info about a game server.  Occasionally, these boxes will show up twice, with one set displaying a bunch of errors and the other set displaying correctly.

Normally, this is the configuration:

Left-blocks -- Forum Announcements -- Right PHPboxes

When I get errors, this is the configuration:

Left-blocks -- Forum Announcements -- Error displaying PHPboxes -- Right PHPboxes

Any thoughts?

Bjørn

How is it put into the blocks? code?

JustClem

I added two phpboxes via the TPadmin page, Edit Blocks section.

One has the following code:echo '<style type="text/css"> <!--
.cells {font-family: Verdana, arial, helvetica, serif; font-size:7px;cellpadding:0; color: #000000;}
.tinycells {font-family: Verdana, arial, helvetica, serif; font-size:6px;cellpadding:0; color: #000000;}
.headertext {font-family: Verdana, arial, helvetica, serif; font-size:8px;cellpadding:0; color: #000000}
.tinytext {font-family: Verdana, arial, helvetica, serif; font-size:6px;cellpadding:0; color: #000000;}
.statusbg {background: #EEEEEE;}
.statusheader {background: #BBBBBB;}
--> </style>';

$server_id="6994dcf4f3282b07be4fdd3b7e580c4b";
@readfile("http://www.osgrocks.com/voicestatus/remote.php?server=$server_id");
and the other has the following code:include("http://www.rfhq.com/hqq/etwq_inc.php?ip=206.123.68.77&port=27961");

Bjørn

Initally I can't see anything wrong..have you tried using them one-by-one ? To see which one creates errors?

It might be the second one...

JustClem

Bloc, I just tested and it does seem to be the second block causing the problems, so I have changed that to just be a link that can be clicked when server info is needed.

Thanks for the help.

penny

Anyone knows how to set the squery game server monitor block on Tinyportal. Like they also have on http://www.squery.com? I really don't get it  ??? :( :)

IchBin

Please do not hijack someone elses thread, and a search wouldn't hurt you either. :) In the block-codes board there is a snippet for the squery.

This website is proudly hosted on Crocweb Cloud Website Hosting.