BuddyDev

Search

Replies

  • Participant
    Level: Initiated
    Posts: 16
    Josh on #55377

    But how to solve that? I am probably not the only person who is using buddypress in different timezones.

    I found this very old post about a similiar problem but this is marked as fixed. https://buddypress.trac.wordpress.org/ticket/4310

    Is it a buddypress bug within the calculating function by bp_core_time_since() cause the time settings at my client WordPress page is the way WordPress suggests?

    I had a look at the function and bp_core_time_since() uses bp_core_current_time() which uses current_time(). But regarding to this post https://developer.wordpress.org/reference/functions/current_time/ its recommended not to use this function anymore since WP 5.3.

  • Participant
    Level: Initiated
    Posts: 16
    Josh on #55374

    On my wordpress settings page it says:
    Universal time is 2025-05-13 22:12:25.
    Local time is 2025-05-14 00:12:25.

    So my local time is two hours in front of the UT.
    Is this the cause? But again, when a user got registered wordpress saves the correct time (which is my local time) at the users table.

  • Participant
    Level: Initiated
    Posts: 16
    Josh on #55373

    I tested it going back with the registration day from now to 4 hours ago hour by hour.
    When the current time for today is 23:43:00 and I put in 21:17:02 at the user_registered column then it says “registered 26 minutes ago” at the widget.
    But it should be saying registered 2 hours and 26 minutes ago.

    Could something be wrong at my buddypress time settings? Daylight savings time?
    The time saved at the database’s users table when a user got registered is correct, I double checked.

  • Participant
    Level: Initiated
    Posts: 16
    Josh on #55371

    Thanks for your quick answer. No, it happens to all users who got registered the current day.
    The timestamp buddypress takes for its calculation is the timestamp at the “user_registered” column at the users table, right?
    Then timestamp is correct, it is 2025-05-13 17:17:02 which is when the user got registered, today.

    Is there any possibility I can fix this by myself?

    • This reply was modified 4 days, 7 hours ago by Josh.
  • Participant
    Level: Initiated
    Posts: 16
    Josh on #55309

    I also have a lot of JS errors with this plugin.
    Do you have resources to write a better plugin which is free of bugs and well maintained? I am willing to pay for it.
    Or do you know a well programmed plugin which offers the opportunity to rate any other user on buddypress?

    My website is about dancers and I would like to have the option that dancers can rate the skills of any other dancers in case of their experience and then show a rating list in a widget.

  • Participant
    Level: Initiated
    Posts: 16
    Josh on #55274

    &per_page=5 has the same effect as &max=5. It shows 5 items and the load more button. I deleted all plugins except buddypress and bp classic and use the latest twentysomething theme. So two args for the same result. Does that make sense?

  • Participant
    Level: Initiated
    Posts: 16
    Josh on #55273

    I tried this but its not working???

    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ).'&max=5&per_page=5' ) ) : ?>

  • Participant
    Level: Initiated
    Posts: 16
    Josh on #55230

    Meanwhile the plugin author wrote and said, its a issue of buddypress and not his plugin. Strange.
    Anyway, I checked the notification table once again. The review plugin stores its information with the component_action column and the user id as the secondary_it_item column.

    So I hope if I write some routine which deletes all entries in this table with the related user (after_user-delete hook) I am fine and don’t destroy other things.

    What’s your opinion about that? Does any plugin has to take care of deleting data in these tables when a user gets deleted or is it a wordpress thing?

  • Participant
    Level: Initiated
    Posts: 16
    Josh on #55229

    Thanks Brajesh, I will test.

  • Participant
    Level: Initiated
    Posts: 16
    Josh on #55082

    Its hardcoded in html so how can I achieve that with CSS???

    My solution was: I copied the template to my child theme and just deleted the @ sign at the code.