Also, still can't delete/edit comments...any ideas?
You don't need to delete the comments in the ACP, just change this lines in
shout_editor.phpfind:
if ($action == "delete") {
$url_delete = $site_sess->url(ROOT_PATH."shout_editor.php?action=deleteyes&shout_id=".$shout_id);
change to
if ($action == "delete") {
$url_sh_delete = $site_sess->url(ROOT_PATH."shout_editor.php?action=deleteyes&shout_id=".$shout_id);
And after the popup-window opens, just confirm deleting by clicking the "Delete shout?" button...
I did also a small change to the edit/delete links - you can make it look a bit better by using images instead of the text-links...
open
shout.phpfind:
$admin_shout = "<a href=\"".$site_sess->url(ROOT_PATH."shout_editor.php?action=edit&shout_id=".$shouts[$i]['id'])."\" target=\"_blank\" onClick=\"return popup(this,'edit_shout')\">".$lang['edit']."</a><a href=\"".$site_sess->url(ROOT_PATH."shout_editor.php?action=delete&shout_id=".$shouts[$i]['id'])."\" target=\"_blank\" onClick=\"return popup(this,'delete_shout')\">".$lang['delete']."</a>";
change to:
$admin_shout = "<a href=\"".$site_sess->url(ROOT_PATH."shout_editor.php?action=edit&shout_id=".$shouts[$i]['id'])."\" target=\"_blank\" onClick=\"return popup(this,'edit_shout')\"><IMG SRC=\"".$site_sess->url(TEMPLATE_DIR."/default/images/edit.gif")."\" border=\"0\"></a> <a href=\"".$site_sess->url(ROOT_PATH."shout_editor.php?action=delete&shout_id=".$shouts[$i]['id'])."\" target=\"_blank\" onClick=\"return popup(this,'delete_shout')\"><IMG SRC=\"".$site_sess->url(TEMPLATE_DIR."/default/images/delete.gif")."\" border=\"0\"></a>";
(I use to upload "standard" buttons into the default-template folder, because I do not change these in the various templates...)Then download the 2 attached images and upload these into
templates/default/images/Have fun