Pagina 1 van 1

Username ban bestaat niet

Geplaatst: 28 feb 2005, 21:08
door Faktory
Ik wou net een user een ban toekennen... ik doe steeds op nickname maar met men nieuwe template staat er geen invulvak voor username te bannen... dus vraag ik me af wat er mis is...

Hieronder vind je de file waar dat denk ik in zou moeten staan. Mss iemand die me ff kan helpen ?

Geplaatst: 28 feb 2005, 21:10
door Paul
We moeten de template dan hebben admin/user_ban_body.tpl

Geplaatst: 28 feb 2005, 21:24
door Faktory
Voila :bier:


Code: Selecteer alles

)
<h1>{L_BAN_TITLE}</h1>

<p>{L_BAN_EXPLAIN}</p>

<form method="post" action="{S_BANLIST_ACTION}"><table width="80%" cellspacing="1" cellpadding="4" border="0" align="center" class="forumline">
	<tr> 
	  <th class="thHead" colspan="2">{L_BAN_USER}</th>
	</tr>
	<tr> 
	  <td class="row1">{L_USERNAME}: <br /><span class="gensmall">{L_BAN_USER_EXPLAIN}</span></td>
	  <td class="row2">{S_BAN_USERLIST_SELECT}</td>
	</tr>
	<tr> 
	  <th class="thHead" colspan="2">{L_UNBAN_USER}</th>
	</tr>
	<tr> 
	  <td class="row1">{L_USERNAME}: <br /><span class="gensmall">{L_UNBAN_USER_EXPLAIN}</span></td>
	  <td class="row2">{S_UNBAN_USERLIST_SELECT}</td>
	</tr>
	<tr> 
	  <th class="thHead" colspan="2">{L_BAN_IP}</th>
	</tr>
	<tr> 
	  <td class="row1">{L_IP_OR_HOSTNAME}: <br /><span class="gensmall">{L_BAN_IP_EXPLAIN}</span></td>
	  <td class="row2"><input type="text" name="ban_ip" size="35" /></td>
	</tr>
	<tr> 
	  <th class="thHead" colspan="2">{L_UNBAN_IP}</th>
	</tr>
	<tr> 
	  <td class="row1">{L_IP_OR_HOSTNAME}: <br /><span class="gensmall">{L_UNBAN_IP_EXPLAIN}</span></td>
	  <td class="row2">{S_UNBAN_IPLIST_SELECT}</td>
	</tr>
	<tr> 
	  <th class="thHead" colspan="2">{L_BAN_EMAIL}</th>
	</tr>
	<tr> 
	  <td class="row1">{L_EMAIL_ADDRESS}: <br /><span class="gensmall">{L_BAN_EMAIL_EXPLAIN}</span></td>
	  <td class="row2"><input type="text" name="ban_email" size="35" /></td>
	</tr>
	<tr> 
	  <th class="thHead" colspan="2">{L_UNBAN_EMAIL}</th>
	</tr>
	<tr> 
	  <td class="row1">{L_EMAIL_ADDRESS}: <br /><span class="gensmall">{L_UNBAN_EMAIL_EXPLAIN}</span></td>
	  <td class="row2">{S_UNBAN_EMAILLIST_SELECT}</td>
	</tr>
	<tr> 
	  <td class="catBottom" colspan="2" align="center"><input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" />&nbsp;&nbsp;<input type="reset" value="{L_RESET}" class="liteoption" /></td>
	</tr>
</table>{S_HIDDEN_FIELDS} </form>

<p>{L_BAN_EXPLAIN_WARN}</p>

Geplaatst: 28 feb 2005, 21:53
door Bee
Er ontbreken wat dingen, bekijk die van mij (uit FI subSilver, FI subGreen, FI subGrey en FI subIce) eens:

Code: Selecteer alles

<div class="maintitle">{L_BAN_TITLE}</div>
<br />
<div class="genmed">{L_BAN_EXPLAIN}</div>
<br />
<form method="post" name="post" action="{S_BANLIST_ACTION}">
<table width="100%" cellspacing="1" cellpadding="3" border="0" align="center" class="forumline">
<tr> 
<th colspan="2">{L_BAN_USER}</th>
</tr>
<tr> 
<td class="row1" width="38%">{L_USERNAME}:</td>
<td class="row2" width="62%"> 
<input type="text" class="post" name="username" maxlength="50" size="20" />
<input type="hidden" name="mode" value="edit" />
{S_HIDDEN_FIELDS} 
<input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="button" onclick="window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" />
</td>
</tr>
<tr> 
<th colspan="2">{L_UNBAN_USER}</th>
</tr>
<tr> 
<td class="row1">{L_USERNAME}:<br />
<span class="gensmall">{L_UNBAN_USER_EXPLAIN}</span></td>
<td class="row2">{S_UNBAN_USERLIST_SELECT}</td>
</tr>
<tr> 
<th colspan="2">{L_BAN_IP}</th>
</tr>
<tr> 
<td class="row1">{L_IP_OR_HOSTNAME}:<br />
<span class="gensmall">{L_BAN_IP_EXPLAIN}</span></td>
<td class="row2"> 
<input type="text" name="ban_ip" size="35" class="post" />
</td>
</tr>
<tr> 
<th colspan="2">{L_UNBAN_IP}</th>
</tr>
<tr> 
<td class="row1">{L_IP_OR_HOSTNAME}:<br />
<span class="gensmall">{L_UNBAN_IP_EXPLAIN}</span></td>
<td class="row2">{S_UNBAN_IPLIST_SELECT}</td>
</tr>
<tr> 
<th colspan="2">{L_BAN_EMAIL}</th>
</tr>
<tr> 
<td class="row1">{L_EMAIL_ADDRESS}:<br />
<span class="gensmall">{L_BAN_EMAIL_EXPLAIN}</span></td>
<td class="row2"> 
<input type="text" name="ban_email" size="35" class="post" />
</td>
</tr>
<tr> 
<th colspan="2">{L_UNBAN_EMAIL}</th>
</tr>
<tr> 
<td class="row1">{L_EMAIL_ADDRESS}:<br />
<span class="gensmall">{L_UNBAN_EMAIL_EXPLAIN}</span></td>
<td class="row2">{S_UNBAN_EMAILLIST_SELECT}</td>
</tr>
<tr>
	<td class="row1" colspan="2"><span class="gensmall">{L_BAN_EXPLAIN_WARN}</span></td>
</tr>
<tr> 
<td class="cat" colspan="2" align="center"> 
<input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" />
&nbsp;&nbsp; 
<input type="reset" value="{L_RESET}" class="button" />
</td>
</tr>
</table>
</form>
<br />