Back to vBulletin 3.0 Add-Ons

"Mark Forum Read" goes back to forum home
Mod Version: 1.00, by TheEDIGuy

This modification is in the archives.
vB Version: 3.0.0 Rating: (0 vote - 0 average) Installs: 8
Released: 25 Jan 2004 Last Update: Never Downloads: 0
Not Supported  

Currently, VB3 RC3 functionality takes you up one forum level when you mark a forum as "read". For those of us with categories, this is not very easy on our users, as it takes you back to the category listing.

This small php code edit will change the functionality to take you all the way back to the Forum Home when you mark a forum as "read" instead. This has only been tested on RC3, and is currently working on my system as advertised. There is 1 file edit, and 0 template edits.

1. Open your forumdisplay.php file.

2. In the "start mark forums read" section, find:

Code:
		if ($foruminfo['parentid'] == -1)
		{
			$url = "$vboptions[forumhome].php?$session[sessionurl]";
		}
		else
		{
			$url = "forumdisplay.php?$session[sessionurl]f=$foruminfo[parentid]";
		}
3. Replace that code with:

Code:
		$url = "$vboptions[forumhome].php?$session[sessionurl]";
4. Save forumdisplay.php and upload it to your server.

You may PM me or post here with questions and comments, although I will not provide code changes for any different functionality than provided here. This is something that my users wanted, and I've provided it here for others, no more and no less.

*01/25/04 - Updated to fix a small mistake.

Download

No files for download.

Similar Mods

Show Thread Enhancements Show "Mark forum read" link below threadlist vBulletin 3.6 Template Modifications
[HowTo] [3.0.0] Place and optimize the "Mark Forums Read - View Forum Leaders" bar. vBulletin 3.0 Template Modifications

vblts.ru supports vBulletin®, 2022-2024