Support Forum » User Profile

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Fatal Error When Updating MetaBox AIO #43296
    Ahmed E.Ahmed E.
    Participant

    Hi Peter,

    The problem is not permanent, as I said it happens during the update process of the plugin.

    So, I believe it is related to the update not the plugin itself.

    During the update, the plugin might disables all the child plugins (addons) which causes the problem.

    Ahmed E.Ahmed E.
    Participant

    Hi Peter,

    I can easily build the callback function, the only problem is how to get the object ID inside the callback function in order to be able to populate the options?

    Ahmed E.Ahmed E.
    Participant

    Hi Peter,

    Thanks for your reply.

    I know Custom Models are not yet supported by relationships extension and I am not looking for a customization service.

    My questions are:
    What is the filter/action for setting the field options?
    How to get box fields’ values inside the callback function?

    in reply to: Can't Create A Custom Table for the Custom Model! #41829
    Ahmed E.Ahmed E.
    Participant

    Hi Peter,

    I've created the table manually since the feature is not working.

    Currently, there is another problem.

    Is there a filter that runs only when a new record is created (does not work on updates) and has access to form data?

    Basically, I'm looking for a Custom Model filter similar to rwmb_before_save_post that runs only once when a new record is inserted.

    I'm recording the user's IP in the DB, and if the filter runs on updates, the IP of the admin/editor will be updated!

    T.I.A.

    Ahmed E.Ahmed E.
    Participant

    Hi Peter,

    Thanks for your reply.

    Can you please consider adding this feature in future releases?

    Regarding saving it manually, is there a way to attach a field to rwmb_request()->set_post_data($_POST)?

    Ahmed E.Ahmed E.
    Participant

    Hi Peter,
    Thanks for your reply.

    I have tried it but it didn’t work as it accepts an array of values only, so I can’t show the city name but it’s ID only which is not what I’m looking for.

    I have tried a [value => label] array, but both the input label and value were the label and the value was not used at all!

    Is there any other way to do it rather than rwmb_{$field_id}_field_html which I had to use?

    Ahmed E.Ahmed E.
    Participant

Viewing 7 posts - 1 through 7 (of 7 total)