MS Access to manage WordPress Database

If you know something about databases, and have access to the back end SQL database (most likely through Cpanel/phpMyAdmin, you can see the structure of the database, including the columns (fields) and their attributes. Knowing this, you can export an Access query into an Excel file with the same fields and attributes as the BuddyPress … Read more

Wrong path when adding custom tab in BuddyPress [closed]

Try this: function my_setup_nav() { global $bp; bp_core_new_nav_item( array( ‘name’ => __( ‘My ads’, ‘buddypress’ ), ‘parent_slug’ => $bp->profile->slug, ‘slug’ => ‘myads’, ‘position’ => 30, ‘screen_function’ => ‘my_item_one_template’, ‘default_subnav_slug’ => ‘myads’ ) ); } add_action( ‘bp_setup_nav’, ‘my_setup_nav’ ); function my_item_one_template() { add_action( ‘bp_template_content’, ‘my_item_create_screen’ ); bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/plugins’ ) ); } function my_item_create_screen() { … Read more

Plugin will sort users by usermeta

If you want best practices of the options you listed use the user meta table. Adding a column to the users table would be the worst thing you could do – messing with table structure of default WP tables is a no-no. The other two options would fall somewhere in between – with adding your … Read more