Urban Terror Forums: [Release]Urt Server Admin Web Interface v1.1 - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • This topic is locked

[Release]Urt Server Admin Web Interface v1.1 Rate Topic: ***** 2 Votes

web interface for administrating Urban Terror Servers

#21 User is offline   samos Icon

  • Account: samos
  • Main tag: -WT-
  • Country:
  • Joined: 03-March 10
  • Posts: 17

Posted 07 December 2010 - 12:18 PM

I have installed it in a web linux hosting... and i don't have a ssh connection.

#22 User is offline   Knightork Icon

  • Account: knightork
  • Main tag: UTP|
  • Country:
  • Joined: 02-March 10
  • Posts: 83

Posted 07 December 2010 - 01:57 PM

Free Cronjob Service: http://www.cronjob.de/

Sorry for advertising, but i use this Cronjob Service since a few Years, and it always run great for me until i get my own Root Server. (I am not part of the Project of UrtAdmin, or Cornjobs.de just a User that uses both)

And there is a Problem with the b3search.php

If you use the b3search.php inside the latest Release you'll always get a: You can't enter this Site directly...

So i changed the first lines in b3search.php

Original was:


<?php

include("../classes/functions2.php");
include("../classes/functions.php");
require '../classes/q3status.php';
require '../classes/q3rcon.php';
include("b3searchform.php");
include("b3searchresults.php");
$theme = $_COOKIE['currenttheme'];?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../templates/$theme/style.css\" media=\"screen\" />";?>
</head>
<body>
<?php
$sparm = $_REQUEST['sparm'];
echo "<div align='center'>";
echo b3searchform();
echo '<br><a href="javascript:self.close()">close window</a>';
echo "</div>";
echo b3searchresults();

?>
</body>
</html>




NEW CODE IS:


<?php
define('INCLUDE_CHECK',true);
include("../classes/functions2.php");
include("../classes/functions.php");
require '../classes/q3status.php';
require '../classes/q3rcon.php';
include("b3searchform.php");
include("b3searchresults.php");
$theme = $_COOKIE['currenttheme'];?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../templates/$theme/style.css\" media=\"screen\" />";?>
</head>
<body>
<?php
$sparm = $_REQUEST['sparm'];
echo "<div align='center'>";
echo b3searchform();
echo '<br><a href="javascript:self.close()">close window</a>';
echo "</div>";
echo b3searchresults();

?>
</body>
</html>



I you want change existing Files open b3search.php search for

<?php


ADD Line AFTER

define('INCLUDE_CHECK',true);

This post has been edited by Knightork: 07 December 2010 - 01:59 PM


#23 User is offline   samos Icon

  • Account: samos
  • Main tag: -WT-
  • Country:
  • Joined: 03-March 10
  • Posts: 17

Posted 07 December 2010 - 02:21 PM

The same thing with the file getstats.php? Because i tried this service but don't work :(

#24 User is offline   Mission85 Icon

Posted 07 December 2010 - 10:13 PM

View PostKnightork, on 07 December 2010 - 01:57 PM, said:

Free Cronjob Service: http://www.cronjob.de/

Sorry for advertising, but i use this Cronjob Service since a few Years, and it always run great for me until i get my own Root Server. (I am not part of the Project of UrtAdmin, or Cornjobs.de just a User that uses both)

And there is a Problem with the b3search.php

If you use the b3search.php inside the latest Release you'll always get a: You can't enter this Site directly...

So i changed the first lines in b3search.php

Original was:


<?php

include("../classes/functions2.php");
include("../classes/functions.php");
require '../classes/q3status.php';
require '../classes/q3rcon.php';
include("b3searchform.php");
include("b3searchresults.php");
$theme = $_COOKIE['currenttheme'];?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../templates/$theme/style.css\" media=\"screen\" />";?>
</head>
<body>
<?php
$sparm = $_REQUEST['sparm'];
echo "<div align='center'>";
echo b3searchform();
echo '<br><a href="javascript:self.close()">close window</a>';
echo "</div>";
echo b3searchresults();

?>
</body>
</html>




NEW CODE IS:


<?php
define('INCLUDE_CHECK',true);
include("../classes/functions2.php");
include("../classes/functions.php");
require '../classes/q3status.php';
require '../classes/q3rcon.php';
include("b3searchform.php");
include("b3searchresults.php");
$theme = $_COOKIE['currenttheme'];?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../templates/$theme/style.css\" media=\"screen\" />";?>
</head>
<body>
<?php
$sparm = $_REQUEST['sparm'];
echo "<div align='center'>";
echo b3searchform();
echo '<br><a href="javascript:self.close()">close window</a>';
echo "</div>";
echo b3searchresults();

?>
</body>
</html>



I you want change existing Files open b3search.php search for

<?php


ADD Line AFTER

define('INCLUDE_CHECK',true);




thanks, this will be fixed shortly. sorry for any inconvenience that may have caused.

Edit: done!

This post has been edited by Mission85: 07 December 2010 - 10:15 PM


  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942