jonthejester
Forum Replies Created
-
Forum: Plugins
In reply to: [Rich Text Biography] [Plugin: Rich Text Biography] Crazy formattingHave the same question myself. I’m sure there’s a better way to go about this in the plugin code itself. It should be the same as the way WordPress does it for the post writing screens.
Forum: Fixing WordPress
In reply to: posting image to WYSIWYG editor as originalLOL… Oh well maybe then that’s a good idea. ??
The only thing about this guy is that he’s a (relatively) professional photographer who likes to keep his stuff the original size to make it look crystal clear. But hopefully he’ll get the hang of it if it’s otherwise there’s not a way to just jump to the original size.
Forum: Fixing WordPress
In reply to: posting image to WYSIWYG editor as originalOnly thing with the corners is that it’s kind of hard to get it to the original size, at least so I find. I could go into the straight HTML window and remove the width/height for the pic, but it’d be easier if there were like a button or something to get it to the original size.
I’m doing a site for a friend who’s not exactly knowledgable in this whole area, which is why I’m asking. I otherwise wouldn’t have a problem ??
Forum: Plugins
In reply to: Categories hack for FeedWordPress?I think after you’ve entered in a feed link, you’ll want to click on the edit link for the feed and then go down to “Notes” under the Advanced section, where you should put “cats: Some Category” and replace the “Some Category” part with the category you want the feed to deposit its stuff into. That’s what I’ve used for my aggregator. Should be more info here: https://projects.radgeek.com/feedwordpress/special-feed-settings/ . Hope that helps.
Forum: Fixing WordPress
In reply to: The case of the disappearing posts…Nevermind…I had to run a custom query, away from the standard front page stuff wordpress does (like this: $temp_query = $wp_query … $wp_query = $temp_query), and I was able to find my stuff on those pages in the database and recreated them. Problem’s solved.
Forum: Fixing WordPress
In reply to: Author profile problemSomeone… please…?
Forum: Plugins
In reply to: WP uploader mod for uploading to user foldersAnyone, please…?
Forum: Fixing WordPress
In reply to: in_category doesn’t work above the loopWell… as I found out last night, either in_category() is just for the loop or it’s deprecated in favor of is_category() and the whole other bunches of is_’s. But thanks for the reference.
I guess we can consider this as resolved. Thanks for letting me know that, though.Forum: Fixing WordPress
In reply to: in_category doesn’t work above the loopI guess to make things new, putting the following code just below “require(‘./wp-blog-header.php’);” makes in_category() work:
if ($posts) {
foreach ($posts as $post) {
$post_id_list[] = $post->ID;
}
$post_id_list = implode(‘,’, $post_id_list);
$dogs = $wpdb->get_results(“SELECT DISTINCT
ID, category_id, cat_name, category_nicename, category_description, category_parent
FROM $tablecategories, $tablepost2cat, $tableposts
WHERE category_id = cat_ID AND post_id = ID AND post_id IN ($post_id_list)”);
foreach ($dogs as $catt) {
$category_cache[$catt->ID][] = $catt;
}
}
…With one slight caveat: the category listing gets repeated. But at least that’s something. Could someone help me with the code to make it work like it should? You can check out the progress here: https://daysdifference.com. Thanks.Forum: Fixing WordPress
In reply to: Nice permalinks not workingJust to make sure, is anyone else having this problem or is this a remote case and my server could have a random bug?
Btw, I’m going to test WP 1.3 on my comp (it’s apache2+mysql+linux), and I’m going to move to a new host. I guess this means I have a remote case, darn it… :-\Forum: Fixing WordPress
In reply to: in_category() brokenDoh, stupid me… I haven’t updated my blog since upgrading to 1.3 (From 1.2)… *sigh* Common sense really humbles me… Thanks guys, really sorry about that. ??
Forum: Fixing WordPress
In reply to: in_category() brokenMaybe it’s my embarissing scant knowledge of PHP, but I tried changing the line if($single) to if(!$single) and it spit out this:
Warning: Invalid argument supplied for foreach() in /home/plaincul/public_html/jon/wp-content/themes/simplicity-04/category.php on line 5
Rats… What else should I change in that code snippet?Forum: Fixing WordPress
In reply to: in_category() brokenForgive my ignorance, but what’s the variable for multiple posts?
$single = Single posts
$mult = Multiple posts?
Thanks so much.Forum: Fixing WordPress
In reply to: in_category() brokenIn all truth, not exactly… Although the exact same function call (I think it is) works in WP 1.2, for a friend’s site I’m helping to build. So where are Matt’s instructions again?
Forum: Fixing WordPress
In reply to: Nice permalinks not workingBtw, does anyone know where the file-writing code is, like which file it’s in? I’m curious to see how it works for .htaccess.