"Mark Forum Read" goes back to forum home
This modification is in the archives.
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]"; } Code:
$url = "$vboptions[forumhome].php?$session[sessionurl]"; 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 |