[wp-hackers] Enhance WP to use page categories

Chris chris.hearn01 at ntlworld.com
Thu Jan 25 00:53:28 GMT 2007

Hi Mark,
thanks for reply!
re category counts - yes, looks like would affect those but they could 
be excluded fairly easily I guess.
I have since looked at a plug-in released recently called 
Allows hierarchy etc. for Pages.
Only a beta version, with a few buggy bits but I think has (from looking 
at the db and php code) couple of disadvantages,
namely relies on FKey relationships and sub-queries, so InnoDB and MySQL 
later versions - rest of wp code looks like wpress are trying to keep it 
generic ( i.e for MyISAM and lower versions of MySQL too).

What is the WordPress "view" on versions of (A)MP?

Thanks again
P.S. for my current site I have simply constructed a page hierarchy to 
suit, plus a bit of php code to check login status and show parts of the 
tree for visitors/members (i.e. logged in or not).

    Chris Hearn 
    *Tel:* 01625 827589 
    *Mob:* 07768 725141 
    *email:* chris.hearn01 at ntlworld.com 
    The information transmitted is intended only for the person or entity 
    to which it is addressed and may contain confidential and/or privileged 
    material. Any review, retransmission, dissemination or other use of, 
    or taking of any action in reliance upon, this information by persons 
    or entities other than the intended recipient is prohibited. 
    If you received this in error, please contact the sender and delete the 
    material from any computer. 

Mark Jaquith wrote:
> On Jan 21, 2007, at 9:12 AM, Chris wrote:
>> However, it does not seem possible to categorize pages so that there 
>> is a "public view" accessible to all, and a "members" view, which 
>> might include the public view, but also show more restricted pages.
> The only thing that I can think is that this will mess up the category 
> post counts, although there might be other side effects.  One other 
> way to do this would be via Custom Fields (i.e. the $wpdb->postmeta 
> table).  This would allow you to set flags on the pages that determine 
> private/public status.  You could have this assigned automatically if 
> a page is a child of a "private" ultimate parent page (just use 
> get_page() and crawl up the $page->post_parent ladder until you reach 
> the top and then do an ID comparison).  this might end up being more 
> future proof.
> -- 
> Mark Jaquith
> http://markjaquith.com/
> Covered Web Services
> http://covered.be/
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
> --No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.17.8/649 - Release Date: 
> 23/01/2007 20:40

More information about the wp-hackers mailing list