Feature I'm trying to add:
instead of listing the inactive users only I'm trying to add a link to each nickname pointing to the 'edit user page'. This would allow a quite fast deletion of inactive users.
Method:
I did modify the template of Inactive Users and now I have a clean looking and compact table listing all inactive users.
Problem:
the link to the 'edit user page' does not work. I've tryed to add the link inside the template by doing so:
<a href="./admin_users.php?mode=edit&u={users.USER_ID}"><b>{users.USER_NAME}</b></a>
or
<a href="{user_row.U_USERNAME}">{users.USER_NAME}</a>
or
<a href="{users.U_USERNAME}">{users.USER_NAME}</a>
None of this a href statements is working. As soon as I click onto the nickname I'm asked to log in again. Therefore there is a problem with the user session wich is not being passed through the link.
Here is the full template file I've made (by looking at other templates around). Is somebody able to fix the problem? I think the modded version of the MOD would be very usefull for everybody.
<h1>{L_PAGE_TITLE}</h1>
<P>{L_PAGE_DESCRIPTION}</p>
<table class="forumline" cellSpacing="1" cellPadding="4" align="center" border="0">
<tr>
<th class="thHead" noWrap align="middle" height="25"><span class="genmed">{L_USER_NAME}</span></th>
<th class="thHead" noWrap align="middle"><span class="genmed">{L_USER_EMAIL}:</span></th>
<th class="thHead" noWrap align="middle"><span class="genmed">{L_USER_ID}</span></th>
<th class="thHead" noWrap align="middle"><span class="genmed">{L_USER_REG_DATE}:</span></th>
</tr>
<!-- BEGIN users -->
<tr>
<td class="row1" align="left"><span class="genmed">
<!-- <a href="./admin_users.php?mode=edit&u={users.USER_ID}"><b>{users.USER_NAME}</b></a> -->
<!-- <a href="{user_row.U_USERNAME}">{users.USER_NAME}</a> -->
<a href="{users.U_USERNAME}">{users.USER_NAME}</a>
</span></td>
<td class="row1" align="middle"><span class="genmed"><a href="mailto:{users.USER_EMAIL}">{users.USER_EMAIL}</a></span></td>
<td class="row1" align="middle"><span class="genmed">{users.USER_ID}</span></td>
<td class="row1" align="middle"><span class="genmed">{users.USER_REGDATE}</span></td>
</tr>
<!-- END users -->
</table>
It would be great if somebody could fix this... thanks a lot!
Chris