BBPress Mike Raccine : Replies Created

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Redirect user to their listing after submission #419266
    Mike Raccine
    Participant

    Thanks for all your help.

    Am I correct to assume that the redirect only works on a NEW form submission and not on an UPDATE to an existing listing? That’s how mine functions.

    in reply to: Redirect user to their listing after submission #419208
    Mike Raccine
    Participant

    I think I misunderstood your response when you said “Sorry, but there is no way to dynamically redirect back to the user’s profile page.”

    What is this checkbox for in the Form settings?
    “Whether or not to redirect to a page after a successful submission”.

    I was able to come up with the MySQL query though as mentioned above.

    in reply to: Redirect user to their listing after submission #419201
    Mike Raccine
    Participant

    The form does refresh, and shows the data with the form. Let’s just say my client is very picky and is not happy still seeing the form.

    My thought, since there is an option to redirect after Form submission, was to send the user to a new page. On the new page I was attempting to display an individual listing using the shortcode [connections id=2].

    If I write a MySQL query to get the current WordPress user-id, cross reference that to the connections table column ‘user’. Then replace the id# in the shortcode [connections id=2]. Would that not work?

    in reply to: Date selector for month and day #417767
    Mike Raccine
    Participant

    Thank you, that fixed the issue.

    in reply to: Date selector for month and day #417640
    Mike Raccine
    Participant
    This reply has been marked as private.
    in reply to: Date selector for month and day #417602
    Mike Raccine
    Participant

    I am using a Code snippet. Could this be the issue?
    function cn_add_date_types( $options ) {

    $options['business_established'] = __( 'Business Established' , 'connections' );
    $options['member_since'] = __( 'Member Since' , 'connections' );
    unset( $options['anniversary'] );
    unset( $options['baptism'] );
    unset( $options['birthday'] );
    unset( $options['deceased'] );
    unset( $options['certification'] );
    unset( $options['employment'] );
    unset( $options['membership'] );
    unset( $options['graduate_high_school'] );
    unset( $options['graduate_college'] );
    unset( $options['ordination'] );
    

    return $options;
    }

    add_filter( ‘cn_date_options’, ‘cn_add_date_types’ );

    in reply to: Date selector for month and day #417600
    Mike Raccine
    Participant

    I didn’t change the settings. Under Connections -> Settings -> Display, they currently read: F j, Y

    in reply to: Plugin edits best practice #395648
    Mike Raccine
    Participant

    My client requires that the form sends an email with the information that has changed, when a member updates their listing.

    in reply to: 2 Separate Forms #387542
    Mike Raccine
    Participant

    Thanks for the quick response.

    I’ve progressed to the point where I’ve added a 2nd form using the 2 plugins Contact Form 7 with Contact Form to Database.

    So now my last hurdle is associating the form (it will be a link to another page) for each member for display on cMap. I’ve edited the card.php file to show the link, but was wondering what variables are available on the cMap display? Ideally the link would reference the user_login for the variable.

    So each member listing on cMap would have a link that links to:
    mysite.com/member-advertisement/?member=janedoe
    mysite.com/member-advertisement/?member=johndoe

    Is the ‘user_login’ name or user ‘ID’ available as a variable on card.php?

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