Forum Replies Created

Viewing 15 replies - 31 through 45 (of 80 total)
  • Forum: Fixing WordPress
    In reply to: missing htaccess

    Actually now that I read back more about it in Google’s cache of that page, this makes more sense to me. I can explain: if your web server is still using Apache 1.3 (which many still do) it would be a good idea to get this. The plugin works around a bug in Apache 1.3’s use of mod_rewrite which causes it to use “greedy?? regexes, which if your goal is to increase memory… well, definately a good idea.

    I also found a workable download.

    Forum: Fixing WordPress
    In reply to: missing htaccess

    I’m not sure what memory allocation has to do with .htaccess, but I can explain how you can get yours functioning again.

    What you want to start with is a totally empty .htaccess file in your blog’s root folder. Certain things need to be written *first* in order for rewriting to work. The next thing you want to do is go to Options -> Permalinks, figure what you want, and hit ‘Update’. This will write in all the correct rules, correctly.

    If you are still having trouble your host might be using an older version of Apache. Try this plugin if that’s the case.

    Link please?

    Well, if by “news script” you mean an XML feed of some sort, then yes definately. WordPress comes packaged with RSS, RSS2, RDF, and Atom. All you would need to do is add a feed parser of some sort to your site.

    Not sure if this is exactly what you mean, but hope it helps.

    Hmm… well, although I haven’t used this plugin in my 2.0 blogs yet I do know Scott O’Reilly’s Hide/Cut Post Text plugin has some of the functionality your speaking of. That is, keep portions hidden from visitors below a certain level. I know it’s not what you’re looking for in terms of 1) hiding the whole page or 2) redirecting to the login, but you may want to take a look at the code anyways.

    These settings should be in Options -> Reading -> Syndication Feeds. Even if it already says 10, hit update once just in case.

    Forum: Installing WordPress
    In reply to: <?php } ?>

    In php, you can set conditions for when to do something. For instance, is_search() in WordPress will be true anytime the page being displayed is a search page. To execute code when it is true you use brackets {}. These brackets can cover multiple lines and you can put normal ol’ html in between if you like. For instance:

    <?php is_search() { ?>

    <!-- notice no closing bracket -->
    You're currently looking at a search page.

    <?php } ?>

    So all that inside those will only display when those conditions are true. If you’re interested (which I doubt, since that seemed just an idle question) there’s more info in the Codex.

    And that’s where lonely brackets come from.

    Oh good lord — you turned a question I thought I could answer easy into a quest…

    Ok, what I’ve deduced from the amazing PHP WordPress Cross Reference is that MONTH(), though it looks like a function, is not. It’s actually part of an array that’s pulling MySQL queries. My basis for such a hypothesis: $wpdb->get_results(... and the fact that the commands are all in CAPS. $wpdb is defined in wp-includes/wpdb.php and has everything to do with talking to MySQL.

    Hope this explains it, but bear in mind I am not a PHP expert. It’s just incredible what a little color-coding will do.

    And hey, what was wrong with the_date('M y') in the first place? ??

    My next bit of advice then would be to take a long, deep, loving look into the code for wp-admin/post.php — in particular the #postdivrich element. You’d need to figure out how it uses all its javascript. And you can get cozy using this excellent WordPress coding resource.

    If you do choose to cobble together a plugin I’m sure it’d be very popular… people are utterly enamored of anything that makes their stuff look cooler. And that surely would.

    Well, I’m not really sure what you’re asking…

    If you’re talking about <title> inside the HTML document <head> (the text displayed at the top of a browser window), you want to edit your theme’s header.php file. Look at the WordPress default theme for a good example.

    If you’re asking how to do this in the sidebar archives, explore this documentation.

    Did I nail it? No? Maybe?

    Well that sounds kinda neat… a way to choose the thumbnails on a case by case (or page by page) basis if you want. The wording threw me a little, though. Let it be known: this plugin actually creates new images and caches them, and doesn’t just alter the sizing values or existing ones. Gotcha.

    Question: does it take the sizing values directly from the <img> tag, or if I had a table with, say height="120px" would that work?

    Forum: Plugins
    In reply to: File attachement

    Oh, it’s an awesome program… trust me.

    I like my host quite a lot — Lunarpages, if you care to know. For my monthly $7.95 I get one gig of storage space that I can use completely for MySQL databases, if I so desire.

    This is not an ad, of course… just a recommendation that many hosts don’t sell by physical modules, but rather storage space. For my money that’s the better option.

    Oh, there have been attempts. What you’re talking about has been tried here, and also here. I’ve been down that road and haven’t had much success, though some have.

    More info on future inclusion (!) and other approaches is listed in the Codex.

    Well I can tell you why the image might seem to intrude on the post under it. This is the defualt behavior for a “floated” element. Elements with align="... are treated like this. For an easy alignment tutorial check Tamba2.org.uk, for more in depth exploration try Floatutorial.

    As to the blog crashing, I don’t have any problems in either IE, Firefox or Opera—so you seem clear. But I would try cleaning up some xhtml validation errors you seem to be getting. Help with that here. Another easy fix is turning off plugins as sometimes they can cause conflicts.

    Best luck, hope that helps.

Viewing 15 replies - 31 through 45 (of 80 total)