ryantcarter
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Blank image on Upload to MediaCame here looking for a solution, but managed to find an answer before finding anything on the forum. I was having the same issue. Check your image DPI settings, my images were 150dpi and was causing the same issue, ensure they’re 72 and you should be all good!
Forum: Plugins
In reply to: [Photo Engine (Media Organizer & Lightroom)] Sort Admin ViewHi Jordy,
Thanks for the reply,
It’s not the media library I’m trying to sort – it’s this page:
/admin.php?page=wplr-tools-menuI’m using the taken date by checking that option in the backend, I just want to sort them asc rather than desc π
Forum: Plugins
In reply to: [Nav Menu Roles] Completely remove pluginOK no problem, as long as I know it’s not this plugin I can try and debug further.
If you want to just make sure it’s not your plugin (which is now reactivated) you can have a check here: http://scenariouk.com and maybe help me debug if you’re especially bored or feeling helpful on this wonderful Friday.
if you scroll a little, you’ll see the nav appear…just no actual items in it unless i’m logged in.
I’ve checked the options of the Nav Menu Roles plugin and i’m only affecting two items, a login and a logout button. the rest are default (set to role with all checkboxes blank)
Forum: Plugins
In reply to: [WooCommerce Poor Guys Swiss Knife] Persistant Checkbox DataHi Guys,
Can I just give this a little bump?
As a work around to this, I’ve piped a fixed character through the URL string before the replacement code, this means I’ve always got a value to reference.
Worked this out myself, just needed to create the variables before adding them to the array.
Here’s a link to the server scanner @krumch- http://www.s2member.com/kb/server-scanner/
I had this issue, just remove the ‘Stripe Statement Description’ from here (for now):
http://www.yoursite.com/wp-admin/admin.php?page=ws-plugin–s2member-pro-stripe-ops
Another update on this, I’ve managed to get it working by switching to a VPS. My host was restricting some of the functions S2Member needs to run. I’d suggest everyone runs the S2member server tool on their server to help debug any issues.
I’m now struggling to populate my order with the correct values.
I’m trying to pull in values from the URL delivered from the API/Payment Notification URL
<?php add_action('init', 's2_payment_notification'); function s2_payment_notification() { if(!empty($_GET['s2_payment_notification'])) { if(!empty($_GET['first_name']) && !empty($_GET['last_name']) && !empty($_GET['payer_email']) && !empty($_GET['address_one']) && !empty($_GET['address_two']) && !empty($_GET['address_three']) && !empty($_GET['postcode'])) { $address = array( 'first_name' => '%%first_name%%', 'last_name' => '%%last_name%%', 'company' => '', 'email' => '%%payer_email%%', 'phone' => '', 'address_1' => '%%address_one%%', 'address_2' => '%%address_two%%', 'city' => '%%address_three%%', 'state' => '', 'postcode' => '%%postcode%%', 'country' => '' ); $order = wc_create_order(); $order->add_product( get_product( '99' ), 1 ); $order->set_address( $address, 'billing' ); $order->set_address( $address, 'shipping' ); $order->calculate_totals(); } exit; } } ?>But it’s just echoing the exact %% I’ve used above.
Anyone know how to pull in the actual values?
Hey guys, a further update. I’m struggling to get this working.
I’ve posted my issue over on Stack Overflow where I’m hoping to get a little more traction than this forum post
If anyone wants to chip in, it would be greatly appreciated.
Just wanted to update where I’ve left this, I think it’s going to be pretty simple to use the API/Payment notifications to create an order in WooCommerce.
This function should do it:
https://github.com/woothemes/woocommerce/issues/4169Any thoughts?
Cheers @krumch
I’d suggest using ‘putler’ for this.
There’s also one written to work with the wordpress plugin ‘mymail’ as well
http://codecanyon.net/item/s2mymail-sync-s2member-with-mymail/6805549
tipsuk.net uses s2member