View Full Version : Mark Forum Read link
admiralapril
11-13-2001, 05:07 PM
How do I change the 'Mark this forum read' link to link to the main community page and not that individual forum?
I'd like the link to lead to the main forum page (like it does at Ezboard) instead of the specific forum that I'm marking read. Is there something in a template that I need to modify?
I'm using version 2.2.0.
Thanks.
Admin
11-13-2001, 05:19 PM
Hi again. :)
In forumdisplay.php, replace this:
if ($url=="") {
$url="index.php?s=$session[sessionhash]";
}
$url = str_replace("\"", "", $url);
eval("standardredirect(\"".gettemplate("redirect_markreadforum")."\",\"$url\");");
with just this:
$url="index.php?s=$session[sessionhash]";
eval("standardredirect(\"".gettemplate("redirect_markreadforum")."\",\"$url\");");
admiralapril
11-13-2001, 05:42 PM
Thank you, thank you both!! It works like a charm now! :D :pleased:
Admin
11-14-2001, 09:55 AM
[QUOTE]Originally posted by admiralapril
Thank you, thank you both!! It works like a charm now! :D :pleased:
admiralapril
11-14-2001, 02:13 PM
Originally posted by FireFly
Both? I'm the only one here. ;)
FWC also replied with the same information you posted but it looks like his post was deleted. I thank you both!
Originally posted by admiralapril
FWC also replied with the same information you posted but it looks like his post was deleted. I thank you both! LOL! While I was posting FireFly beat me to the punch. I deleted mine so I didn't look slow and redundant. :D
Admin
11-14-2001, 04:14 PM
[QUOTE]Originally posted by FWC
LOL! While I was posting FireFly beat me to the punch. I deleted mine so I didn't look slow and redundant. :D
admiralapril
11-14-2001, 04:20 PM
I'm glad that I don't look like I'm seeing things anymore.. LOL :pleased:
SWFans.net
04-27-2002, 03:28 PM
I wonder if there is a way to make this:$url="index.php?s=$session[sessionhash]";
Point at the parent forum(one level up) instead of the main forum index.
Chris Blount
06-14-2002, 04:32 PM
Originally posted by SWFans.net
I wonder if there is a way to make this:$url="index.php?s=$session[sessionhash]";
Point at the parent forum(one level up) instead of the main forum index.
I was wondering that myself. Whenever I'm in a subforum, I'm getting hijacked back to the main forum listing rather than the subforum.
SloppyGoat
04-15-2003, 11:13 AM
Bump....I'm still wondering the same thing. Yep, it's sort of a pain to have to go back in to the same forum again to mark it as read also. :disappointed:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.