Quote:
Originally Posted by nubian
if i go into admincp > warning logs > complete removal
i get this:
The requested URL /forums/admincp/admin_warn.php was not found on this server.
my admincp directory is not named admincp
it's named something else.
how can i fix this?
btw this is a lovely mod.
thank you so much
|
I guess I should fix it, by using the appropriate parameter, I'll try to find it tomorrow. In the mean time, you can always go into the admin_warn.php file and find the following line:
PHP Code:
$cy="<a href='{$vboptions[bburl]}/admincp/admin_warn.php?act=completeremove&id={$warn[wid]}&userid={$warn[warned_userid_v]}&uname={$warn[warned_username_v]}&wname={$warn[warn_name]}&postid={$warn[warned_post]}&orderstring={$order}'>Complete Removal</a>";
Replace the admincp in the path with whatever your admincp directory is.
As for the link, at the No users were banned etc., there shouldn't be a link there. Please find this code in admincp/admin_warn.php:
PHP Code:
print_stop_message('no_users_banned_from_x_board', "<b>$vboptions[bbtitle]</b>", "admin_warn.php?$session[sessionurl]?act=viewbannedusers");
replace it with:
PHP Code:
print_cp_message('No users were banned from these forums.', "admin_warn.php?$session[sessionurl]?act=viewbannedusers", 7);
The reason I do not want that link there, is because in AWS, you are not suppose to ban users. Banning inside AWS is the result of warnings accumulated in a users account. AWS manages the warnings and the ban comes as a by-product, associated with the warnings. If you want to ban a user outside AWS, use the other link you suggested.
Rgds