Adds some lightweight features to manage scientific groups and users.
For your template, build the following templates: archive-biofoo_project.php - This gives an overview of the existing projects. single-biofoo_project.php - Watch a single project.
Also you can edit your author.php to display the additional information.
The plugin contains some useful functions building these templates: = get_biofoo(); Throw a from get_userinfo (not get_users!) or such into it, to get the advanced profile information. Example: ba_degree or $user->ma_degree) or $user->phd_degree) : ?>ba_degree) : ?>B.A.ba_degree; ?> ma_degree) : ?>M.A.ma_degree; ?> phd_degree) : ?>Ph.D.phd_degree; ?>
echo_project_members(, , )
Displays (or returns) alls members of a project:
INT or STRING The Id of a post with type biofoo_project. Instead of a post_id you may use the string keyword 'all' to get all users of the blog.
STRING Default: boxes. Knows the following styles: * 'longlist' -> All members below each other with avatar and academic information. * 'boxes' -> Boxes with * 'text' -> The names of all members in a line as clickable links. * 'return' -> Displays nothing but returns an array with the members of the project.
BOOLEAN Default: trueIf set to false, users, which are in passive user groups like alumni are not displayed.
the_boss() Displays the leading members (P.I.s) of a project.
function list_users_projects() Displays a list of projects, a user is member of.
1.5 * Renamed file and folder to wp4labs.
Requires: 3.1.0 or higher
Compatible up to: 3.1.4
Last Updated: 6 years ago
Active Installs: Less than 10
Got something to say? Need help?