Search Results for 'buddypress'
-
Search Results
-
Hi everyone
maybe this is a stupid question, i searched for it and could not find anything similar, i have installed buddypress and bbpress and when i make a new group and assign a forum to it, it is set as the home page of the group by default. Is there any way to override this?Thanks
TolisHi folks…
I have a site set up with lots of bbpress based forums, each of which belong to a Buddypress group. I want users to be able to share each forum topic on Facebook, so I need to add the og metatags to the head of the topic pages, showing topic title, content, etc.
To do this, I need a function which can access the topic title and topic content. However, since the forums are part of groups, the topic pages appear only on group pages, where the title is the group title rather than the topic title. The content is absent from the page (the_content() returns nothing), unless I perform a loop… but that gives me two problems:
1) get_the_content() returns me nothing, even though the_content() will output the entire page content
2) Having done the loop before the page loads, the actual page then has no content!So how can I extract the topic title and topic content information in a function which I pass to add_action(‘wp_head, …) for a topic of a bbpress forum which is associated with a buddypress group?
I am using WP 4.0.8, Buddypress 2.3.5 and bbpress 2.5.8 and you can see a link to a page I want to do this for at
http://lacomunidadconsciente.es/groups/mente-y-cuerpo-mind-and-body/forum/topic/sound-bowl-meditation/Thanks!
Hi Everyone,
I am creating a buddypress website and needing some help as I can’t really find the answer in what I am looking for. Basically I don’t want to include a subscription/membership based plugin which will allow my users to purchase memberships which only grant them access to certain areas. The whole website is free to everyone but the only thing we are needing is that it will cost someone to set up a group on the website. I was wondering in the process of creating an event is there a way to include a payment gateway (Papal) which will allow the user to purchase and create a group securely. This will then notify the super admin of the website, which he or she can then accept the payment/group creation. The super admin can then make the person the admin of that group if needed in the back end.
I was wondering if there are plugins out there that can integrate this small process into the website I’m trying to achieve. If I’m needing to integrate it with a membership plugin and having to grant access I guess that could be the only way. If you could also list the best and easy to use membership plugin as this could be the only option.
Any help would be mostly appreciated.
Regards,
Adam
Hello,
I would like to use the widget that allows the avatar upload to allow users to upload, for example, a before and after picture of themselves. It’s such a nice widget and props to those who built it. Maybe one of you is reading this post.
I’ve gotten as far as extending the BP_Attachment_Avatar class and enqueing it:
bp_attachments_enqueue_scripts( 'My_Attachment_Class' );… and then rendering the template:
bp_attachments_get_template_part( 'avatars/index' );… and I’ve managed to inject something into the upload payload and affect the ratio of the cropper. I did that in javascript:
window.BP_Uploader.settings.defaults.multipart_params.bp_params.foo = 'bar'; window.BP_Uploader.settings.crop = { full_h: 160, full_w: 120 }… and finally, I’m listening for that in the ajax action:
add_action( 'wp_ajax_bp_avatar_upload', 'my_function', 5 ); // before the default BuddyPress upload function my_function() { if ( $_POST['bp_params']['foo'] == 'bar' ) { echo "Well, hellooooooooo world'; } }But from there, I’m stuck. Any advice on how to:
-
1 Prevent the user’s avatar from being clobbered
2 Get that photo’s url in a template tag, i.e. <?php echo get_photo_they_uploaded_url(); ?>
3 When the image upload returns with the cropping tool, move the cropper preview div to somewhere else in the DOMIf there is a more appropriate forum to ask this question, I’m happy to migrate over there.
Many thanks
TrevorHi Together,
i want to have to BuddyPress login/register/myAccount in the Header Area, below the navigation menue.
<a href="http://www.fotos-hochladen.net/view/header8bqd4u2yh0.png" target="_blank"><img src="http://img5.fotos-hochladen.net/thumbnail/header8bqd4u2yh0_thumb.jpg" border="0" /></a>The pic is just an WooCommerce example. which uses followin code:
—->What could be the relevant BP code so that I’m able that the users have the same, buttons of Login/Register/MyAccount.<?php if (in_array('woocommerce/woocommerce.php', apply_filters('active_plugins', get_option('active_plugins')))) { global $woo_options, $woocommerce; if (!is_user_logged_in()) { ?> <ul class="account"> <li class="login"> <a>" title="<?php _e('Log in', 'gp'); ?>"><?php _e('Log in', 'gp'); ?></a> </li> <li class="signin"> <a>" title="<?php _e('Sign in', 'gp'); ?>"><?php _e('Sign in', 'gp'); ?></a> </li> </ul><!-- END // account --> <?php } else { global $current_user; get_currentuserinfo(); ?> <ul class="account"> <li class="loggedin"> <a>" title="<?php _e('My Account', 'gp'); ?>"><?php _e('My Account', 'gp'); ?></a> </li> <li class="logout"> <a>" title="<?php _e('Log out', 'gp'); ?>"><?php _e('Log out', 'gp'); ?></a> </li> </ul><!-- END // account -->Topic: Sub profile/
Is there a buddypress plugin or widget that would allow users to set up restricted secondary/ sub-profiles for children?
Also is there a plugin that would allow me to circle the profile photo with the menu links for videos, photos, messages, friends, and etc? instead of having it just at the top of the page.Is there a buddypress plugin or widget that would allow users to set up restricted secondary/ sub-profiles for children?
Topic: User profile layout
Hi
I have wordpress network and installed buddypress on the network. my network just has a subdomain. everything was working well but when I was changing some settings in another plugin, I suddenly noticed that my subdomain doesn’t open… so I enabled PHP errors and now I get this error:Warning: Creating default object from empty value in /domains/mysite.com/public_html/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-functions.php on line 258 Fatal error: Call to undefined method stdClass::save() in /domains/mysite.com/public_html/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-functions.php on line 275
Hi,
I’m using WordPress 4.3.1 and just updated Buddypress to 2.4. Since the update of Buddypress the profile fields can be overwritten by the members although I choose “enforce profile visibility” in the settings. Before the update everything worked. I just tried it with WP 2015 and the problem still exists.
My Website is http://community.midoggy.de
Thank you for your help,
JuliaGreetings…
I’ve inherited a development project that is using WordPress 3.7 along with BuddyPress 1.5. The intent being to upgrade both to current RC’s.
There is a lot of customized code dealing with xprofile fields and member search functions, with most being achieved by way of template overload in a child theme based on bp default. There are also modifications to the BP 1.5 core files that I am in the process of migrating over to BP 2.3.4. Due to relative unfamiliarity with BuddyPress, not exactly sure where that will lead. Realistically, about 50% of that code base has been migrated over without breaking the BP 2.3.4 install.
Backtracking a bit, it is my intent to update WordPress to 4.3.2 with the current BP 1.5. I have actually updated WordPress and corrected the BP slugs that were changed with the update. All except for the BP members slug which resolves correctly to …/profile/edit/group/1 but returns a 404 “page can’t be displayed error.”
I have found a few threads that deal with this issue but none of the proposed solutions seem to resolve. Some deal with plugin type conflicts and others deal with updating BuddyPress (which is not a viable option at the moment).
My bp-xprofile-screens.php includes some validations and can be viewed on pastebin…
http://pastebin.com/b13kAk2vI have the site migrated onto a development box at http://52.6.38.92/. For those savvy enough to provide some insight, temporary login credentials from DropBox at https://www.dropbox.com/sh/wt1wxd32duosb0j/AADSDSI81VOxUg89L_bqHddZa?dl=0.
It should be noted that if I do upgrade BuddyPress to 2.3.4 (both plugins are installed on the site), I am able to edit the profile at …/profile/edit/group/1, but that’s defeating my purpose as all the code has yet to be migrated (if that is even possible to achieve). And there are still display issues with my search form using BP 2.3.4.
I guess the relevant question is why would the “bp_core_redirect( bp_displayed_user_domain() . $bp->profile->slug . ‘/edit/group/1’ );” statement work with WordPress 3.7 and not with 4.3.2? What am I missing? Is something being overwritten in the database upgrade?
I’m hoping that someone more intimate than I am with BP can provide some additional insight.
