Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,006
- How-to & Troubleshooting
- 129,530
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,784
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,170
-
I’m looking to do something similar. I want to sort members by who has the most points. Any direction would be helpful.
Here is the sql when points are logged:
‘ global $wpdb;
$wpdb->query(“INSERT INTO `”.CPDB.”` (`id`, `uid`, `type`, `source`, `points`, `timestamp`)
VALUES (NULL, ‘”.$uid.”‘, ‘”.$type.”‘, ‘”.$source.”‘, ‘”.$points.”‘, “.time().”);”);’
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS