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
3 posters

    How to add "View your posts" widget

    ForeverPotterLock
    ForeverPotterLock
    Forumember


    Posts : 93
    Reputation : 2
    Language : English

    In progress How to add "View your posts" widget

    Post by ForeverPotterLock May 8th 2015, 10:47 pm

    Technical Details


    Forum version : phpBB2
    Position : Founder
    Concerned browser(s) : Mozilla Firefox, Google Chrome, Internet Explorer, Opera, Safari, Other
    Screenshot of problem : https://i.imgur.com/bz5A5oa.jpg
    Who the problem concerns : All members
    When the problem appeared : Since the forum was made
    Forum link : http://www.thepetpalace.ga

    Description of problem

    Hello, I'm using a phpbb2 template and I can't seem to find out how to add the view your posts link for every member at the top of the page... how do I do this?
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19432
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    In progress Re: How to add "View your posts" widget

    Post by Ape May 9th 2015, 5:46 pm

    Hi @ForeverPotterLock
    looking at your forum it should be found here when logged in to your forum.

    How to add "View your posts" widget Captur31



    How to add "View your posts" widget Left1212How to add "View your posts" widget Center11How to add "View your posts" widget Right112
    How to add "View your posts" widget Ape_b110
    How to add "View your posts" widget Ape1010
    ForeverPotterLock
    ForeverPotterLock
    Forumember


    Posts : 93
    Reputation : 2
    Language : English

    In progress Re: How to add "View your posts" widget

    Post by ForeverPotterLock May 9th 2015, 5:52 pm

    Solved...

    I guess I'm just oblivious!
    ForeverPotterLock
    ForeverPotterLock
    Forumember


    Posts : 93
    Reputation : 2
    Language : English

    In progress Re: How to add "View your posts" widget

    Post by ForeverPotterLock May 9th 2015, 5:54 pm

    Actually, how do I center those widgets?
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19432
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    In progress Re: How to add "View your posts" widget

    Post by Ape May 9th 2015, 6:06 pm

    Not really sure as it is done in templates How to add "View your posts" widget Whistle
    EDIT: I think it can be found in ... index_body



    How to add "View your posts" widget Left1212How to add "View your posts" widget Center11How to add "View your posts" widget Right112
    How to add "View your posts" widget Ape_b110
    How to add "View your posts" widget Ape1010
    avatar
    meelad_sd
    Forumember


    Posts : 50
    Reputation : 13
    Language : English, Swedish, Assyrian, Arabic

    In progress Re: How to add "View your posts" widget

    Post by meelad_sd May 9th 2015, 6:47 pm

    ForeverPotterLock wrote:Actually, how do I center those widgets?
    try this:
    Code:
    .gensmall{
     Â   text-align: left;
    }

    put it in ur css Smile
    ForeverPotterLock
    ForeverPotterLock
    Forumember


    Posts : 93
    Reputation : 2
    Language : English

    In progress Re: How to add "View your posts" widget

    Post by ForeverPotterLock May 9th 2015, 7:33 pm

    Does not work...
    avatar
    meelad_sd
    Forumember


    Posts : 50
    Reputation : 13
    Language : English, Swedish, Assyrian, Arabic

    In progress Re: How to add "View your posts" widget

    Post by meelad_sd May 9th 2015, 8:00 pm

    Yes it does :S 
    How to add "View your posts" widget Ss10



    Try putting the code at the top of your css
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19432
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    In progress Re: How to add "View your posts" widget

    Post by Ape May 9th 2015, 8:26 pm

    the code gave will center the links but the problem then will be that the other text
    View posts since last visit
    View your posts
    View unanswered posts

    will be over the top of each other still the members wants it like we have it here on the support forum so this will need to be done in templates i think.

    The member will want it like this
    View posts since last visit View your posts View unanswered posts



    How to add "View your posts" widget Left1212How to add "View your posts" widget Center11How to add "View your posts" widget Right112
    How to add "View your posts" widget Ape_b110
    How to add "View your posts" widget Ape1010
    avatar
    meelad_sd
    Forumember


    Posts : 50
    Reputation : 13
    Language : English, Swedish, Assyrian, Arabic

    In progress Re: How to add "View your posts" widget

    Post by meelad_sd May 9th 2015, 8:55 pm

    APE wrote:the code gave will center the links but the problem then will be that the other text
    View posts since last visit
    View your posts
    View unanswered posts

    will be over the top of each other still the members wants it like we have it here on the support forum so this will need to be done in templates i think.

    The member will want it like this
    View posts since last visit    View your posts    View unanswered posts

    Oh, fair enough. Well use this then if you dont want to edit the templates:
    Code:
    .gensmall br{
        display: none;
    }

    and
    Code:
    .gensmall a{
        padding-left: 4px;
    }
    ForeverPotterLock
    ForeverPotterLock
    Forumember


    Posts : 93
    Reputation : 2
    Language : English

    In progress Re: How to add "View your posts" widget

    Post by ForeverPotterLock May 10th 2015, 2:47 am

    Don't mean to be picky, but now it's not centered... and is there a way to put a line between the links so it doesn't clutter...
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19432
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    In progress Re: How to add "View your posts" widget

    Post by Ape May 11th 2015, 2:55 am

    Okay here you go give this a try Wink

    ACP   Display Tab   
     How to add "View your posts" widget Type_li Templates    General    index_box
    Find:
    Code:
    <td class="gensmall" align="right" valign="bottom">
             <!-- BEGIN switch_user_logged_in -->
             <a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
             <a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><br />
             <!-- END switch_user_logged_in -->
             <a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
                      </td>
    Replace it with:
    Code:
    <td class="gensmall" align="center" valign="bottom">
             <!-- BEGIN switch_user_logged_in -->
     Â                 <a class="gensmall" href="{U_SEARCH_NEW}">• {L_SEARCH_NEW}  </a>
     Â                 <a class="gensmall" href="{U_SEARCH_SELF}">• {L_SEARCH_SELF}  </a>
             <!-- END switch_user_logged_in -->
             <a class="gensmall" href="{U_SEARCH_UNANSWERED}">• {L_SEARCH_UNANSWERED}  </a>
          </td>
    Then Save and publish    Add

    EDIT: it should look something like this
    How to add "View your posts" widget Captur33



    How to add "View your posts" widget Left1212How to add "View your posts" widget Center11How to add "View your posts" widget Right112
    How to add "View your posts" widget Ape_b110
    How to add "View your posts" widget Ape1010

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