MyBB Community Forums

Full Version: Adding "View New Posts" and "View Today's Posts" in Forum Jump List
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is with reference to this thread.
http://community.mybb.com/thread-133403.html

I've checked it from my end and working fine. However if there is any problem with the tutorial, please state so that I can update and finetune the tutorial.

This will add two more options "View New Posts" and "View Today's Posts" in your Forum Jump list.

Open your forumdisplay.php and locate the following code near about line 49 - 51

case "-5":
$location = "online.php";
break;

Now add just after that:

case "-6":
$location = "search.php?action=getnew";
break;

case "-7":
$location = "search.php?action=getdaily";
break;

Save your 'forumdisplay.php'.

Now open the template:
Forum Jump Templates > forumjump_advanced

find the line:

<option value="-1">{$lang->forumjump_home}</option>

Add just after that:

<option value="-6">{$lang->welcome_newposts}</option>
<option value="-7">{$lang->welcome_todaysposts}</option>

Save the template. You are done. Now you have "View New Posts" and "View Today's Posts" in your Forum Jump Dropdown list.

[Image: 8QppvoZ.png]
I think it should be added as a default feature in 1.8 or 2.0 Rolleyes
Nah I don't see many people use the forum jump menu since it is hidden away in the footer, most people direct their attention to the welcome block