daveprout
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Bug in get_nested_categoriesTG,
Thanks. Atleast I know I’m not losing it. Is there supposed to be a limit on the number of nested categories ? I couldn’t find a limit in the docs.
I know we need atleast 4. We are using WP as a full blown Content Management System. Clearly WP wasn’t designed to be that, but we like WP because
1. A lot of the stuff is there anyway.
2. We get the source, so we can fiddle with it.
But we don’t want to fiddle too much, or we’ll have problems each time there is a new WP release.
One of my colleagues said if you write recursive code you can dela with any number, but I don’t think it’s that easy. Clearly I’ve got to write a fix for this. Who would know if such a fix should be incorarated into WP, or if it is ‘out of scope’ for WP.
Cheers
DaveForum: Fixing WordPress
In reply to: Bug in get_nested_categoriesAny category whose grandparent’s cat_ID is greater than its own cat_ID will never be seen again in the admin sidebar category listing in write or edit post.
This is what is making WP difficult for us to use at present.
I’ve been staring at the code in get_nested_categories for days, looking for an easy fix.
DaveForum: Fixing WordPress
In reply to: Bug in get_nested_categoriesNone of the cats had any posts in, that’s irrelevant. I’m not talking about the display of the cats in the blog.
I’m talking about the display of the cats in the siderbar in admin mode when you create or edit a post.
There is no hide_empty parameter to dropdown_categories or get_nested_categories.
DaveForum: Fixing WordPress
In reply to: Bug in drop_down catsIn my case if I create new categories without any posts it works fine.
Where is the dropdown_categories code ? Our company can’t use WP unless this is fixed.
DaveForum: Fixing WordPress
In reply to: Multi-level categoriesDo your catagories have posts ? I think it only shows categories with atleast one post.
DaveForum: Fixing WordPress
In reply to: Not index.php – blog.php plzHave you tried going to
https://your.domain/wp-admin/options.php?option_group_id=all
and changing index.php to blog.php ?Forum: Fixing WordPress
In reply to: the_authorAh, they now also want last update date for any post. Do we have that ?
DaveForum: Fixing WordPress
In reply to: the_authorMark,
Yes, that’s worth trying. I’ll play around with it and suggest it to the team.
Thanks
DaveForum: Fixing WordPress
In reply to: the_authorYes, a user’s ID married to a category. BUT, as the Information Owner might not be creating the category (they call this donkey work), there would have to be a drop down list to select the Information Owner to attach to the category.
I’ll have to ‘manage his requirements’. There are only seven of us in the team, so if someone wants to ask about a detail on a page, they can just ring any of us and we’ll know who ‘owns’ the relevant info.
The company policy is to use Obtree for Content Management (We have 100,000 employees). But for our team of hackers, I don’t think Obtree will give us the flexibility we need.
I’m starting to believe in WordPress, not only as a tool, but as a Philosophy !
DaveForum: Fixing WordPress
In reply to: the_authorWell, the plugin works ! Thanks Mark.
So, now I think I’ll try writing my own plugin to capture an ID against the category. This is for my boss’s requirement of ‘Information Owner’.
Does any such plugin already exist ?
Cheers from the UK
DaveForum: Fixing WordPress
In reply to: the_authorExcellent ! That fixed it, thanks.
Now I’ll try the plugin !Forum: Fixing WordPress
In reply to: the_authorOK, so now I’ve gone back to PHP 4.3.3
Copied mark’s plugin into wp-content/plugins
Went into plugins screen and activated it
Now, when I try to log in I get
Warning: Cannot modify header information – headers already sent by (output started at D:\wsi\wp-content\plugins\who-last-modified.php:76) in D:\wsi\wp-login.php on line 123
Warning: Cannot modify header information – headers already sent by (output started at D:\wsi\wp-content\plugins\who-last-modified.php:76) in D:\wsi\wp-login.php on line 124
Warning: Cannot modify header information – headers already sent by (output started at D:\wsi\wp-content\plugins\who-last-modified.php:76) in D:\wsi\wp-login.php on line 126
Warning: Cannot modify header information – headers already sent by (output started at D:\wsi\wp-content\plugins\who-last-modified.php:76) in D:\wsi\wp-login.php on line 127
Warning: Cannot modify header information – headers already sent by (output started at D:\wsi\wp-content\plugins\who-last-modified.php:76) in D:\wsi\wp-login.php on line 128
Warning: Cannot modify header information – headers already sent by (output started at D:\wsi\wp-content\plugins\who-last-modified.php:76) in D:\wsi\wp-login.php on line 129
Warning: Cannot modify header information – headers already sent by (output started at D:\wsi\wp-content\plugins\who-last-modified.php:76) in D:\wsi\wp-login.php on line 147
How do I fix this
Thanks
Dave
P.S. Please help me out, today I persuaded my boss that we really should go with WordPress.Forum: Fixing WordPress
In reply to: the_authorThanks Mark. I’ll try your plugin as soon as possible.
Currently I’m having massive problems as I ‘upgraded’ to PHP 5.0.1.
My home page was fine,but as soon as I call any WordPress routines I get failures.
With ISAPI I get HTTP 500 Internal Error
With CGI I get
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
I’m using Windows XP Pro, IIS 5.1, has anyone got WP working with PHP5 in this config ?
DaveForum: Fixing WordPress
In reply to: the_authorTG, I agree. We’re probably a bit backward. Does anybody have such things as ‘Last Updated by’ at the bottom of a Web Page any more ?
I’ll try arguing this at work tomorrow.
DaveForum: Fixing WordPress
In reply to: the_authorSo how does the plugin add a column to a table ? I suppose I need to look at an example of a plugin. My boss wants another change. He likes the concept of ‘Information Owner’. This could be implemented by adding a column to the wp_categories table, and capturing the name or id on Add Category.
Do you think we are mis-using WordPress. We are tying to use it as a Content Manager for a website. Not sure if I should tweak WordPress or give it up and get some Content Management software. But I do like WordPress. Hmm.
Dave