Reuben
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How can I properly tell if there are “more” in category?That’s what I’m using tho; my hack function is just to add a css class to the links. It still shows up with “next” even if there aren’t posts on the next page. Any other ideas what could be wrong here?
Forum: Fixing WordPress
In reply to: How? One post on front page, many in search/categoriesMoshu, that’s perfect, thank you.
Forum: Plugins
In reply to: Search Reloaded – loses next/previous pagingHi Denis, thanks for following up. I’m not sure what you need to know, but here’s the outline.
If I turn off search reloaded, and search, then I get fwd/back paging.
If I use the “simplesearch” plugin and search, I also get fwd/back paging (although, frankly, the results are not as good)
Finally, if I turn on search reloaded, the paging links disappear.
I looked at the php function which is being called from the search page (posts_nav_link) and it seems like it requires some variables to be set up previously to tell it whether to generate the links or not; on a brief reading of the search reloaded code (and I’m not a php coder per se, so I may have missed the relevant section) I didn’t see it.
Let me know if you’d like me to add any echoes etc to debug this further.
Forum: Fixing WordPress
In reply to: Comments and Posts feeds are returning both the commentsAfter making the change you have to make a static page to “flush the rewrite rules”, whatever that means.
Forum: Plugins
In reply to: Search Reloaded – loses next/previous pagingYeah, it’s a plugin. It enhances the search by adding a couple of filters to bypass some of wordpress’ internal search functions (and turns up much more relevant results). The author is here: https://www.semiologic.com/software/search-reloaded/, but he doesn’t accept direct support queries…he wants them to be posted here.
I’m using the simplesearch plugin in the meantime, but as soon as there’s a fix I’d like to revert to search reloaded.
Forum: Installing WordPress
In reply to: Search Reloaded does not respect “cat” searchesAHA. My host is using mysql 4, which doesn’t support subqueries. Here is the fix for the search_reloaded plugin:
Just before $search_query is defined, add the following:
$where = ” WHERE “;
$cat = get_query_var(‘cat’);
if (isset($cat) && !empty($cat)) {
$where = “, $wpdb->post2cat AS cat WHERE cat.category_id = ” . $cat . ” AND cat.post_id = posts.ID AND “;
}Now, replace the line a little further down:
WHERE
with:
” . $where . “
This will only search one category. WordPress’ internal search has teh ability to search multiple, but I don’t need that, so …
Forum: Installing WordPress
In reply to: Search Reloaded does not respect “cat” searches(BTW it’s commented out because it’s throwing an SQL syntax error)
Forum: Installing WordPress
In reply to: Search Reloaded does not respect “cat” searchesI’m almost there on this one; I do:
$category_branch = “”;
$cat = get_query_var(‘cat’);
if (isset($cat) && !empty($cat)) {
// $category_branch = ” AND posts.ID = ANY (SELECT post_id FROM $wpdb->post2cat WHERE category_id=” . $cat . “) “;
}and then just append $category_branch into the query.
However, I can’t get it working. What am I doing wrong?
Forum: Fixing WordPress
In reply to: How to parse the query urlGreat,thanks!
Forum: Fixing WordPress
In reply to: How to search just one categoryI figured this out — instructions here:
https://flavor8.com/index.php/2006/03/04/how-to-search-a-single-category-on-wordpress/Forum: Fixing WordPress
In reply to: New Page – Can’t change categoryAh, thanks
Forum: Fixing WordPress
In reply to: WP 2.0.1: Error Accessing “Awaiting Moderation” pagemo’ bumpy. I think this is a WP bug
Forum: Fixing WordPress
In reply to: WP 2.0.1: Error Accessing “Awaiting Moderation” pageThe mozilla folks suspect a funky mime type. Can anyone confirm??
Forum: Fixing WordPress
In reply to: WP 2.0.1: Error Accessing “Awaiting Moderation” pageI’ve found out a little more on this — wordpress is somehow serving moderation.php as a file to be downloaded. Why?
Forum: Fixing WordPress
In reply to: WP 2.0.1: Error Accessing “Awaiting Moderation” page*bump*