Forum Replies Created
-
AuthorPosts
-
Steven Zahm
KeymasterSteven Zahm
Keymaster@ Stefano
No problem!
If I have not asked and you have a moment, I would truly appreciate a review as they really do make a difference. many thanks in advance!
https://wordpress.org/support/view/plugin-reviews/connectionsSteven Zahm
Keymaster@ Bog
Is this a multi-site install of WP? If it is, I’ll be releasing a bugfix within the next few hours that will fix this.
Apologies for the trouble!
Steven Zahm
Keymaster@ Arizona Lowe
I installed the bugfix release (still says 8.1.1, just so you know).
Tested PNG/s, GIF/s, images with uppercase extensions and deleting entries. All worked as it should. I don’t think you were experiencing any other bugs. Let me know if I missed something.
When you see the update notification for 8.1.2, it will be safe for you to update as it will be the same code just with an updated version number that is already on your site.
Steven Zahm
Keymaster@ Arizona Lowe
Sure, I’m still willing to install it, I’m tidying up the code right now for the release … testing on one more multi site would still be beneficial. It has been tested on several others at this point so I’m confident this will be the last bugfix release dealing with path issues due to the image support rewrite.
Post the login details here, in this thread, as a private reply. Then, please follow-up with a normal, non-private reply so I am notified that you posted the login details.
Thanks!
Steven Zahm
Keymaster@ Richard
Thanks for looking at it … but changing it to
$uploadInfo['baseurl']would put it within theuploadsfolder by date (if that option is enabled like it is by default in WordPress).Changing it back to
blogs.diris what needs to be done.This fix will be in the forthcoming 8.1.2 bug fix release going out today.
Steven Zahm
Keymaster@ Ciaran
The bug is fixed … I should not have change the
blogs.dirtositesfor the custom templates … not yet any way without providing backwards compatibility code. Technically the folder is now obsolete, so I doubt I’ll ever bother to move it to theuploadsfolder like I did with the images.Apologies for the trouble! And thanks for the access … it makes thing like this very quick and easy to figure out.
Steven Zahm
Keymaster@ John
First, ensure the cMap template is activated as a plugin. You can check this by going to the WordPress plugins admin page. If it is not activated, please activate it.
If it is active…
Go to the Connections : Templates admin page.
Does is show up as an available template? It should, click the activate button.
Hope that helps, let me know!
Steven Zahm
Keymaster@ Vince
Looks like your host offers Imagic, which is good, but it seems they must be using a pretty old version if that method does not exist, which is bad.
You can try to ask them to update it. here’s a code snippet that should do it:
Another solution is to remove Imagick support from Connections.
add_filter( 'wp_image_editors', 'vince_remove_imagick' ), 9999 ); function vince_remove_imagick ( $editors ) { if ( ( $key = array_search( 'CN_Image_Editor_Imagick', $editors ) ) !== false ) { unset( $editors[ $key ] ); } return $editors; }Steven Zahm
Keymaster@ Marco
There’s a lot of moving pieces to add a working map, honestly, it hard to tell what exactly is wrong or yet needs to be done.
May it would be easier for you to tweak the template that you have which does have the map? I know you want to add the map to the Bio Entry Card … but what wrong with the template that already has the map? It does everything the Bio Entry Card, plus more.
But to try to answer you question…
Looks like the snippet I gave you has a copy/paste error, use this:
// Register the required JS file. add_filter( 'cn_template_required_js-card-bio', 'marco_enqueue_gomap' ); function marco_enqueue_gomap( $required ) { $required[] = 'jquery-gomap'; return $required; }Forget about adding
wp_enqueue_script( 'jquery-gomap' );, I think, but you can add it to the__constructmethod in thecard-bio.phpfile.You still need the map JavaScript code from the source template. and past it in a file named
card-bio.js.There’s quite a bit of code in the source template javascript file that relates to the map. It also very likely you’ll have to tweak that code to work with the Bio Entry Card.
Hope that helps!
-
AuthorPosts
