Christopher J. Hradil
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Changing the Permalink structure, should I..?Just throwing .02 in on this one;
I think it sad that no one could even post an opinion or suggestion.. wtf!?
i think it boils down to when the forum ‘supporters’ (regular question answerers/moderators/etc) are stumped on something, in a general sense, one of two things happens, either, there’s just no one out there with better information, or folks feel intimidated posting an answer.
i’m going to start up a thread on a similar topic (which I’ve sent in to wp-hackers already) and I’ve got the feeling based on past experiance that it won’t get much response.
Forum: Fixing WordPress
In reply to: WP changes encoding after Update to 2.0.4what’s the default charset and colation in your MySQL install ? (you can get this information either from the command line with
show variables;or using phpMyAdminForum: Fixing WordPress
In reply to: WordPress being set as homepage is causing IE freezejust tested in IE and FF, seems to work fine from here. it’s probably a problem with your PC/browser. what version IE ?
Forum: Themes and Templates
In reply to: php code inside `<style></style>` definitionsfirst, and most simply (which is likely the problem), you can’t re-declare the same ID within the same document with css, so for example if you have more than one #content div in the same document, they’re all going to display the same background. (I assume you do since you want to change the background depending on category, unless you’re talking about individual post pages with only one #content div)
either way, take a look at how something like the default WP theme handles alternating comment div boxes, then work from there, using category template tags if you’re working on a page with more than one post, if it’s a page with one post at a time, it looks like it’s a problem with the path to your image.
Forum: Plugins
In reply to: Multiple Banner Ad Rotator?I’d (actually it’s what we use for most clients) use phpAdsnew, which is an open source banner ad management system – it runs independantly, however it’s simple to insert the banners into your WP install/theme. we like it because it’s so easy for clients to manage thier own banner advertising, etc. see http://sourceforge.net/project/showfiles.php?group_id=11386
Forum: Themes and Templates
In reply to: How can I move fSpring up closer to the top of page?remove or reduce the margin/padding at the top of your theme’s banner image. you’ll find it in your theme’s style.css file.
Forum: Fixing WordPress
In reply to: How to find all the BOMs in my blog?check all of your theme’s files, that’s where they’re coming from. for the homepage for example, start with header.php, sidebar.php and index.php, they’re in the theme, not WP.
Forum: Fixing WordPress
In reply to: hover in CSSactually, the :hover and :focus pseudo classes do work with some other elements in IE, it’s more dependant on correctly nesting or “cascading” your css — example, you can get them to work on things like form elements with no javascript but not if you simply declare a .new_class, it would need to be more explicit, like
#formID element:focus { whatever }instead of<form class="new_class">, etc.…c
Forum: Fixing WordPress
In reply to: Movable type – did not export, just copied dir – how to import?just an FYI, for future readers/searchers. I had to do an import of a VERY large MT site into WP (the MT/TP site was over 11,400 posts/pages). The MT export didn’t want to work (kept hanging) for that large a site, so I wrote a set of perl scripts to extract the needed data from both or either the SQL dumps or directly from the MT/TP html pages, then write it to a properly formatted WP import file. If anyone needs the scripts, please feel free to contact me.
Maybe someday if I have time I’ll post them to my site.
Forum: Fixing WordPress
In reply to: Server Crashed Site Suspended- php code stuck?there are a couple of issues with #2 and #3, if the host did a ‘default’ upgrade of MySQL you’re going to run into some database charset/collation problems (wordpress, and many other open source/mySQL php apps like UTF8 for charsets and encoding, the ‘default’ mySQL install falls back to latin1_swedish for charset/collation, so if the server isn’t properly configured (correct version of iconv/recode installed, etc) you’ll run into performance issues as MySQL tries to do charset conversions). and running php as cgi is also going to be a big performance hit over mod_php.
so, i don’t think you’re doing anything wrong exactly, it seems more like some of the changes the host made are causing the issues.
Forum: Fixing WordPress
In reply to: Strange error 404 with PHP code.WP pages are stored in the posts table, so that’s no problem. sounds to me from what you’re describing you should do the following:
1) disable all plugins
2) check your permalink structure/options
3) check your .htaccess file to make sure WP code has been added
4) check permissions on .htaccess
5) start re-activating plugins one at a time until the problem happens again, then you’ll know which plugin is causing the problem.if you’re getting the ‘classic’ 404 page, the re-writes aren’t working (nothing is being re-directed to index.php which is what needs to happen for WP and the WP 404 page to kick in).
….c
Forum: Fixing WordPress
In reply to: Installing WordPress in my own designif you have an existing site design which you’d like to use with wordpress, you’ll need to develop your own WP “theme” to acomplish all of what you’re looking for. sidebar.php (which can either be left or right side) for example is a WP ‘default’ template file, for a three column layout you’ll need a lefbar.php and rightbar.php (leftside, rightside, whatever you want to call them), inside of those files you simply use the appropriate template tags (see the codex) to display what you need, you can also incorporate inside of those (as well as in the “main column” php file) any other features from other applications, etc, as needed.
Forum: Themes and Templates
In reply to: templates for simple non-blog sitewordpress will work for this, a better option depending on the complexity of features needed might be xoops (www.xoops.org). with WP, you’d just need to choose or develop a ‘theme’ and remove the blog-like things you don’t need from the sidebar navigation (pretty simple to do).
there are many plugins available to handle more CMS like functionality, and additional features such as photo galleries, forms, etc. check out http://wordpress.org/extend/plugins/
Forum: Fixing WordPress
In reply to: Admin Theme – PHP GURUS HELP!!i would use something like
<?php if exists your function{whatever you want to do} ?> <?php else the_old_stuff ?>Forum: Themes and Templates
In reply to: Theme problems with Subscription templatejust looks like you need to do a little css tweaking, there’s either some margins or padding in the subscribe2 page that’s causing the overflows.
…c