bluegator
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Can someone help me hide the sidebar based on login status?Yes, it will show the sidebar for anyone who has a userlevel > 0, which should be any logged in user.
Forum: Fixing WordPress
In reply to: Can someone help me hide the sidebar based on login status?It’s probably just a syntax error. If you want to completely hide the sidebar, replace
<?php get_sidebar(); ?>
in your index.php file with the following:<? get_currentuserinfo() ; global $user_level; if ($user_level > 0) { get_siderbar(); } ?>
Forum: Fixing WordPress
In reply to: duplicate postsSideblog 3.7 seems to give me some SQL errors when I run it in WP 2.1.3. I was able to modify Sideblog 3.5 to get it to work, but I don’t know if my mods will work for 3.7.
In any case, if you wish to try, the latest version of sideblog is now in the WordPress Plugin Repository. At some point I may contact the author with my “fix” to see if it’s worth incorporating into the plugin.
Forum: Fixing WordPress
In reply to: Blog Name, Title and Tagline sequenceSomething like this, perhaps?
<title>
<?php
if (is_single()) {wp_title('', false);
echo '--';}
bloginfo('name');if (!is_single()) {
echo '--';
bloginfo('description');
}
?>
</title>Let me know if that works, I haven’t tested it at all.
Forum: Fixing WordPress
In reply to: Disabling posts by dateSomething like this:
Update wp_posts set post_status = ‘private’ where post_date < ’01/01/2006 00:00:00′
NOTE: It’s not a very good idea to go poking around MySQL, particularly if you are unfamiliar with it. I make no guarantees as to the correctness of the above in terms of syntax, I haven’t actually run it, but I’m reasonably sure it will work. If it breaks something, it’s not my fault, please don’t blame me: I’m just pointing you in a direction.
Forum: Fixing WordPress
In reply to: i’m very new someone helpSince you are editing the style.css file from the admin interface, that file needs to be writable by the web server’s process (typically the apache user or group on Linux, IUSR_Machine Name on windows.
You are getting the “if this file were writable…” message because the style.css file is not writable by the web server process. You have to change those permissions.
There are a TON of decent themes out there, the majority of which you can customize to add your own look and feel. The Codex’s theme page has a lot of themes organized by layout.
Forum: Fixing WordPress
In reply to: Desktop Client Recommendations?Carl,
I’m not sure what functionality you are looking for (or what OS you are using).
For Windows, I have used wbloggar and found that pretty helpful.
I am currently stuck on the Performancing.com extension for Firefox. It does most of what I want, although it has some issues with posting code (although, so did the WYSIWYG editor in wordpress… code is a tough nut to crack).
Both of the above support multiple blog formats (WordPress/MT, Blogger, LiveJournal, etc) so if you have more than one blog, you can post to all of them pretty easily.
Sorry for such a short list, but these are the only two I’ve used. I know there are a slew of them out there
Forum: Fixing WordPress
In reply to: Server Error/unwritable directoryWhen you ftp and create folders, you most likely using your own username, so the permissions for that user are different than the one that WordPress uses. WordPress runs using the username for the webserver (for example, the apache user is the default username for the Apache webserver, and IIS has a default user of something like IUSR_MachineName (or something along those lines).
So, for that directory, you need to make sure that the apache user has read/write access to that directory. You may want to be careful with that, though, and specify a subdirectory (like /wp-content/images) and make only that folder writable by apache. It’s been my experience that the less access you grant, the better.
Forum: Plugins
In reply to: Complete WordPress Functions ListCheck out the Template Tags section of the codex.
Forum: Plugins
In reply to: LivePress and WordPress 2.0??As a previous user of Live+Press, I too have been waiting a 2.0 version. However, I only used the synching aspect of Live+Press (no moods or music or anything like that).
I’ve started to use the Performancing.com plugin for firefox. I do have to “post” twice, but it will allow you to keep the content over multiple posts, eliminating double typing. It also takes care of the Rich Text editor (although I’ve had no problems with it.)
I’ve had good luck running a combination of Bad Behavior and Spam Karma 2. What Bad Behavior doesn’t block SK2 usually catches.
If you are running WordPress 2.0, you may want to give a try.
Forum: Installing WordPress
In reply to: “You do not have sufficient permissions to access this page.”Thanks for the advice… My particular case was the LivePress plugin.. I guess I’ll have to search for a newer version or different plugin for synching with livejournal.
Forum: Installing WordPress
In reply to: “You do not have sufficient permissions to access this page.”I am getting a similar error, but slightly more specific.
The upgrade seems to have worked fine with the exception that I cannot access post.php, even with an administrator account
I have tried the following:
1. Setting the permissions to “Editor” then back to “Administrator”.
2. Create a brand new user set to administrator and then try to post new or edit.
The error is simply a blank screen with “You do not have sufficient permissions to access this page.”
Any help would be great, otherwise I’ll have to revert to 1.5.2
Forum: Fixing WordPress
In reply to: Backup Sob StoriesYea, sorry about that..
the commands in the bash script are pretty much identical to those that skippy described.
Since I host multiple applications on the server (Gallery, Gallery2, WordPress, Mambo, PhpMyAdmin, etc) I try to backup some of the Large apps seperately (like, just my wordpress directories), and then backup everything else (admin and stats applications) into one big tarball.
While the SQL dump does backup some unneeded info, the automation of everything helps me out quite a bit. Eventually I plan to get a network storage drive and have automated backups to that, but my son has slowly eaten away at my monthly budget, so for now this solution will have to do.
Forum: Plugins
In reply to: Static html RSS feedTo convert the feed (which is XML) into an HTML page, you should be able to come up with an XSL file that can transform the feed into whatever type of HTML page you want.
Check out W3C for a good starting point on XSL transformations.