Jamie Gill
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Broadbean] Plugin QueryHi Mark,
I am not familiar with git and had no idea how to do a pull request (been on my to do list for months sorry). However I managed to get the Uploaded CV’s to attach to the actual email rather than a link. Added in shortcodes.php around line 300 after $wpbb_email_content :-
$wpbb_attachments = array(WP_CONTENT_DIR . '/uploads' . $pxjn_wp_upload_dir['subdir'] . '/' . $pxjn_uploaded_file['name']);Then added the variable within the wp_mail function :-
$wpbb_send_email = wp_mail( $wpbb_mail_recipients, $wpbb_mail_subject, $wpbb_mail_content, $wpbb_email_headers,$wpbb_attachments);Not sure if it is handy but thought it was worth putting on for anyone else.
Cheers
JForum: Plugins
In reply to: [WP Broadbean] Plugin QueryHi Mark,
Thankyou for your quick response. I am not 100% sure how the Broadbean backend works but as you said they only offer Add/Delete on the command line.
However using there test feed and building a custom XML feed and tieing it in with your plugin got me through the test process flawlessly. So we are waiting on the custom feed build now.
Many thanks for sharing this plugin it has been a great help should I find any improvements that can be made I will certainly submit a request to the repo.
Cheers
JAh great stuff, yeah definately doesnt like unusual characters anywhere in the encryption.
I assume this was the same as my DECLINEURL that it didnt like either. If its on the barclays side can it not be set in the EPDQ area? As passing the cancel url in with the encryption before it even gets to Barclays is where the problem lies.
To be fair I only got it to the gateway on your plugin so I didnt go as far to testing the cancel url etc so Im advising a little blind here. I cant remember where you cancel the order on the gateway.
Hi Robin,
In the class.epdq.php in the EPDQ gateway I didnt change any of that but it reads as follows on line 451 – 457
'ACCEPTURL'=>$this->notify_url, 'DECLINEURL'=>$this->notify_url, 'EXCEPTIONURL'=>$this->notify_url, 'CANCELURL'=>$this->notify_url, 'BACKURL'=>get_permalink($this->back_url), 'HOMEURL'=>get_permalink($this->home_url), 'CATALOGURL'=>get_permalink($this->cat_url),All I filled out in the plugins backend was the PSPID and SHA-IN password
Yes I noticed that abit steep for a gateway!
If it is any help I did play with another EPDQ plugin this morning and applied your fix with just one change I think it maybe the plugin you have but it went straight to the gateway without problems :-
After liasing with Barclays it is down to the SHA data before it is encrypted thats makes a mismatch between the site and barclays. I made that edit above and follow there two rules :-
Use a SHA IN passphrase with only alpha numeric characters to eliminate possibility of character encoding issues.
Modify your code to hard code a string with the same values in to ensure no issues with importing variables
Obviously I am happy digging and playing around, but if you are uncomfortable then it probably would be best getting the client to cough up.
Hope you get this resolved
JHi Guys,
This is because the get_permalink has been changed in Woocommerce for the endpoints implementation instead so line 428 where it calls the payment page should be changed from :-
$order->id, add_query_arg('key', $order->order_key, get_permalink(get_option('woocommerce_pay_page_id')))) to $order->id, add_query_arg('key', $order->order_key, $order->get_checkout_payment_url( true )))Ive run a quick test and its got me through to the barclays payment gateway. There are other get_permalinks in there for return urls/thankyou page etc I would imagine they would need changing also but this should give you a good idea of how to implement a fix.
Hope this helps you guys.
JHi Robin,
I’ve managed to manipulate a plugin I used http://www.smoothwave.co.uk/wordpress/plugins/woocommerce-barclays-payment-gateway/ and got that working fine.
I implied the fix you mentioned and commented out this :-
$this->payment_form_data["DECLINEURL"] = $order->get_cancel_order_url()Seems this field was the culprit that was messing up the SHA-pass due to the characters in it. Once I commented thta out it worked fine.
Hope this helps you.
Ah bummer thanks for the reply, if I manage to implement a fix I will let you know.
hi Robin,
Did you manage to resolve this, I have also made the edits too a different EPDQ plugin (no supported anymore) and Im getting the exact same error.
Many Thanks
JForum: Themes and Templates
In reply to: [Classic Chalkboard] bordering cells in a HTML tableNo problem glad its resolved dude
Forum: Themes and Templates
In reply to: [Classic Chalkboard] bordering cells in a HTML tableGreat stuff well done!
Just replace the TH elements like so
<th colspan="2">Open Group Tuition</th>to
<th colspan="2" style="border-top:1px solid #fff">Open Group Tuition</th>And the same for Home
<th colspan="2">Home Tuition</th>to
<th colspan="2" style="border-top:1px solid #fff">Home Tuition</th>Hope this resolves it for you
Cheers
JForum: Themes and Templates
In reply to: [Classic Chalkboard] bordering cells in a HTML tableAhh sorry I thought you meant just the table. After the two table heading where you have 50% <td> element, replace the first one from
<td 50%;="" style="width:">It look like its in wrong anyway but change it to
<td style="width:50%; border-right:1px solid #fff">Cheers
JForum: Themes and Templates
In reply to: Parse error: syntax error. Entire site is down. Please help!Great to hear your back up and running!
When you have a child theme setup the css you need to add/edit
.entry-header .entry-title { font-size: 1.57143rem; margin: 0 0 15px; }This will give you 15px between your heading title and date.
Hope this helps
JForum: Themes and Templates
In reply to: [Classic Chalkboard] bordering cells in a HTML tableHi there,
You could try setting a simple border with css as so
<table style="width: 100%; border:1px solid #fff">1px is the thickness of the border and #fff is the color hex code for white.
Hope this helps
JForum: Plugins
In reply to: [Audio Tube] Audio Tube not Displaying.My current hack :-
It is a chrome issue as they have decided to change something again which is making it render differently. I managed to find a work around in the plugin file audio-tube.php .
On line 200 the $retina variable pulls in the flash code. I replaced this to pull in via an iframe instead so my code now looks like this :-
$ritorna = <<<HTML <div class="chrome-disp" style="position:relative; width:100%; height:25px;overflow:hidden;"> <div style="position:absolute;top:-277px;left:-5px;width:100%"> <iframe width="100%" height="300" src="http://www.{$yt_cookie}.com/v/{$id}?version=2&hl=en{$yt_auto}{$yt_loop}{$yt_js}{$yt_theme}{$yt_start}"></iframe> </div> </div> HTML; return $ritorna;Hope this helps
Cheers
J