Search Results for 'buddypress'
-
Search Results
-
At http://realshadesofgrey.com/wp-admin/
Warning: Missing argument 2 for wpdb::prepare(), called in /home/realgrey/public_html/wp-content/plugins/buddypress/bp-core/bp-core-functions.php on line 176 and defined in /home/realgrey/public_html/wp-includes/wp-db.php on line 992
Warning: Missing argument 2 for wpdb::prepare(), called in /home/realgrey/public_html/wp-content/plugins/buddypress/bp-core/bp-core-options.php on line 293 and defined in /home/realgrey/public_html/wp-includes/wp-db.php on line 992
/home/realgrey/public_html/wp-includes/wp-db.php:992) in /home/realgrey/public_html/wp-Cannot modify header information – headers already sent by (output started atincludes/pluggable.php on line 875What my peeps see at http://realshadesofgrey.com/
Warning: Missing argument 2 for wpdb::prepare(), called in /home/realgrey/public_html/wp-content/plugins/buddypress/bp-core/bp-core-functions.php on line 176 and defined in /home/realgrey/public_html/wp-includes/wp-db.php on line 992
Warning: Missing argument 2 for wpdb::prepare(), called in /home/realgrey/public_html/wp-content/plugins/buddypress/bp-core/bp-core-options.php on line 293 and defined in /home/realgrey/public_html/wp-includes/wp-db.php on line 992
I’m not sure what I did or how… but if someone could please help me fix it, I’d appreciate it! Thank you!
I would like to include information from the BuddyPress User Profile inside Gravity Form confirmation E-Mail. Anybody can suggest a good shortcode plugin or something simple that will work…
The goal is to keep form short… so example the User do not have to provide his town, country everytime he fills a form… but Admin still receive those information without having to go look into the WordPress Dashboard.
THANKS !! 🙂
Why is it that non-users, or people that aren’t logged in, can see posts inside groups, but can’t see comments made on the posts in that group?
I would like everyone to be able to see all of the activity on my site.
WordPress 3.8.2 running Twenty Fourteen theme.
BuddyPress Version 1.9.2
http://cmssix.com/free-halloween-projections/Thanks!
During my adventures in buddypress I occasionally find something that there are answers for out there, but that take a little while to conglomerate into one feasible solution. I hope to alleviate that problem for those afflicted with a pittance of perseverance. In layman’s terms, I’m here to make your job easier 🙂
So here is how I solved adding invites to Events Manager plugin:
In functions.php:
function invite_friend_to_event(){ $msg_args = array( 'sender_id' => 1, // 1 = admin 'recipients' => $_POST["user_id"], 'subject' => 'Event invitation!', 'content' => 'You\'ve been invited to an event of immense proportions.' ); $thread_id = messages_new_message($msg_args); echo "Success - invitation sent to user id: ".$_POST["user_id"]; die(); } add_action('wp_ajax_invite_friend', 'invite_friend_to_event'); add_action( 'wp_ajax_nopriv_invite_friend', 'invite_friend_to_event' );On the single.php page:
<script> function invite_friends(userid){ jQuery.ajax({ url:"<?php echo admin_url('admin-ajax.php'); ?>", type:'POST', data: { action : 'invite_friend', user_id : userid }, dataType : 'html', success:function(results) { // alert(results); alert("Data sent to"+userid+" Results:"+results); //alert(results); } }); } </script> <?php if(get_post_type($post) == "event"): ?> <h1 class="small">Invite Friends</h1> <div id="invite-friends" style="background-color:rgb(220,220,220);"> <?php $uid = get_current_user_id(); $friends_list = friends_get_friend_user_ids( $uid, false, true ); foreach($friends_list as $friend): $friend_obj = get_userdata($friend['user_id']); ?> <div class="invitee" style="width:150px;height: 180px;display:inline-block;margin:10px;text-align:center;background-color:white;padding:5px;"> <h2 class="small"><?php echo $friend_obj->first_name." ".$friend_obj->last_name; ?></h2> <?php echo get_avatar( $friend['user_id'], 64 ); ?> <button class='btn-success btn' onclick="invite_friends('<?php echo $friend['user_id']; ?>');" style="margin-top:5px;"><h3 class='small white'>Invite</h3></button> </div> <?php endforeach; ?> </div> <?php endif; ?>I may come back and explain this a bit more later, but basically what you’re doing is setting up an ajax function, and calling that function on button click w/ javascript AJAX function. There is likely a better way to do this, and if you have your own custom solution to this problem or have any feedback, I’d love to hear about it! It can, should, and will be extended to include keeping track of who you’ve already sent invites to. As of now, this is just the core functionality of sending an invite by levying the messaging system and ajax.
Hope this helps someone,
Gabe**EDIT: Apologies for excess indentation, I copied it directly from my editor**
I haven’t downloaded anything yet – so I can’t include information about versions and a link.
Can I use BuddyPress to insert (1) a post button and (2) an email notification button? I’d like for these two buttons to appear on the same page before visitors register or log in – and direct visitors to a page where they can register or log in. Is this possible without typing new code?
I think what I may want is an extensible group with email notification support. Are there any examples of this?
I have two search bars, one for buddypress (members, groups, blogs, posts), and one for bbpress (forums). It seems a little redundant to have two of these bars, and since the buddypress search bar has an option built-in to search forums on bbpress (like in the function bp_search_form_type_select), I thought it’d be neat to combine the two. Currently, my code looks like this:
<h1><?php echo __( 'Search Members, Groups, and Blogs', 'buddypress' ); ?></h1> <form action="<?php echo bp_search_form_action(); ?>" method="post" id="advanced-search-form"> <input type="text" id="search-terms" name="search-terms" value="<?php echo isset( $_REQUEST['s'] ) ? esc_attr( $_REQUEST['s'] ) : ''; ?>" placeholder="Search for:" /> <?php echo bp_search_form_type_select(); ?> <input type="submit" name="search-submit" id="search-submit" value="<?php _e( 'Search', 'buddypress' ); ?>" /> <?php wp_nonce_field( 'bp_search_form' ); ?> </form><!-- #search-form --> <?php do_action( 'bp_search_login_bar' ); ?> <h1><?php echo __( 'Search Forums', 'buddypress' ); ?></h1> <form role="search" method="get" id="bbp-search-form" action="<?php bbp_search_url(); ?>"> <div> <input type="hidden" name="action" value="bbp-search-request" /> <input tabindex="<?php bbp_tab_index(); ?>" type="text" value="<?php echo esc_attr( bbp_get_search_terms() ); ?>" name="bbp_search" id="bbp_search" placeholder="Search for:" /> <input tabindex="<?php bbp_tab_index(); ?>" class="button" type="submit" id="bbp_search_submit" value="<?php esc_attr_e( 'Search', 'bbpress' ); ?>" /> </div> </form>But it’d be much nicer to have one form instead of two. Is there a way to do that?
Hi,
when user first click in Activity, he see all members activity, but when he click for example “mentions” activity and next go to oter site (for example forum or profile) and return to Activity he see “mentions” activity still. How to use “all members” activity as the default?When user loggout and log in site he see latest position in Activity site. I would like to user will be see “all members” activity as the default in Activity site.
It is posible?
Sorry for my english.
Regards,
TomaszHello guys,
I need help asap.
Don’t know whether this is related to my recent Buddypress update or the theme.
Have noticed that my site suddenly has two similar navigation bars. See image below. I have reinstalled the original theme but still the same problem.
What exactly is going on and how do I fix this?
Topic: active member imageslider
Hey guys,
I’ve finally given up hope on trying to find an answer for myself since I’ve been searching for over a month now. For some reason my avatars fail to crop every time I upload them. It allows me to upload them and shows them while I’m cropping the image and as soon as I hit crop it tells me that there was an issue cropping the avatar and that it failed. I’m using WP User Avatar but it fails even with it deactivated and I’m also using Amazon S3 but it also fails either way.
The strangest thing is that I set up a duplicate test site and it worked just fine on there and I hadn’t made any changes at all.
I’m using BuddyPress 1.9.2 and WordPress 3.8.1. I just deactivated every plugin on my site aside from BuddyPress and the avatar uploads still failed. I’ve talked to my host about it and according to them, everything seems to be set up correctly on their end.
Any help would be greatly appreciated. I’ve already exhausted pretty much every one of my ideas trying to get this to work.
Thanks so much,
BrandonTopic: Bizarre Activation Issue
Hi there,
I’ve searched through BuddyPress support forums for hours and I haven’t found the solution to this problem.
I’ve disabled all my plugins and re-enabled one by one and the problem still exists.
Basically, when people register, they get the email fine, but when they click through to activate, they are just taken to the activation page and nothing happens. I’ve tried copying the activation code and pasting it in, and then, clicking submit, but that does not work either. I’ve compared the activation code to the user_meta in the database and they match, so the problem isn’t there.
Whenever I click submit, the page simply refreshes back to the activate page with an empty field asking for an activation code again, which is preventing any new user registrations. Any ideas here? I’m completely stumped and I do not wish to disable the activation process.
Latest versions of everything including WP 3.8.2