Ming
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Can’t get WP 1.5 to write proper .htaccess rulesJust 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 directoryrequire('./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.Forum: Installing WordPress
In reply to: Why are my wp file associations changing?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.
Forum: Requests and Feedback
In reply to: “Writing Options” wording suggestionI 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.
Forum: Fixing WordPress
In reply to: Blank Login after adding second blogGlad 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.
Forum: Everything else WordPress
In reply to: How can i setup user levels?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.
Forum: Themes and Templates
In reply to: Comments and CSS ProblemTry validating your page. There’s two errors that appear on your comments page that don’t appear on your index page.
Forum: Fixing WordPress
In reply to: “Internal Server Error”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. 🙂
Forum: Everything else WordPress
In reply to: creating page background imagesThere’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 😉
Forum: Everything else WordPress
In reply to: creating page background imagesMitch: Check header.php. In the default (kubrick) theme that’s where the background images are called from.
Forum: Fixing WordPress
In reply to: “Internal Server Error”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.
Forum: Fixing WordPress
In reply to: 2 really annoying issues – sidebar not appearing and text spacesMoshu’s got the text-formatting fix above. You can remove
text-align: justifyfrom your css style sheet. That’s the command to spread the text across the full column. Other options are left, right and center. If notext-align:...commands are present it will default totext-align: leftForum: Fixing WordPress
In reply to: “Internal Server Error”I can post it, edit it and delete it. (1.5 stable)
Forum: Plugins
In reply to: What does PHP colon (:) do?Just for extra info
http://php.net/manual/en/control-structures.alternative-syntax.php
Forum: Fixing WordPress
In reply to: File editor in wordpress pathsI 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 toexample.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 fileexample.com/wp/index.php/wp-admin/admin.phpwould editexample.com/wp/wp-admin/admin.phpForum: Fixing WordPress
In reply to: Proper double-spacing in output?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!