Lope
04-25-2003, 09:07 PM
Just a quick question...
Which template or file would I have to modify in order to get the "Mark this Forum Read" link to go back to index.php instead of the forum in which it was clicked?
I found this in forumdisplay.php:
if ($action=="markread") {
if ($bbuserinfo['cookieuser']) {
set_bbarraycookie('forumview', intval($forumid), time());
}
if ($url=="") {
$url="index.php?s=$session[sessionhash]";
}
$url = str_replace("\"", "", $url);
eval("standardredirect(\"".gettemplate("redirect_markreadforum")."\",\"\$url\");");
exit;
}
So I looked at redirect_markreadforum but that template was only the text that is shown on the redirect page. Where is the code that controls the actual location of the redirect?
Thanks ;)
*edit* I'm using 2.3.0
Which template or file would I have to modify in order to get the "Mark this Forum Read" link to go back to index.php instead of the forum in which it was clicked?
I found this in forumdisplay.php:
if ($action=="markread") {
if ($bbuserinfo['cookieuser']) {
set_bbarraycookie('forumview', intval($forumid), time());
}
if ($url=="") {
$url="index.php?s=$session[sessionhash]";
}
$url = str_replace("\"", "", $url);
eval("standardredirect(\"".gettemplate("redirect_markreadforum")."\",\"\$url\");");
exit;
}
So I looked at redirect_markreadforum but that template was only the text that is shown on the redirect page. Where is the code that controls the actual location of the redirect?
Thanks ;)
*edit* I'm using 2.3.0