Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 3 Years, 7 Months, 2 Days, 9 Hours, 27 Minutes, 11 Seconds ago View today's post
#1
Solved: 3 Years, 7 Months, 2 Days, 9 Hours, 27 Minutes, 11 Seconds ago
What do I need to do if I want to change "view today's post" become "the last three day's post". And Can I do this modify? Please help

Thanks
Reply
#2
Solved: 3 Years, 7 Months, 2 Days, 9 Hours, 27 Minutes, 11 Seconds ago
Open ./search.php file and find;
PHP Code:
    if($mybb->input['days'] < 1)
    {
        
$days 1;
    } 
and replace it with;
PHP Code:
    if($mybb->input['days'] < 3)
    {
        
$days 3;
    } 
Save the file.

Now open ./inc/languages/english/global.lang.php file and find;
PHP Code:
$l['welcome_todaysposts'] = "View Today's Posts"
and replace it with;
PHP Code:
$l['welcome_todaysposts'] = "View 3 Days Posts"

Should result into this;
   
Reply
#3
Solved: 3 Years, 7 Months, 2 Days, 9 Hours, 27 Minutes, 11 Seconds ago
Thank you very much, it is okay now. I am very appreciated.
Reply
#4
Solved: 3 Years, 7 Months, 2 Days, 9 Hours, 27 Minutes, 11 Seconds ago
Don't forget to hit the solve button too Wink
Reply
#5
Solved: 3 Years, 7 Months, 2 Days, 9 Hours, 27 Minutes, 11 Seconds ago
(01-12-2011, 06:49 PM)Yaldaram Wrote:  Don't forget to hit the solve button too Wink

Thanks for remind :d
Reply
#6
Solved: 3 Years, 7 Months, 2 Days, 9 Hours, 27 Minutes, 11 Seconds ago
Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)