Skip to:
Content
Pages
Categories
Search
Top
Bottom

Relative Date Problems with User Blogs and Sitewide Activity


  • Korhan Ekinci
    Participant

    @korhanekinci

    I have bp 1.0.3 and wpmu 2.8.1

    Ok, I have UTC-5 set and relative dates are working well with Sitewide Activity widget. But the problem arises with user blogs. When a user posts something in their blog, date is set to UTC (by default), so their posts don’t appear in the sitewide activity widget in the homepage.

    Is there a way to set the date for user blogs to UTC-5 as in main blog by default so that their posts appear in the sitewide activity widget?

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

  • Korhan Ekinci
    Participant

    @korhanekinci

    Ok, after some search, I decided to do this. I found this plugin:

    http://www.ringofblogs.com/2007/12/21/wpmu-new-blog-settings-plugin

    and uploaded in mu-plugins folder and changed the

    add_option(‘gmt_offset’, 2);

    to

    add_option(‘gmt_offset’, -5);

    It seems to work. I had to change the existing blogs to UTC-5 manually.


    Korhan Ekinci
    Participant

    @korhanekinci

    The thing now is blog posts dont appear in the sitewide activity (they all have same time zone settings now). That seems to be another issue for me!

    Anyone experiencing this also?

    UPDATE: When I comment on the blog post, both the post and comment appear in the sitewide activity.!?!

    What timezone is the actual *server* running on? There was a problem with this a few months back, not sure if it was resolved.


    Korhan Ekinci
    Participant

    @korhanekinci

    The timezone of the server is set to CDT, and actually I and 90% of my visitors are at UTC +3


    Korhan Ekinci
    Participant

    @korhanekinci

    And the problems now is that blog posts from users dont appear in the sitewide activity, until they are commented. Once they are commented, blog posts and comments appear in the sitewide activity with correct relative time (date).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Relative Date Problems with User Blogs and Sitewide Activity’ is closed to new replies.
Skip to toolbar