Welcome Guest ! Please   Login or Register


Check out our latest Premium Themes, Majestic , Majestic - Dark and Musk Themes for MyBB 1.8 Click to Shop Now

Now open for Custom Theme requests : Click to Order Now





 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding "View New Posts" and "View Today's Posts" in Forum Jump List

effone Offline
Junior Member
**

Posts: 14
Joined: Jan 2013
Likes Received : 11

Nationality:

Mood: None

Points: 315.96Points
Post: #1
Adding "View New Posts" and "View Today's Posts" in Forum Jump List

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

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

Now add just after that:

Code:
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:

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

Add just after that:

Code:
<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]
01-28-2013 11:32 AM
Find
2
Quote




envira Offline
Doctor Web
*******

Posts: 1,245
Joined: Aug 2012
Likes Received : 303

Facebook Google Plus Twitter
Nationality: India

Mood: Lazy

Points: 63,253.44Points
Post: #2
RE: Adding "View New Posts" and "View Today's Posts" in Forum Jump List

Thats a good tut, but i think adding it in main menu links would be better and easy to access.
Anyways +1 for the tut, keep them coming Smile

[Image: lt79ucY.png]
01-29-2013 08:21 AM
Find
1
Quote




effone Offline
Junior Member
**

Posts: 14
Joined: Jan 2013
Likes Received : 11

Nationality:

Mood: None

Points: 315.96Points
Post: #3
RE: Adding "View New Posts" and "View Today's Posts" in Forum Jump List

Yes, appreciate your view. Forum Jump is a navigation list for quick jump between forums and technically those two items are more like search results, not 'Forum'.

I've made this tut as a response against a support thread at main MyBB Community and thought it might be helpful to some people who really want it that way, so, I've shared.
01-29-2013 06:34 PM
Find
0
Quote





Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Information Add Social Links to Your MyBB Forum envira 5 3,993 10-25-2016 01:08 AM
Last Post: Chub
  Forum Hover Effect on MyBB Index Page envira 8 4,563 08-17-2014 11:59 PM
Last Post: !!!a
  How To Create Free MyBB-Based Forum. Jero 15 3,462 07-20-2014 06:44 PM
Last Post: VetFalco
  Add a snow effect to your forum Dropkaz 5 1,497 06-09-2014 08:00 PM
Last Post: LivingKing
Thumbs Up Style your forum buttons with css : with multiquote working envira 12 5,583 03-04-2014 10:02 PM
Last Post: Tarek Fouad
  Adding Collapse Buttons to Any Table effone 1 1,386 03-30-2013 12:06 AM
Last Post: envira

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

About Myskins

MySkins Studio is MyBB Themes Resource Website.

At MySkins Studio, We procreate MyBB Themes both custom MyBB Themes and premium Mybb Themes.We believe in quality and assure you the best MyBB themes at a very reasonable price , that suits your taste.

Feel free to drop in a request and get a quote.