Ik heb een hack geinstalleerd op mijn phpbb forum. Server response hack, enkel ik weet niet preceis hoe ik hem kan posten in een topic (zodat je kan zien of server online of offline is)
dit is het script:
Ik heb de query.php aangepast aan mijn gegevens. Maar hoe krijg ik hem nu dan op het forum te zien of de server online of offline is?
Hoop dat iemand het weet:)
dit is het script:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
| ##############################################################
## MOD Title: Server Reponse Mod
## MOD Version: 2.1.0b
## MOD Author: Jaeboy <admin@jaeboy.com > (James) http://jaeboy.net
## MOD Description: This is a very useful mod for many users who wants to test
## their servers, by telling you if the servers response or not.
## The number of servers to check can be easily defined in query.php.
##
## Installation Level: (easy)
## Installation Time: 5 min
## Files To Edit: (2)
## lang_main.php;
## query.php
##
## Included Files: (response.php; response.tpl; query.php)
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/
##############################################################
## MOD History:
##
## 2003-08-30 - Version 2.1.0b
## - Added number of servers online (as requested)
##
## 2003-08-05 - Version 2.1.0 (Thanks to Rapid Dr3am)
## - Better server offline handling
## - Added domain query
##
## 2003-08-04 - Version 2.0.1b
## - Updated Language File + Readme
##
## 2003-08-04 - Version 2.0.1
## - Improved codes!!
## - Fit phpbb mod template
## - Intergrated to phpbb coding
## - Created better template file (Thanks to Black Fluffy Lion)
##
## 2003-02-07 - Version 1.0.3
## - Released + Mod Concept
##
##############################################################
## Author Note:
## - Don't forget to change the query.php to the servers you wanna check
## - And also, if your host don't have ping on, you will get some very
## - unwelcome error messages.
##
## To add servers:
## $name[n]="My Server";
## $address[n]="something.tld";
## $port[n]=80;
##
## Replace 'n' by the numbers of server already available
##
##############################################################
#
#-----[ COPY ]------------------------------------------
#
copy response.tpl to templates/subSilver/response.tpl
copy response.php to response.php
copy query.php to query.php
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
#
//
// That's all, Folks!
// -------------------------------------------------
#
#-----[ BEFORE, ADD ]------------------------------------------
#
$lang['SerResponse'] = 'Server Response';
$lang['Active'] = 'Online';
$lang['Inactive'] = 'Offline';
$lang['Visit'] = 'Visit';
$lang['Click'] = 'Click';
$lang['Title'] = 'Server Status';
$lang['Name'] = 'Name';
$lang['Total'] = 'Servers checked:';
$lang['Port'] = 'Port';
$lang['Address'] = 'Address';
$lang['http'] = 'http';
$lang['ftp'] = 'ftp';
$lang['mail'] = 'mail';
$lang['cs'] = 'Counter-Strike';
$lang['telnet'] = 'telnet';
$lang['Response'] = 'Status';
$lang['Prefix'] = 'Type';
$lang['Counter'] = 'Online:';
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM |
Ik heb de query.php aangepast aan mijn gegevens. Maar hoe krijg ik hem nu dan op het forum te zien of de server online of offline is?
Hoop dat iemand het weet:)