Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 172 total)
  • Author
    Posts
  • EddyPiVEddyPiV
    Participant

    Hi Peter,

    Why don't I see any labels with the fields? All fields are just shown, no labels at all.

    EddyPiVEddyPiV
    Participant

    Peter,

    I'll look into that. But shouldn't be the shortcode provided by MetaBox in the Field Groups list be different where Show For = User? Now it is a post type based shortcode that cannot be used for the user.

    Anyway, I'll look into this, thanks for now.

    EddyPiVEddyPiV
    Participant

    Apparently the author is not trying to update his user profile but the current page.
    I used the shortcode [mb_frontend_form id='id' ......], I was expecting that that's the shortcode to be used for frontend submission, also for Show For = user.
    If that's not the case, what should I use instead?

    I also observed that I only see the fields, but not the labels. What am I missing? (Sure, the labels, but how to get them visible too)

    EddyPiVEddyPiV
    Participant

    Peter,

    I didn't notice the edited user role, but honestly the concept of it is not clear to me. And the Include/Exclude documentation did not help me here.

    What I'm doing is I'm creating the field groups with MB and I show them with Views. My end-users never work in the WP admin area, they always work Frontend. Setting/updating field values are mostly done by a forms plugin and AutomatorWP to actually update the metafields.

    I'm the only one looking into the Group fields in the WP admin area.
    There are 2 roles, and they have different fields applicable to them.

    When setting the Advanced rule to User role, the Creator fields were shown for all user roles, but the Co-Producer fields were not shown for any role. Using now Edited User role seems to do the job, but still I don't understand the concept or the meaning of "Edited User" in this context.

    Anyway, it's working, so thanks for your support.

    EddyPiVEddyPiV
    Participant

    Peter,

    If I understand it correctly, the advanced rules in the Location actually means to which user role(s) the group of fields applies. I know it says 'where to display the group', but isn't it really to which role it applies?

    This is not about semantics. Because there are 2 groups for user role creator and 2 groups for co-producer. But the groups for the creator are visible /applied to both roles, while the co-producer roles are NOT visible / applied to the co-producer.
    That's what I recorded.

    What's happening now is that
    - I have to take out the advanced rules to get the co-producer fields visible for the co-producer role
    - for the co-producer I have to fill values for required fields in the creator group to get changes on co-producer fields saved
    - I had to take out the advanced rules to get the group visible for the co-producer, and these are now visible to the creator as well. Same story there: If I want to update a creator field, I have to fill the required co-producer fields as well.

    Can you pls have a look again at my recording?

    What am I doing wrong / what am I missing?

    EddyPiVEddyPiV
    Participant

    Well, it helps if I would define the Settings page on the main site of the network. I did it from a subsite, and obviously that won't work.
    But it looks like a list for the entire network is not possible, it's really a page, 1 occurrence, correct?
    Is there another way to maintain a list for the entire network and be able to link to it at the individual sites?

    EddyPiVEddyPiV
    Participant

    Thanks Peter, I was able to restore a backup in staging and recover the post types and their custom fields and views in the database.

    in reply to: Invalid request. Please try again. #49066
    EddyPiVEddyPiV
    Participant

    Peter, I don't want to use the wordpress hook.
    I follow your recommendation to use the JavaScript code to reload the page. What I want to know is the trigger that should fire the Javascript. If it's not this hook, then what is it?
    How can I reload the full page after successful safe?

    in reply to: Invalid request. Please try again. #49059
    EddyPiVEddyPiV
    Participant

    Typo, but result is the same...

    jQuery(document).ready(function($) {
        // This fires when MB Frontend Form finishes saving
        $(document).on('rwmb_frontend_after_save', function(e, data) {
            console.log("✅ MB form saved, reloading now...", data);
            window.location.reload();
        });
    });
    in reply to: Invalid request. Please try again. #49058
    EddyPiVEddyPiV
    Participant

    I would expect that the action rwmb_frontend_after_save_post should be used, but it's not firing.

    This is my reload-after-save-metabox.js:

    jQuery(document).ready(function($) {
        // This fires when MB Frontend Form finishes saving
        $(document).on('mb_frontend_after_save', function(e, data) {
            console.log("✅ MB form saved, reloading now...", data);
            window.location.reload();
        });
    });

    I'm a real beginner with JavaScript. Can you point me in the right direction?

    in reply to: Invalid request. Please try again. #49026
    EddyPiVEddyPiV
    Participant

    You're right.
    As the frontend submission form is loaded within a popup window and I have only the memberid (which is the page title) a used a get_posts with just 1 post.
    I've changed it: upon clicking the pencil icon I store the post-id in a user meta field which I read in the View (from where the frontend submission is called).
    Now it saves properly.

    Now just another question arises: I've set the redirect url, but it doesn't reload the entire page. Ajax=false.
    How can I reload the entire page, so that the saved changes become visible right after?

    in reply to: Invalid request. Please try again. #49003
    EddyPiVEddyPiV
    Participant

    Hi Peter, is there any news on this from the development team?

    Regards,
    Eddy

    in reply to: How to use Switch to have effect on the View? #48916
    EddyPiVEddyPiV
    Participant

    Peter, that's not what I want.

    To illustrate this image: https://drive.google.com/file/d/1z-Leoi2ysHyBy6Ek1r7KldYSSp0Qs7UN/view?usp=sharing

    I want to toggle, with immediate effect on the images shown. I don't want to submit.
    How can I do that?

    (It's just that the documentation says that it's saved in the database. So I added it as a user meta field. But I actually just need the toggle, switch on / off)

    in reply to: Invalid request. Please try again. #48815
    EddyPiVEddyPiV
    Participant

    Peter, my sites are hosted at WPMUDev, they have documentation about it here: https://wpmudev.com/docs/hosting/tools-features/#object-cache

    Do you want me to check with them for a way that your development team can discuss this further with them?
    As I don't think that me staying in the middle will be very practical.
    Let me know.

    in reply to: Invalid request. Please try again. #48813
    EddyPiVEddyPiV
    Participant

    Hi,

    I got a response from the support unit of my hosting provider.

    After further investigation, I found that the issue is with the Metabox plugin, which is not compatible with the Object Caching feature. This explains why it functions correctly on the staging site, where Object Caching is not active.
    Please note that disabling Object Cache is not recommended, as it can significantly impact server performance. I suggest reaching out to the developers of the Metabox plugin to inform them of this issue, as it seems their plugin is not designed to be compatible with the server’s Object Caching.

    Can you pls have this checked and see if this can be resolved?
    Thanks a lot, regards,
    Eddy

Viewing 15 posts - 1 through 15 (of 172 total)