BuddyDev

Search

[Resolved] Featured Member: time limit option

  • Participant
    Level: Enlightened
    Posts: 126
    Hervé on #15803

    Hello

    Would it be possible to add an option to remove a member from the “Featured Member” after a time (eg .: 1 month)
    https://buddydev.com/plugins/bp-featured-members/
    Regards

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #15807

    Hi Herve,
    Thank you for asking.

    This is doable but I will need 2-4 weeks before I can write any code for it.

    It needs 2 steps:-

    1. Saving the time when an item is marked featured
    2. Writing a cron job to test for the expired time based on difference and remove them.

    It is not difficult but I am a bit short on time and unable to devote time.

    Thank you
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 126
    Hervé on #15885

    Hi Brajesh,
    OK I understand
    I’ll wait
    thank you for your consideration 🙂
    Regards

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #15890

    Thank you Herve.

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #16076

    Hi Herve,
    Hope you are doing well.

    I have got some good news on this.


    @ravisharma
    is working on it and we should be able to provide you the script in next 2-3 days at most.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 10
    sanjm on #16080
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #16081

    Thank you Sanjay. We should be able to make it available soon.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #16269

    Hi Herve, Sanjay,
    Thank you for the patience.

    The plugin is available now from github

    https://buddydev.com/expirable-featured-membership-for-buddypress/

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 126
    Hervé on #16280

    Hi Brajesh, Sanjay,
    Thanks
    it is not integrated with the “BP Featured Member” plugin?
    Where should I put it? in mu-plugin?
    Regards
    Hervé

  • Participant
    Level: Initiated
    Posts: 10
    sanjm on #16281

    Hi Herve,

    I think you place the file ‘class-bp-featured-member-expirable-membership.php’ in the plugin folder of bp-featured-members/core.

    If incorrect, Brajesh or Ravi will let us know.

    Hope that helps…
    Sanj

You must be logged in to reply to this topic.

This topic is: resolved