jamesinealing
Forum Replies Created
-
Forum: Plugins
In reply to: [Bulk Delete] By Custom Taxonomy 'Deleted 0 Post'Just to follow up on this, I realised that it would be better anyway if I created a custom taxonomy that applied specifically to this Custom Post Type. But although I now have an option to delete *all* entries in that custom taxonomy, I don’t appear to just be able to delete just those with one value set, in the same way for example that I would be able to delete those posts matching one tag.
Forum: Plugins
In reply to: [Bulk Delete] By Custom Taxonomy 'Deleted 0 Post'Hi Sudar, apologies for not getting back to you sooner. I have just been looking at this again and should explain the problem more clearly.
I have a custom post type but I use the standard categories in my site. When I try to delete all the posts in the custom post type that match a particular category it appears to run but reports that no posts were deleted. I have just tried a further experiment though and created a test post as a normal blog post but assigned to the category that I am deleting. In this case when I run it it does delete that post, but not the ones in the custom post type. Does that make more sense? Can you think how this could be fixed?
Forum: Plugins
In reply to: [Bulk Delete] By Custom Taxonomy 'Deleted 0 Post'Just ran the install and gave it a quick test. Appeared to work a treat, so thanks so much for sorting this.
One thing I did notice was that trying to delete all entries by selecting a category doesn’t work for and that were custom post types, which would be a nice feature to have.
Forum: Plugins
In reply to: [Bulk Delete] By Custom Taxonomy 'Deleted 0 Post'Hi, I appear to have the same problem. My custom post type is registered through a bespoke plugin – what capabilities do I have to enable? Thanks
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] php code examples?It would still be great though to have some well-documented code examples, especially as this seems such a powerful and well-featured plugin.
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] php code examples?OK, I changed that to related_entries and it now seems to work as I wanted. Between noob syntax errors and a bit of front-end caching making me think changes hadn’t worked, I managed to confuse myself completely!
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] php code examples?Sorry, re-typed rather than cut&pasted and that was a very dodgy bit of code which was bound to fail! The second part should be:
related_posts(array(‘post_type’ => array(‘objects’)), $postID, true);Done. Out of interest, what’s the largest site you’re aware of that this is running on, and what are the options that would affect performance most?
Forum: Plugins
In reply to: [Geo Mashup] Auto-zoom incorrect when loading posts and kmlThanks Dylan, will keep an eye out. Meanwhile I think I’ll just set a ‘zoomed out’ manual level
Forum: Plugins
In reply to: [Geo Mashup] Auto-zoom incorrect when loading posts and kmlAh ha, thanks Dylan. I guess another one I should have fathomed out for myself! I think I was thinking it would be more complicated than just an API setting. I presume an auto-zoom based on all points (both WP posts and from the kml) is rather more complicated and would require some coding?
One final (related) question if I may? Once I have plenty of data (it’s a user submitted site) the above issue will not really be of much significance, but I did think I could happily mitigate it by setting auto_zoom_max. But it doesn’t seem to work, and I saw in an old post at http://code.google.com/p/wordpress-geo-mashup/issues/detail?id=410 that it wasn’t set up for v3. I presume that is still the case? Not a big problem for me, but thought I’d mention it.
I should also say how great Geo Mashup is – I played with it many years ago, and then when a new mapping project arose I went and looked at all sorts of alternatives, only to find myself straight back here!
Forum: Plugins
In reply to: [Geo Mashup] Auto-zoom incorrect when loading posts and kmlHi Dylan, sorry for the late reply – just as I was trying that out our broadband went down, and it’s only just back up now.
I’ve just been trying to figure this out, but can’t. I’m using the GoogleV3 example from http://code.google.com/p/wordpress-geo-mashup/wiki/Documentation#Custom_JavaScript which doesn’t have the map.addOverlay call. Is there an easy way I’m missing of customising that example? Or should I look at another approach? Sorry for my ignorance.
Forum: Plugins
In reply to: [Geo Mashup] Is external kml loaded through custom.js cached?Aghhhh, face-palm. Sorry, it’s been a year or more since I worked with Google Maps and loading kml!
I’ve just implemented a couple of lines in custom.js
var cachetime = 180; //desired cache time in seconds var param = Math.round(+new Date()/1000/cachetime);
and then append ?t= + the value of param onto the kml call – I thought I wouldn’t overwrite the caching entirely. Seems to work well now.
Sorry, I didn’t explain that too clearly – I’m not preventing access to everyone, just to new users who sign up and are assigned the Author role. This is a feature of the WP User Frontend plugin which allows you to block back-end access at certain levels.
Forum: Plugins
In reply to: [Geo Mashup] [Plugin: Geo Mashup] Front end update location@omgitscpa brilliant indeed – I’ve just followed your simple instructions and have embedded a map for user geotagging into the ‘Press This’ feature. Works perfectly! Thanks so much for sharing this tip.
You mentioned getting rid of some parts of the form. I don’t want saved locations (or the ability to create new ones) – is this what you meant, and have you succeeded?
Forum: Fixing WordPress
In reply to: login sidebar firefox issueslol, what I said would have been fine in the good old days of HTML 3.2, but I think in this context a style along the lines of
form br { clear: both; }
is more what is needed.
This will only affect br tags within forms, but does assume that you don’t want more control of br tags elsewhere *within* any form, in which case you’ll have to set up a specific class for this instance.