barrybell
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: get_usermeta questionTry…
get_the_author_ID()instead of…
the_author_ID()Forum: Plugins
In reply to: Subdomains and login persistence.Ok, solved it. Wrote a simple plugin that creates an additional logged_in cookie that’s shared across subdomains when a user logs on, and which also destroys this extra cookie when the user logs off.
The effect is that I can display a persistent and consistent user name and a ‘you are logged in’ type message on every subdomain of the blog.
It’s safe enough as it only replicates the logged_on cookie and NOT the auth_cookie which handles entry to the backend.
Phew.
Forum: Fixing WordPress
In reply to: Need help with a custom query…And Michael – thanks too.
B
Forum: Fixing WordPress
In reply to: Need help with a custom query…Cheers Kaf – I managed to pull something together myself but ran into probs pulling out anything other than the user_id’s.
What I’m struggling most with is the new terms/term_taxonomy structure in 2.3 – it’s taking me a long time to get my head around it.
Thanks again.
B
Forum: Fixing WordPress
In reply to: In-bloody-furiating!! wp-cron.php issue, I think.Excellent – just what I needed to know.
Thanks!
B
Forum: Fixing WordPress
In reply to: In-bloody-furiating!! wp-cron.php issue, I think.(One thing to note is that I can post immediate entries to the DB (posts that already have a status of ‘publish’) via the external script and they show up in the blog as expected. So it’s not an issue with the external script as far as I can see.)
Forum: Fixing WordPress
In reply to: Arrgh. Too tired to work this one out.Worked a treat – I owe you one!!
B
OK, here’s what I’ve done to fix this – and It hasn’t caused more problems than it’s solved (yet). ;o)
Change line 278 of includes/post-functions.php from:
$post_parent = (int) $post_parent;to:
$post_parent = $post_parent;If anyone can see any knock-on issues with doing this, let me know. And if it does go wrong, feel free to blame my wife. Heh.
Cheers.
B
Forum: Fixing WordPress
In reply to: Can you restrict users to write to only 1 category?“Can you restrict users to write to only 1 category?”
Yep. Plugin to do just this in WP2.1 coming *very* soon.
;o)