if ($curauth->wp_s2member_custom_fields["favs"]) {
$html .= "<p><strong>Favorite Plugins:</strong> ".$curauth->wp_s2member_custom_fields["favs"].",\n";
}
Statistics: Posted by surveysayz — February 2nd, 2012, 2:23 pm
Statistics: Posted by carblanco — July 14th, 2011, 1:22 am
Statistics: Posted by dskallman — July 13th, 2011, 8:53 am
Statistics: Posted by carblanco — June 13th, 2011, 4:57 pm
$query = "
SELECT $wpdb->users.ID, $wpdb->users.user_nicename
FROM $wpdb->users
INNER JOIN $wpdb->usermeta ON $wpdb->users.ID = $wpdb->usermeta.user_id
WHERE $meta_values
ORDER BY $wpdb->users.ID LIMIT $offset, $limit";
Statistics: Posted by carblanco — June 9th, 2011, 10:09 am
$query = "SELECT $wpdb->users.ID, $wpdb->users.user_nicename FROM $wpdb->users INNER JOIN $wpdb->usermeta ON $wpdb->users.ID = $wpdb->usermeta.user_id WHERE $meta_values ORDER BY $wpdb->users.ID LIMIT $offset, $limit";
Statistics: Posted by carblanco — June 7th, 2011, 10:28 am
Statistics: Posted by carblanco — May 30th, 2011, 11:22 am
Statistics: Posted by Jason Caldwell — May 23rd, 2011, 9:11 pm
$query = "SELECT $wpdb->users.ID, $wpdb->users.user_nicename FROM $wpdb->users INNER JOIN $wpdb->usermeta ON $wpdb->users.ID = $wpdb->usermeta.user_id WHERE $meta_values ORDER BY $wpdb->users.user_nicename LIMIT $offset, $limit";
$query = "SELECT $wpdb->users.ID, $wpdb->users.user_nicename FROM $wpdb->users INNER JOIN $wpdb->usermeta ON $wpdb->users.ID = $wpdb->usermeta.user_id WHERE $meta_values ORDER BY $wpdb->users.ID LIMIT $offset, $limit";
$html .= "<div class=\"wpu-id\"><a href=\"" . get_permalink($post->ID) . $concat . "uid=$curauth->ID\" title=\"$curauth->display_name\">$curauth->display_name</a></div>\n";
$html .= "<div class=\"wpu-id\"><a href=\"" . get_permalink($post->ID) . $concat . "uid=$curauth->ID\" title=\"$curauth->display_name\">" . $curauth->wp_s2member_custom_fields["listing_title"] . "</a></div>\n";
if ($curauth->wp_s2member_custom_fields["website_url"] && $curauth->wp_s2member_custom_fields["website_url"] != "http://")
{
$html .= "<p><strong>WEBSITE:</strong> <a href=\" ".$curauth->wp_s2member_custom_fields["website_url"]." \" rel=\"nofollow\">".$curauth->wp_s2member_custom_fields["website_url"]."</a></p>\n";
}
Statistics: Posted by leialee31 — May 23rd, 2011, 6:37 pm
function wpu_get_roles()
{
global $wpdb;
$administrator = get_option('wpu_roles_admin');
$subscriber = get_option('wpu_roles_subscriber');
$author = get_option('wpu_roles_author');
$editor = get_option('wpu_roles_editor');
$contributor = get_option('wpu_roles_contributor');
$s2member_level1= get_option('wpu_roles_s2member_level1');
$rolelist = array('administrator'=>$administrator, 'subscriber'=>$subscriber, 'author'=>$author, 'editor'=>$editor, 'contributor'=>$contributor, 's2member_level1'=>$s2member_level1);
if (empty($roles))
$roles = array('administrator', 'subscriber', 'author', 'editor', 'contributor', 's2member_level1');
$roles_s2member_level1 = $_POST['wpu_roles_s2member_level1'];
update_option('wpu_roles_s2member_level1', $roles_s2member_level1);
<tr>
<td colspan="3"><input name="wpu_roles_s2member_level1" type="checkbox" value="yes" <?php checked('yes', get_option('wpu_roles_s2member_level1')); ?> /> <?php _e("Participants" ); ?>
</td>
</tr>
Statistics: Posted by leialee31 — May 23rd, 2011, 5:32 pm