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

XF 1.3 Start New Discussion button on sidebar

TheBigK

Well-known member
#2
It's a custom mod that puts it on the sidebar. I'm not very satisfied with the way it works though. Could be a lot better.
 

TheBigK

Well-known member
#4
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.
 

Russ

Well-known member
#5
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.png

Then maybe use the widget framework to control what else shows there.
 
Last edited:
#6
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