Search Results for 'buddypress'
-
AuthorSearch Results
-
May 12, 2010 at 9:09 pm #77878
Tosh
Participant@r-a-y Thanks for that!
Getting some errors.This shows in the admin
Warning: Invalid argument supplied for foreach() in /home/me/public_html/mysite/wp-content/plugins/cubepoints-buddypress-integration/cubepointsBP.php on line 74
This shows on the front end when I go to the activity page
Warning: Invalid argument supplied for foreach() in /home/me/public_html/mysite/wp-content/plugins/cubepoints-buddypress-integration/cubepointsBP.php on line 74
Line 74 is:
foreach ( $bpcpspamlist as $spammer_id ) {This is what I put in.
May 12, 2010 at 9:04 pm #77877In reply to: Simple LDAP Login Buddypress users
Jeff Sayre
ParticipantSee the last entry on this page: https://codex.buddypress.org/getting-started/faqs/
May 12, 2010 at 9:02 pm #77876In reply to: new version of BuddyPress Rate Forum Posts
Dwenaus
Participant@rossagrant sorry my mistake, you can change the ranking levels int he admin. to change the color just override my css with your own. this is the css:
`/* very positive */
ul#topic-post-list li.rfp-superboost, .rfp-superboost { background: #FFFFCC; }/* positive */
ul#topic-post-list li.rfp-boost, .rfp-boost { background: #FFFFEE; }
`
if it doesn’t change automatically maybe put an !important:`ul#topic-post-list li.rfp-boost, .rfp-boost { background: #FFFFEE !important; }`
May 12, 2010 at 9:00 pm #77875r-a-y
Keymaster@xberserker – I’ve updated the code with comments, so check the previous post for the updated link!
May 12, 2010 at 8:19 pm #77871In reply to: new version of BuddyPress Rate Forum Posts
rossagrant
ParticipantYeah, editable ranks would be superb. It gives members something to aim for!
How can I change the highlight colour? I thought yellow was the only option?
May 12, 2010 at 8:15 pm #77869In reply to: new version of BuddyPress Rate Forum Posts
Dwenaus
Participant@rossagrant you can modify the highlight color in the admin. you can override the thumbs up graphics via your own css in your theme. ranks are a good idea. cheers.
May 12, 2010 at 8:14 pm #77868Tosh
Participant@r-a-y This is what I came up with and the echo prints out this “Banned Users: Array” am I even close? lol
function my_bp_update_post_add_cppoints() {
global $bp;
$bpcpspam = array($bpcpspamlist);$getspamlist = get_option( ‘bp_spammer_cp_bp’ );
$bpcpspamlist = explode(“,”, $getspamlist);echo(‘Banned Users: ‘ . $bpcpspamlist . “
“);if ($bp->loggedin_user->id != get_option( ‘bp_spammer_cp_bp’ ) ) {
foreach ($bpcpspam as $bpcpspamlist) {
if( function_exists(‘cp_alterPoints’) ){
cp_alterPoints($bp->loggedin_user->id, get_option(‘bp_update_post_add_cp_bp’) );
cp_log(‘Comment’, $bp->loggedin_user->id, get_option(‘bp_update_post_add_cp_bp’), BuddyPress);
}
}
}
}
add_action(‘bp_activity_posted_update’,’my_bp_update_post_add_cppoints’);May 12, 2010 at 8:10 pm #77867In reply to: new version of BuddyPress Rate Forum Posts
rossagrant
Participant@Dwenaus Great plugin!
Is there any possibility that a rank could be integrated into a persons Karma Score as well as the colour they get and also do we get an opportunity in the future to modify the colours ourselves?Also a blue thumbs up and a red thumbs down would be nice and make the rating system stand out much more on posts.
I love the idea of this plugin though and when I get my Paypal account up and running when my site launches I’ll gladly donate to get these developments integrated!
Thank you!May 12, 2010 at 7:43 pm #77862In reply to: new version of BuddyPress Rate Forum Posts
Dwenaus
Participant@mazen I’ve finally gotten to the crux of the problem and fixed it in version 1.4. thanks for your patience. Also in version 1.4 due to a trac request approved in BP 1.2.4 I can now color/alter the posts in PHP rather than in javascript. So things will be much cleaner and there will no longer be any delay. Enjoy.
ps. if anyone uses this on a production website, small donations ensure continued updates. without that support this plugin will eventually fall into the abyss of old plugins. so sad.
May 12, 2010 at 7:26 pm #77855In reply to: Alternative to Facebook
3sixty
ParticipantWow, amazing analysis by Boone… I really “get it” now. Andrea_r also has a good point though that WPMU is distributed in other ways that are meaningful and powerful. I think the author’s comment was just speculation, and limited to a project called “DiSo” that was apparently designed to integrate with WordPress; not sure if DiSo worked at all with MU.
The part about that quote that resonated with me is just the idea of “WP wasn’t designed from the ground up to host BP.” When I’m writing something for BP, I always feel like I’m gaming WordPress to do something it was not really designed to do. So I’m writing code that somehow has to play nice with the host, WordPress, which is awesome in its own right – but what I’m really trying to do is build a social network. So it would be more logical to me to say, “OK, here’s my BuddyPress network. WP is really good at XYZ, so how can I adapt *WordPress* to meet my BP needs?”
May 12, 2010 at 7:22 pm #77853In reply to: Alternative to Facebook
Boone Gorges
Keymaster@andrea_r I’d say that MU isn’t distributed in the way that’s important here, because the data is all stored in the same db, on the same server (at least that’s how it works by default). In a truly distributed network, each individual/cluster of individuals would have full, sysadmin level control over his or her data. WP/BP is still largely under the control of the person who owns the particular machine where the stuff lives – if the owner decides to pull the plug, there goes the network.
May 12, 2010 at 6:52 pm #77848In reply to: Alternative to Facebook
3sixty
Participant“1) They tried to add on to WordPress, a project which was not designed from the ground up to be a distributed network.”
This really feels like the “elephant in the room” every time I visit my wp-admin panel. My BuddyPress admin menu keeps growing and growing, disproportionate to the WP-specific admin menus.
I keep waiting for the discussions to start on how BP is “outgrowing” WP. I guess that happens when the limitations of WP start to outweigh the advantages, such as all the great WP functions we get “for free”. When you think about it, it is a little weird – for example, how blogs and forums are integrated with BP in such different ways and don’t really “talk” to each other in a meaningful way. The whole idea of “like” and “favorite” and “report” buttons that work on one content type but not another. Etc.
May 12, 2010 at 6:37 pm #77840In reply to: Understanding bp_core_load_template
Boone Gorges
KeymasterWhat @r-a-y said. It can be nice to use templates if you think that other BP themes will possibly provide override template for what you’re building. Unless you’re building a BP plugin that has extremely rich functionality or can only work if it’s extremely customizable, I wouldn’t worry about it – just put the markup code directly into display(), or in a function that gets referenced in display(), or required as in the Group Wiki plugin.
May 12, 2010 at 6:26 pm #77832Tosh
ParticipantCool thank. I tried to upload 2 avatars. Still gives points. It gave an error with your original code. I just changed it slightly to this.
function my_bp_avatar_add_cppoints() {
global $bp;$path = BP_AVATAR_UPLOAD_PATH . ‘/avatars/’ . $bp->loggedin_user->id;
$filecount = count(glob(“” . $path . “*.jpg”));
// this means that the user only has one avatar
if($filecount <= 2) {
if( function_exists(‘cp_alterPoints’) && is_user_logged_in() ){
cp_alterPoints(cp_currentUser(), get_option(‘bp_avatar_add_cp_bp’) );
cp_log(‘Avatar Uploaded’, cp_currentUser(), get_option(‘bp_avatar_add_cp_bp’), BuddyPress);
}
}
}
add_action(‘xprofile_avatar_uploaded’, ‘my_bp_avatar_add_cppoints’ );May 12, 2010 at 5:55 pm #77824twodeuces
ParticipantWe are actually waiting for WordPress 3.0 to come out and the subsequent Buddypress to arrive before updating this to be Single User compatible. If anyone would like to help port this over before hand, I’ll gladly help out where I can.
May 12, 2010 at 5:45 pm #77823Tosh
ParticipantTried going about this another way. Still not working correctly. Says user id 59 is not a spammer, but that user is marked as so. Any ideas?
I tried to echo it out. Nothing comes out for the user id ..
echo(‘User ID: ‘ . $bp->loggedin_user->id . “n”);/* *********************** START Spammmer! ********************************* */
global $bp;
// 59 for testing
// if( $bp->loggedin_user->id == get_option(‘bp_spammer_cp_bp’)){global $current_user;
global $user_id;if ($userinfo->ID == 59) {
function my_bp_update_post_add_cppoints() {
if( function_exists(‘cp_alterPoints’) && is_user_logged_in() ){
cp_alterPoints(cp_currentUser(), 0 );
cp_log(‘Comment’, cp_currentUser(), 0, BuddyPress);
echo ‘spammer
‘;
echo(‘User ID: ‘ . $user_info->ID . “n”);
}
}
add_action(‘bp_activity_posted_update’,’my_bp_update_post_add_cppoints’);} else {
// Add Points for a update
function my_bp_update_post_add_cppoints() {
if( function_exists(‘cp_alterPoints’) && is_user_logged_in() ){
cp_alterPoints(cp_currentUser(), get_option(‘bp_update_post_add_cp_bp’) );
cp_log(‘Comment’, cp_currentUser(), get_option(‘bp_update_post_add_cp_bp’), BuddyPress);
echo ‘spam free
‘;
echo(‘User ID: ‘ . $user_info->ID . “n”);
}
}
add_action(‘bp_activity_posted_update’,’my_bp_update_post_add_cppoints’);}
/* *********************** END Spammmer! ********************************* */May 12, 2010 at 5:35 pm #77821twodeuces
ParticipantNo it does not as the plugin add on menu resides in the Site Admin section. We are going to move it to the BuddyPress Control Section and get it working on singel users as well. It will be nice when the MU and normal wordpress merge.
May 12, 2010 at 5:23 pm #77818Tosh
ParticipantI tried this as well. Not the desired outcome.
if ( !$no_grav ) {
Went back to this, because I’m sure I am getting closer .. When I test this with an account has an existing avatar, it still gives me points.
// Avatar Anti-Spam
global $bp;
$avatar_dir = ‘avatars’;
$avatar_dir = apply_filters( ‘bp_core_avatar_dir’, $avatar_dir, $object );
$item_id = $bp->displayed_user->id;
$object = ‘user’;$avatar_folder_url = apply_filters( ‘bp_core_avatar_folder_url’, str_replace( WP_CONTENT_DIR, BP_AVATAR_URL, BP_AVATAR_UPLOAD_PATH ) . ‘/’ . $avatar_dir . ‘/’ . $item_id, $item_id, $object, $avatar_dir );
$avatar_folder_dir = apply_filters( ‘bp_core_avatar_folder_dir’, BP_AVATAR_UPLOAD_PATH . ‘/’ . $avatar_dir . ‘/’ . $item_id, $item_id, $object, $avatar_dir );if ( file_exists( $avatar_folder_dir ) ) {
// Avatar has been upload so zero points// ZERO Points for Avatar Upload if they already uploaded at least 1
function my_bp_avatar_add_cppoints() {
if( function_exists(‘cp_alterPoints’) && is_user_logged_in() ){
cp_alterPoints(cp_currentUser(), 0 );
cp_log(‘Avatar Uploaded’, cp_currentUser(), 0, BuddyPress);
echo ‘zero points’;
}
}
add_action(‘xprofile_avatar_uploaded’,’my_bp_avatar_add_cppoints’);} else {
// Add Points Avatar Upload
function my_bp_avatar_add_cppoints() {
if( function_exists(‘cp_alterPoints’) && is_user_logged_in() ){
//cp_alterPoints(cp_currentUser(), get_option(‘bp_avatar_spam_add_cp_bp’) );
cp_alterPoints(cp_currentUser(), get_option(‘bp_avatar_add_cp_bp’) );
cp_log(‘Avatar Uploaded’, cp_currentUser(), get_option(‘bp_avatar_add_cp_bp’), BuddyPress);
echo ‘add points’;
}
}
add_action(‘xprofile_avatar_uploaded’,’my_bp_avatar_add_cppoints’);}
May 12, 2010 at 4:58 pm #77812cherryblossommj
Member1. Which version of WP/MU are you running?
WP2.9.2
2. Did you install WP/MU as a directory or subdomain install?
subdomain
3. If a directory install, is it in root or in a subdirectory?
4. Did you upgraded from a previous version of WP/MU? If so, from which version?
5. Was WP/MU functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
6. Which version of BP are you running?
1.2.3
7. Did you upgraded from a previous version of BP? If so, from which version?
8. Do you have any plugins other than BuddyPress installed and activated?
commentluv, smartlinks, akismet, blogroll page, blogroll widget with RSS feed, buddypress album+, group activity subscription, import from ning, tdlc birthdays,
9. Are you using the standard BuddyPress themes or customized themes?
standard
10. Have you modified the core files in any way?
added a frame for blockquotes
11. Do you have any custom functions in bp-custom.php?
no
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
don’t know
13. Please provide a list of any errors in your server’s log files.
n/a
14. Which company provides your hosting?
hostgatorWould someone please help me. More and more people are having issues either with registration in the first place or with changing profiles. I’m debating whether buddypress was the right way to go at all. I would really love some help here.
May 12, 2010 at 4:39 pm #77807In reply to: Here come the spammers!!!
zageek
ParticipantI must say the SPAM problems are real pain, and for a long time people have been complaining about the SPAM and its been brushed off. I have laid off the complaining and tried to be proactive to fight the spammers off but its really hard to keep up with them.
I think the admins and developers need to start a working group or something and start giving this a lot of attention because if they remain nonchalant about it, it will eventually work enough people’s nerves to chase them away to use some other solution.
The other day I was talking to someone who played with BP a while ago and then dropped it in favour of another solution after the sploggers started coming in.
I have created a group called SPAM Eater where members who are pissed off about SPAM can gather and vent our frustration a bit
May 12, 2010 at 4:11 pm #77803In reply to: WP-United: BBpress alternative?
Andrea Rennick
Participant@dennish – you do realize WPMU is now merged with single WP?
And I’d like to counter that the dev (Donncha) was absent for up to a year. Many, many times development was delayed simply because of feedback from the userbase.
The latest WPMU version is 2.9.2 – which is absolutely current with the latest WP version. Why you were locked in to using 2.5 is beyond me.
May 12, 2010 at 3:59 pm #77800In reply to: Buddypress needs to STOP supporting bbPress
Mike Pratt
Participant@Xevo, I totally support your prerogative to “hate” group forums. I find it interesting though. IMO, putting forums into groups was BP’s stroke of genius. When you run a community (and I’d argue, a bbPress install does not a community make. It’s just a collection of discussions by users who can’t interact in many other ways beyond crude messaging), if you don’t group things by their contextual nature eg topic or theme, then you needlessly force the community to pour through everything to consume and engage what they want. I for one, can’t stand browsing through the old fashioned bb’s to find or keep up on information. So having a forum in each group allows me to to that and the extensible nature of groups turns them into much more than a discussion container.
Don’t get me wrong, the recent release of bp.org’s new theme/organization blew it in terms of usability, organization and understanding of how people create and consume information on a topic/s they care about.
May 12, 2010 at 3:40 pm #77796In reply to: when release of BP 1.2.4
Ipstenu (Mika Epstein)
Participant@erich73, I can tell you’re really excited about the new version, but asking every couple days if they’re done is kind of like being the kid in the back of the car ‘are we there yet?’

Have faith and a little more patience. They’ll put out 1.2.4 when it’s done and working, and not rush it just to get it out there. Right now, the roadmap says they’re 81% done. They MIGHT even be waiting for WordPress 3.0 to get finished since both projects are right next to each other. But they’ll get done soon
May 12, 2010 at 2:34 pm #77785In reply to: WP-United: BBpress alternative?
3sixty
ParticipantI integrated phpbb3-WP last night using WP-United and it’s not working perfectly yet. I think I need to adjust phpBB3 user permissions.
The lock-in issue is definitely a concern – if Xevo is right that WP-United works not with WP 3.0, then you won’t be able to move forward until the WP-United developer updates his code (or you figure out his code).
@dennis_h the one other issue just occurring to me is that even if you can get it running with BP, it will NOT integrate with the BP Activity Stream unless more coding is done. Am I correct on that?
May 12, 2010 at 2:28 pm #77783In reply to: Creating a new page for groups
Boone Gorges
KeymasterUse the Group Extension API: https://codex.buddypress.org/developer-docs/group-extension-api/
Most of the methods will be irrelevant to your purposes. function display() is what you’re looking for – that’s the part that will display the content of the tab.
-
AuthorSearch Results