Adding "View New Posts" and "View Today's Posts" in Forum Jump List
#1
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]
Reply
#2
I think it should be added as a default feature in 1.8 or 2.0 Rolleyes
MyBB Indonesia | Facebook Page | Twitter
Bangga Menggunakan MyBB sebagai Forum Core Engine Big Grin
Reply
#3
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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)