yivi
Forum Replies Created
-
Any clues when this dev version is going to be released?
Thanks!
Regards.
Forum: Plugins
In reply to: [Polylang] polylang and wp-migrate-dbMaybe using $_tmp clone($data), instead of $new ($dataClass)?
But the language object should provide a “clone” method, right?
Forum: Plugins
In reply to: [Polylang] polylang and wp-migrate-dbI have my a separate fork for wp-migrate-db, so I’d have no problem modifying it; and it seems that the problematic code would be around here, but I’m a bit out of my depth:
function recursive_unserialize_replace( $data, $serialized = false, $parent_serialized = false ) { // some unseriliased data cannot be re-serialized eg. SimpleXMLElements try { if ( is_string( $data ) && ( $unserialized = @unserialize( $data ) ) !== false ) { $data = $this->recursive_unserialize_replace( $unserialized, true, true ); } elseif ( is_array( $data ) ) { $_tmp = array( ); foreach ( $data as $key => $value ) { $_tmp[ $key ] = $this->recursive_unserialize_replace( $value, false, $parent_serialized ); } $data = $_tmp; unset( $_tmp ); } // Submitted by Tina Matter elseif ( is_object( $data ) ) { $dataClass = get_class( $data ); $_tmp = new $dataClass( ); foreach ( $data as $key => $value ) { $_tmp->$key = $this->recursive_unserialize_replace( $value, false, $parent_serialized ); }
Thanks and regards,
Forum: Plugins
In reply to: [Polylang] Menu not workingYou need to register each menu as belonging to each language, through Preferences->Appeareances->Menus (wp-admin/nav-menus.php)
Like so: https://imgur.com/WydWeqj
Forum: Plugins
In reply to: [Flamingo] Is it possible to make an inbound message templateCouldn’t you just choose meaningful names in the form when you create it?
This seems more like a contact-form-7 thing than a Flamingo one anyway.Forum: Plugins
In reply to: [W3 Total Cache] W3TC and Strict ModeIs there a way to submit patches for the plugin?
Thanks and regards.
I.-
Forum: Plugins
In reply to: [W3 Total Cache] A little static method declaration errorI’m getting the same error on W3TC with PHP 5.4.
Strict Standards: Declaration of W3_Cache_Apc::delete() should be compatible with W3_Cache_Base::delete($key, $group = '') in <b>/Users/user/Documents/Sites/s3v11157/php/wp-content/plugins/w3-total-cache/lib/W3/Cache/Apc.php on line 15
You don’t need to do that.
If what you want is a redirect, just using:
on_sent_ok: "location = 'https://example.com/';"
(as explained here)
If what you need is just tracking of conversions for Analytics, use this.
And if what you need is tracking AdWords conversions, set up the conversion variables as globals with a “<script>” tag in the conversion page, and call the conversion code from on_sent_ok (e.g., using jQuery)
In the body/header of your conversion page:
<script type="text/javascript"> var google_conversion_id = <Your ID Here>; var google_conversion_language = "en"; var google_conversion_format = "3"; var google_conversion_color = "ffffff"; var google_conversion_label = "<Your Label here>"; var google_conversion_value = 0; </script>
And in the bottom part of Contact Form 7 settings:
on_sent_ok: $jQuery.getScript( "https://www.googleadservices.com/pagead/conversion.js" );
I think this should work.
Got it.
Just “$options = get_option(‘wpcf-fields’);’
and then $options[‘fieldname’][‘name’] will hold the name.
(“fieldname” being the name of your field).
Thanks anyway.
It seems you get this request quite often… Any thoughts on making this behaviour optional? ??
Regards,
I.-
In the same line than the original poster:
– Any quick tips on avoiding the “wpcf-” behaviour? It’s messing up with my fields, and the “create fields in wp and then assign them to type control” it’s a bit convoluted feels clumsy.
I’m browsing the source code trying to find where to change it, but a pointer would be helpful.
I like the plugin and I’m seriously considering buying views to help my users, but I need to “fix” this first.
Thanks and regards.
I.-
Forum: Themes and Templates
In reply to: Do you use Firefox 1.5 and you’re missing Aardvark?That’s great.
Would you like to detail what changes were necessary to make it work?
A quick glimpse to aardvarkOverlay.js shows no changes at all. Would you like to elaborate?Great work, btw. I really relayed on Aardvark almost daily (when it used to work).
Thanks and regards,
I.-