Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 76 through 90 (of 95 total)
  • Author
    Posts
  • CodogCodog
    Participant

    Hi peter,
    thanks for the prompt response.

    That worked perfectly ๐Ÿ™‚

    Final Question (Regarding password field)
    ===========================================

    Is there any way to 'Remove' the 'confirm password' field (user_pass2) but still maintain the strength password meter functionality in the primary password field (user_pass). It does not seem to function once the 'confirm password' is removed?

    Thanks ๐Ÿ™‚

    CodogCodog
    Participant

    Hey no worries Peter, I sussed out the problem in the end. Thanks for your time!

    CodogCodog
    Participant

    Hi Peter,
    thanks for your response. I can confirm that in a LIVE env the 'upload_image' custom field does show the post thumbnail as expected.

    This is clearly a local development env issue! And not plugin or theme related. I use NPM to compile my builds + BrowserSync to proxy my local Dev URL's so I can test locally on mobile devices (EG: localhost:3000/mysite).

    I am wondering what might be causing this issue (locally) as it would be very useful for this feature to be working locally for development? Any thoughts?

    How do you guys test locally on mobile?

    Any info would be useful?

    CodogCodog
    Participant

    Thanks for getting back to me Peter. Ok, I will write my own function for that task.

    in reply to: โœ…Custom Taxonomy (Advanced) Count Issue #44081
    CodogCodog
    Participant

    Ok, thanks for clarifying Peter ๐Ÿ™‚

    in reply to: โœ…Removing last cloneable group #43938
    CodogCodog
    Participant

    I second this! It is really annoying to have an outstanding single cloned group with empty fields. Any updates on this? Clearly a wanted feature!

    in reply to: โœ…Progress Stepper Style MB Frontend Submission Form #41232
    CodogCodog
    Participant

    Hi Peter,
    thanks for getting back to me. Yup! I thought this might be the case.

    Cheers

    CodogCodog
    Participant

    Hi Peter,
    thanks for getting back to me and offering to help. Not to worry, I have now solved my issue.

    Cheers ๐Ÿ™‚

    CodogCodog
    Participant

    Hi Peter,
    tried the above. It returns nothing? No relationship is generated? Just empty admin columns?

    Any ideas on what might be missing here?

    Cheers ๐Ÿ™‚

    in reply to: Get Metabox Group subfield values from serialized array #40346
    CodogCodog
    Participant

    Hi Peter,
    ok I'll give that a go.

    Cheers ๐Ÿ™‚

    in reply to: โœ…Add 'fallback' image when there is no 'featured image' #40345
    CodogCodog
    Participant

    Hi Peter,
    thats really helpful thank you!

    Cheers ๐Ÿ™‚

    in reply to: โœ…Add Select Values from Other Custom Fields #40306
    CodogCodog
    Participant

    Hi Anh Tran,
    I am trying to solve a very similar problem (as above) using Metabox Group fields to populate select options. I noticed you had a code example for this in reply #12666 that links to https://ghostbin.com/paste/9p34h. Unfortunately, this example is no longer available there - do you have it somewhere else? Think it will help my problem.

    Cheers ๐Ÿ™‚

    CodogCodog
    Participant

    Hi peter,
    well I have had a look at those articles relating to my issue and I'm not having any success?

    Here is my current code...

    1) Register the relationship (Between 'Subscribers' and 'Projects'):

    add_action( 'mb_relationships_init', 'subscriber_project_relationship' );
    
    function subscriber_project_relationship() {
    
        MB_Relationships_API::register( [
            'id'         => 'subscriber-to-project',
            'reciprocal' => true,
            'from'       => [
                'object_type'   => 'post',
                'post_type'     => 'project_subscriber',
                'empty_message' => 'No connection here',
                'admin_column'  => true,
            ],
            'to'         => [
                'object_type'   => 'post',
                'post_type'     => 'user_project',
                'empty_message' => 'No connection here',
                'admin_column'  => true,
            ],
        ] );
    }

    2) Get the project (Where the subscription form was submitted):

    add_action( 'rwmb_frontend_after_process', function( $config, $post_id ) {
      MB_Relationships_API::add( get_queried_object_id(), $post_id, 'subscriber-to-project', $order_from = 1, $order_to = 1 );
    }, 10, 2 );

    3) The expectation:

    The "Connects To" admin column within the "Subscriber CPT form Entry" displays the "Project Title" (Where the subscriber form was submitted).

    4) What I actually get:

    a) Empty "Connects To" admin column. (Not even the 'empty_message' => 'No connection here', which I assume should display when there is no connection)?
    b) Duplicate "Subscriber CPT form Entries"?

    What am I missing / not understanding?

    Many Thanks in advance.

    CodogCodog
    Participant

    Thanks Peter!
    I shall take a look at those and let you know how I get on.

    Thanks for your time ๐Ÿ™‚

    CodogCodog
    Participant

    Hi Peter,
    thanks for getting back to me.

    To answer you questions....

    Q1) So how the title of the project is processed?

    A2)1 It is user generated by the "Projects" CPT in a custom field that uses 'post_title'. Output to the single projects page temple is via the_title().

    Q2) Do you want to add this title as a custom field to the subscription post created after submitting the form? Or create a relationship between the current project post and the subscription post created?

    A2) I am open to either method as long as it works "Dynamically"?

    First Suggested Method:
    Yes, but NOT add it "Manually" within the wp-admin. This is why (As previously explained) I thought using a hidden field within the 'Subscription form' to capture the 'Project Post Title' was an appropriate method?

    Second Suggested Method:
    Yes, this could work. However, I have already tried using the 'MB Relationships extension' and it works well for "Manually" selecting the 'project' post title in the Metabox provided inside the 'Subscription CPT' form in the wp-admin. However, I want to do this "dynamically" - I.E I would like the relationship to be done automatically, because I need to know which 'Project Post' the end user subscribed from using the 'Subscription form' embedded within it.

    Would this be possible using MB_Relationships_API? If yes, could you give me a starting point example? It would be very useful.

    Hope this is clear?

    Any help appreciated ๐Ÿ™‚

Viewing 15 posts - 76 through 90 (of 95 total)