Skip to:
Content
Pages
Categories
Search
Top
Bottom

[site wide activity] problem with time


  • smdnizam
    Participant

    @smdnizam

    Hi all,

    Im using buddypress in my site, the problem i face is with the time in the “Site Wide Activity” widget. It shows “11 hours and 30 mins ago” (which is the time difference between my location and my server location) instead of “0 mins ago”.

    I have updated the time zone using php.ini file to my location timings.

    I haven’t checked up in the “members” widget yet.

    Please help me with some suggestions.

    Regards,

    Nizam

Viewing 13 replies - 1 through 13 (of 13 total)
  • Have you checked the timezone setting in the WPMU settings?

    Oh, and it is worth noting that any changes you make to the timezone won’t be retrospectively applied to the old activity. You’ll have to test if your changes are working with new activity.


    smdnizam
    Participant

    @smdnizam

    Hi Paul,

    I checked with WPMU timezone settings.

    I have set the proper time zone settings in it already.

    Also I posted this query only after making all the changes. And i found the new activity too shows the “11 hours and 30 mins ago”.

    Ah it is a known bug. Check out ticket 257 on the trac. Seems to have a patch attached, not sure if it has been applied to the trunk yet.


    Burt Adsit
    Participant

    @burtadsit

    This is a known, unfixed issue with wp and thus wpmu and thus bp. It comes from wp using server time instead of gmt time.


    smdnizam
    Participant

    @smdnizam

    Hi Burtadsit,

    I don’t get your point.

    the “Site Wide Activity” is managed by buddypress and the records are stored thru bp code. as up to my knowledge. if this is the case then how can the problem be originated from bp?

    your explanation could help me in understanding the problem more and could help me in working out for the solution.

    Regards

    Nizam

    Hi Smdnizam,

    BuddyPress is built on WordPress MU which in turn is built on WordPress. The root cause of this bug is in WordPress. Until WordPress and WordPress MU apply a fix, it won’t appear fixed in BuddyPress.


    smdnizam
    Participant

    @smdnizam

    Hi Paul,

    thanks for ur info.

    but still im buzzed with this bug :)

    will wait for wp to fix it.

    is this bug has been reported already or should i report it.

    if you know any track id please let me know so i could follow it.

    thanks for ur time.

    Regards

    Nizam

    https://core.trac.wordpress.org/ticket/8662

    probably should poke them about it, oh and you could always apply that patch to your local install in the interim.


    smdnizam
    Participant

    @smdnizam

    thnx dude,

    will work out with the patch and will get back :)


    alunsina
    Participant

    @alunsina

    were you able to work out the patch? my sitewide is still running an hour behind. im using my server time.


    smdnizam
    Participant

    @smdnizam

    No the patch itself contained error and it rolled my head more…

    Still looking out for a solution…..

    if you get to know one please let me know….


    smdnizam
    Participant

    @smdnizam

    i believe the correction given in the following link must work….

    https://codex.wordpress.org/Function_Reference/current_time

    but still I haven tried it out…

    if you do so let me know whether it was useful

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[site wide activity] problem with time’ is closed to new replies.
Skip to toolbar