Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 15,901 through 15,925 (of 69,016 total)
  • Author
    Search Results
  • #188288
    r-a-y
    Keymaster

    Based on this thread, I’ve created a new ticket:
    https://buddypress.trac.wordpress.org/ticket/5831

    #188285
    danbp
    Participant

    @shanebp on his best, a long time ago… but this was before BP 1.8. Today it’s a bit different with the Group API.

    #188283
    shanebp
    Moderator

    Interesting thread.
    This would be my approach:

    function bpfr_add_page_to_group() {
    	
    	if ( class_exists( 'BP_Group_Extension' ) ) :
    		  
    		class Bongo_Group_Extension extends BP_Group_Extension {
    		 
    		    function __construct() {
    		        $args = array(  
    		  	    'slug'              => 'bongo',
    			    'parent_slug'       => 'admin', 
    		            'nav_item_position' => 100,
    		
    		            'screens' => array(
    		                'edit' => array(
    		                    'name' => 'Bongo', // the tab name                 
    		                ),
    		            ),
    		        );
    		        parent::init( $args );
    		    }
    		 
    		
    		    function settings_screen( $group_id = NULL ) {
    				// don't remove this function
                                    //  = NULL is necessary to avoid Strict Standards warning
    		    }  
    		} // end of class
    
    		bp_register_group_extension( 'Bongo_Group_Extension' );
     
    	endif;
    }
    add_filter('bp_groups_default_extension', 'bpfr_add_page_to_group' );

    Then, to avoid loading the form, create a template overload of
    \buddypress\bp-templates\bp-legacy\buddypress\groups\single\admin.php

    And add a conditional check of the action_variable.
    Just before the form tag, add:

    <?php 
    global $bp; 
    if( $bp->action_variables[0] != 'bongo' ) :
    ?>

    Right after the form close tag, add:

    <?php else :
    	echo 'this is the bongo page'; 
    endif;
    ?>

    Awkward, but seems to work.
    The Group_Extension_API does need some work re making it easier to add tabs and tab counts.
    I think the core devs are aware of this, but perhaps an enhancement ticket is in order?


    @danbp

    >The 1st function let you add custom content on the tab.
    afaik – that function adds the content on every page under ‘Admin’.

    #188277
    1a-spielwiese
    Participant

    “And seemling there were already in former times similar problems – without solution:
    https://buddypress.org/support/topic/complete-sign-up-button-not-working-on-register-page/
    and
    https://buddypress.org/support/topic/registration-button-invisible/
    Yesterday I found other descriptions of similar problems – as well without solution.”
    https://buddypress.org/support/topic/no-button-for-finishing-registration/#post-187040

    Here is at least one:

    https://buddypress.org/support/topic/submit-button-missing-from-sign-up-page/

    #188276
    victord34
    Participant

    why make #buddypress ?

    I can change everything on the member page but if i change color.. the color change for every pages.

    if i make on the member page in wpadmin (“royal custom css” plugin) :
    .entry-title {
    color: green !important;
    background: red !important;
    }

    The page not change. buddypress keeps colors by default theme
    the “entry-title” is above of id #buddypress, so i dont need a #buddypress id, no ?

    #188274
    bulltalk.65
    Participant

    @bp-help I added or wrote what the message holder asked me to add, “current version of wordpress” current version of buddypress” and link to site so that’s what I did, it didn’t ask for anything else and I didn’t know..

    Anyhow, I figured it out this morning, the homepage was cached and the registration link had been changed since it was cached when we opened the site a month ago. I went in and removed the cached files from the server/database and now everything is working fine.

    Thanks

    #188273
    shanebp
    Moderator

    You’ll have a better chance of getting an answer if you use the support forum for that plugin:
    https://wordpress.org/support/plugin/buddypress-links

    #188267
    mmadden
    Participant

    Yes, I’ve already edited the input fields within the basic-details-section div. I want to edit the input field in the profile-details-section div to match, but there is no input field in the register.php for that section. Instead there’s this:

    <div class="register-section" id="profile-details-section">
    
    					<h4><?php _e( 'Profile Details', 'buddypress' ); ?></h4>
    
    					<?php /* Use the profile field loop to render input fields for the 'base' profile field group */ ?>
    					<?php if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( array( 'profile_group_id' => 1, 'fetch_field_data' => false ) ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>

    Is there any way to get at the input tag that gets output to the profile-details-section?

    #188265
    danbp
    Participant

    This is actually hardcoded in the register.php, so i would be very simple to modify i guess.

    Make a copy of the original file
    /buddypress/bp-templates/bp-legacy/buddypress/members/register.php

    Add it to your child theme
    /your_child_theme/buddypress/members/register.php

    Change the HTML to your need.

    Theme Compatibility & Template Files

    #188259
    mmadden
    Participant

    That’s the right area, but no… I mean doing something like this:

    <input type="text" placeholder="<?php _e('Username', 'buddypress'); ?> <?php _e( '(required)', 'buddypress' ); ?>" name="signup_username" id="signup_username" value="<?php bp_signup_username_value(); ?>" />

    Instead of something like this:

    <label for="signup_username"><?php _e( 'Username', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>

    …only for the profile field.

    #188246
    danbp
    Participant

    salut @victord34,

    I obviously could not do it with my child css
    Most probably because you did it wrong !

    Add BuddyPress Styles to a Theme

    #188244
    danbp
    Participant

    Hello @multimartin,

    2 nd question:
    in the private blog settings, general > reading > search engine visibility, check disallow box. This will hide any of the private blog activities to appear on site activity and user feeds, except for those who are members of this blog.

    If it is not enough, considerer this plugin

    1 st question:
    read here

    danbp
    Participant

    Hello @saurabhsjain91,

    first let’s see what is normally going on with group settings:
    This is a public group
    Any site member can join this group.
    This group will be listed in the groups directory and in search results.
    Group content and activity will be visible to any site member.

    This is a private group

    Only users who request membership and are accepted can join the group.
    This group will be listed in the groups directory and in search results.
    Group content and activity will only be visible to members of the group.

    As you see, the only difference is the group content and activity visibility.

    The easiest way would be to create only private groups, so the members had to request membership to access them. But it is not what you want to do and unfortunately, modifying group privacy for better flexibility is not very doable.

    So, we have to focus on what it is possible to do with public groups accessibility, the one with the fewest restrictions.

    Lukily, core developper @imath stumbled also upon this problem a few mounth back. And finally produced a plugin.

    The features are:

    1. allow users to submit a request to join the group.
    2. selectively hiding group tabs.
    3. add a custom group homepage when non-members are viewing the group.

    More about this experimental plugin on @pollyplummer ‘s WPTavern.
    The original post (fr) on @imath ‘s blog
    The plugin can be downladed on github.

    May this help ! πŸ˜‰

    #188236
    danbp
    Participant
    #188232
    bridieamelia
    Participant

    I know this is an old post but I searched and searched for a solution to this and finally found one today, so will repost here for others. The solution does require installing Gravity Forms, and then you also need to install the GF User Registration Add-On (check the Add-On item in your Forms dashboard menu). Create a registration form with Gravity Forms, then add a User registration feed, and not only can you opt for automatic password generation but you can also map fields to Buddypress πŸ™‚

    #188231
    bp-help
    Participant

    @bulltalk65
    It would help if you would list all the plugins you are using. You really should bulk deactivate all of them except BuddyPress and re-activate each one individually and test registration against each one until you find the plugin that is causing your issue, and if that is not the problem you need to check your servers error logs.

    #188045
    danbp
    Participant

    Is yor site allowed to send mails ?
    Deactivate buddypress and regisrer from WP. If you don’t receive the mail you have to get in contact with your hoster or read the host documentation.

    Good read here, with some wise recommendation from @hnla

    #187770
    danbp
    Participant

    Hi @mmadden,

    not sure i understand what you want to achieve. Are you creating a register page from scratch ?
    Anyway….
    Open the original BP register file (/buddypress/bp-templates/bp-legacy/buddypress/members/register.php). It contains many placeholders and conditionnals

    So, for the mandatory NAME xprofile group (the only one you use), you have line 65

    if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( array( 'profile_group_id' => 1, 'fetch_field_data' => false ) ) ) : while ( bp_profile_groups() ) : bp_the_profile_group();
    
    --- blah---

    Line 75 sit this placeholder do_action( 'bp_custom_profile_edit_fields_pre_visibility' ); where you can hook your additionnal information.

    Line 98 there’s another one: do_action( 'bp_custom_profile_edit_fields' ); just above this function:

    <p class="description"><?php bp_the_profile_field_description(); ?></p>

    In register.php, the section you speak about goes from line 50 to 112
    From /***** Extra Profile Details ******/ to </div><!-- #profile-details-section -->

    Of course, you can also add your own placeholder to your register template.

    Sorry if i’m wrong.

    Alright, I have an update.

    It turns out that BuddyPress Activity Plus was not to blame after all. For some reason, when I use $retval['object'] = 'status'; it only shows activity updates that I’ve just submitted. Once I refresh the page, the stream is empty again.

    So I changed the function you provided to try to get around this, and to be conditional to the home page of my eX-Stream site only:

    		function bpfr_filtering_activity( $retval ) {
    			global $blog_id;
    			
    			// activities to filter on, comma separated
    			if ( $blog_id == 13 && is_front_page() ) {
    				$retval['action'] = 'activity_update';
    			}
    			
    			return $retval;
    			}	
    		add_filter( 'bp_after_has_activities_parse_args', 'bpfr_filtering_activity' );

    Thanks a lot @danbp!

    The function you provided was EXACTLY what I needed. I appreciate the post you provided with additional info as well. Extremely helpful stuff.

    After I added the function I realized that my activity stream was not showing anything. Then, I figured out that the BuddyPress Activity Plus Plugin doesn’t register status updates. So, once I deactivated it, everything was working perfectly.

    Thanks again, you are a huge help!

    shanebp
    Moderator

    > it seems as complicated as re-writing the bp_get_activities

    It’s not even close to being that complicated.

    This examples are re members, but should give you an idea of the general approach to a custom process:

    Members Loop

    BP_User_Query

    shanebp
    Moderator

    If I was doing this, I would write a custom function(s) to gather the activity ids.
    And that function would most likely contain one or more custom db queries.

    If you are unable to write such queries, you may want to consider hiring a developer.

    laxmanvel
    Participant

    Hi Dandp,

    Thanks for your reply.

    OH is it? if i customize template file then will update version overridden.! okay i understand your words.!

    finally get URL value. i want message thread id from URL.

    Just using simple keyword ( bp_get_thread_id(); )
    this function get current URL thread id in Buddypress.

    -Laxmanvel

    #187718
    itisix
    Participant

    Hi,

    I love the activity feature I get when I’m logged as admin. In my CP I just click the icon and get a list of posts, replies and who registers in neat order.

    My users can’t get this, nor can they get decent info from the activity option from the drop down top menu… or can they?

    http://www.itisix.com

    Latests versions of WordPress, BBpress and Buddypress.

    Thanks,

Viewing 25 results - 15,901 through 15,925 (of 69,016 total)
Skip to toolbar