vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Serverstatus (https://vborg.vbsupport.ru/showthread.php?t=41404)

chr@nox 07-21-2002 10:00 PM

Serverstatus
 
Well ok..this is my first hack i made and actually was eh..(good?) enough to post here.

I'm running an irc network together with some good friends and i made a hack to show which servers are up and what their speeds/locations are.

Also i saw something about clanservers and such.
Just add clanservers in this hack instead of irc servers :)

It shows up on forumhome with the servername as a link to go to the profile of the server.
Where you can view all information of it

Behind the servername is the status
which gives a green 'Up' when the server is up
or a red 'Down' when it's down
(you can set it up/down in the admin cp)

screenshot of how it looks on forumhome :

http://chratnox.servicez.org/pics/screenshot1.jpg

screenshot of the server "profile" :

http://chratnox.servicez.org/pics/screenshot2.jpg

screenshot of when adding a new server :

http://chratnox.servicez.org/pics/screenshot3.jpg

screenshot of editing an existing server :

http://chratnox.servicez.org/pics/screenshot4.jpg

I hope you guys like it. and since it's my first hack
please be patient on me ;)

[edit]yes..these are the stats of one of the servers on there, but hell, i trust you guys :) [/edit]

please click on install if you'd like to install it :)

EchoHype.com 07-23-2002 12:30 AM

Dude, I like this, even though it's nothing major, it's a spiffy little thing!

Nice work there

DrkFusion 07-23-2002 12:55 AM

Nice, came in use...thought I didn't think it would.

DemiNeo0101 07-23-2002 01:59 AM

I run an irc network... dude. thank you so much. For your first hack this is one of the most useful to me :)

Christy 07-23-2002 03:41 AM

Works great! Got it going here

http://www.force137.com/forum/

Velocd 07-23-2002 03:49 AM

dude, this is pro. :)

mikey8270 07-23-2002 04:14 AM

omg, this is perfect for me. thank you!

mikey8270 07-23-2002 04:33 AM

i get this error:

Database error in vBulletin Control Panel 2.2.4:

Invalid SQL: INSERT INTO serverstatus (servertitle,serverid,serverstatus,serverspeed,ser verlocation,serveroperators,se rverowner,servercomments) VALUES (fear,'','1')
mysql error: Column count doesn't match value count at row 1

Christy 07-23-2002 04:45 AM

Quote:

Originally posted by mikey8270
i get this error:

Database error in vBulletin Control Panel 2.2.4:

Invalid SQL: INSERT INTO serverstatus (servertitle,serverid,serverstatus,serverspeed,ser verlocation,serveroperators,serverowner,servercomm ents) VALUES (fear,'','1')
mysql error: Column count doesn't match value count at row 1

I got that same error, I had to change line 31 in serverstatusadmin from

Code:

$DB_site->query ("INSERT INTO serverstatus (serverid,servertitle,serverstatus,serverspeed,serverlocation,serveroperators,serverowner,servercomments) VALUES (NULL,'$servertitle','1')");
to

Code:

$DB_site->query ("INSERT INTO serverstatus (serverid,servertitle,serverstatus,serverspeed,serverlocation,serveroperators,serverowner,servercomments) VALUES ('$serverid','$servertitle','$serverstatus','$serverspeed','$serverlocation','$serveroperators','$serverowner','$servercomments')");

Christy 07-23-2002 04:47 AM

What would be the code I add to add another section to my server status page that I could fill in info like this

1. xxxx
2. xxxx
3. xxxx
4. xxxx

and so on


All times are GMT. The time now is 01:54 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01076 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete