ringmaster
Forum Replies Created
-
Forum: Alpha/Beta/RC
In reply to: Wanted: role-based plugins!Stinking server goes down too frequently. I’ve now set it to send me text messages when it goes down, so it hopefully won’t stay down long when it does go. In any case…
The full version of Role Manager is complete:
https://redalt.com/wiki/Role+ManagerForum: Installing WordPress
In reply to: 2.0 Very Soon!!The new 2.0-specific version of EzStatic will be released “real soon now”.
Forum: Installing WordPress
In reply to: 2.0 Very Soon!!FYI:
ColdForged’s Image Headlines works just fine on my 2.0 site.I don’t use RunPHP, but I hear it’s not friendly with 2.0 for some reason. A pending-release 3.0 version of my EzStatic plugin will enable exactly the same thing and support WP 2.0 Roles. It also does some other neat things that those two plugins don’t do.
Forum: Fixing WordPress
In reply to: Error.. after upgrade..k2 is the culprit here. It is attempting to query on a field that does not exist in the WordPress 2.0 schema.
The fix is quite easy.
Open theloop.php in a text editor, and make these two changes:
Line 75:
Published by <?php the_author_posts_link(); ?>
Line 108:
Published by <?php the_author_posts_link(); ?>
If you only have one author (that’s what the original line tries to detect), then you can simply change both lines to:
Published
That should remove the error and get the theme working mostly as expected.
There is not a simple query that can easily replace the one that is used.
Forum: Alpha/Beta/RC
In reply to: Why has this Option been removed ?Forum: Fixing WordPress
In reply to: Dashboard – Incoming Links problem@ian2: Exactly what am I meant to infer from that link? That I didn’t search before I posted? Please point out the other thread that also offers a fix for this problem – or were you too lazy to search it out?
Oh, yes, now I remember why I generally stopped posting here.
Forum: Fixing WordPress
In reply to: Dashboard – Incoming Links problemTHE FIX: (At least, how I made it work better for me)
1. Go to Technorati and get a developer API key.
2. Open the file/wp-admin/index.php
in a text editor.
3. Find the link to the technorati feed in that source code around line 88.
4. Replace that line with this one (this is all one line, trust me):$rss = @fetch_rss('https://api.technorati.com/cosmos?key=PUT_YOUR_API_KEY_HERE&url=' . get_option('home') . '&type=weblog&format=rss');
5. Insert the API key you obtained into the line above as marked.
6. Save and enjoy.What works for me might not work for you, but at least the links won’t be totally wonky.
Technorati API Docs: https://developers.technorati.com/wiki/TechnoratiApi
Technorati API Keys issued here: https://technorati.com/developers/apikey.htmlForum: Themes and Templates
In reply to: Check whether a post is under a category?function in_cat_hierarchy($cat, $postid = '')
{
global $category_cache, $cache_categories, $post;if('' == $postid) $postid = $post->ID;
$incats = array();update_post_category_cache($postid);
$categories = $category_cache[$postid];
foreach($categories as $category) {
$incats[$category->cat_ID] = true;
$incats[$category->category_nicename] = true;
$parent = $category->category_parent;
while($parent != 0) {
$incats[$parent] = true;
$incats[$cache_categories[$parent]->category_nicename] = true;
$parent = $cache_categories[$parent]->category_parent;
}
}
return !empty($incats[$cat]);
}Forum: Fixing WordPress
In reply to: WordPress Backup Week July 23-30Hi all! I’ve made a few updates to Skippy’s wonderful wp-db-backup plugin, which allows you to backup your database directly from WordPress.
You should check out Skippy’s original page on version 1.4, and then pop on over to RedAlt to download my updated version 1.5.
Even if you’re not using this plugin, make sure you’re using something to backup your data. You never know when your server might catch on fire…
Forum: Fixing WordPress
In reply to: wp_list_pages outside WP to point elsewhere?You’ve gone through a lot of trouble to avoid using the default Loop and use separate pages. Can we ask why?
Can you not accomplish virtually the same thing with the built-in rewrite rules that WP generates?
Forum: Fixing WordPress
In reply to: Can’t add categories!Me: Dear?
Her: Yes, hon?
Me: I think it’s about time we upgraded.
Her: Again?
Me: Well, there have been three service releases since last time.
Her: Oh!
Me: Yeah, that’s what I’m saying.Forum: Fixing WordPress
In reply to: post id as php variable?Yeah, like:
function some_func() {
// Works inside of the loop
global $post;
$thePostID = $post->ID;
}or:
function some_func() {
// Works in single posts outside of the loop
global $wp_query;
$thePostID = $wp_query->post->ID;
}Forum: Fixing WordPress
In reply to: post id as php variable?$wp_query->post->ID
Forum: Fixing WordPress
In reply to: Link Manager main page: Can I do this?The Links Page download is now here:
Forum: Fixing WordPress
In reply to: 1.5.1 RSS issueMy feeds were broken because of a plugin, not because of the upgrade. Since I was in the middle of transferring my site to a new server at the same time as the 1.5.1 upgrade, and moving my WordPress install to a subdirectory, my feed won’t be subject to the same problems as a typical install. So don’t make comparisons to what I’ve done. Besides that, it’s working fine now. ??