Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • There is a plugin which restricts some of your static pages to members. But you have to modify te code if you use WordPress 2.1 or 2.2
    Search for it at www.ads-software.com dokumentation.

    https://17thdegree.com/archives/2005/07/01/wordPress-plugin-page-restriction/

    After replacing

    $wpdb->posts.post_status = ‘static’

    with

    $wpdb->posts.post_type = ‘page’

    and at line 85:
    post_status = ‘static’
    with
    post_type = ‘page’

    I get this Error on the static Page:


    WordPress Datenbank-Fehler: [Unknown column ‘restricted’ in ‘field list’]
    select restricted from wp_2posts where ID=2

    and I get this message in the Admin-> Page Restriction


    WordPress Datenbank-Fehler: [Unknown column ‘restricted’ in ‘field list’]
    update wp_2posts set restricted=0 where ID=1

    WordPress Datenbank-Fehler: [Unknown column ‘restricted’ in ‘field list’]
    update wp_2posts set restricted=1 where ID=2

    WordPress Datenbank-Fehler: [Unknown column ‘restricted’ in ‘field list’]
    update wp_2posts set restricted=0 where ID=3

Viewing 2 replies - 1 through 2 (of 2 total)