Forum Replies Created

Viewing 15 replies - 151 through 165 (of 238 total)
  • Just to clarify, when you go to Options -> General you’ll see there’s two addresses – one for your WP install and one for your blog. So you can install WP files to visakopu.net/wordpress and still have your blog at visakopu.net/. Your .htaccess rules will be written to your blog address (visakopu.net/)

    Make sure you have an index.php at visakopu.net! Copy the one from /wordpress to / and change the line
    require('./wp-blog-header.php'); to reflect your WP directory

    require('./wordpress/wp-blog-header.php'); Then all your rewrite rules will access the / directory, be picked up by the index.php there and be sent on to the WP admin files.

    Just a tip. If you want to change what program opens a file then right click the file and choose ‘properties’. Near the top you’ll see a button named ‘change’. That’s where you can edit file associations. Some programs try to steal associations back too, just one of the fun things we get for running windows.

    I agree. I think your suggestion is good and removes all ambiquity.

    You should report this to mosquito.wordpress.org as a minor bug, that way the devs will see it for sure. Search first to make sure no one else has reported it already.

    Glad to hear that’s all figured out. And I can say with certainly that we’ve all been there!

    Can you clarify if you’re trying two installs on the same db with or without the same table prefix?

    If you have two different table prefixs (ie wpone_ and wptwo_) then that will work fine. I have several installs using the same db with different prefixs.

    But if you use the same table prefix for both installs (ie wp_) then you’d run into problems. WP stores important info like your blog url in the options table. If both installs used the same table prefix then only one blog would have the correct url stored and the other one wouldn’t work.

    The user levels are hard coded into the WP source. There may be a new hook that lets you override them but I don’t know. Hopefully someone else can answer that.

    Here’s an example of a hard coded user level. The user_level >= 1 is the hard coded level.


    function user_can_create_draft($user_id, $blog_id = 1, $category_id = 'None') {
    $author_data = get_userdata($user_id);
    return ($author_data->user_level >= 1);
    }

    If you really need to change user levels you can edit /wp-includes/functions-post.php but it will be overwritten the next time you upgrade.

    The user permissions system is due for an overhaul – just don’t know when it’s going to happen.

    Try validating your page. There’s two errors that appear on your comments page that don’t appear on your index page.

    http://validator.w3.org/

    Definitely interesting stuff. I’ve enabled mod_security on my shared host and I can still post CD, PERL for, form and php & linux system commands. Which I guess, shows nothing more than I have a less restrictive blacklist.

    I’m kind of surprised that your host choose to block CD. Even my grandfather doesn’t say ‘compact disc’. But then he’s the cool kind of Grandpa. 🙂

    There’s two basic ways people add dropshadows to a page.

    1. Use a full width element centered on the css body element. See http://www.alistapart.com/articles/fauxcolumns/ for an example.

    2. Use a background image on your page containing element. So if your page is centered with the #wrap element you’d put a background on that. Check the default (Kubrick) design for an example.

    Basically, you gotta fake it to make it 😉

    Mitch: Check header.php. In the default (kubrick) theme that’s where the background images are called from.

    Word is really sneaking about adding extra junk. The easiest way to make sure nothing extra is present is to cut and paste from word to notepad to wp. Notepad stripes out all hidden formatting. Not sure if that’s the problem but give it a try just in case.

    Moshu’s got the text-formatting fix above. You can remove text-align: justify from your css style sheet. That’s the command to spread the text across the full column. Other options are left, right and center. If no text-align:... commands are present it will default to text-align: left

    I can post it, edit it and delete it. (1.5 stable)

    Forum: Plugins
    In reply to: What does PHP colon (:) do?

    I can edit files using the file manager without a problem. Here’s one hitch though — you can only edit files that are in the directory where you installed WordPress. This can be a problem if you have files in a higher directory.

    Say my blog is at example.com/ but I installed WP to example.com/wp. Then the highest file I could edit would have to be in the directory /wp.

    2 examples using those directories:
    /index.php/ would edit the file example.com/wp/index.php

    /wp-admin/admin.php would edit example.com/wp/wp-admin/admin.php

    As far as I understand it the double space was (is) considered good style because of mono-space fonts. The extra space lets your eye easily tell where one sentence ends and anotherbegins. There’s question now whether it’s appropriate since we no longer rarely used fixed width fonts.

    On the other hand, this is exactly the kind of thing the WP plugin system was made for so well done Leam. Welcome to the plugin club!

Viewing 15 replies - 151 through 165 (of 238 total)