Skip to:
Content
Pages
Categories
Search
Top
Bottom

Simple question on minutes ago?

  • Avatar of jschires
    jschires
    Participant

    @jschires

    I was hoping someone could point me to the file where I can move the so many “minutes ago” for the status updates and such to show on the bottom, below the update, post, or timeline text. I have looked all over, read the forums, and through the codex with no luck :(

Viewing 10 replies - 1 through 10 (of 10 total)
  • Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    If you’re talking about the activity stream, you’ll need to style the…

    #activity-list li span.time-since {

    …anywhere in a custom CSS file that you create and include in your theme.

    Avatar of jschires
    jschires
    Participant

    @jschires

    Thanks for the quick response john! I did look at the earlier, but was unable to get the time to show where I want it to as in this example:

    You Status update: 50 minutes ago Delete

    test status time

    I would like the “50 minutes ago” to show under the “test status time”

    Avatar of jschires
    jschires
    Participant

    @jschires

    This may sound really stupid, but Im not sure I understand…create a css file to style the #activity-list li span.time-since { ? Any chance you could explain :)

    Avatar of jschires
    jschires
    Participant

    @jschires

    any direction on this would be greatly appreciated :-)

    Avatar of danbpfr
    danbpfr
    Participant

    @chouf1

    A good tip to localize words or expression used in the output is to open the buddypress.pot file in the language folder with a text editor like Notepad++

    Then a single text search finds you the searched word and also the file name AND the line where the word is.

    Look in bp-status.php to change the HTML order of what you want

    Avatar of danbpfr
    danbpfr
    Participant

    @chouf1

    Try also here

    bp-status-templatetags.php:38

    Avatar of jschires
    jschires
    Participant

    @jschires

    I did look there and can see where it is, but for some reason I can not get the time ago to move to under the actual message.

    Avatar of jschires
    jschires
    Participant

    @jschires

    still having a hard time getting it to move, if anyone is interested in giving a few more pointers :-)

    Avatar of 21cdb
    21cdb
    Participant

    @21cdb

    Open ur screen.css and replace the existing “.activity-list li span.time-since” and “.activity-list li” with

    .activity-list li span.time-since {
    bottom:5px;
    color:#999999;
    font-size:10px;
    left:28px;
    position:absolute;
    }

    .activity-list li {
    background:transparent !important;
    margin:5px 15px;
    padding:0 50px 20px 34px !important;
    position:relative;
    }

    It should point u in the right direction.

    Avatar of jschires
    jschires
    Participant

    @jschires

    21cdb! Thank you sooo much, that is exactly what I was trying to do but I was going about it the wrong way. I truly appreciate it! Thanks to all of you that commented and helped!

Viewing 10 replies - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.