BuddyDev

Search

Replies

  • Participant
    Level: Enlightened
    Posts: 78
    Stephanie on in reply to: Can we remove featured members automatically? #55188

    Hello Brajesh,

    Thank you for the explanation, I understand it now. I will try a cron job debugger and see how I go.

  • Participant
    Level: Enlightened
    Posts: 78
    Stephanie on in reply to: Can we remove featured members automatically? #55173

    Hello,

    I am trying to change the duration of the featured member validity period in the expirable membership code mentioned above. I noted you said “Please change days from 7 to 30 in this.”.

    I would like to check something, because when I tried changing the number of days to 1 (so that I don’t have to wait a long time to see if worked), it didn’t work.

    When I looked at the code, on line 59 the comment says Setup hourly cronjob to remove featured members and on line 64 it says wp_schedule_event( time(), 'hourly', 'bp_fma_remove_featured' );. Note that they both say “hourly”. As I understand it, cron jobs that run hourly is more accurate to the day than cron jobs that run daily since it would run 24 times in a day and check for expiration 24 times, so maybe this isn’t an error.

    But then on line 76 it says “How much time to expire.” and the time is in seconds, not days or hours, as written on line 81 where it says DAY_IN_SECONDS.

    So my question is this: my featured members are not expiring – I put 1 for 1 day on line 81 where it originally says return 7 * DAY_IN_SECONDS;.

    What am I doing wrong, should it say “DAY_IN_HOURS” instead, or am I supposed to write the duration of the number of days in seconds format (ie “86400” for 1 day) so it looks like “return 86400 * DAY_IN_SECONDS;”?

    Thank you
    Stephanie

    • This reply was modified 3 weeks, 6 days ago by Stephanie. Reason: Edit for clarity
  • Participant
    Level: Enlightened
    Posts: 78

    Hello Brajesh and Ravi,

    Sorry to re-start an old topic. I tried this and I could get the slider to show, but I couldn’t figure out how to use the other customisation variables. I am not a developer but based on the little I do know from experience that I picked up, I tried the variables from this page: https://buddydev.com/plugins/bp-featured-members/.

    For example for the slider speed, I tried
    [bp-featured-members view="slider" slide-speed="1000"]
    since it said (int) where int means integer and the default is 400 (miliseconds I presume) so I put 1000. I also tried
    slide-pauseOnHover
    and
    max
    using
    ="" format as well as the for example max() format, and placed it immediately after the default
    [bp-featured-members view="slider"] shortcode between the two square brackets but nothing worked. Not sure if I am using the wrong code format or if there is a conflict with the theme. I am using a child theme of the BuddyX theme.

    I have version 1.1.3 of the Buddypress Featured Members plugin, wordpress Version 6.7.2, and a child theme of BuddyX version 4.7.7.

    Thank you
    Stephanie

    • This reply was modified 4 weeks ago by Stephanie. Reason: Add more detail
    • This reply was modified 4 weeks ago by Stephanie. Reason: Remove repeated phrase
  • Participant
    Level: Enlightened
    Posts: 78

    Hello Brajesh,

    Thank you for the reply.
    I checked it and I can confirm it works perfectly now.

    Thank you! Setting this to resolved now.
    Stephanie

  • Participant
    Level: Enlightened
    Posts: 78

    Sorry Admin, I don’t know how I posted this in the premium support/themes category. Please move this if you can or delete and I can re-write this question in the appropriate category.

  • Participant
    Level: Enlightened
    Posts: 78

    Thank you Brajesh, it works perfectly with Buddypress Nouveau!

    I will close this topic now.

  • Participant
    Level: Enlightened
    Posts: 78

    Thank you Brajesh for such a fast same day response.

    Yes, I should have mentioned that I am using Nouveau. I will have a look at the functional differences between Legacy and Nouveau.

    Is there also a way to stop people sending messages to more than one person at a time?

    Thank you
    Stephanie

  • Participant
    Level: Enlightened
    Posts: 78

    For some reason I can’t edit my post, I get an error that says I can’t create new topics.

    I just wanted to mention, this is for Buddypress 14.3.3.

  • Participant
    Level: Enlightened
    Posts: 78

    Hi Brajesh,

    Thank you for your help on a weekend.

    I did notice that feature previously but maybe I did it wrong and did not work the first time. I tried it again and it worked.

    Thanks and have a great day
    Stephanie

    • This reply was modified 4 months, 1 week ago by Stephanie. Reason: Fixed typo
  • Participant
    Level: Enlightened
    Posts: 78
    Stephanie on in reply to: Does Mediapress support external audio and video links? #53567

    Hello Ravi,

    Thank you for your reply.

    Regarding an embeddable audio content site: Soundcloud is a popular site where users can upload and listen to audio files. This would be a great site that Mediapress can accept adding an audio file via a link.

    Thanks
    Stephanie