rashmani
Forum Replies Created
-
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] V2.6 Doesn't work with WP 3.8Hi there,
I think I’ve encountered the same problem. The (a tags surrounding) images get correctly added the necessary rel value but no lightbox pops open. From the js Console I see a jQuery error like “unrecognized expression: a[rel= lightbox[post-1234]]”.
Googling a bit took me here: https://stackoverflow.com/questions/15655154/unrecognized-expression-in-attributecontains-selector
I’ve solved by modifying plugin code (file lightbox-plus/class/filters.class.php) to generate rel values as
rel="lightbox\\[post-12345\\]"
This happens in a bunch of lines like this (173):
if (!$e->parent()->rel) { $e->parent()->rel = 'lightbox\\['.$postGroupID.$unq_id.'\\]'; }
This worked for me, I hope it may help someone else.
Cheers,
rash*Hi there,
fair enough, thanks!
In this case, could you name any captcha plugin/component that surely works with LWA?Cheers,
rash*Hi again,
I’ve re-enabled securimage captcha (https://www.phpcaptcha.org/), from CimyUserExtraFields, to avoid fake registrations (over a hundred in the last two days) but it would be much better to have some-captcha working, not blocking regular registrations.
Any suggestion?Cheers,
rash*Hi there,
I tried disabling captcha and it does work (thanks! It’s still disabled if you want to try).
Apart from obviously keeping captcha disabled, do you have any suggestion to overcome the problem?
Thanks again!rash*
Hi Angelo,
I’ve just tried registering at my website and I get this error: see linked screenshot
Do you have a different outcome?rash*
Forum: Plugins
In reply to: [Flattr] Flattr making the_excerpt run twiceHi,
same here: intro text in home and category pages is doubled. Disabling Flattr plugin intro text turns back normal.
Any idea, suggestion…?WP 3.4.1
Flattr 1.2.0rash*
Cool, thank you very much!
I prefer to use the template tag (and this is why I’ve missed the widget option), I’ll give it a go asap on my test versione of the web site and then publish it once I get what I need.
I’ll post my results here.Thanks again!
rash*Hi there,
I’m very interested in this feature too. I run a multi-author magazine’s site, and this feature would be great for our author pages.
Anyone else?
Cheers,
rash*Forum: Plugins
In reply to: [Geo Mashup] [Plugin: Geo Mashup] Custom marker: post thumbnailYep, at the moment I’ve only left to find a way to put a border around my markers but you can see the map in action here: https://lundici.it
(the border you see it’s a fake, it’s hand-made on images…)Great anyway!
rash*Forum: Plugins
In reply to: [Geo Mashup] [Plugin: Geo Mashup] Custom marker: post thumbnailOk, here we go, hope this will help someone looking for the same thing.
To get images for markers I’ve installed a plugin (Custom Image Sizes) able to generate custom sized images on the run.
Then I’ve added following code to my theme’s function.php file:function lundici_geo_mashup_locations_json_filter( $json_properties, $queried_object ) { $post_id = $queried_object->object_id; $tmp_img = wp_get_attachment_image_src(get_post_thumbnail_id($post_id), 'lundici_marker'); $json_properties['lundici_marker'] = $tmp_img[0]; return $json_properties; } add_image_size('lundici_marker', 36, 27); add_filter( 'geo_mashup_locations_json_object','lundici_geo_mashup_locations_json_filter', 10, 2 );
In my custom.js file I now have:
GeoMashup.addAction( 'objectIcon', function( properties, object ) { // Use a special icon, post's thumbnail object.icon.image = object.lundici_marker.replace(/\\/g, ""); object.icon.iconSize = [ 36, 27 ]; } );
That’s it!
Thanks!
rash*Forum: Plugins
In reply to: [Geo Mashup] [Plugin: Geo Mashup] Custom marker: post thumbnailOk, got a solution, still incomplete though.
In my function.php file, I’ve put:
$tmp_img = wp_get_attachment_image_src(get_post_thumbnail_id($post_id), array(32,24)); $json_properties['lundici_marker'] = $tmp_img[0];
That gives me the image src. In my custom.js file I have now:
object.icon.image = object.lundici_marker.replace(/\\/g, ""); object.icon.iconSize = [ 32, 24 ];
First line removes backslashes from the url passed over, second line sets marker size.
Why incomplete then…? Because I do not have an image by that size and my map shows only the upper left corner. Well, right: this is a completely different matter! As far as Geo-Mashup, problem solved.
Thanks for your help (set me on the right path)!Ciao,
rash*Forum: Plugins
In reply to: [Geo Mashup] [Plugin: Geo Mashup] Custom marker: post thumbnailUhm… Firebug tells me that (in DOM) each GeoMashup.object has property ‘lundici_marker’ set correctly (to post image), while object.icon.image property is ‘undefined’.
As if my custom.js would not be executed.
Or… what?Cheers,
rash*Since my last post a week ago? No, not anymore, not if you released any newer version after my last test.
I’ll try again, but being all tests performed on the real thing, I have to do it night time…
Even if my theme is the very same as before upgrading, when it was working fine.Thanks for now,
ciao!
rash*…uh, no news about this?
Cheers,
rash*Gruetzi Marcus,
just tried to deactivate lwa plugin, install dev version and reactivate the plugin: page render stops right after hitting the login widget, it displays a WP smile and nothing else.
??
My site is https://www.lundici.it.Hope you can provide additional tests or suggestions.
Cheers,
rash*