1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum is for release discussion only. Discussions that do not relate specifically to the resource release should be discussed in another, more appropriate forum.
    Dismiss Notice
  3. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Add a New Thread Button to Threadview

Discussion in 'Template Modifications [Archive]' started by yilmaz, Nov 11, 2010.

  1. yilmaz

    yilmaz Active Member

    Search in the template thread_view for:
        <xen:breadcrumb source="$nodeBreadCrumbs" />
    below it.
    <xen:if is="{$canReply}">
        <xen:topctrl><a href="{xen:link 'forums/create-thread', $forum}" class="callToAction"><span>{xen:phrase post_new_thread}</span></a></xen:topctrl>

    rafass, OperaManiac, atmaca and 8 others like this.
  2. Vincent

    Vincent Well-Known Member

  3. Brogan

    Brogan XenForo Moderator Staff Member

    yilmaz likes this.
  4. Vincent

    Vincent Well-Known Member

    Hmm, okay, true :)
    Missed that, sorry.
  5. Mutt

    Mutt Well-Known Member

    shouldn't it be checking to see if you can start a new thread in the current forum instead of checking if you can reply to the thread? I only let new members reply to existing threads for awhile before stepping them up to being able to start their own.

    i tried
    <xen:if is="{$canPostThread}">
    it doesn't work. it must not get set inside threads.
  6. ToDie4

    ToDie4 Well-Known Member

    Nice, simple but so functional, thank you for sharing. :)
  7. discoian

    discoian Active Member

    One minor thing....before there is a button "promote thread", with this mod the button is replaced with "post new thread" - can I not have promote, post AND reply buttons?
  8. sylwester

    sylwester Member

    works perfect
    Thank You
  9. Mutt

    Mutt Well-Known Member

    that's why i was trying to move the promote thread link.
  10. Vincent

    Vincent Well-Known Member

    You cannot have 2, you gotta choose one.
    Or you can use "Promote Thread" for the persons who are allowed to use it and "New Thread" for regular users.

    I can help you with it, just ask.
  11. discoian

    discoian Active Member

    But I don't understand, I can see uses for both, is there no way to have both?
  12. Vincent

    Vincent Well-Known Member

    If you'd start changing the CSS etc you can, but I'm not gonna start with that :S

Share This Page