Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here
NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

You are here: Big Brother Bot ForumAdd-OnsPlugins DiscussionPlugins by xlr8or (Moderator: Freelander)Echelon - Web investigation tool for B3
Pages: 1 ... 13 14 [15] 16 17 ... 19   Go Down
  Print  
Author Topic: Echelon - Web investigation tool for B3  (Read 69606 times) Bookmark and Share
B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #210 on: December 12, 2009, 01:55:17 PM »

You may not have access to your php.ini file.

You will want to make a file called .htaccess (the period at the start is important)

As it's contents, have this:

Code:
php_value date.timezone Europe/Bucharest

Stick that file in your echelon folder, and it should work (as long as you use php5).
Logged


Full Member
***
Posts: 60
Offline Offline
« Reply #211 on: December 13, 2009, 07:09:14 AM »

You may not have access to your php.ini file.

You will want to make a file called .htaccess (the period at the start is important)

As it's contents, have this:

Code:
php_value date.timezone Europe/Bucharest

Stick that file in your echelon folder, and it should work (as long as you use php5).


my PHP version is 5.2.10. i tried to make a .htacess file with that code inside, bu when i do that i get an error and i cant see anything.

500 Internal Server Error

The request was not completed. The server met an unexpected condition.
75.125.199.210/~worlduni/echelon/links.php?game=1 (port 80)

Please forward this error screen to 75.125.199.210's WebMaster.
Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at 75.125.199.210 Port 80

btw, when im checking the chatlogger in real time, the time is correct, only when they disconnect the time goes wrong
« Last Edit: December 13, 2009, 07:14:36 AM by Maks » Logged
B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #212 on: December 13, 2009, 07:27:51 AM »

In Cpanel, or whatever panel you have, can you check the button marked 'error_log' and check for the error?
Logged

Full Member
***
Posts: 60
Offline Offline
« Reply #213 on: December 13, 2009, 07:51:41 AM »

[Sun Dec 13 09:52:09 2009] [alert] [client 89.180.146.74] /home/worlduni/public_html/echelon/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration, referer: http://75.125.199.210/~worlduni/echelon/links.php?game=1

here it was 15:52
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2008
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #214 on: December 13, 2009, 07:57:21 AM »

Hm, you probably won't have permissions to change the file.

Perhaps this wil work for you:
http://corz.org/serv/tricks/htaccess.php

Try and find date.timezone in the .htaccess file and experiment. Your webhost will have to allow these overrides tho
Logged

Full Member
***
Posts: 60
Offline Offline
« Reply #215 on: December 13, 2009, 08:01:39 AM »

i can see an .htaccess file inside the www folder. the permissions on the file is 644 and inside the file is this code

Code:
RewriteEngine on

# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName worldunited.tk
AuthUserFile /home/worlduni/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/worlduni/public_html/_vti_pvt/service.grp

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^webmail\/?$ "http\:\/\/webmail\.worldunited\.tk\/" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^webmail\/?$ "http\:\/\/webmail\.worldunited\.tk\/" [R=301,L]

Logged
B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #216 on: December 13, 2009, 08:51:14 AM »

That site is where I got my info from Cheesy

Code:
php_value date.timezone Europe/Bucharest
is the line you want.
Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3347
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #217 on: December 13, 2009, 08:56:25 AM »

what about http://www.php.net/manual/en/function.date-default-timezone-set.php ?
Logged

Full Member
***
Posts: 60
Offline Offline
« Reply #218 on: December 13, 2009, 09:08:54 AM »


where should i put that code? in .htaccess?
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3347
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #219 on: December 13, 2009, 09:44:10 AM »

I would use that php function in inc_config.php like :
Code: php
date_default_timezone_set('Europe/Paris'); // see all available timezones at http://www.php.net/manual/en/timezones.php
$path = "/echelon/";

## settings for the echelon database
$hostname_wwwvalidate = "localhost";
$database_wwwvalidate = "echelon";
$username_wwwvalidate = "echelon";
$password_wwwvalidate = "somepass";

## settings for your b3 databases
$config = array(
 "clanname" => "My Team",
 //How many servers do we have down here
 "numservers" => 3,
 "servers" => array(
   1 => array(

Logged

Full Member
***
Posts: 60
Offline Offline
« Reply #220 on: December 13, 2009, 10:21:27 AM »

OMG, it was that easy... Cheesy
i really feel stupid eheheh but at the same time, i dont cause i dont know anything about php Tongue
the timezone is Lisbon.

thanks a lot you all
Its good to see that there are still people ready to help the next one.

If i can help on anything just say so and ill do my best Cheesy

Hugs
Logged
B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #221 on: December 13, 2009, 10:36:38 AM »

whooa, I never knew you could do that Cheesy
Logged

[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2008
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #222 on: December 13, 2009, 11:06:30 AM »

will add it to the repository.
Logged

B3 Contrib/Support
*
OS: Linux
Type: Home user
Gameservers: Over see 25 URT servers / B3 servers (not all mine)
Posts: 339
Offline Offline
WWW
« Reply #223 on: January 20, 2010, 01:35:41 PM »

Ubuntu9.10 + UrbanTerror4.1 + BigBrotherBot-big-brother-bot-26741c9.zip + xlr8or-echelon-64c736b.zip (both from the download page here around 01/15/2010).

I ran in to a little bug.

when I try to register users and or make a user a admin with Echelon.

XLR-web will shows them, phpmyadmin shows the group_bits are correct, but B3 states they are still 0 or 1 if they registered.

all "B3" related tables reside in the same data base.
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2008
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #224 on: January 21, 2010, 05:46:44 AM »

If you do that in Echelon while players are online, they will have to reconnect before the changes take effect. This is different than when you do it ingame (the !putgroup command), that will take effect immediately.
Logged

Tags:
Pages: 1 ... 13 14 [15] 16 17 ... 19   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal