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!

Pages: [1]   Go Down
  Print  
Author Topic: Echelon & CoD2  (Read 3176 times) Bookmark and Share
Sr. Member
****
Posts: 259
Offline Offline
WWW
« on: April 05, 2007, 05:26:45 AM »

1:

I have Echelon setup to read UO (game 1) and CoD2 (game 3) and it reads the database.  But It does not display CoD2 data unless I manually change the game in the URL.  For example

http://www.deadboneplatoon.com/echelon/adminbans.php?game=1 shows only admin bans in UO.  In order to see admin bans in CoD2 I have to change it to

http://www.deadboneplatoon.com/echelon/adminbans.php?game=3

Is there supposed to be a button or link on the page that will allow me to switch between games?

2:

I have made a new banner, which displays fine on the login page, but is trimmed by height in the other pages.  I cannot see on any of the other pages where to set the width and height of the head.gif.

If you need a logon to see what I am talking about, I will set you up with one.

Click
Logged

Deadbone Platoon
B3 Driven CoD Servers

[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #1 on: April 05, 2007, 03:32:46 PM »

The links supplied will only show me the login page... Hand me a login and I will take a look.
Logged

[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #2 on: April 06, 2007, 02:32:57 AM »

The first issue is handled in b3connect.php. Since you are using multiple servers the file called b3connect.php.multidb in the Connections subfolder is a good example of how you should set up echelon for multiple servers in b3connect.php.

If that is done correctly the navigation bar will show the different servers to click on.
Logged

[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #3 on: April 06, 2007, 06:05:50 AM »

I've looked at your banner-issue (2) and this issue is hardcoded in each page. If you take a look at e.g. clients.php you see on line 29 :
Quote
<table width="100%" height="50" border="0" cellpadding="0" cellspacing="0">
It's the second line after the <body> tag. 'height' is where the table height is defined. The logo is a backgroundimage and that one is set in the css.

The login page is an exception, it has the logo hardcoded as image, not background image. (If I remember correctly it was a quick fix for getting the logo/header look okay. Some kind of path to logo in the css when called in the login directory or sumting)

So if you want to fix the height on the other pages you have to manually alter all the tables where the class head is used.

For the other issue I need to take a look at your b3connect.php. Please remove all passwords and send it to me. My guess is that it has to do with you having defined game[1] and game[3], but not game[2]
Logged

Sr. Member
****
Posts: 259
Offline Offline
WWW
« Reply #4 on: April 06, 2007, 12:58:37 PM »

I do not run game[2]. 

I do not think I have the same files as you.  In my clients.php on line 29 I have

Quote
if (isset($_GET['totalRows_rs_clients'])) {

The first table command is on line 126 and says:

Quote
      <table width="100%" class="tabelinhoud">

Adding height="150" to that line causes the search area to enlarge, not the page header.

I found that adding 150px height to the default.css header section fixed it, though.
« Last Edit: April 06, 2007, 01:41:01 PM by click » Logged

Deadbone Platoon
B3 Driven CoD Servers
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #5 on: April 07, 2007, 02:07:40 AM »

Okay, you're right. For the banner issue I was refering to the wrong file. I was looking at html output and not at the php files. The section I'm refering to is located in login/inc_loggedin.php. But adding it to css overides that setting that's true. So both ways should work fine.

I was indeed using a different version of the file for the connection info... I've noticed a wrong packaged b3connect.php.multidb in version 1.3.2. It's corrected in version 1.3.3. So pls download version 1.3.3 and use the template inthere.

Or, if you want to fix your current file quickly replace this:
Quote
// EDIT YOUR CONNECTIONINFO BELOW THIS LINE!

$xlrdatabase = "multi";
//Gamenames are used in the navigation. Make sure they correspond with the connectioninfo below!
$gamename_1  = "UO";
$gamename_2  = "COD";
$gamename_3  = "COD2";
By this:
Quote
// EDIT YOUR CONNECTIONINFO BELOW THIS LINE!

$xlrdatabase = "multi";
//How many servers do we have down here
$numservers = 3;
//Gamenames are used in the navigation. Make sure they correspond with the connectioninfo below!
$gamename[1] = "UO";
$gamename[2] = "COD";
$gamename[3] = "COD2";
Logged

Sr. Member
****
Posts: 259
Offline Offline
WWW
« Reply #6 on: April 07, 2007, 04:54:46 AM »

Got it!  Working fine now! Thanks!
Logged

Deadbone Platoon
B3 Driven CoD Servers
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal