Quote:
Originally Posted by qpo
Let's try to change line 192 in threadmin_admin.php from
PHP Code:
eval('print_output("' . fetch_template('tdm_summary') . '");');
to new one
PHP Code:
eval('print_output("' . fetch_template('tdm_manage') . '");');
and upload this file in the upload folder of your website again. It's look like a small bug in file - wrong template name
|
Nice one
qpo, thanks! Now I got it to work at least. It gave me the same as what BelMaseto describes above. It opens the template for editing the threadmin permissions of a single user but it's filling it with details of all threadmins, which looks a bit strange. So instead of applying your edit to the php file, I went ahead and created a new template, called
tdm_summary, with the code posted below.. This gave me a result that looks more like the screenshot posted by the product author.
Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<script type="text/javascript" src="clientscript/rpg.js"></script>
<title>$vbphrase[tdm_threadmin_management] - $vboptions[bbtitle]</title>
</head>
<body>
$header
$navbar
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<thead>
<tr>
<td class="thead" colspan="4" align="center">Threadmin Management</td>
</tr>
<tr>
<td class="alt1" colspan="4" align="center"> </td>
</tr>
</thead>
<tbody>
$tdmoptions
</tbody>
</table>
$footer
</body>
</html>