• i am a creature of habit and i love narchives for its searchable archives. maybe there now is a plugin doing this, i have not found it yet …

    however under wp 2.0 it now creates an error:

    WordPress database error: [Unknown column ‘user_level’ in ‘where clause’]
    SELECT * FROM pbusers WHERE user_level > 0

    obviously because the user_level has dissappered from the db structure.
    can someone help me fix this?
    i believe the lines concerned are these:

    function show_author_select() {
    global $wpdb, $tableusers, $author;
    $users = $wpdb->get_results(“SELECT * FROM $tableusers WHERE user_level > 0”, ARRAY_A);
    $output .= ‘<option value=””>All Authors</option>’.NL;
    foreach ($users as $user) {
    $output .= ‘<option value=”‘.$user[‘ID’].'”‘;
    if ($user[‘ID’] == $author) {
    $output .= ‘selected=”selected”‘;
    }
    $output .= ‘>’.$user[‘user_nickname’].'</option>’.NL;
    }
    $output = ‘<select name=”author”>’.NL.$output.'</select>’.NL;
    echo $output;
    }

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘did someone port narchives to wp 2.?’ is closed to new replies.