XF 1.3 Start New Discussion button on sidebar

Markos

Well-known member
I want to have a "Start New Discussion" button on sidebar like this forum.

I post an image to be more clear:
RvAIq29.png


How i can do that? I hope that @TheBigK can help me.
 
Last edited:
Well, it was supposed to be a lot better. Custom text on the button (easy to do), changing button title depending upon the post count of the user etc. Plus I'd have loved to see a better layout for the category and forums. I'll release it only if it achieves a state where I feel proud to release it.
 
Could always add this to the bottom of forum_view

Code:
<xen:sidebar>
<xen:if is="{$canPostThread}">
   <div class="section">
     <div class="secondaryContent">
      
       <label id="SignupButton"><a href="{xen:link 'forums/create-thread', $forum}" class="inner">{xen:phrase post_new_thread}</a></label>
      
     </div>
   </div>
</xen:if>
</xen:sidebar>

Uses the signup button for styling, result:

result.webp

Then maybe use the widget framework to control what else shows there.
 
Last edited:
Using the widget framework add-on, I've added options like that to my forums.

In the first image that's the location where I used to have the "Post New Thread" options you see in the second image.
 

Attachments

  • 1.webp
    1.webp
    82.2 KB · Views: 28
  • 2.webp
    2.webp
    73 KB · Views: 27
Back
Top Bottom