Urgent: Can't change a forum's directory. - NBS






 

 

Urgent: Can't change a forum's directory. - NBS

View Full Version : Urgent: Can't change a forum's directory.


Spirix
22-Aug-2006, 12:20 AM
Hello,

When I go into the AdminCP to change a forums directory by clicking on Forums > List > Edit and then selecting the directory that I want to move the forum into it says that the Forum Has Seccussfully been edited. But the forum has not changed directoy.

Derek
22-Aug-2006, 12:54 AM
I'll take a look at it.

Derek

Spirix
22-Aug-2006, 02:49 AM
Ok thank you.

Derek
22-Aug-2006, 07:45 PM
This happens for me as well. I will release a fix shortly.

Derek

Derek
22-Aug-2006, 09:41 PM
Ok, heres how to fix it.

Open nbs/admin.php.

Find:

while ($cats = $db->fetch_array($cats2))
{
$tpl->assign('id', $cats['id']);
$tpl->assign('cid', $forum3['cid']);
$tpl->assign('name', $cats['name']);

$cat_bits .= $tpl->fetch('edit_forum_cat_bits.tpl');
}


Replace With:

while ($cats = $db->fetch_array($cats2))
{
$tpl->assign('catid', $cats['id']);
$tpl->assign('cid', $forum3['cid']);
$tpl->assign('name', $cats['name']);

$cat_bits .= $tpl->fetch('edit_forum_cat_bits.tpl');
}


Also upload the attached template file to nbs/templates/default/admin/ and overwrite the old one.

I will include this fix in the next beta.

Derek