biastechnology
Forum Replies Created
-
Forum: Plugins
In reply to: [Sweet Captcha] Sweetcapcha hacked and causing malicious popupsHad the same issue.
Website is registered with https://www.godaddy.com
Might be worth putting a complaint into them.
Forum: Plugins
In reply to: [Thumbs Rating] Thumbs in certain parts of your theme not workingThanks Ricard,
Still trying to get it sorted.
How can I use this multiple times on the same page?
Forum: Plugins
In reply to: [Contact Form 7] Using [wpcf7.remote_ip] With Custom FeildHi D.Q,
Thanks for the link.
I’ve tried that, and when I use the [wpcf7.remote_ip] in the main message area, I just get back my custom variable for my custom field [Get_RMA].
I’m hoping that Takayuki Miyoshi will see this and offer some help.
Cheers
Forum: Plugins
In reply to: [Contact Form 7] Using [wpcf7.remote_ip] With Custom FeildREPOST
Hi guys, I’m still having trouble with this.
Any Help?
Thanks
Forum: Plugins
In reply to: [Contact Form 7] Using [wpcf7.remote_ip] With Custom FeildHi guys, I’m still having trouble with this.
Any Help?
Thanks
Forum: Plugins
In reply to: [Contact Form 7] Using [wpcf7.remote_ip] With Custom FeildHi Anyone have any ideas?
Thanks
Forum: Plugins
In reply to: [Contact Form 7] Required fields radiobuttons and validationHi Hans,
I’ve implemented this telephone validation code today and it’s working great for me.
/*
Validate Telephone and FAX Numbers in Contact Form 7 This is for 11 digit numbers
*/function is_number( $result, $tag ) {
$type = $tag[‘type’];
$name = $tag[‘name’];if ($name == ‘phone’ || $name == ‘fax’) { // Validation applies to these textfield names. Add more with || inbetween
$stripped = preg_replace( ‘/\D/’, ”, $_POST[$name] );
$_POST[$name] = $stripped;
if( strlen( $_POST[$name] ) != 11 ) { // Number string must equal this
$result[‘valid’] = false;
$result[‘reason’][$name] = $_POST[$name] = ‘Please enter an 11 digit phone number.’;
}
}
return $result;
}add_filter( ‘wpcf7_validate_text’, ‘is_number’, 11, 2 );
add_filter( ‘wpcf7_validate_text*’, ‘is_number’, 11, 2 );Add it at the end of your themes/functions.php but before the ‘?>’
Forum: Plugins
In reply to: [Contact Form 7] wpcf7_mail_sent infinite loopThis may be of use:-
Forum: Plugins
In reply to: [Contact Form 7] wpcf7_mail_sent infinite loopWe are looking to do something very similar. Where did you place this code?
Within the functions.php or within on_sent_ok: “”
Technically we need to do it slightly differently:-
Submit
Insert Data into DB
Return Index_ID
Compile email with Index_ID
Send Email
Success Screen.I’ll have a play this end and let you know how I got on