hereintokyo
Forum Replies Created
-
Forum: Hacks
In reply to: Function Reference/is user logged in not workingI moved my WP installation to the root rather than the subfolder CMS, and that worked. The cookies had the path /cms/ before the move, and now they have the path / which has fixed the problem.
I consider this a bug in WordPress, since putting your installation in a subfolder causes core functions to stop working.
Forum: Hacks
In reply to: Function Reference/is user logged in not workingThanks. I tried adding the meta widget as you suggested. It shows “login” even if I am logged in.
In Firefox, if I delete the cookies for my site, and sign in, then there are new cookies. What makes me think having the installation in a subfolder is the problem is that the cookies show the path of the installation folder, not of the public side of the site.
I will try moving my installation to see if that helps.
Thanks.
Forum: Hacks
In reply to: Function Reference/is user logged in not workingAnmari, Thank you. I tried this
$user = wp_get_current_user(); $userid = $user->id; echo "User ID: " . $userid;
But this always returns the “User ID: 0” even if I am logged in.
My guess is this is an error caused by having my WordPress installation in a subfolder called “CMS” has the session cookies all have the path /CMS/ Next I will try moving my installation to the root.
Thanks.
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Thumbnails not generatingkowiepro, Thank you for that.
I tried generating new thumbnails and got an error: “GD library not installed.” But If did find the file gd.thumbnail.inc.php in the plugin lib folder. I have used next gen before in WP 2.9.1 with no problems. This was a new install of the plugin on a site that started as 2.9.2, and I have this problem. It might be a compatibility issue.
Do I need to install the full GD library somewhere?
Forum: Plugins
In reply to: Modular designThank you. I also found a good method here
Forum: Fixing WordPress
In reply to: Posting my blogroll to a pagedressedinvalue, thanks! That worked!
Forum: Fixing WordPress
In reply to: Posting my blogroll to a pageI can’t get this to work. I am creating a page in wordpress, adding the code in the html editor view, and publishing the page. Still, no links appear even though there are links in the blog roll. Any advice? Thanks in advance
Forum: Plugins
In reply to: Attach location to postsIf possible, I would like to have the location separate from the tags and categories, which are being used for other purposes. Therefore, I am trying to work out how to have location as a custom field, and have that custom field display in each post, and have the list of the various locations in the sidebar. Thanks.