skippy
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WP Hacked TwiceOn UNIX-like systems, some account needs to run programs. On UNIX-like systems, only privileged accounts (generally the root account) need to run programs that open TCP or UDP ports below 1024 (these are called “privileged ports”). It is an extremely bad idea to run most programs as root, so what Apache does (and many other programs do) is to start as root to open the port, then switch to a different, non-privileged account to do all the work.
On my Debian server, Apache uses the
www-dataaccount. So the Apache daemon is started by root, opens TCP port 80 (and 443), then switches towww-datafor handling all the incoming connections.All of the files in my web site are owned by me, with permissions for everyone else to read them. In this way, the
www-datauser can access my files for use on my website, but thewww-datauser cannot modify these files — only I can.Some hosting providers configure their systems to run the Apache daemon for your site using your user account. In this case, your user account is effectively running Apache, which means that Apache has full access to any files to which you have full access. So, setting file permissions to 644 would mean that the Apache process can write to your files, because Apache is using your user account.
If any of that is still unclear, please let me know which parts need clarification.
Forum: Fixing WordPress
In reply to: WP Hacked TwiceFile permissions can be tricky; but that’s only half the issue. The other issue is file ownership. If the files are owned by the same user account as used by the Apache process, then the files will always be writable via the WordPress file editor.
Forum: Fixing WordPress
In reply to: Password helpPodz: do you have access to the server logs? If so, you can check whether wp-login.php has been requested a lot of times. That’ll help confirm whether it was a brute forced attack.
Has this password been used anywhere else?
Has it been transmitted over an insecure network, like a coffeeshop wireless network?Forum: Themes and Templates
In reply to: Moving sidebar to a seperate page.Create a Page template with a reasonable name (like “sidebar”). You will not want to name the actual file
sidebar.php. Instead name it something likesidepage.php.Place in this template all the code you want. Then compose a new Page in WordPress and select your “sidebar” template.
Finally, remove all instances of
get_sidebar()from your template files (or just delete the contents of sidebar.php, which will have the same effect).Forum: Fixing WordPress
In reply to: making comments pop up?Have you read the
comments_popup_linkandcomments_popup_scriptdocumentation? I think that should explain what you need. If not, post your follow-up question(s) here!Forum: Themes and Templates
In reply to: Moving sidebar to a seperate page.When you say “separate page”, do you mean a separate page that visitors would use to access the contents of your sidebar? Or do you mean a separate template file which you can edit indpenedent of the main page, but which will still be displayed as the siebar when displayed to visitors?
The WordPress template system supports a
sidebar.phpfile, and aget_sidebar()template tag. See also the Customizing_Your_Sidebar documentation.Forum: Fixing WordPress
In reply to: How Many Pages Is Too Many?You might look into a pagination plugin for the admin screens, which will limit the number of pages presented in a list at one time.
I haven’t used the Enhanced View Plugin myself, so maybe it won’t solve your problem; but it’s worth trying.
Forum: Fixing WordPress
In reply to: It’s a Bug Hunt !!Trac ticket 989 (and several duplicates) requested that we remove the feed: protocol specification on feed links. Personally, I (and several others) think that’s a wonderful idea; but Matt feels strongly enough about advancing this into a real standard, and none of us are able to present a compelling counter-argument. So it stays.
Forum: Fixing WordPress
In reply to: It’s a Bug Hunt !!I have just set up an automated process to create a snapshot of the Subversion repository. Every thirty minutes it will perform a Subversion check out and then zip the files for you.
You can download the snapshot here: http://www.skippy.net/wordpress/
This way, you can help us out without worrying (yet) about learning Subversion!
Forum: Fixing WordPress
In reply to: Comments FlawImpostercide 1.1 is an important update. The original version blocked all trackbacks and pingbacks.
Forum: Fixing WordPress
In reply to: It’s a Bug Hunt !!Trac does a lot of things, but for Saturday we’re concerned primarily with the ticketing system for reporting bugs and requesting features.
http://trac.wordpress.org/report presents several pre-defined reports to use. The ones most important for Saturday are these:
Full list of open bugs: http://trac.wordpress.org/report/12
Bugs with patches: http://trac.wordpress.org/report/14
Bugs needed patches: http://trac.wordpress.org/report/13Using these reports, we can work through the list of bug reports. People without coding experience will be asked to test the patches already submitted, and confirm whether the patch fixes the bug. People with coding experience will be asked to submit patches for the tickets that lack them (and then the non-coders will test these!).
If you use Subversion and check out the WordPress source, you can use the
svn diffcommand to compare the difference(s) between your local working copy and the server’s copy. This should automatically create an output usable by thepatchutility on GNU/Linux and Mac OSX systems.(Sorry, I don’t use Windows, so I can’t help too much here; but several folks on Saturday should be able to!)
Forum: Plugins
In reply to: WordPress Database Backup Pluginbianca: I’ve been using WP-Cron to drive WP-DB-Backup since July, and I’ve only received duplicate emails once. It was last night when the time went back an hour for Daylight Savings Time.
Forum: Plugins
In reply to: Plugin wanted: Author Avatar (For site with multiple post authors)My Gravatars plugin does not require gravatar.com — it can manage locally stored images for locally-registered users.
Kahil: you can use my plugin’s
gravatar()function to display gravatars anywhere inside your templates, however you want. If you want the gravatar image to link to that author’s posts, simply wrap the image inside the appropriate anchor tag.Forum: Everything else WordPress
In reply to: commentairesPlease also provide a link to your site, so that we can try to leave comments, and see for ourselves what happens. This is often far more helpful than you might imagine.
Forum: Fixing WordPress
In reply to: Two Instances, Singe AuthenticationYou’d need a plugin, and I’m not aware of any plugin for this situation at this time.
Basically, you’d make one of the databases into the “master”, or the authoritative one; and the plugin would override all the login / profile / password stuff on the _other_ blog in order to check the data in the master blog’s database.