Xander
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: LIMIT -1 coughing up error now for some reason…Yes, as it turns out. I’ve had to run around changing limits left and right.
Forum: Fixing WordPress
In reply to: LIMIT -1 coughing up error now for some reason…I had read somewhere that -1 made for unlimited posts… and it was working for a good six months.
Forum: Fixing WordPress
In reply to: LIMIT -1 coughing up error now for some reason…I wasn’t even near a computer when this error began to crop up…
Forum: Plugins
In reply to: Calendar RecommendationsYou might want to consider sinking some time and effort into learning a few basics to get a better grip on things ?? WordPress plugins handle a few things well (and if what you want to do is covered, great! no muss no fuss) but a lot of stuff you just have to DIY… but it’s worth doing. WordPress is a nice little sandbox to build up some coding skills from scratch.
Forum: Plugins
In reply to: Respond to comment by email with quotingOne more check-up… this seems like it should be a basic feature.
Forum: Fixing WordPress
In reply to: Podcasts/RSS FeedsI’ve never verified if my site is actually “podcasting” as it should be (plus I’m enclosing bittorrent files but that’s another matter) but I think you’re looking for this plugin:
https://www.15framespersecond.com/enclosureflex/Load it up, and when you provide a link to an mp3 in your post, SAVE AND CONTINUE EDITING, and then select the mp3 from the Enclosure drop-down box just below the text entry field.
Allegedly wordpress automatically encloses but it doesn’t seem to work post-2.0 and I never saw an explanation for it. Even if it did work it sounds daft, cuz I hardly want to enclose every link I throw up on my site. Hope this helps.
Forum: Your WordPress
In reply to: An unusual WordPress incarnationActually, I’ll probably get around to making it compliant at some point, I’m just not overly concerned is all. I’m glad it’s not too hard to read at least! Thanks for the comments.
As for the review section, it is indeed done with custom posts. It’s a triple loop, pulling content with get_posts by sub-category (Albums, Comps, etc).
I have a bit of cheap code to check for the value of ‘view’ in the URL. When it comes time to spit out table rows I simply run things through a switch() which is real easy to customize with conditional logic and the c2c_get_custom() function. Example:
case “classic”;
if (($rate >= 7) && ($year < (date(“Y”) – 3))) { reviewListBody($cat_name[$i]); }
break;reviewListBody() simply generates the row. $rate and $year are defined by the aforementioned c2c_get_custom() function, using the Get custom values plugin:
https://www.coffee2code.com/archives/2004/06/30/plugin-get-custom/
It’s pretty basic stuff, but I’m no PHP expert ??
Thanks for looking.
Forum: Fixing WordPress
In reply to: pingback query – pinged myself?Great situation. If you turn on “Attempt to notify any Weblogs linked to from the article” (which should really be labelled “pingbacks” if thats what it is) wordpress will idiotically do a self-pingback. The “solution” is using relative paths which break in the feed.
Is there a way to find out if this sort of “feature” is being fixed in a new version? Or maybe initiate the process? It seems like it would be a simple matter to check to see if the domain is the same as the blog’s and then not bother doing the pingback.
I think I’ll just avoid using it, but wow was I ever surprised when the first comment on my blog came from myself ??
Forum: Plugins
In reply to: Comment System ReplacementIt might not be much work, but it still seems bizarre that such a thing would be left out of something that is supposedly “state of the art”… error handling is a very basic part of user interface design, and in this respect it’s as if whoever was coding this decided not to bother.
Ah well, I’ll sort it out… just another one of many fixes I have to do before I can go public.
Forum: Requests and Feedback
In reply to: Required Email in comments Not WorkingForget it, I guess this is a “feature”. WTF.
Forum: Requests and Feedback
In reply to: Required Email in comments Not WorkingI am having this problem now… can’t seem to find a solution anywhere I search either (possibly due to the poor state of the search here and everywhere)… is there an easy fix for this one?
Forum: Plugins
In reply to: Kill the dashboardThanks… it was actually a lot easier to hack the index.php to bits than I thought it might have been. *snip, snip* now it’s clean and functional without all the additional bloat.
Forum: Fixing WordPress
In reply to: Edit Pages – Limit to owner?https://trac.www.ads-software.com/attachment/ticket/2301/restrict_pages.php
That seems to work for now… with the roles plugin. Owen rocks!
Forum: Fixing WordPress
In reply to: Bittorrent enclosures in RSS feed?The “flexible enclosures” plugin seems to work as well…
Forum: Fixing WordPress
In reply to: How to hide categories in the feeds?Of course nothing is as simple as it seems! That didn’t work as desired. Here’s what I ended up with (and I’m crossing my fingers I don’t find some new wrinkle)… sample from wp-rss2.php:
<?php $items_count = 0; if (!is_category()) { query_posts(‘cat=-6’); } if (!in_category(‘6’)) { if ($posts) { foreach ($posts as $post) { start_wp(); ?>
<item>
<title><?php the_title_rss() ?></title>
<?php if (get_settings(‘rss_use_excerpt’)) { ?>
<description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
<?php } else { // use content ?>
<description><![CDATA[<?php the_content_rss(”, 0, ”, get_settings(‘rss_excerpt_length’)) ?>]]></description>
<?php } ?>
<link><?php permalink_single_rss() ?></link>
<?php rss_enclosure(); ?>
<?php do_action(‘rss_item’); ?>
</item>
<?php $items_count++; if (($items_count == get_settings(‘posts_per_rss’)) && empty($m)) { break; } } } } ?>Its that first line that is really important… IF the feed is not for a category, query_posts and get everything except cat 6 posts. If however one is in category 6, don’t display anything in the feed. This keeps category 6 out of action as far as I can tell, with the added bonus of not mucking with the other feeds as far as I know.