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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,026
  • Total Topics: 21,333
  • Online today: 916
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 282
  • Total: 283
  • @rjen

html not working in html block

Started by Tron420, December 03, 2006, 03:48:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tron420

why doesnt the html work in a bbc-html block?
all that shows up is the code

G6Cad


Tron420

this is 1 code i cant get to work in my html blocks .its for a gameserver monitor.
it should work ive seen it many times in side blocks


<TABLE align="center" cellpadding="10">
<TR><TD valign="top">

<!-- Server Monitor (The main monitor) | START ------------------------------->
<!-- NOTE:
This first segment of code is only for the server monitor itself.
If you want to include the server usage graphs, then scroll down to
the marked code.
-->

<SCRIPT LANGUAGE="JavaScript"
SRC="http://share1.serverspy.net/cgi-bin/monitor.js?mid=141252">
</SCRIPT>
<!-- SERVERSPY GAME CODE END -->

G6Cad

You have to use a scriptblock for that code as it is in java code to. Try and use a script block instead and it will show up

Dazed

Tron just so you know... their code is often buggy. I use the same for my servers. Takes a bit of tweaking sometimes too...

Tron420

i cant seem to get it to work at all.

Dazed

Well this may seem stupid but.... Your game server is running? Make sure you are using the right query ports if it asked for them. Your code seems different... What game?

Tron420

well it works but it screws up my page. is ther any way to get it to saty inside the block? auto size itself?
sry for the noob questions.

for cz

Dazed

Lookin this part of the code...

Quote// Float Banner
document.write ('<STYLE TYPE="TEXT/CSS">');
document.write ('#navBarAd {   position: absolute;   top: -400px; left: 5px; width: 125px; height: 135px; }');
document.write ('#navBarAdClose { left: 0px; font-family: Arial;   height: 10px; background-color: #ccc; font-size: 10px; padding-top: 0px; padding-right: 4px; text-align: right; cursor: pointer; }');
document.write ('</STYLE>');
google_ad_client = "pub-8587574707050442";
google_ad_width = 125;
google_ad_height = 125;
google_ad_format = "125x125_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "CCCCCC";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_url = "666666";
google_color_text = "333333";

Alter the settings to see if that will help. You have a link to where your using it?

Tron420

im sry i dont see that code anywhere.
im using it on my new forum here - http://hittemupgaming.com/smf/index.php. when i put the monitor code in a side block its way too large and messes up the whole layout.

is there any quick code add to make it smaller?

This website is proudly hosted on Crocweb Cloud Website Hosting.