• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 "Last 3 days" link

#1
I recently updated from 1.1 to 1.4 (yeah, I know!), which went a lot smoother than I had feared. Just one little problem. In 1.1 I used to have a "Last 3 days" quick link on the Forums menu, along with the usual "New Posts", etc. I can't remember if this is something that 1.1 came with out of the box or I added by customizing a template.

I really miss that link. Any pointers on how to get it back?

-- hugh
 
#3
Yeah, I have a vague memory of doing it, but I've been searching here like crazy, can't find it.

Guess I'll have to actually use my brain and build it from first principles.

Sigh. Thinkin' is hard.

-- hugh
 
#5
For anyone stumbling across this thread looking for the same thing, the modification you need in the forums section of the navigation template is:

Code:
        <li><a href="{xen:link find-new/threads, '', 'days=3'}" rel="nofollow">{xen:phrase last_x_days, 'count=3'}</a></li>
... and add a phrase for last_x_days as "last {count} days".

-- hugh