why doesnt the html work in a bbc-html block?
all that shows up is the code
what code are you trying to use?
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 -->
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
Tron just so you know... their code is often buggy. I use the same for my servers. Takes a bit of tweaking sometimes too...
i cant seem to get it to work at all.
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?
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
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?
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?
That is from your link...
QuoteSRC="http://share1.serverspy.net/cgi-bin/monitor.js?mid=141252">
When you open that link it has most of the java script. It may not let you adjust everything as it is called directly from server spy. I havn't tried to modify the code. I have been using a mod to call in info for my AA server and use gamemonitor to keep track of the other info. Try it and see though.
what do i do ? sry im a noob
<!-- Server Monitor (The main monitor) | START------------------------------->
<SCRIPT LANGUAGE="JavaScript" SRC="http://share1.serverspy.net/cgi-bin/monitor.js?mid=141252"></SCRIPT>
<!-- SERVERSPY GAME CODE END -->
Thats the main code i think for the bloc but it still doesnt fit in a bloc
You may try the forums there. They may have better Ideas. What always made the blocks big for me was the advertisement, which you cannot remove, unless you move to paid subscription. I would try that section I quoted before and adjust the 125 pix to say 50. Depending what info your trying to pull you may be able to use the mod that I am using. I am not sure though. I wanted to pull server info for my front page that includes all player stats. There isn't one program that does it all, free anyway. I will research a bit and see if I can get you a better answer. Your looking for hl stats, etc?
i just wanted the live server monitor in 1 of my blocks.i click that link and its a dl. not a site
I will work on it a bit. Getting the whole thing into a block is going to be hard though...
thx man.
if u can get to work ill be forever gratefull
I will have it working. I am most familiar with AA but since I want to track my other servers I will have a use for this also.
around 150 pxls max width will fit i think since my blocks are 170 ( side blocks )
All I get is a squished version and that is the way it shows even on the front page. I can get the thumbnail to show but their sizing only allows the firefox button to show, not the entire thing...
First shown is viewing from main page.
Second shows when inside the css edit page under admin controls. TP must be resizing or something. This is very odd.
I must admit I am a bit stumped...
grrrr
get mad it
lol
does this help?
i got it from there site
any luck?
Tron I cannot make that work in TP. It pulls directly from their javascript so I can't find a simple way to have it show correctly. When I am in the css edit menu I see it properly. The only other way I can see is if you were a paying customer. Then you can get rss and xml. I use a php mod called webspec in mine right now It may be possible to alter the code/server info. It doesn't look the same but it works nice in TP with whichever theme you use. I will test it with my other servers and see...
could you post info on how i can use that on my site as well? my server is condition zero. i have stats if it reads form there.
i just want a "livew server view" and maybe misc/ stats if possible and maybe a link to launch cz and connect to the server. i have the launch code somewhere. but the launch link isnt a must at all. i would be so happy with a nice looking " live server view" showing connected players / current map / next map / server name / etc.
can u plz post info on the mod your using so i can try it??
any one have the html coding to add a live server view to an article in smf 1.1 ?
ill just link to an article from a block.
nm i am gonna just try to make my own code for a server page
Sorry, had to find the file... You will have to change the images to match your game and rename them to suit the maps...
hey
i have something u may be interested in .. look here ... http://205.234.191.38:27015/
maybe u can help me w/ this thread about making that page fit in a article ...http://www.tinyportal.net/index.php?topic=11122.msg91848#msg91848
check out the attached files..
i cant use that script ur using , i tried... i think my webhost doesnt allow queries.the only way i can do it is the way i described. that package i attached is installed on my gameserver so it just pulls from the root dir no querying a seperate site. think u can edit those files to make it all fit 500 wide 600 high article page?
ive tried but dont even know how to move the tables.. i only know some html and almost no php . so if u could help me it would be really awesome....