asinshesq wrote:By the way, if you use easymod, it will do all that for you.
I didn't use easymod. I made all the changes manually, mainly because mine is no longer a standard installation and I try to keep close track of the details of further mods, especially in the style files as I don't use
subSilver. Of course I had to make up an icon to replace the supplied
icon_keep_unread.gif, which is styled for
subSilver. Everything went pretty well. I noticed two peculiarities, though.
1. The modification to
viewforum.php doesn't seem quite right. Part of the bit to be replaced includes this comment -
The new stuff which gets pasted in doesn't include such a comment. Since the code seemed to still be concerned with handling marking of posts, and it added this comment back in -
I left the
Handle marking posts comment in.
2.
language/lang_english/lang_main.php caused an error at the new added lines,
Code: Select all
//MOD Keep_unread
$lang['keep_post_unread_explain'] = 'Mark post as unread';
$lang['keep_unread_done'] = 'The post has been marked as unread.';
$lang['View_unread_posts'] = 'View unread posts';
$lang['No_unread_posts'] = 'You have no unread posts';
I moved them up above the
Code: Select all
//
// That's all, Folks!
// -------------------------------------------------
and the error went away.
Everything seems to be working fine. Thanks for the help, guys.