UPDATE: This Plugin has been updated, please comment on the new post, thanks.
I’ve had an e-mail from Edward Laverick saying that my WordPress root Cookie plugin doesn’t work in WP2.7.
I have a few points to make….
- Not All Cookies are plug-able.
A google search of the WordPress SVN show’s that there are setcookie actions outside of the avilable pluggable functions; the only way to change these that I know of is to hack the trunk code. - Changes to 1.4.
This new version does work in 2.7… I’ve refined the code in two ways, the plug-able functions are inline with WP2.7 (i.e. any changes in the trunk have been duplicated in this plug-in) and got rid of the bug where the same cookie isn’t set twice.
I’ve tested this plug-in on my server and ensured that we are changing the cookie path on both the “admin cookie” and the “logged in cookie” so hopefully all will work as expected. - Do you really want this plugin ?
Scott Kingsley Clark has created a sub-domains version of this plugin it’s worth a look if you’re working with blog1.domain.com and blog2.domain.com
As always….
The point of the plugin is to strip out the path from the cookie so that it can be referenced by other applications.
You can download the plugin from wordpress.org, and there is a discussion forum to get community support.
Cheers!
Cool, I’ll check it out. I’d actually rather there be one cookie plugin with a settings page to choose from root or root subdomain, what do you think? I think it should be under your plugin if you feel you can maintain.
I agree completely, the only reason I haven’t integrated your work is because I can’t find the time to draft up a settings page.
Would you rather send me a patch file, or have “commiter” access to the WordPress SVN ?
Sounds good, here’s what I think:
1. We both can maintain the plugin perhaps by making me a commiter for SVN/Plugin and by adding me as a contributor under the readme.txt file as well.
2. I can draft the settings page and combine your latest version, and send to you or I can commit straight after testing, it’s up to you
I’m happy to accredit you appropriately in both the readme.txt & the plugin code.
I will upgrade your access so you can work directly on the trunk, if you don’t mind I’d like to stay in charge of tagging new releases.
Sounds good, and LOL as we add messages the text is getting smaller and so is the form text
My wordpress username is sc0ttkclark
Unfortunately I have SVN access but can’t commit to trunk at all
I keep getting 403 errors so I’ll try later. Send me an e-mail though and I’ll reply with the ZIP if you want.
Hi,
So if I have WordPress installed in the root folder and another folder called http://root/blog.
Do I have to install this plugin in both installs?
That depends on what you’re trying to do
The WP install in root will already have a “root cookie” set as the wp path is the root, if you want to access the cookie for root/blog then you’ll need the plugin installed there.
HTH
Hi there,
This plugin is superb!
I don’t suppose there’s anyway straightforward way of getting this to work with bbPress? I’ve got my WordPress blog in a directory called ‘blog’, then my bbPress in another directory called ‘forum’. I’m using the latest version of bbPress but for some reason can’t get it to find the cookies so that the login is shared across both.
Thanks in advance.
Hi,
I can’t get this to work the way I’d like it to.
It works for http://mydomain.com/anywhere_I_want/
but not for http://www.mydomain.com/anywhere_I_want/
any ideas of what I need to do?
Thanks!
Comments Closed; 1.5 has finally been released, please comment there.