ifelse
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: Goodbye and good luck to all.It’s a shame to see you go but I wish you all the best.
Forum: Fixing WordPress
In reply to: Multiple WP instances on 1 Web Server?Did you add different table prefixes in the wp-config file for the two installations?
Forum: Requests and Feedback
In reply to: specific version .tar.gz downloads instead of latest?A quick search turned up this thread which led to the following repository of WP releases. There’s a moral in there somewhere…:-)
Forum: Fixing WordPress
In reply to: Is there a workaround for the query_posts(cat=-x) shortcomings?Looking at the code, it doesn’t appear so. The code basically looks for the existance of a ‘-‘. If this exists, it generates a where clause in to form of ‘category_id != x ‘.
Unfortunately, this will mean that posts which also belong to other categories are picked up as well. What should be done is an anti join – i.e. something like ‘where post2cat.category_id not in (select category_id from wp_categories where category_id = ‘x’)’
However, MySQL versions before 4.1 don’t support the in operator which places limits on what can be relationally. The only workaround is to programatically exclude e.g. via !is_category() or reassign the posts to only a single category.
I’m, of course, happy to be proved wrong.
Forum: Fixing WordPress
In reply to: Switching themes while keeping the same sidebarBe aware that the markup is likely to change between themes. I’d advise writing a new sidebar.php using the Gila Mod sidebar as reference.
Forum: Fixing WordPress
In reply to: Broken images in IE, not in FirefoxWithout a URL, there’s no way for us to help. Can you go back and update your profile with a URL? Also, can you give us an example of how it is broken?
Forum: Themes and Templates
In reply to: one central place on a domain to share themes?“Then, please, explain your question.”
Actually to be fair, he has and Vkaryl has spelt it out even clearer.Forum: Themes and Templates
In reply to: one central place on a domain to share themes?Yes it can be done. This plugin should provide some clues on what you need to do (see load_template).
Forum: Plugins
In reply to: Splash Page (Noob Query)Well done, you’ve managed to do things the hard way:-)
To make a splash page in WP1.5, all you had to do was create a file called home.php in your theme directory with the contents of the index.html that you’re currently using. This would have been the cleaner and easier solution to your problem.
Back to your original question though. The fact that your index page is called something other than index.php should have no effect on update pings.
Forum: Fixing WordPress
In reply to: 2 posts on front page – list all in categoriesI’m no guru, but this post should hopefully point you the right way (after you change the 1 to a 2, of course.).
Forum: Fixing WordPress
In reply to: How to exclude posts that only belong to one category?$cat is an internal variable WP uses to specify the categories to include in the posts collection. However, when a – is prefixed, WP parses this and excludes the category instead.
Note that there are a couple of proviso’s to this method:
- only one category can be excluded this way
- posts must belong to only this category. Posts that belong to multiple categories (even if one of them are excluded) are still picked up. This is due to a flaw in the sql code (which itself was due to a workaround for MySQL limitations).
- This is, to my knowledge, undocumented. I only found this out by examining the source code.
Forum: Installing WordPress
In reply to: Search Engines & WP FoldersYou can stop well behaving spiders with robots.txt.
It’ll probably also be a good idea to password protect the wp-admin directory with a .htaccess file.Forum: Plugins
In reply to: New Plugin: AJAX Shoutbox (WordSpew)There’s a typo in your readme file:
<script type="text/javascript" src="/wp-content/plugins/live-shoutbox/scripts.js"></script>
should be
<script type="text/javascript" src="/wp-content/plugins/wordspew/fatAjax.js"></script>Forum: Plugins
In reply to: New Plugin: AJAX Shoutbox (WordSpew)Very nice indeed. I’ll have a play around with it on my sandbox…
Forum: Everything else WordPress
In reply to: Your Sites Rank on TechnoratiIf..Else – Technorait rank: 1,589
Not that I’m complaining or anything but wow! I think the technorati folks need to sort out their ranking system…‘Should Technorati really be called ‘Technor-ego’?”
Yeah, but it’s harmless fun really:-)