BuddyDev

Search

Request for bp-xprofile-custom-field-types

Tagged: , ,

  • Participant
    Level: Enlightened
    Posts: 89
    Bruno Verrier on #26760

    Hi there,
    I have a request for the mentionned plugin.
    I it possible to have a calculated date field.
    In my case it would be used to give a number of days remaining before an event.
    Or to indicate the date the user joined the group etc.

    Or may be there is a nother way to do it. So enlight me…
    Thank you.

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #26786

    Hi Bruno,
    Thank you.

    Can you please provide more details. Like what kind of calculated fields and operations you are looking for.

    I may be able to check if we can have it or not?

    Thank you
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 89
    Bruno Verrier on #26788

    okay
    I need to calculate the number of days elapsed since 1 given date (example X is entered since x days)
    or the number of days remaining before a date (example 30 days remaining before the end of the reservation limit). With the possibility to have several occurrences of this type of custom field on one page.

    Needed fields (group moderator or above only)

    Field1 = start date
    Field2 = end date
    Field3 = Text before result
    Field4 = Text after result
    Field5 = Choice of unit (hours / days)

    Example 1:
    F1 = 2019-11-28
    F2 = 2019-11-30
    F3 = “You are here since: ”
    [calc data = F2-F1]
    F4 = ” days.”

    Which give : You are here since: 2 days.

    Example 2 :

    F1 = 2019-11-28
    F2 = 2020-11-30
    F3 = “You have: ”
    [calc data = F2-F1]
    F4 = ” remaining subscription days.”

    Which give : You have 365 subscription remaining days.

    Hope its clear enough.
    Thank you
    Bruno

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #26799

    Hi Bruno,
    Thank you for the details.

    I am sorry but this is beyond the scope of this plugin for now. You will need to find a custom solution for this.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 2
    IMZ on #33022

    I really want a plugin that can calculate and output fields freely.

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #33035

    Hi Sunny,
    Thank you for your feedback on it. I am sorry, but we do not have any plan to include it in the plugin.

    The plugin is limited to the common field types.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved