Title: 352digital's Replies | WordPress.org

---

# 352digital

  [  ](https://wordpress.org/support/users/352digital/)

 *   [Profile](https://wordpress.org/support/users/352digital/)
 *   [Topics Started](https://wordpress.org/support/users/352digital/topics/)
 *   [Replies Created](https://wordpress.org/support/users/352digital/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/352digital/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/352digital/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/352digital/engagements/)
 *   [Favorites](https://wordpress.org/support/users/352digital/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/users/352digital/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/352digital/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mailgun for WordPress] Error Exception](https://wordpress.org/support/topic/error-exception-2/)
 *  [352digital](https://wordpress.org/support/users/352digital/)
 * (@352digital)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/error-exception-2/#post-17463194)
 * [@devdavi](https://wordpress.org/support/users/devdavi/)’s reply fixed it for
   me.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post My CF7 Form] Set category instead of asking users to choose](https://wordpress.org/support/topic/set-category-instead-of-asking-users-to-choose/)
 *  Thread Starter [352digital](https://wordpress.org/support/users/352digital/)
 * (@352digital)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/set-category-instead-of-asking-users-to-choose/#post-16921824)
 *     ```wp-block-code
       // Save the your_category in transient
       add_action('wpcf7_before_send_mail', 'save_your_category_in_transient');
       function save_your_category_in_transient($contact_form){
           $submission = WPCF7_Submission::get_instance();
           if ($submission) {
               $posted_data = $submission->get_posted_data();
   
               $your_category = sanitize_text_field($posted_data['your-category']);
   
               // Save the your_category in the transient for 1 hour
               set_transient( 'your_category', $your_category, HOUR_IN_SECONDS );
           }
       }
       // Function to update the category of a post
       add_action('save_post_leaderboard_entry', 'assign_category_to_post', 10, 3);
       function assign_category_to_post( $post_id ) {
           // Get the your_category from the transient
           $your_category = get_transient('your_category');
   
           // If your_category is not empty, get term and set it for the post
           if (!empty($your_category)) {
               // Get term by slug
               $term = get_term_by( 'slug', $your_category, 'box' );
   
               // If term exists, set it for the post
               if ($term) {
                   wp_set_object_terms( $post_id, $term->term_id, 'box' );
               }
   
               // Delete the your_category transient
               delete_transient('your_category');
           }
       }
       ```
   
 * In the end i managed it with this above and in my form
 *     ```wp-block-code
       [select your-category class:hidden-select default:1 "box1" "box2" "box3"]
       ```
   
 * Setting category as a transient with wpcf7_before_send_mail from the form and
   updating the custom taxonomy after. Couldn’t work out how to use the plugin to
   set a category instead of making the user choose it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post My CF7 Form] Set category instead of asking users to choose](https://wordpress.org/support/topic/set-category-instead-of-asking-users-to-choose/)
 *  Thread Starter [352digital](https://wordpress.org/support/users/352digital/)
 * (@352digital)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/set-category-instead-of-asking-users-to-choose/#post-16920866)
 * Thanks for your reply – you said:
 * _programmatically set your post term by hooking the action at the end of the 
   post creation/saving process._
 * That is what my php at the top of the ticket is about – when i’m doing that using
   CF7_2_POST_FORM_POSTED it doesn’t seem to find the post id so doesn’t work.
 * Using this in the CF7 form seems to be the same too and looks like box 1 is passed
   to the nest step just not as a category perhaps:
 * [select your-category class:hidden-select default:1 “box1” “box2” “box3”]
 * In the email sent to the user:
 * ![](https://i0.wp.com/snipboard.io/ZpKuNb.jpg?ssl=1)
 * When i do the mapping, initially i see the taxonomy info and click Save:
 * ![](https://i0.wp.com/snipboard.io/i3aNRk.jpg?ssl=1)
 * I connect it to your-category here and Save the form:
 * ![](https://i0.wp.com/snipboard.io/Oyifd7.jpg?ssl=1)
 * Then i see this and Boxes has disappeared like it’s not connected anymore –
 * ![](https://i0.wp.com/snipboard.io/h2r6dS.jpg?ssl=1)
 *  Boxes is not in the dropdown list like you see in the first screenshot i sent
   BUT box is filled in the slug field…:
 * ![](https://i0.wp.com/snipboard.io/7Bp9T1.jpg?ssl=1)
 * Is perhaps this not functioning like it should the cause of the issue and the
   code at the top should be working to save the category after the form is sent?
 * Thanks again for your help! This is the last piece of a puzzle and i’ve been 
   scratching my head for days about it!
    -  This reply was modified 2 years, 10 months ago by [352digital](https://wordpress.org/support/users/352digital/).
      Reason: added screenshots
    -  This reply was modified 2 years, 10 months ago by [352digital](https://wordpress.org/support/users/352digital/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post My CF7 Form] Set category instead of asking users to choose](https://wordpress.org/support/topic/set-category-instead-of-asking-users-to-choose/)
 *  Thread Starter [352digital](https://wordpress.org/support/users/352digital/)
 * (@352digital)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/set-category-instead-of-asking-users-to-choose/#post-16917615)
 * Hi – maybe i didn’t explain well. What i mean is, i’m trying to pass the category
   to post my cf7 form using this in the cf7 form:
 * [select your-category class:hidden-select value=”box1″]
 * This correctly passes box1 as the category but Post my cf7 Form is not registering
   it when it creates the post. The posts are saved with no category.
 * If i put box1, box2, box3 as options in the select it works perfect but i do 
   not want users to choose the category and it should be set per form.
 * Looking at this in the settings now, i do not see the name of the taxonomy “boxes”“
   box”, [https://snipboard.io/c2hKfG.jpg](https://snipboard.io/c2hKfG.jpg) but 
   think it should be there?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gift Cards (Gift Vouchers and Packages) (WooCommerce Supported)] Allow WooCommerce shop manager access to plugin in admin](https://wordpress.org/support/topic/allow-woocommerce-shop-manager-access-to-plugin-in-admin/)
 *  Thread Starter [352digital](https://wordpress.org/support/users/352digital/)
 * (@352digital)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/allow-woocommerce-shop-manager-access-to-plugin-in-admin/#post-16278399)
 * Testing this with WP Gift Cards pro I created an editor user and logged in but
   still cannot see the gift card orders.
 * It’s not right only admins can manage the plug-in and see orders.
 * At least for a woo commerce shop the shop manager needs to be able to see vouchers
   that have been bought.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gift Cards (Gift Vouchers and Packages) (WooCommerce Supported)] Allow WooCommerce shop manager access to plugin in admin](https://wordpress.org/support/topic/allow-woocommerce-shop-manager-access-to-plugin-in-admin/)
 *  Thread Starter [352digital](https://wordpress.org/support/users/352digital/)
 * (@352digital)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/allow-woocommerce-shop-manager-access-to-plugin-in-admin/#post-16267672)
 * Hi. I’m having this problem again and checking if there’s a solution yet.
 * With AAM I cannot give the management permission for gifts to the shop manager
   user type. Which access plug-in are you talking about that allows this?
 * Since it says “Woocommerce” supported and the shop manager has greater permissions
   than the editor user, why not allow the shop manager access? They need to see
   vouchers and codes.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Eventin – Event Calendar, Event Registration, Tickets & Booking (AI Powered)] There has been a critical error on this website – again](https://wordpress.org/support/topic/there-has-been-a-critical-error-on-this-website-again/)
 *  Thread Starter [352digital](https://wordpress.org/support/users/352digital/)
 * (@352digital)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/there-has-been-a-critical-error-on-this-website-again/#post-15246812)
 * This wasn’t resolved. I have disabled registration for events instead so there
   is no ticket generated.
 * The tickets are not even as nice as the woo commerce email confirmation (no logo,
   QR etc) so woo commerce email is better for now BUT in the event that someone
   needs to distribute PDF tickets for an event, they should be able to do that 
   and the tickets should have the company logo and some kind of scannable code.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Eventin – Event Calendar, Event Registration, Tickets & Booking (AI Powered)] Event Page not found](https://wordpress.org/support/topic/event-page-not-found-4/)
 *  [352digital](https://wordpress.org/support/users/352digital/)
 * (@352digital)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/event-page-not-found-4/#post-15246809)
 * I got this problem with events page 404 after wp 5.8.3 update.
 * Fortunately i have switched off auto updates of all kind on the site after the
   last problem so this didn’t occur for long.
 * Would prefer to have updates for security in WP core switched on and not have
   problems with this plugin after updates…
 * Saved permalinks again a couple of times and the page displays again.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Eventin – Event Calendar, Event Registration, Tickets & Booking (AI Powered)] Eventin pro archive page is called “Eventin Events Archive”](https://wordpress.org/support/topic/eventin-pro-archive-page-is-called-eventin-events-archive/)
 *  Thread Starter [352digital](https://wordpress.org/support/users/352digital/)
 * (@352digital)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/eventin-pro-archive-page-is-called-eventin-events-archive/#post-15246806)
 * Yes this is fixed thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TemplatesNext ToolKit] header-logo & menu disappear](https://wordpress.org/support/topic/header-logo-menu-disappear-2/)
 *  Thread Starter [352digital](https://wordpress.org/support/users/352digital/)
 * (@352digital)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/header-logo-menu-disappear-2/#post-15148984)
 * Hi – any news here?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Eventin – Event Calendar, Event Registration, Tickets & Booking (AI Powered)] Eventin pro archive page is called “Eventin Events Archive”](https://wordpress.org/support/topic/eventin-pro-archive-page-is-called-eventin-events-archive/)
 *  Thread Starter [352digital](https://wordpress.org/support/users/352digital/)
 * (@352digital)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/eventin-pro-archive-page-is-called-eventin-events-archive/#post-15148057)
 * Hi – the issue is as you mention and “the title which is shown on browser tab
   heading”
 * It’s the Meta title of events archive page.
 * There is no need to install and configure a translation plugin to change that.
   It’s done by the plugin and you just need to remove the eventin part.
 * This is also indexed so when that page displays in a search result it says Eventin
   too see [https://snipboard.io/HTvgxh.jpg](https://snipboard.io/HTvgxh.jpg).
 * It’s confusing to users because they are not familiar with ‘Eventin” and don’t
   need to be.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Eventin – Event Calendar, Event Registration, Tickets & Booking (AI Powered)] Eventin pro archive page is called “Eventin Events Archive”](https://wordpress.org/support/topic/eventin-pro-archive-page-is-called-eventin-events-archive/)
 *  Thread Starter [352digital](https://wordpress.org/support/users/352digital/)
 * (@352digital)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/eventin-pro-archive-page-is-called-eventin-events-archive/#post-15126104)
 * Sorry if i am not being clear – here is a screenshot – [https://snipboard.io/JBGj9q.jpg](https://snipboard.io/JBGj9q.jpg)
 * “Meta title of events archive page is called Eventin Events Archive”
 * For me this should be “SITENAME Events Archive” or just “All Events”
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Eventin – Event Calendar, Event Registration, Tickets & Booking (AI Powered)] To sell or NOT to sell](https://wordpress.org/support/topic/to-sell-or-not-to-sell/)
 *  [352digital](https://wordpress.org/support/users/352digital/)
 * (@352digital)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/to-sell-or-not-to-sell/#post-15125520)
 * Thanks for the info.
 * In the meantime, to make the checkout more straightforward for free items i have
   put this in a plugin to remove the payment methods on checkout and show a button
   saying “Place Order” instead.
 *     ```
       /** when cart total is zero don't show payment options **/
       add_filter( 'woocommerce_cart_needs_payment', 'filter_cart_needs_payment_callback', 100, 2 );
       function filter_cart_needs_payment_callback( $needs_payment, $cart ) {
           return $cart->subtotal > 0 ? $needs_payment : false;
       }
       ```
   
    -  This reply was modified 4 years, 6 months ago by [352digital](https://wordpress.org/support/users/352digital/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Eventin – Event Calendar, Event Registration, Tickets & Booking (AI Powered)] To sell or NOT to sell](https://wordpress.org/support/topic/to-sell-or-not-to-sell/)
 *  [352digital](https://wordpress.org/support/users/352digital/)
 * (@352digital)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/to-sell-or-not-to-sell/#post-15123217)
 * Hi – Enable attendee registration – doesn’t this disable tickets too?
 * I’ve disabled this option to resolve another problem but now users do not get
   tickets and we need to use the woo order refs and need another plugin to export
   the orders as a list…
 * Edit to add – With covid around, I see a lot of “events” that are free but need
   registration. I’d vote to bump anything you’re working on to make “free” events
   easier to register for 🙂
    -  This reply was modified 4 years, 6 months ago by [352digital](https://wordpress.org/support/users/352digital/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Eventin – Event Calendar, Event Registration, Tickets & Booking (AI Powered)] There has been a critical error on this website – again](https://wordpress.org/support/topic/there-has-been-a-critical-error-on-this-website-again/)
 *  Thread Starter [352digital](https://wordpress.org/support/users/352digital/)
 * (@352digital)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/there-has-been-a-critical-error-on-this-website-again/#post-15123181)
 * Hi,
 * I doubled the server capacities but it doesn’t change the situation or make the
   site any faster. You said memory_limit = 600M – that’s pretty high. Most clients
   cannot afford a VPS and no shared hosting i know gives you that. It’s using 512M
   now and works well.
 * I think this time the problem was related to creating PDFs. I see this critical
   failure error when I click to download the ticket from the email confirmation
   too.
 * To overcome this i had to disable this gift voucher plugin which is not an ideal
   solution this time of year… [https://wordpress.org/plugins/gift-voucher/](https://wordpress.org/plugins/gift-voucher/)
 * It looks like it uses this to create PDFs: [https://github.com/Setasign/tFPDF](https://github.com/Setasign/tFPDF)
 * The other plugin works fine when Eventin is enabled but not the other way round.
 * If not perhaps it’s a wp 5.8 problem? Do you have an update planned soon?
 * Do you have any ideas on how to fix this problem in the meantime?
 * Edit – to add to that, when i disable “Enable attendee registration” (4th tab
   in settings) i’m able to checkout and get a woocommerce confirmation with an 
   order ref but with registration and tickets enabled i get the critical error 
   message again when downloading the PDF using the link in the emails it sends.
   For now switching off “Enable attendee registration” will allow both plugins 
   to be active at once but this isn’t a fix…
    -  This reply was modified 4 years, 6 months ago by [352digital](https://wordpress.org/support/users/352digital/).
    -  This reply was modified 4 years, 6 months ago by [352digital](https://wordpress.org/support/users/352digital/).

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/users/352digital/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/352digital/replies/page/2/?output_format=md)