press_ppm
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Paypal – pay without account setupHere’s the bit i mean.
https://imgur.com/CRmIAHqI have a business paypal account. But even when you click the pay without sign up bit it still has that section to add password etc.
I set up a store a few months ago and hers doesn’t have this at the payment stage.
Forum: Plugins
In reply to: [WooCommerce] Email confirmation delayIt’s really annoying because the buyer gets no confirmation that they have bought anything until the time that i login into the dashboard and clicking complete. And I have no way of knowing i have an order until I login and look.
Forum: Plugins
In reply to: [WooCommerce] Email confirmation delayI think it’s paypal pro. Is that paypal business?
Hmm strange, this doesn’t work.
It still comes through as the standard admin:<?php /* Plugin Name: My Custom Functions */ add_action( 'ninja_forms_email_admin', 'ninja_forms_change_from_address' ); function ninja_forms_change_from_address(){ global $ninja_forms_processing; if( 1 == $ninja_forms_processing->get_form_ID( ) ) { $user_email = $ninja_forms_processing->get_field_value( 5 ); $user_name = $ninja_forms_processing->get_field_value( 4 ); $user_email = $user_name." <".$user_email.">"; $ninja_forms_processing->update_form_setting( 'email_from', $user_email ); } } add_action( 'ninja_forms_name_admin', 'ninja_forms_change_from_name' ); function ninja_forms_change_from_name(){ global $ninja_forms_processing; if( 2 == $ninja_forms_processing->get_form_ID( ) ) { $user_email = $ninja_forms_processing->get_field_value( 25 ); $user_name = $ninja_forms_processing->get_field_value( 26 ); $user_email = $user_name." <".$user_email.">"; $ninja_forms_processing->update_form_setting( 'email_from', $user_email ); } }
I take it not like this as this stops the whole site working:
<?php /* Plugin Name: My Custom Functions */ add_action( 'ninja_forms_email_admin', 'ninja_forms_change_from_address' ); function ninja_forms_change_from_address(){ global $ninja_forms_processing; if( 1 == $ninja_forms_processing->get_form_ID( ) ) { $user_email = $ninja_forms_processing->get_field_value( 5 ); $user_name = $ninja_forms_processing->get_field_value( 4 ); $user_email = $user_name." <".$user_email.">"; $ninja_forms_processing->update_form_setting( 'email_from', $user_email ); } } add_action( 'ninja_forms_email_admin', 'ninja_forms_change_from_address' ); function ninja_forms_change_from_address(){ global $ninja_forms_processing; if( 2 == $ninja_forms_processing->get_form_ID( ) ) { $user_email = $ninja_forms_processing->get_field_value( 23 ); $user_name = $ninja_forms_processing->get_field_value( 26 ); $user_email = $user_name." <".$user_email.">"; $ninja_forms_processing->update_form_setting( 'email_from', $user_email ); } }
I have another form on a different page.
Do I copy duplicate the code and switch the form id and field id?
Yeh sorry i forgot to remove that. I put it in there just to try it as it wasn’t working. However the problem was that I hadn’t gone to the plugins and activated it.
Works perfectly now.
Thank you!
Hi,
Thanks for your reply.
I can’t get it to work. Here’s what I have done:
1. Added the folder ‘booking-name’ to the folder ‘wp-content/plugins’ and the file ‘booking-name.php’ within the ‘booking-name’ folder.
2. Put this into the .php file:
<?php /* Plugin Name: My Custom Functions */ add_action( 'ninja_forms_email_admin', 'ninja_forms_change_from_address' ); function ninja_forms_change_from_address(){ global $ninja_forms_processing; if( 1 == $ninja_forms_processing->get_form_ID( 1 ) ) { $user_email = $ninja_forms_processing->get_field_value( 5 ); $user_name = $ninja_forms_processing->get_field_value( 4 ); $user_email = $user_name." <".$user_email.">"; $ninja_forms_processing->update_form_setting( 'email_from', $user_email ); } }
I put the number 5 in because that’s the field id of the email address and 4 is the field id of the name. Put a 1 in the brackets as that’s my form id.
3. Saved it all and it doesn’t work. Now nothing comes through to my email. I unchecked the option in the form aswell.
Forum: Fixing WordPress
In reply to: Move blog from /site to main directoryHi,
I managed to get it working by deleting everything on the public_html (apart from the /site) then copied all the contents of /site into the public_html.
However before i delete the /site folder i have noticed that all my images are stored in the site/ folder. How do i re-link them to the new versions in public_html.
Can i PM it to you?
Forum: Plugins
In reply to: [Contact Form 7] Checkbox form – option box on separate line from option TextHi
I’m in the same boat.
I want to have my dropdowns on the same line:
{one here} and {one here}But they automatically go onto a seperate line.
The square brackets make it a new para?Hi,
I gave that a go but still couldn’t find or change the ‘out of stock’ text:
<img src=”https://i.imgur.com/fxlYg.png” alt=”” title=”Hosted by imgur.com” />Surely it’s in a php file somewhere? I’m using the maya theme.
Hi, Thanks for your reply!
That is one way yes. I’ll give that a go incase.
But i was really after finding the file that has the short description section and add in some text so it’s there everytime.Forum: Fixing WordPress
In reply to: Multiple menu and categoriesSo basically I need multiple menus that the user add to. For example add a new designer to the designer list. And then be able to tag the posts to those different categories.
Forum: Fixing WordPress
In reply to: Multiple menu and categoriesHi. Sorry.
Manufacturer(just a title no link):
Manufacturer1(tag)
Manufacturer2
Manufacturer3