Post New Thread From Forum Home

Discussion in 'Suggestions' started by DRE, Dec 22, 2011.

  1. DRE Member

    Please consider making something like this as an add-on.

    I created this modification so that my site members can post a new thread from the forum home. All I did was re-use the RSS button code, nothing special. You will have to play around with the code to align it how you want. I just recently converted my site over from vBulletin and this is one of the template mods I missed.

    Example:

    www.the8thlegion.com/board/

    Search for nodeControls. It will be in template node_forum_level_2
    Code:
     
    <div class="nodeControls">
    <a href="{xen:link forums/create-thread, $forum}" class="postnTopic">
                <a href="{xen:link forums/index.rss, $forum}" class="tinyIcon feedIcon" title="{xen:phrase rss}">{xen:phrase rss}</a>
            </div>
    
    Add the second line underneath nodeControls.

    Extra.CSS
    Code:
    /* Add Post Topic icon to Node list */
    .postnTopic {
    background: transparent url('http://www.yoursite.com/images/topic.png');
    padding: 2px;
    opacity: 0.5;
    float: left;
    width: 50px;
    height: 16px;
    margin-right: 9px;
    }
     
        .postnTopic:hover {
        opacity: 1;
        }
    topic.jpg
    ankurs likes this.
  2. Vincent Staff Member

    I am very much interested in this :)

    I have tried this before, but failed because I didn't know how to add a second RSS-like icon.
    Now I know :D
    DRE likes this.

Share This Page