Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 9,101 through 9,125 (of 69,129 total)
  • Author
    Search Results
  • #259973
    modemlooper
    Moderator

    * Please refrain from @ mentioning specific users in the topics.

    Most of these are plugin territory. The great thing about WordPress and BuddyPress is the nature of plugins and being able to choose the functionality you need to create a custom user experience.

    #259971
    r-a-y
    Keymaster

    Ran into this issue recently regarding getting TinyMCE to work on BP group forum pages.

    The following code fixes this:

    /**
     * Enable at-mention autocomplete on BuddyPress group forum textareas.
     */
    function my_enable_mentions_in_group_forum_textareas( $retval ) {
    	$bbpress = false;
    
    	// Group forum reply.
    	if ( bp_is_group() && 'topic' === bp_action_variable() && bp_action_variable( 1 ) ) {
    		$bbpress = true;
    	}
    
    	// Group forum topic.
    	if ( bp_is_group() && bp_is_current_action( 'forum' ) ) {
    		$bbpress = true;
    	}
    
    	// Do stuff when on a group forum page.
    	if ( true === $bbpress ) {
    		$retval = true;
    		
    		// Ensure at-mentions autocomplete works with TinyMCE for bbPress.
    		add_filter( 'tiny_mce_before_init', 'cac_enable_mentions_in_group_forum_tinymce', 10, 2 );
    	}
    
    	return $retval;
    }
    add_filter( 'bp_activity_maybe_load_mentions_scripts', 'my_enable_mentions_in_group_forum_textareas' );
    
    /**
     * Ensure at-mentions autocomplete works with TinyMCE for bbPress.
     *
     * @param array  $settings   An array with TinyMCE config.
     * @param string $editor_id Unique editor identifier, e.g. 'content'.
     * @return array  $mceInit   An array with TinyMCE config.
     */
    function my_enable_mentions_in_group_forum_tinymce( $settings, $editor_id ) {
    	// Add bbPress' editor IDs to enable BP mention autocomplete.
    	if ( 'bbp_topic_content' === $editor_id || 'bbp_reply_content' === $editor_id ) {
    		$settings['init_instance_callback'] = 'window.bp.mentions.tinyMCEinit';
    	}
    
    	return $settings;
    }
    #259970
    karennadine
    Participant

    Hello Scott,

    My site is not really focused on images and videos so I did not have to export/import a lot of this, but the media I did import went well.

    Comments on blogs (from Ning) were imported so I guess this could work out well for comments on photos/videos as well. The only thing is whenever you have a lot of media content it will take some time to export.

    You just would give it a try to see how it works out. I took the following steps:
    Installed WP
    Installed Buddypress
    Installed BBPress
    Downloaded the Ning Export tool (http://www.ning.com/help/?p=5219) and started exporting
    Downloaded and installed Import from Ning tool https://wordpress.org/plugins/import-from-ning/

    I used ftp to upload the Ning files, to avoid errors I did this step by step (not all content at once).

    Good luck with it!

    #259969

    In reply to: the_ID = 0

    danbp
    Participant

    A partial explanation about “why”can be found here:
    https://buddypress.trac.wordpress.org/ticket/6230#comment:11

    #259968

    In reply to: the_ID = 0

    shanebp
    Moderator

    The id is zero due to the way BP constructs those pages.
    The how and why is a long answer – you may want to look at the codebase to see the how.

    In any event, you will not be able to change that.
    Your best bet is to add to the display conditions the user has set.

    Perhaps…

    Give them an option to select the Groups Directory page.
    Then use bp_is_groups_directory() to check if they are on that page.

    Or maybe specific single groups.
    Then check to see if they are on a single group page by using groups_get_current_group().

    So the basic approach is to use template tags to find out where the user is and then show or not show an ad based on the the display conditions the user has set.

    #259966
    Henry Wright
    Moderator

    I know that Buddypress is a good growing project, but, needs very Important Native (by Default) features.

    Not everyone will want the features you mention. The idea is to keep things as simple and bloat-free as possible. The plugin system will allow you to add features specific to your business needs.

    #259963
    livingflame
    Participant

    ——>>>> Notes:

    * Add for Members template: Online Now. Yes, Bp has: Last Active, Newest and Alphabetical, but ONLY for a Widget > Online Members. Please! Add this for Page too, with Indicator (green point for online, blue for newest and gray for offline).

    13 * Buddypress Preview Links (from Youtube, Tumblr, Vimeo, PDF, Docs, GIF too…)

    * Buddypress Message with Attachments (jpg, png, mp3, mp4, doc, txt, pdf –– links: a small preview. Internal function like Facebook).

    From Bp Opt. Panel you can Enable or Disable what Attach you want for you site.

    14. Buddypress Social Media (links and share buttons, yes, like Blogger has!)

    * Buddypress More Customizable > My Own Photo Album (you Enable this for: A part for the Cover, for a Widget. Example: https://goo.gl/KVOs4Z or like Twitter –> here Look at > Cover, Info Position, Photos, etc. https://twitter.com/ezramillerfans ).


    @johnjamesjacoby


    @djpaul


    @boonebgorges


    @imath


    @mercime


    @hnla


    @tw2113

    #259962

    In reply to: Members showing

    shanebp
    Moderator

    You mean you’re using this [bp_members] as a shortcode?
    BuddyPress does not provide that shortcode, afaik.
    So, you are using some plugin that provides that shortcode.
    You need to pose your question the the author of that plugin.

    danbp
    Participant

    You can add such a link very simply to your main menu by using the menu customizer:
    http://example.com/members/me/

    Read: https://buddypress.org/support/topic/dynamic-profil-link/#post-259834

    Henry Wright
    Moderator

    bp_core_get_user_domain( $user_id ) will output something like http://example.com/members/andy/

    Note:

    1. You will need to get $user_id before hand. How you get that will depend on the page you’re viewing on the site. This article will explain more:

    Playing with the user’s ID in different contexts

    2. To append ‘activity’ to the URL, you can use a period .

    For example bp_core_get_user_domain( $user_id ) . 'activity' will output something like http://example.com/members/andy/activity

    3. To wrap that URL in mark up

    <a href="<?php echo esc_url( bp_core_get_user_domain( $user_id ) ); ?>"><?php esc_html_e( 'Text', 'text-domain' ); ?></a>

    #259942
    Henry Wright
    Moderator

    Instead of filtering ajax_querystring, how about using bp_parse_args()?

    Ref https://buddypress.trac.wordpress.org/browser/tags/2.2.1/src/bp-groups/bp-groups-template.php#L431

    #259940
    danbp
    Participant

    As already said: it’s constructed.
    The site url is defined in WP general settings and stored in wp_options table
    The user name is stored in wp_users table
    For the other questions about DB, read:

    BuddyPress Database Diagram

    WordPress database schema

    #259939
    danbp
    Participant

    @henrywright

    Nothing ! I can sort them, but i was unable to assign them correctly. Whatever i tried until yet, didn’t work. It’s like the default group filters keep precedance. My feeling about group type, is that it is implemented to be used inside of group create step first and in a single group as second. In brief, it’s an information for single groups.

    Also, this curious slug (groups/groupname/type/typename/) applied to the group type name showing up on a group header. This pseudo ‘type’ sub-page is used to display a directory of groups using the same type. But this directory isn’t the site group directory !
    Despite this, the default group nav menu is also on that page. And when you click for example on All Groups (the default group directory page) you remain on /groups/groupname/type/typename/. Bad UX !

    That’s what i discovered after unpacking 2.7 RC2. I opened a ticket and Ray patched it a few hours later. Seems to resolve partialy that specific menu problem, but for the moment it’s only a patch and a bug- not the final solution.

    Now, add to that issue, the fact that the group directory is ajaxified, that groups sort options have apparently priority whatever you add as custom option and also the (imho) complex way groups_get_groups applies his filters is far away from what i’m able to do. The mangle of doc and use examples related to types is also an obstacle.

    There is most probably a filter missing. The question is: what, how and where to apply it. Do we use bp_ajax_query_string or groups_get_groups ? Or both or something other ?

    That said, my low php knowledge is probably the first obstacle. 😉 If you have a brilliant idea to surround this, don’t hesitate to share.
    I you want i can send you a copy of what i’m trying to do, bundled as plugin.

    #259930
    Renato Alves
    Moderator

    I’m working on something very similar to the scenario you just described. Here is an idea it might work for you:

    You could add/associate the contractors/user IDs with the WooCommerce cart. It would allow severals contractors to be associated with the same WooCommerce order/cart.

    Here is a possible workable model.

    – Add a project as a product;
    – Add BuddyPress profile users IDs to the product in the cart;
    – With the user IDs, you would fetch the users information to show their details;
    – Go to the cart/checkout process as normally you would;
    – Hook in WooCommerce to send the order but not charge it yet;
    – Send the job to the contractor/user;
    – Contractor accepts the job, hook in your payment gateway to perform the charge;
    – Contractor performs the job as suggested/described by you;
    – After job delivered by the contractor and accepted by the customer.

    A friend suggested I should consider using WooCommerce Pre-Orders.

    #259909
    danbp
    Participant

    Usually, when the BP pages are “empty” it’s because you omitted to set the permalinks or because you assigned them a template model. BP pages shoud stay empty ! Just a title and nothing else.

    Getting Started

    #259898
    karennadine
    Participant

    I have moved my site from Ning to Wp/Buddypress with a bbpress integration a few weeks ago. I was able to import a lot of content except the forum topics/responses.

    What I did was this:
    – used the export tool from Ning
    – used the import tool to import ning to Buddypress
    All my members (not that many, around 34 at that time) and their profiles, usernames, etc were transferred. All blogposts from Ning were imported as well.
    It was easy for members to activate their account on my new Wp/Buddypress site.

    The only down thing was that I had to manually copy topics and responses from the forum since I was unable to import this due to an error in the json file. I tried to repair that file but with no succes.

    I hope this helps, should you have any questions please let me know. Like you I browsed many old topics and was unable to find any recent topics, so I just started out with trail and error to do it all myself.

    Karen

    lesanis
    Participant

    Hi again,

    I found a way to achieve that…I made a copy of home.php inside my header.php but now

    1) User’s name is not appearing above the cover image inside theme’s header
    2)Buddypress tabs and cover image are appearing in every page..

    Do you think that there is a way to fix these 2 issues?

    #259893
    shanebp
    Moderator

    Only members with the capability ‘bp_moderate’ will see that checkbox option.
    And only site administrators are given that capability.
    So unless you have a plugin that gives that capability to other members, nobody else can see that option. To check, log into your site as a non-admin.

    If you still want to remove it, create a template overload of this file:
    buddypress\bp-templates\bp-legacy\buddypress\members\single\messages\compose.php
    In your overload, remove this:

    <?php if ( bp_current_user_can( 'bp_moderate' ) ) : ?>
    	<p><label for="send-notice"><input type="checkbox" id="send-notice" name="send-notice" value="1" /> <?php _e( "This is a notice to all users.", 'buddypress' ); ?></label></p>
    <?php endif; ?> 
    #259891

    In reply to: Please, Help Me!

    Venutius
    Moderator

    If you go to Customize>>menus you will see there are buddyPress pages there you can add to menus, but these are the user specific menu items i.e. My Activity etc. To add the global pages you just need to create a link to the page in question, i.e. http://www.yoursite.com/activity

    #259865
    Ariful Alam Tuhin
    Participant
    #259856

    In reply to: Updated WordPress

    Henry Wright
    Moderator

    The most recent version of BuddyPress should work with the most recent version of WordPress. Can you describe the problem you’re seeing?

    #259855
    Henry Wright
    Moderator

    The BuddyPress template hierarchy will help you customise your site’s pages. Check out this article:

    Template Hierarchy

    #259848
    Brajesh Singh
    Participant

    HI,
    Please visit Dashboard->Appearance->Menus and from the SCreen Options(Top right link), you can enable “BuddyPress”.

    Once you have checked it, A section named “BuddyPress” will appear under Pages. You can select the link/customize it for various profile links there.

    Hope that helps.

    #259835
    Paul Wong-Gibbs
    Keymaster

    No, I’m afraid not. Nothing in BuddyPress has “trash”-like behaviour, allowing easy restores (to be honest, some of the extended profile stuff does but it’s a bit obscure to understand how that works). 🙁

    You’d need to restore the appropriate data from the wp_BP_groups, wp_BP_groups_groupmeta, wp_BuddyPress_groups_members tables, from a database backup.

    #259825
    bcanr2d2
    Participant

    Update – issue is with Bluehost, I am using Postman SMTP, and changed to the Google GMail API and all is well with BuddyPress emails again.

Viewing 25 results - 9,101 through 9,125 (of 69,129 total)
Skip to toolbar