Forum Replies Created
-
AuthorPosts
-
@mindspark
ParticipantUPDATE: I found the 'rwmb_user_info' ID to use for basic login info.
still struggling with the default email address though...
@mindspark
ParticipantThanks for the clarification!
@mindspark
ParticipantI followed the example and it worked great - thanks!
@mindspark
ParticipantDisregard -
I figured it out. In case anyone else wants to know, to create custom user profile / registration fields, all you need to do is go to Metabox > Custom Fields. Click the Settings tab and assign the field group to Users and that's it!
@mindspark
ParticipantI created a CPT named = "Locations"
I created a Custom Field Group for "Locations"
For this inquiry, I manually added Location address info for "Main Office"
The plan is to create a form using the MB shortcodes created for the custom field group so users can enter the info themselves.
My question/issue lies in how to display the collected data from the CPT "Locations" inside of a Themer Layout which is not assigned to a specific post. The Themer layout is for the footer of the entire website.
@mindspark
ParticipantThought I would get back to you and explain how we are doing this - in case it can be helpful to others...
In this case, all Store locations follow a Core Menu, but then some of the locations have items unique to their location. In addition, there can be situations where multiple Store locations may charge a different price for the same Menu Item. This makes sense for us because we are dealing with 40+ locations across 8 US states. Below is a description of how we built a 'Food Menu Builder' for this project that handles all of our requirements.
We set up a total of 3 CPTs and then added code to relate them to each other. the CPTs are:
- Menu Items => Sections of a typical menu (one-way relationship to Menus + Stores)
- Menu Types => Core Menu or Specialty Menu (one-way relationship to Stores)
- Stores => Individual restaurant store locations
We also used these Taxonomies for the CPTs:
- Menu Items => Health/Allergens (Gluten Free, Vegetarian, etc)
- Menu Items => Menu Section (Appetizers, Soups, Salads, etc)
- Menu Items => Menu Type (Core Menu, Catering Menu, *Outlier)
*Outlier = Menu Item that is not a part of any established Menu Type but still appears as an option on some Store location menus. Example - 3 locations have a regional item on their menu but the item is not part of the company's Core Menu or Catering Menu. These items appear on some menus but not all.
- Stores => State Location (this helps when filtering locations by state and also geotargeting the closest location to user IP address)
- Creating Menu Items:
We enter a Menu Item Title, Menu Item Description, and Menu Item Price for each entry. Then we add any applicable Taxonomies (Menu Section, Gluten Free, etc). Then we assign the Menu Item to the applicable Menu Type (Core Menu, Specialty Menu, etc). If the Menu Item is an Outlier - then we classify it as such.
- Creating Menu Types:
We have *Core Menu, Catering Menu, and Specialty Menu categories set up. Each Menu Item is assigned to all applicable Menu Types upon entry. This is how specific Menu Types are built out.
*Once the Core Menu is created, it is automatically assigned to all current and future locations.
- Creating Store Locations:
The input screen for the Store CPT captures basic info about the individual location, but we also added custom code so that the Core Menu is displayed on the Store location input page.
The Menu Item Title and Menu Item Descriptions are displayed but cannot be edited here. But, the Menu Item Price - which was initially set when creating the Menu Item - can be edited from the Store location input page. This gives us the ability to start with default menu information for each Store, but then change the price on a 'per store' basis as needed.
Also displayed on each Store location input page is a list of Menu Items classified as Outliers. We can choose any items from the Outlier list and these will appear on the specific location menu, but not on menus for other locations.
We used Beaver Themer for the Store location display template. We created our own shortcode to display all of the MB fields (because by default the MB integration with Themer cannot handle grouped fields or fields within a Tab).
Hope its OK to post this. Let me know if you have any questions!
@mindspark
Participantanyone have any idea about this? I need 12h format, not 24h
thx
@mindspark
ParticipantReally hoping there is an answer - even if the answer is 'NO we can't support that at this time'.
thanks
@mindspark
Participantthanks!
@mindspark
Participanthey guys - just following up on this... any reply?
@mindspark
ParticipantHi Anh - it's been a while since opened this topic so I hope it's not too late to add to the thread...
the goal of the code snippet is to generate a screenshot from a URL entered into a form field.
Scenario - user enters data into a form that populates a custom template. the custom template displays the data collected in the form. one of the form fields is a URL field. in the custom template, instead of displaying only the URL field value (ex - https://google.com) as a text value, an actual screenshot of the URL is captured and displayed in the template.
here is the equivalent feature available for ACF Pro plugin - https://codecanyon.net/item/acf-website-screenshot/6280665
so, I'm hoping that this same feature can be worked into MB. thanks!
@mindspark
Participantthis is resolved now. turns out not to be a MB issue after all!!
@mindspark
ParticipantThanks Anh for the clarification!
@mindspark
ParticipantThanks for the clarification Anh!
December 11, 2018 at 7:03 PM in reply to: Connecting a specific USER ROLE to a specific POST TYPE #12600@mindspark
ParticipantAnh -
once I connect USERS to a POST, where will I see the Connect To and From info?
-
AuthorPosts