Alvaro Degives-Mas
Forum Replies Created
-
Forum: Plugins
In reply to: Support for Bad Behavior standard in WP Super Cache?Hi Donncha – the lowercase version is what one gets via the WP plugin repository (and therefore also via automated plugin installs / updates). I just now checked at Michael’s place, but that delivers a lowercase version, too. Maybe that’s a legacy version issue because I too remember once having a capitalized BB folder.
Good catch by Ljmac, too BTW – I noticed the spelling difference too, a few days ago but failed to mention the anecdote here. However, the plugin itself isn’t affected by Her Majesty’s English.
Yes, definitely. Even if your text widget contains just text (with or without some trivial HTML markup) it still whacks out the database request for that text, and instead pulls a plain file up, which is faster.
Forum: Plugins
In reply to: [Plugin: Audio Player] Version 2.0 beta releasedI don’t know what the problem is, but as soon as I experienced exactly the same issue – with the same versions – of “file not found” and couldn’t trace it to either WordPress or the location of the audio files, I did something that did work straight off the bat: I installed the microaudio plugin.
You will need to do a site-wide search for “[audio:” and then replace the code with the direct link to the MP3 files, though. But it works like a charm, and it’s a mighty lightweight plugin, too.
Forum: Plugins
In reply to: User registration and management in frontend?They can’t fiddle in your back-end, unless you set the default user role to admin, which I trust you don’t. 🙂
They might see icons, but if they click on places they’re not supposed to visit, they get a polite version of the “get outtahere” message. And if you don’t believe me, just register yourself with a new user and look what you can see / do.
If you’re still uneasy about the self-registered users even seeing the links – even though those are inoperable to them – you can always install a simple plugin: WP Hide Dashboard. It just does what it says and is WP2.7.1 compatible.
Forum: Plugins
In reply to: Support for Bad Behavior standard in WP Super Cache?I’m not crazy, just talking to myself here, ‘sall! 🙂
I found WP Super Cache already has support for Bad Behavior built into its “in development” version, via a plugin, in the trunk repository. Which is very cool.
Unfortunately, that plugin is looking for a directory titled “Bad-Behavior” which is less cool, as it’s typically called “bad-behavior” e.g. when installed via the WP plugin installer (note: case matters).
Suggestion for the author: perhaps include a case-indifferent check on BB’s presence or absence? (I manually changed the directory to what the WP Super Cache was expecting, but I have a hunch now that a future BB plugin update will meet resistance because of that…)
Otherwise, the trunk version is now humming along…
I want to sue the guy responsible for Murphy’s Law. Right after I posted that, bam: another of those weird errors. But, at least it’s very sporadic which still is progress.
Look in the vertical menu on the left, it’s right under the “Dashboard” (or whatever localized name it may have) or “Home” icon, which should be the first icon.
Assuming you have it installed of course… Check if it’s listed and active as a plugin, if not: upload / activate, input Akismet key, enjoy. 🙂
Forum: Plugins
In reply to: [Plugin: WP Super Cache] Help keeping sidebar widgets dynamicWell, there’s WP Widget Cache which I think is pretty neat and allows you to set individual caching (trigger) settings per widget. Note: you’ll probably also have to set WP Super Cache to “half on” mode. Good luck!
Um… mprindle, just FYI: donncha is the plugin author. 🙂
Speaking of which: it looks like you’ve licked the issue for me, as well (PHP 5.2.6 here) and, FYI, in my case it was typically prompted by visitors coming in from a Google (or Google Images) image search. So far, after using your two suggested files, I’m not seeing those pesky error messages anymore of
PHP Fatal error: Call to a member function get() on a non-object in [path-to] cache.php on line 93, referer: http://www.google.com/
(also happened with other localized Google portals, also Google Images)Forum: Everything else WordPress
In reply to: Can single pages be assigned to a particular user?Another way might be by using the roles and capabilities support built into WP; there’s a nifty plugin that allows you to assign specific capabilities to specifically created roles, called Role Manager which, oddly, states it’s “up to” WP2.6 – but I’ve put it to work on a WP2.7 installation and it works there, too. In this scenario, you’d be locking out access to modifying someone else’s pages/posts.
Note: there’s a difference between the two methods, as (at least, without further modification) User Access Manager blocks any access to the assigned page(s) altogether; with Role Manager you can disallow editing (modifying) someone else’s page, while still permitting access to read it by others.
Forum: Plugins
In reply to: [Plugin: User Access Manager] First comments on betaJust confirming that indeed, in a WP2.7 install, the User Access Manager appears underneath the Dashboard panel, with a separate “gears” icon, with its two settings pages.
(BTW – now that I’m typing: that “negative access” thing might, perhaps, be solved in a different way: by allowing the definition of a group of members with user level 0 – i.e., visitors – to be granted a specifically assigned access privilege on specific pages/posts; that way, at least in theory, the pages that don’t have such a specific access set for those users with level 0 should still be accessible / visible to them.)
Forum: Requests and Feedback
In reply to: [Plugin: StatPress Reloaded] More StatsProblem is that reliable province/state level IP block data is hard to get by, for use in an open source application. So, barring an option to activate a required subscription-based service (e.g. as available from MaxMind) I think at best a country-based option is available on a world-wide scale, where a marker is set at the country’s centroid (“somewhere in the middle”). And country-level stats aren’t really that helpful… I’m not sure the necessary investment of building some IP-based geocoding into StatPress Reloaded is worth that effort.
(Yes, there are some finer tuned and “free” IP geolocation DBs around, even at city-level, but they’re any possible combination of being either not very accurate, or not available world-wide. And regardless of that, I believe they’re fairly large and CPU expensive to use.)
Look much forward to the graphs though!
Forum: Themes and Templates
In reply to: template utilising gettext __() & _e()Start by looking at this bit, and see if you can simply echo instead:
<?php printf(__('Posted in %s'), get_the_category_list(', ')); ?>
Something like:
<?php _e('Posted in %s',TEXT_DOMAIN_NAME) . echo(the_category(', ')); ?>
Sidenote: you’re not using the textdomain feature – e.g. with German you could have separate translations for users in Switzerland, Austria and Germany. As you leave it out, it’ll pull out what it has, wherever – even from WP’s own .mo file.Hope that gets you moving along faster/better… I’m not a PHP coder – just looking at lots of Gettext-ready PHP files when I’m translating myself.
Forum: Plugins
In reply to: [Plugin: User Access Manager] First comments on beta(In case you wonder how I use your plugin for navigation purposes: in conjunction with another crafty plugin, Mark Jaquith’s great Page Links To which allows for the creation of “phantom pages” serving only as redirectors, without actually showing any “content”, but which do appear in menus. No access to such a phantom page means therefore no visible menu item; access to a phantom page means seeing a menu item. And presto: a conditional, pseudo-dynamic user login state reflecting menu is born! And yes, that [L] is very helpful.)
Forum: Plugins
In reply to: [Plugin: User Access Manager] First comments on betaAlexander, I don’t know why, but your plugin works flawlessly for me – and even without hacking into WP core files. Amazing!
Now, don’t laugh… I’m trying to figure out a negative permission – so that members of a given, specifically designated group have no access to an item (i.e., a page). OK, you can laugh.
Here’s the scenario: I’m actually using it to drive navigation items (so, menu lists) and what I’d like is to hide a menu item once a user is logged in. E.g.: I have a “login” menu item for non-logged in users (redirecting after successful login to some member-specific page), but that makes no sense for already logged in users.
(Perhaps that’s also why I don’t / didn’t need to change my core files, as I’m not using it to deny access to pages or posts or downloadable items…)
Either way: you’ve created a great, great asset in the WP plugin toolbox – thank you!