Admin Config Panel problem

Makes it possible for admin to specify maximum connections for the board / IP

Moderator: Moderators

Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

Admin Config Panel problem

Postby tracer on Sun 29. Feb, 2004 08:59

I have a weird problem is I see no text in the Configuration Panel, until I place text in one or both of the input fields for this mod.

Image
tracer
Poster
Poster
 
Posts: 2
Joined: Tue 24. Feb, 2004 05:30

Postby Niels on Wed 07. Apr, 2004 22:36

it seam to me, you have modded the board_config.tpl file wrongly - expecially the placement of the code in the file.
(if a how-to is EM ready, it will mostly be bullet prof, since a machine is more picky than a human. :D)
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby tracer on Fri 09. Apr, 2004 01:14

Here is the section of code that it exists in

Code: Select all
   <tr>
      <td class="row1">{L_DISABLE_BOARD}<br /><span class="gensmall">{L_DISABLE_BOARD_EXPLAIN}</span></td>
      <td class="row2"><input type="radio" name="board_disable" value="1" {S_DISABLE_BOARD_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="board_disable" value="0" {S_DISABLE_BOARD_NO} /> {L_NO}</td>
   </tr>
<!-- Start add - Max sessions MOD -->
<tr>
   <td class="row1">{L_MAX_SESSIONS}<br /><span class="gensmall">{L_MAX_SESSIONS_EXPLAIN}</span></td>
   <td class="row2"><input class="post" type="text" size="6" maxlength="5" name="max_sessions" value="{MAX_SESSIONS}" /></td>
</tr>
<tr>
   <td class="row1">{L_MAX_SESSIONS_IP}<br /><span class="gensmall">{L_MAX_SESSIONS_IP_EXPLAIN}</span></td>
   <td class="row2"><input class="post" type="text" size="6" maxlength="5" name="max_sessions_ip" value="{MAX_SESSIONS_IP}" /></td>
</tr>
<!-- End add - Max sessions MOD -->
   <tr>
      <td class="row1">{L_ACCT_ACTIVATION}</td>
      <td class="row2"><input type="radio" name="require_activation" value="{ACTIVATION_NONE}" {ACTIVATION_NONE_CHECKED} />{L_NONE}&nbsp; &nbsp;<input type="radio" name="require_activation" value="{ACTIVATION_USER}" {ACTIVATION_USER_CHECKED} />{L_USER}&nbsp; &nbsp;<input type="radio" name="require_activation" value="{ACTIVATION_ADMIN}" {ACTIVATION_ADMIN_CHECKED} />{L_ADMIN}</td>
   </tr>
tracer
Poster
Poster
 
Posts: 2
Joined: Tue 24. Feb, 2004 05:30


Return to Max sessions [2.0.6/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron