The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
2 posters

    Position of the online button

    Dachone
    Dachone
    Forumember


    Male Posts : 61
    Reputation : 1
    Language : Serbian
    Location : Venice Beach, CA

    Solved Position of the online button

    Post by Dachone February 6th 2012, 3:12 pm

    Is it possible in punBB to put online button in some of these two places (see picture below)? We don't like where our online button is right now, it makes our forum look very messy.
    Position of the online button Online


    Last edited by Dachone on February 6th 2012, 10:56 pm; edited 1 time in total
    avatar
    Guest
    Guest


    Solved Re: Position of the online button

    Post by Guest February 6th 2012, 3:18 pm

    Hi!

    Go to Administration Panel => Display => Templates => General => viewtopic_body => Edit => Find this variable:
    Code:
    {postrow.displayed.ONLINE_IMG}
    and delete that.

    Then...
    - If you want to put the icon near the username:
    Find this:
    Code:
    <h4 class="username">{postrow.displayed.POSTER_NAME}</h4>
    and replace with:
    Code:
    <h4 class="username">{postrow.displayed.POSTER_NAME}</h4> {postrow.displayed.ONLINE_IMG}
    Save then publish template. Add

    - If you want to put the icon near the profile icons:
    Find this:
    Code:
    <!-- END contact_field -->
    and replace with:
    Code:
    <!-- END contact_field --> {postrow.displayed.ONLINE_IMG}
    Save then publish template. Add
    Dachone
    Dachone
    Forumember


    Male Posts : 61
    Reputation : 1
    Language : Serbian
    Location : Venice Beach, CA

    Solved Re: Position of the online button

    Post by Dachone February 6th 2012, 3:38 pm

    Thanks for replying but I have some issue. I can't find Templates in Display. I have some 2 things called Templates modified and published and Templates modified and awaiting but when I enter them it opens some screen in which I can choose skin. :|
    How display tab look like
    Position of the online button Untitled-1
    How it looks like when I click Templates modified and published and Templates modified and awaiting
    Position of the online button Untitled-1
    avatar
    Guest
    Guest


    Solved Re: Position of the online button

    Post by Guest February 6th 2012, 3:56 pm

    I think you aren't the founder of the forum. You need to join on the founder's account. Wink
    Dachone
    Dachone
    Forumember


    Male Posts : 61
    Reputation : 1
    Language : Serbian
    Location : Venice Beach, CA

    Solved Re: Position of the online button

    Post by Dachone February 6th 2012, 3:58 pm

    No, I am not, my friend is. Thanks for the help, I will tell him to add this. Very Happy
    If you are 100% sure your code is working, mark this as solved.
    avatar
    Guest
    Guest


    Solved Re: Position of the online button

    Post by Guest February 6th 2012, 3:59 pm

    Dachone wrote:No, I am not, my friend is. Thanks for the help, I will tell him to add this. Very Happy
    If you are 100% sure your code is working, mark this as solved.
    Yep. This is working. But, you can tell the moderators that you are waiting for response, if you want, of course. Razz
    Also, don't forget to publish template. Add
    Dachone
    Dachone
    Forumember


    Male Posts : 61
    Reputation : 1
    Language : Serbian
    Location : Venice Beach, CA

    Solved Re: Position of the online button

    Post by Dachone February 6th 2012, 4:06 pm

    Ok, than I am waiting for the response until I try this out but I think it will work. Thanks again Very Happy
    Dachone
    Dachone
    Forumember


    Male Posts : 61
    Reputation : 1
    Language : Serbian
    Location : Venice Beach, CA

    Solved Re: Position of the online button

    Post by Dachone February 6th 2012, 10:54 pm

    solved!
    Nera.
    Nera.
    Energetic


    Female Posts : 7078
    Reputation : 2017
    Language : English
    Location : -

    Solved Re: Position of the online button

    Post by Nera. February 6th 2012, 11:05 pm

    Please don't double/triple post. Your post need to be separated by 24 hours before bumping, replying or adding more information. Please use the edit button instead!

    Topic Solved & Locked

      Current date/time is November 11th 2024, 10:34 pm