Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 17,926 through 17,950 (of 94,565 total)
  • Author
    Search Results
  • #244967
    Henry Wright
    Moderator

    Hey @wecreatehype

    Feel free to show off your community in the Your BuddyPress forum. It’ll be great to see a live version of Boss “in the wild”.

    cisdev
    Participant

    Hello,
    I am working with buddy press and i have one task I want accept and reject both button functionality on notification section in place of Read|Delete action and both should be work like real button work accept and reject.

    I am trying but it is not working. my add code for accept and reject both button .

    
    <div class="action">
    		<a>"><?php _e( 'Accept', 'buddypress' ); ?></a> &nbsp;
    		<a>"><?php _e( 'Reject', 'buddypress' ); ?></a>
    
    		<?php do_action( 'bp_friend_requests_item_action' ); ?>
    	</div>

    using bp_friend_accept_request_link() i am not getting friend id like i got
    url
    localhost/myfolder/members/username/friends/requests/accept/?_wpnonce=3abfc1f1dd

    but it should be like
    localhost/myfolder/members/username/friends/requests/accept/22?_wpnonce=3abfc1f1dd

    i am missing 22and this is friend id. so please solve my problem.

    i also want when user accept and reject friend request then friend request notification should be hide or delete.

    Thanks

    SenhorLimao
    Participant

    Hello everybody.

    I’m creating a SN with Buddypress and I have a problem with some questions.

    This SN must accept some different types of users that will get access to features of some other plugins.

    For example, a member of the type Person only have access to basic buddypress settings and pages to add to your profile. A gallery, the wall, the profile, etc, and each of this are accessible to other members according to the visibility defined by the user.
    In other case, a member of the type Shop must have access to e-commerce plugins to create his shop page in his profile. There will be listings, prices, ratings. A different set of pages. In this case, all accessible to all user by default. But different pages than the ones of a Person type member.
    If there are a Hotel type, the same applyes. Access to a booking plugin to add this option, pages for prices to each room, etc.
    The profile and page options will be different for each user type.
    That’s the issue I’m having. Couldn’t find any plugin to help with this. Does anyone know any hint to help me with this?

    Thx.

    #244950
    netentry
    Participant

    I administrate a BBPress forum site and my client now wishes to convert BBPress forums to BuddyPress format.

    I have read many stories about converting BuddyPress to BBPress format, but not vice versa. Are there any good tools for performing a BBPress-to-BuddyPress conversion?

    Please do not ask me why my client wishes to do this. I have tried to talk her out of it. But she is insistent.

    Any guidance from the community?

    Thank you in advance for your help.

    Best,
    Bill

    #244946
    pnet
    Participant

    I am using User Role Editor plugin to create custom roles.
    I will eventually be loading users from the back end, I have a few test users now.

    Is there a way, through a function, I can assign users to groups based on their user role?

    I searched plugins and can not find one that suits my needs. I am new to buddypress and I can not figure out where I would hook into buddypress if I did have a function to do this.

    guidobrasil
    Participant

    Hi to you al,

    I would like to achieve the next thing. I have two instances of wordpress where I am sharing already the wp_user and wp_usermeta tables. That means that users are being shared on the two instances. On both instances I also have buddy press installed. Since I am using the same database I would also like to share the tables from one buddy press installation. I my opinion all communication of the buddypress installations should be the members, friends etc. etc. I guess you get the picture.

    I do understand that this is a case of changing the prefix from the table into the prefix from the instance I want to copy. I have been searching in the code of the buddy press plugin. It is though quite extended. Is there anyone who could help me out with that? Not to worry currently I am on two test instances and not my production environment.

    Just to go one step ahead it is not a multisite instance as the domain name are different so this is not an option for me.

    Hope you guys can help me out.

    Cheers,
    Guido

    #244935
    Jacks89
    Participant

    Hi I am very new to Buddypress.

    I’m having issue trying to redirect user to the previous page after they log in rather than sending the user to profile page.

    Whenever I type egglove.sg/login, it redirects me back to egglove/profile/login.

    How do I change this?

    I have come across the code below

    function lab_login_redirect(){
    	global $bp;
    	remove_action('bp_adminbar_menus','bp_adminbar_login_menu',2);
    	if(is_user_logged_in())	return false;
    	$url = get_bloginfo('home') . '/wp-login.php?redirect_to=' . urlencode(get_bloginfo('home')) . esc_url($_SERVER['REQUEST_URI']);
    	echo '<li class="bp-login no-arrow"><a href="' . $url . '">' . __( 'Log In', 'buddypress' ) . '</a></li>';
    	if(bp_get_signup_allowed())	echo '<li class="bp-signup no-arrow"><a href="' . bp_get_signup_page(false) . '">' . __( 'Sign Up', 'buddypress' ) . '</a></li>';
    }
    add_action('bp_adminbar_menus','lab_login_redirect',1);

    But doesn’t seem to work when I add it bp-custom.php in plugin folder or function.php in theme folder.

    #244934
    danbp
    Participant
    nikhilnaik
    Participant

    Hello all,

    I would like to know if there are any plugins or code snippet using which the members of the buddypress group can automatically subscribe to the forum to receive email notification on new topic creation.

    Receiving email notification for every topic being created in the group forum is a huge matter of concern for me. I tried I would like to know if there are any ways to make the user of a particular group be subscribed only to the forums of that group?

    I tried the code mentioned here – https://bbpress.org/forums/topic/new-users-auto-subscribe-to-one-forum/#post-146665

    But this makes the user subscribe to all the forums of all the groups which is not appropriate for us. Can someone help me with this regard? Thanks.

    Tafmakura
    Participant

    I am building a custom site (that will be multi site in the future) and currently I want to exclude buddypress Xprofiles fields completely. What are the disadvantages of doing this if any.

    #244930
    Henry Wright
    Moderator

    You could try the BuddyPress Ideas forum:

    Ideas

    #244917
    pandreas
    Participant

    Thank you for your answers and recommendations!

    The custom function that I have written before, I suppose it does what I want very well. Am I right?

    Here it is again.

    function filter_bp_get_total_group_count()
    {
    global $wpdb;
    $hidden_sql = "WHERE slug not in ('health', 'social', 'cultury')";
    $bp = buddypress();
    return $wpdb->get_var( "SELECT COUNT(id) FROM {$bp->groups->table_name} {$hidden_sql}" );
    };
    #244914
    @mcuk
    Participant

    Hi,

    Maybe using this would help stop users who aren’t logged in seeing things you don’t want them to in the first place (and therefore they won’t be able to try and access it). Not really the redirect solution you are after but it may be of use. Works with BuddyPress (I don’t use bbPress).

    //Prevents non logged in users seeing pages other than those permitted
    function bpcustom_restrict_bp_pages() {
    	global $bp;
    	
    	//These pages are permitted to logged out users
    	if( bp_is_blog_page() || bp_is_register_page() || bp_is_activation_page() ) {
    		return;
    	}
    	
    	if( !is_user_logged_in() ) {
    		bp_core_redirect( $bp->root_domain );
    	}	
    }
    add_action( 'get_header', 'bpcustom_restrict_bp_pages' );
    #244913
    @mcuk
    Participant

    Hi @danbp thanks for reply.

    Tried the code you wrote in the link above and it works fine. But as with the one referenced in my first post it reduces the string length upon display rather than preventing the user typing in a large number of characters in the first place (and the data being stored in database).

    So moved onto looking at the code snippet by @henrywright for the sign up page. Would be suitable if i could convert it to work with profile fields. Got to this stage with a few q’s:

    function my_textarea_validation() {
        $custom_field_id = bp_get_member_profile_data( 'field=Mini Bio' );	
    	//is the use of $_POST['field_' . $custom_field_id] correct to access desired profile field?
    	if ( strlen( $_POST['field_' .$custom_field_id] ) > 5 ) { 
            global $bp;
            //which $bp->... error message to use?
    	$bp->signup->errors['field_'] = __( 'CUSTOM ERROR MESSAGE', 'buddypress' ); 
        }
    }
    //which hook to use? (to affect the textarea on Profile > Edit navigation tab)
    add_action( '???', 'my_textarea_validation' );
    #244910
    ggsalas
    Participant

    Hi @danbp

    I think I have done the same configuration as you, but don’t work for me. Could be possible thar your code not work with the new version of Buddypress?

    This are my posts:
    all the posts

    This is that I see with 'posts_per_page' => 2, :
    only 2 posts, without navigation

    Before, I have tested with Twenty Thirteen, Now I’m testing with Twenty Fifteen theme.

    I have created a bp-custom.php file on plugins/ folder and deleted my previous plugin.

    The only plugin I have active is Buddypress:
    plugins actived

    —
    I would like to display only one tab with the posts of the displayed user, without subtabs. My goal is remove “My posts” and “My Comments”. I would like to display the posts inside the “Contributions” tab

    #244909
    caesarhills
    Participant

    Thanks for your reply, after reading it I’ve seen is the most adviced plugin for that aim.
    Is there any live demo working or a live showcase of it?
    I didn’t get if as the admin of the website I could create a page for mediapress grid album in which I’m the only one allowed to upload pics and letting all the registered members commenting on the pics, but at the same time as I said, not allowing anyone to upload their pics in that grid.
    It should work like instagram but just with the buddypress accounts

    #244908
    melek_taus
    Participant

    I’ve looked everywhere but a lot of the information I’m finding on Google is out of date. I have the latest WP, Buddypress and bbpress.

    When users who aren’t logged in try to access private content, they get sent to a very generic “Page not found”. I’d like users to be redirected to login or to display the bbp-login shortcode on this generic “Page not found”, and after they have logged in, it would be great if they could be redirected to the page they were trying to access.

    I have looked high and low and can’t figure out where in “the loop” all of this is occurring. How much is bbPress, how much is Buddypress, how much is my custom theme & how much is just vanilla WordPress. Would love any advice or pointers that could help me untangle this knot.

    #244906
    brianstoiber
    Participant

    WordPress 4.3.1, BuddyPress 2.3.3

    Auto-filling might not be the best method but I want to be able to send a message, post a message or some way to notify logged in members of a coupon we are offering with another plugin (Event Manager Pro). I am looking for any suggestions as BuddyPress is the only real method to getting information to the customer. The site’s owner does not want it to be through email. He wants it to be visible when they log in.

    Thoughts?

    jayvly
    Participant

    Hi,

    I have setup BuddyPress on my dev site in the members section at jabbragency.net/jb/scotianaires/.
    I have Menu Swapper installed and it works great on all pages where I want it in the member section except for BuddyPress.

    I have tried adding the following code to my child theme functions.php but that is not working.

    
    // =============================================================================
    // Sets Custom Menu For Buddypress Pages 
    // =============================================================================
    
    // 
    // Replace 'is_buddypress' with any other conditional tag
    // 
    
    add_filter( 'wp_nav_menu_args', 'custom_buddypress_menu' );
    
    function custom_buddypress_menu( $args ) {
      if ( is_buddypress() ) {
        $args['theme_location'] = 'primary';
        $args['menu'] = 'Custom Menu';
      }
      return $args;
    }
    

    I am wondering where I have gone wrong?

    Cheers,

    Jonathan

    #244902
    ggsalas
    Participant

    Hi @danbp

    I have added your code as plugin on my new test site. On this site have activated only 2 plugins: buddypress and your code.

    This is what I see on the “My posts” tab (there is no navigation): no navigation

    I would like to display only one tab with the posts of the displayed user, without subtabs.

    #244899
    eduard oganyan
    Participant

    1. Which version of WordPress are you running?
    4.3.1
    2. Did you install WordPress as a directory or subdomain install?
    directory
    3. If a directory install, is it in root or in a subdirectory?
    root/ai
    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    no
    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
    Yes
    6. Which version of BP are you running?
    2.3.3
    7. Did you upgraded from a previous version of BP? If so, from which version?
    no
    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    installed yes, activated no!
    9. Are you using the standard WordPress theme or customized theme?
    I tryed different
    10. Have you modified the core files in any way?
    no
    11. Do you have any custom functions in bp-custom.php?
    not yet
    13. Please provide a list of any errors in your server’s log files.
    blank pages
    14. Which company provides your hosting?
    http://www.valuehost.ru/
    15. Is your server running Windows, or if Linux; Apache, nginx or something else?
    Windows

    I have a network on my domain http://academy-of-innovation.com
    My web page where I want to use BP: http://academy-of-innovation.com/courses/

    I have strange problem.
    I wanted to use BP and use Theme “evolve” (as it is written that is compatible with BP)
    And one day it works.
    But next day Dashboard of my webpage is disappear! When I enter dashboard it is blank, no error nothing empty. In the same time web page itself existed and worked.
    I deleted BP and Dashboard appeared back.
    I deactivated all plagins
    I tried theme Twenty Fifteen. and activated just BP.
    Page is ok, Dashboard is ok, but customization of the Theme is on working again blank page!
    I tried different Themes and they also have same problem.
    And one more type of problem. Even if webpage is working, Dashboard is on and even customization of page is visible, when I try to change something and save it, it does not work. No changes saved nothing happened.
    And everything begins work well when I deactivated or delete BP…
    Can you please help me find problem?!

    I read a lot of topics didn’t find anything working for me.
    Thank you

    #244896
    nautinz
    Participant

    Sorry missed these

    1. Which version of WordPress are you running?
    4.3.1

    2. Did you install WordPress as a directory or subdomain install?
    root dir

    3. If a directory install, is it in root or in a subdirectory?
    root

    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    no

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
    Yes

    6. Which version of BP are you running?
    2.3.3

    7. Did you upgraded from a previous version of BP? If so, from which version?
    no

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    Can I submit this to you privately?

    9. Are you using the standard WordPress theme or customized theme?
    http://themeforest.net/item/porto-responsive-html5-template/4106987

    10. Have you modified the core files in any way?
    no

    11. Do you have any custom functions in bp-custom.php?
    not yet

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    WP 4.3.1

    13. Please provide a list of any errors in your server’s log files.
    actually none!

    14. Which company provides your hosting?
    digitalcoean/cloudflare

    15. Is your server running Windows, or if Linux; Apache, nginx or something else?
    nginx

    #244894
    danbp
    Participant
    #244887
    nautinz
    Participant

    We have an existing store: https://nauti.nz/search/

    Currently integrating BP, however while buddypress is activated our existing search page above redirect to the home page

    I have cleared all caches locally, server-side, and cdn (cloudflare)
    Resaved permalinks settings to refresh those
    Checked for rogue redirect that may have happened in Yoast SEO
    Reloaded all web services on server
    Searched google high and low

    Any suggestions from the BP vets here? I really need to keep our search slug…

    @mcuk
    Participant

    Hi all,

    I am looking to limit the number of words or characters (either is fine) that a user is able to type into a profile field text area (set in WP>Users>Profile Fields as a Multi Line Text Area). Reason for this being that I want to include a small bio but don’t want the user going crazy and writing their life story.

    One of the closest solutions I came across was via the link by Dan in here:
    https://buddypress.org/support/topic/validating-xprofile-fields-limit-length/

    Although a good function, the problem with is that it still allows the user to write their life story and only truncates it when calling and displaying the profile field somewhere else (within the item-header div in my case). The original profile text area still shows and allows the full life story to be input without any boundaries.

    I found this which does exactly what i need:
    http://www.mediacollege.com/internet/javascript/form/limit-characters.html

    So my question is can I link a profile field text area created via the WP dashboard with the function from the above link? Or is there another way of getting the desired result?

    Many thanks!

    WP: 4.3.1
    BP: 2.3.3

Viewing 25 results - 17,926 through 17,950 (of 94,565 total)
Skip to toolbar