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

XF 1.2 Can I make Watched Threads default to "All?"

Discussion in 'XenForo Questions and Support' started by Okuma Steve, Nov 19, 2013.

  1. Okuma Steve

    Okuma Steve Member

    Is there a setting somewhere that would allow me to set the default view for "watched threads" to show all of them and not just unread ones?

    Also is there a way to make "What's New?" show all threads since I was last on?

    I just don't like threads being removed from the list after I read them, and I like to be able to see my own threads at the top of "What's New?" right after I create them.

  2. Jeremy

    Jeremy Well-Known Member

    For the watched threads, you can find the following in the navigation template:
                                <li><a href="{xen:link 'watched/threads'}">{xen:phrase watched_threads}</a></li>
    Replace it with:
                                <li><a href="{xen:link 'watched/threads/all'}">{xen:phrase watched_threads}</a></li>

    In the same template, find:
                            <li><a href="{xen:link 'find-new/posts'}" rel="nofollow">{xen:if $visitor.user_id, {xen:phrase new_posts}, {xen:phrase recent_posts}}</a></li>
    Replace it with:
                            <li><a href="{xen:link find-new/posts, "", "recent=1"}" rel="nofollow">{xen:if $visitor.user_id, {xen:phrase new_posts}, {xen:phrase recent_posts}}</a></li>
  3. Digital Doctor

    Digital Doctor Well-Known Member

    Good idea.
    and maybe with an option for just unread.

    Change the What's New link to : http://xenforo.com/community/find-new/posts?recent=1 ?
  4. Okuma Steve

    Okuma Steve Member

    Hey Jeremy, the first one worked great but the second one only changed the "new posts" button and not the "What's New" button, but I was able to figure out how to change it as it is in the same template.

  5. Jeremy

    Jeremy Well-Known Member

    Where do you have a "What's New" button? That doesn't come default in 1.2 and was replaced by New Posts.
  6. Okuma Steve

    Okuma Steve Member

    It's right next to my "Forums" button at the top, similar to vbulletin 4. I started with xenforo 1.1 maybe? Was it in there by default? I know I've upgraded twice since starting this particular forum.

    I'm about to start another forum and didn't realize the what's new button was gone, how I can I add it back in on my new forum?
  7. Amaury

    Amaury Well-Known Member

    New Posts is What's New?. It was just rephrased, if I recall correctly.
  8. Jeremy

    Jeremy Well-Known Member

    You've most likely added it via instructions or a resource.

Share This Page