cavan
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Photopress plugin BORKS when using site root wp index.I’ve been having a similar issue with the PhotoPress plugin:
Warning: opendir(/home/******/public_html/index.php/index.php/wp-content/photos): failed to open dir: Not a directory in /home/******/public_html/wp-content/plugins/photopress.php on line 157
Warning: readdir(): supplied argument is not a valid Directory resource in /home/******/public_html/wp-content/plugins/photopress.php on line 159 no images yet
Lines 157-159 from wp-content/plugins/photopress.php are:
$handle = opendir($pp_photospath);
$list_array = array();
while (false !== ($folder_contents = readdir($handle))) {I’ve uploaded everything into the correct directories but there still seems to be a problem somewhere, and I think maybe the problem lies here in lines 135-137 in the wp-content/plugins/photopress-inc.php file:
$pp_albumaddress = $pp_siteurl . ‘/’ . $pp_albumname;
$pp_photosaddress = $pp_blogurl . ‘/wp-content/’ . $pp_photofolder;
$pp_photospath = $home_path . ‘wp-content/’ . $pp_photofolder;I’ve tried installing this pluging three times now and I still can’t pinpoint the problem. Is anyone available to help me out with this?
Forum: Themes and Templates
In reply to: kubrick questionFYI for anyone having the same issue with the Kubrick theme (and using WP 1.5):
1. Open the Kubrick theme folder and load the header.php into whatever editor you’re using.
2. Look around line 54 for this div:<div id=”header”>
<div id=”headerimg”>
<h1>“><?php bloginfo(‘name’); ?></h1>
<div class=”description”><?php bloginfo(‘description’); ?></div>
</div>
</div>3. Change <div id=”headerimg”> to div id=”headerimg” onclick=”location.href=’/wordpress/index.php’;” style=”cursor: pointer;”>. This should allow you to click on the header image and return to the index.php, no matter what page you’re on.
4. Upload the revised header.php to the appropriate directory.
Forum: Installing WordPress
In reply to: case-sensitive loginsThere’s no further input on this? For our site, I don’t want our users’ password or username to be case-sensitive. It’s frustrating for a lot of them who aren’t so saavy with the WWW and computers in general…and quite a few get irritated and give up trying to ‘blog in’.
How can I go about changing this?
Forum: Plugins
In reply to: Destination after User LoginI had the same issue, so I had a look at the wp-login.php and fixed the redirect:
lines 181-186 (approx.)
do_action(‘wp_authenticate’, array(&$user_login, &$user_pass));
if ($user_login && $user_pass) {
$user = get_userdatabylogin($user_login);
if ( 0 == $user->user_level )
$redirect_to = get_settings(‘siteurl’) . ‘/wp-admin/profile.php’;Try changing line 186 from “/wp-admin/profile.php” to “/index.php” (no quotes of course) and that should work.
Bear in mind this only works for your blog users, not you as admin.