Forum Replies Created
-
AuthorPosts
-
Tanja Kropf
ParticipantI added this code below per your instructions, but it still did not hide.
add_filter( 'rwmb_outside_conditions', function( $conditions ) { $conditions['listing-to-event_relationships_to'] = [ 'hidden' => ['listing_package', 'free'], ]; $conditions['listing-to-listing_relationships_to'] = [ 'hidden' => ['listing_package', 'free'], ]; $conditions['event-to-event_relationships_to'] = [ 'hidden' => ['listing_package', 'free'], ]; return $conditions; });Tanja Kropf
ParticipantThis worked perfectly! Thanks Peter.
Tanja Kropf
ParticipantI tried this but it didn't work:
add_filter( 'rwmb_outside_conditions', function( $conditions ) {
$conditions['.listing-to-listing-wrapper'] = [
'hidden' => ['listing_package', 'free'],
];
return $conditions;
} );Tanja Kropf
ParticipantOops. Didn't mean to add my issue to this thread. Anyway, ignore it. I solved it.
Tanja Kropf
ParticipantI have relationships created where I don't have the add new option selected, yet the buttons are showing up on my front end form. Also, my label to explain how to use aren't showing either.
Tanja Kropf
ParticipantNow I'm back to the invalid form submission. I do have custom code to pre-fill a radio field on my CPT. I've tried validating the mbfs key, sanitizing my data, but it doesn't work. Is there any guidance you can provide on how to work with the mbfs parameters? By the way, what are your rates for customization?
Tanja Kropf
ParticipantI've tried with/without code. Like I said, now I'm at the "You are not allowed to edit this post" and that's without any code. I tried to set permissions, but it hasn't worked. The post comes through on the backend, but the user sees this message. I've tried setting to draft, published, pending review. This occurs whether logged in or out.
Tanja Kropf
ParticipantNow I got it to quit with invalid form submission and it's moved on to "You are not allowed to edit this post". I've passed along the correct permissions.
User pays for a listing, gets redirected via URL parameters that pass along their package type (radio field on the MB form) and their email (author). They are auto registered. All this happens, but it still says not allowed to edit post after the save button is clicked.
Tanja Kropf
ParticipantYes, I'll do that. Let me ask this first. I was reading more about not being able to use taxonomies in group fields. Mine aren't grouped with subfields but they are all in one custom field. The field is called Features & Amenities. Then, in that field I have multiple (ungrouped) taxonomy fields:
Custom Field: Features & Amenities
Taxonomy Field: Food & Drink
Taxonomy Field: Entertainment
Taxonomy Field: Seating & Admission
etc...Is that an issue in conditional logic?
Tanja Kropf
ParticipantFYI--I'm having issues as well. Some of my coordinates work and some don't. The dev at Gridbuilder just informed me that Gridbuilder is not compatible with AIO version of Meta Box--not sure in what way, but trying to find out.
Tanja Kropf
ParticipantHere's the link:
It has the original setup with logic (the copy one I've disabled) and the live one where I disabled all conditional logic.
https://drive.google.com/drive/folders/1VTLbwbW4KeWVFVFilcNiIwCXs4mdEI5O?usp=sharing
Thanks Peter.
Tanja Kropf
ParticipantThanks. But I'm not understanding what the meta-box-id-1 field is a placeholder for? Is this the ID of my front end form? A field? I'm not sure what I should be using there.
Tanja Kropf
ParticipantThanks Peter. What if I'm not using shortcode? I'm using Bricks.
Tanja Kropf
ParticipantShouldn't "after content" in Context in the Meta Box show it in the form since "side" is not selected??
Tanja Kropf
ParticipantOk, helps if I turn on my code. It's working. Now, two more questions.
--I'd like to limit the 30 posts only to myself, user id 1 (since the 4000 are under my ID)
--is there a way to make the posts show up in descending order? -
AuthorPosts