llocally
Forum Replies Created
-
Just to let you know, I have been looking at the auto report adding API, and actually got it working after a bit of stress. And sort of created a semi manual / semi automated once off Add.
One of the bigger parts of the work would be creating the plugin options for all the different reporting options available, there are quite a few.
The other part would be deciding on the logic to stop reports being added multiple times for the same blog.
All things that can be sorted, but not a trivial exercise.
Forum: Plugins
In reply to: [Get Directions Map] Change language of directionsYou will need to change the script in js/script.js
line 37/8 is
/*Add options.*/ {ribbonOptions:{draggable:true,draggablepoi:true}},needs to become
/*Add options.*/ {ribbonOptions:{draggable:true,draggablepoi:true},locale: 'nl_NL'},but you may like the units to be in km so use
/*Add options.*/ {ribbonOptions:{draggable:true,draggablepoi:true},locale: 'nl_NL', unit: 'k'},and line 112 needs the non html text to be translated
html += '<tr><th class="direction">Direction</th><th class="route">Route</th><th class="distance">Miles</th></tr></thead><tbody>';That should do the trick.
One day I might get round to adding language and unit options, but as I have to focus on work that pays the rent, that is on the back burner right now.
(the Google maps url call in the get-directions.php is just used for mobiles, and not teh website directions, which is provided by mapquest, but should pick up your local mobile device language preferences when it come into play )
Any one got any ideas about combining back the two sets of data I have now? Just looked at teh PiwIk Forums but is seems combing 2 sets of data was asked for years ago, but no feature exists. maybe some SQL?
Thanks, I am suspecting the upgrade to Piwik, but I can’t recall if tracking stopped when I last updated.
@lkrnac many thanks, this worked.
You might like to know step 3 seems not necessary, as when I get visitors to a subsite it auto creates. Which is a relief as I have a pretty large multi-site.Forum: Plugins
In reply to: [Get Directions Map] Widget Not ShowingHi Eric,
the normal reason for this is when the directions cross an ocean, then not route is possible. I need to look and see if I can create an ‘no route’ message.
There could be other reasons such as jQuery not being loaded, but I see you have switched to Google Maps now, so I can’t check now.
One difference I have noticed between ‘lite’ and ‘standard’ is that the event contact URL and the ‘Buy’ URL’s pass through a redirect via ‘aggregator.time.ly’. Is there a specific reason for this, rather than directly going to the URL?
I assume that is one reason that standard can not be listed on WordPress as the third party linking isn’t disclosed anywhere?
Forum: Plugins
In reply to: [Image Teleporter] Issue with filenames with in itp.s.
I am also getting issue with files like
File name: Patlican%2Bdilimli%2Bkofte%2Bve%2BMalmesbury%2Bin%2BAutumn%252C%2B2011%2B029.jpgbut this time Media File Renamer won’t work on it! I’ll have to see what else I can do!
Forum: Plugins
In reply to: [Stop User Enumeration] Bypass protection with URL-encoded null bytesThanks for both the vulnerability and the suggested edit. I hope to be able to make a release shortly
Forum: Plugins
In reply to: [Stop User Enumeration] Bypass protection with POST requestsThanks, some good ideas, I will get testing.
Forum: Plugins
In reply to: [Stop User Enumeration] Bypass protection with POST requestsJust thinking about this, what about restricting all POSTS not from the local server? Is there ever a genuine reason that a WordPress site woudl expect a POST from a third party server?
Forum: Plugins
In reply to: [Stop User Enumeration] Bypass protection with POST requestsAny ideas on trapping this then?
Forum: Plugins
In reply to: [Photospace Responsive Gallery] Doubled thumbnail sizesI found the issue that causes the double in size.
If you tick the ‘reset’ themes css (which I do as I don’t want borders on the thumbnails)
you generate this css
/* reset */ .photospace_res img, .photospace_res ul.thumbs, .photospace_res ul.thumbs li, .photospace_res ul.thumbs li a{ padding:0; margin:0; border:none !important; background:none !important; height:auto !important; width:auto !important; } .photospace_res span{ padding:0; margin:0; border:none !important; background:none !important; }the key point being that the
height:auto !important; width:auto !important;overrides the thumbnail height and width that you set the css for later.
p.s. if you fix this, can you let me know in the release notes at least, otherwise my thumbnails will all shrink 🙂
Forum: Plugins
In reply to: [Photospace Responsive Gallery] Doubled thumbnail sizesHi, yes they did double in size, on all browsers. The option setting was 50px and the image displayed was 100px. looking at the code that was obvious $options[‘thumbnail_width’] * 2
So I simply changed the options page to 25px and they are displaying at 50px.
I’ll update to the latest version now you change the option pages and see if anything happens.
Forum: Plugins
In reply to: [Stop User Enumeration] Adding a slash to url bypasses protection1.2.4 also resolves the double slash issue. Let me know if you think it doesn’t.
Thanks
Forum: Plugins
In reply to: [Get Directions Map] map & direction paddingHi,
to make styling changes, you can use adjust the css in your theme’s style.css, or use any other of teh methods of injecting css into your WordPress theme.
To change the padding to 50px for instance
div.gdroute { padding-top: 50px; }The print function uses the browser default print features and hiding parts of your theme can be also done with print specific css e..g
@media print{ #branding, #secondary, #footer { display:none; } }but also you can be specific with wordpress css for instance just applying to a page id e.g.
@media print{ body.page-id-37 #branding, body.page-id-37 #secondary, body.page-id-37 #footer { display:none; } }As css styling is specific to each wordpress theme, the examples I give are just that, examples, and each theme will need to use its own styling.
I hope that helps.