Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 17,476 through 17,500 (of 94,565 total)
  • Author
    Search Results
  • #246460

    In reply to: Move Activity Stream

    erich199
    Participant

    Ok, I had to hunt for the code in the default buddypress themes but I found it.

    Two things I need to do now:

    1.) Make it so the post form will work on another user’s profile

    2.) Add pagination so the user stream on the profile page doesn’t make someone scroll down a mile to see post.

    #246458
    buckyb
    Participant

    I think I’m close 🙂

    I got the field I want to show up on my custom page, but I can’t figure out how to make it edit and submit the changes to the right group. Here’s what I’m using in my custom editing page:

    <?php do_action( ‘bp_before_profile_edit_content’ );

    if ( bp_has_profile( ‘profile_group_id=’ . bp_get_current_profile_group_id() ) ) :
    while ( bp_profile_groups() ) : bp_the_profile_group(); ?>

    <div>
    <form action=”<?php bp_the_profile_group_edit_form_action(); ?>” method=”post” id=”profile-edit-form” class=”standard-form my-group”>

    <label for=”field_1″>Custom Field</label>
    <input id=”field_1″ type=”text” value=”<?php echo xprofile_get_field_data(‘Custom Field’); ?>” >

    <?php do_action( ‘bp_after_profile_field_content’ ); ?>

    <div class=”submit”>
    <input type=”submit” name=”profile-group-edit-submit” id=”profile-group-edit-submit” value=”<?php _e( ‘Save Changes’, ‘buddypress’ ); ?> ” />
    </div>

    <input type=”hidden” name=”field_ids” id=”field_ids” value=”29,19,20″ />

    <?php wp_nonce_field( ‘bp_xprofile_edit’ ); ?>

    </form>

    </div>
    <?php ?>

    <?php endwhile; ?>

    <?php endif; ?>

    <?php do_action( ‘bp_after_profile_edit_content’ ); ?>

    #246432
    ikanaspencer
    Participant

    Twenty Fifteen Theme and only BuddyPress activated and I still get that message.

    … Disable BuddyPress the error is gone. Custom Taxonomy and Post types were made via the functions.php, as of my testing with the Twenty Fifteen these customizations were not enabled at all. Now I think I did forget to mention this is a multisite setup with only 1 site currently.

    Can you give me some clues of what hooks might have been used? I can do some investigating.

    #246428
    albertsagt
    Participant

    Hi everyone,

    Im really desperate. On my WordPress Blog I use buddypress. I removed the wp adminbar successfully on every page. But Im not able to remove the buddybar. It appears only on page which handles buddypress.

    I google a lot and tried a lot of things but nothing works. I think I tried every admin bar remover plugin which is available. I also tried to optimize the .css files and also tried to put

    add_filter( ‘show_admin_bar’, ‘__return_false’ ); and
    define(‘BP_DISABLE_ADMIN_BAR’, true)

    in functions.php, wp-config.php and functions.php of my theme.

    Nothing works 🙁 THis is a picture of my header of the buddypress pages. On the pages without buddypress there isnt this black stripe.

    Thanks a lot for your help
    Lisa

    #246427

    In reply to: Custom Hook Help

    Henry Wright
    Moderator

    Take a look at the source where the hook appears. See here. You should see do_action( 'bp_after_registration_confirmed' );.

    This invokes all functions hooked to bp_after_registration_confirmed. So for example:

    function test() {
        // The code here will be run.
    }
    add_action( 'bp_after_registration_confirmed', 'test' );

    In this particular case, nothing is passed to test(). So to answer your question:

    how do I retrieve registration data from the hook?

    If an argument is supplied to do_action() like this: do_action( 'bp_after_registration_confirmed', $user_id );, then that argument is passed to your custom function. You can receive that argument like this:

    function test( $user_id ) {
        // Do something with $user_id here.
    }
    add_action( 'bp_after_registration_confirmed', 'test' );

    So the short answer is if you want to use $user_id in your custom function, then bp_after_registration_confirmed isn’t the right hook to use, because it comes with no arguments. This isn’t always the case because sometimes you may have request variables available but I won’t get into that.

    Hope this helps!

    #246426
    jessicana
    Participant

    mercime and @hnla I would appreciate any insights from your part as I need to finish my project and buddypress groups page is reading the home page customized styles.

    Thanks

    #246425
    maelga
    Participant

    Hi,

    It seems many of you use Gravity Forms with BuddyPress.

    I would like to know whether GF can be used to fill up user profile after registration.
    Basically using the BP registration form, but then forcing user (after registration) to fill up their profile in several steps using GF.

    What do you use GF for, with BP?

    #246419
    Andrew
    Participant

    I’m trying to create a custom page mysite.com/username/test, and I’m having the same problem someone else had who mentioned this in the support forum.

    From my understanding, the simplest way to create a custom page is to setup the nav, load the members/single/plugins.php template and hook your custom content into bp_template_content. This is the code I found for it that sets up a custom page at mysite.com/username/test

    define( 'TEST_BP_COMPONENT_SLUG', 'test' );
    
    class TEST_BuddyPress {
    
    	function TEST_BuddyPress() {
    		global $bp;
    				
    		add_action( 'bp_setup_nav', array( &$this, 'bp_setup_nav'), 100 );
    	}
    	
    	function bp_setup_nav() {
    		bp_core_new_nav_item( array(
    			'name' => __( 'Test', YOUR_TEXTDOMAIN ),
    			'slug' => TEST_BP_COMPONENT_SLUG,
    			'screen_function' => array( &$this, 'tab_template' ),
    		) );
    	}
    
    	function tab_template() {		
    		add_action( 'bp_template_content', array( &$this, 'tab_content' ) );
    		bp_core_load_template( 'members/single/plugins' );
    	}
    
    	function tab_content() {
    	     // add your content here
    	}
    }
    
    $GLOBALS['_test_buddypress'] = new TEST_BuddyPress;

    The problem with this is it is loading the members/index.php template instead of members/single/plugins.php template. How do I load up the members/single/plugins template with this code.

    I have the latest BuddyPress version network activated on a multisite. Any help appreciated.

    #246416

    In reply to: Custom Hook Help

    Henry Wright
    Moderator

    Can someone confirm if this code will ever be overwritten by an update to WordPress or BuddyPress?

    Updating WordPress or BuddyPress won’t overwrite anything you have added to your theme, but updating your theme will do. The way around this is to create a Child Theme.

    #246414

    In reply to: Custom Hook Help

    happymunkee
    Participant

    Thanks for your responses. Plugging in the same code into functions.php inside the theme itself seems to resolve the problem. I put the snippet in wp-content/themes/klein/functions.php. Can someone confirm if this code will ever be overwritten by an update to WordPress or BuddyPress? I know updating BP will overwrite the register.php page.

    #246412

    In reply to: Activity Stream

    dhscratch
    Participant

    Thanks @venutius, but I’m really hoping to get a solution that maintains full functionality of buddypress native activity stream page (e.g., ability to @users and toggle between mentions, friends, groups)… really would love to know how to access and edit the html structure of buddypress pages I guess…

    Thanks again!

    #246409
    dhscratch
    Participant

    Hi, Buddypress Activity stream is awesome!

    However, I’d like to stop buddypress from removing my wordpress page content on my activity stream page, as I’d like the activity stream to be one column among other content in the page. Or, in another way, i’d like to integrate the activity stream into a page that has other content on it.

    Is this possible? There is a plugin out there that tries to recreate activity stream as shortcode that can be embedded into any page, but it only includes only the very basic components of activity stream.

    #246408
    shanebp
    Moderator

    How are you creating the custom taxonomy pages?

    re: ‘We get this annoying error’ – yes it is annoying.
    It also indicates that something is calling BuddyPress or a WP user function too early in the load process – usually via a hook.
    Unfortunately, many themes and plugins do that and there is no warning – but BP will issue the warning.
    Tracking down the culprit can be difficult.

    That warning notice will not appear if you are only using WP and BP with a standard WP theme like 2015.

    ikanaspencer
    Participant

    I am using petsitter theme. I did switch to Twenty Fifteen and verified the issue there.

    Enabling BuddyPress causes several issues.

    1. Custom Taxonomy Pages do not populate the page with values that are added (Refreshing the page shows the value is actually added)
    2. Custom Taxonomy Pages do not delete values when we click delete they turn red stay in place and we get “An unspecified error has occurred” (refreshing the page shows the value is actually deleted)
    3. We get this annoying error ” Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in /var/www/mtj/wp-includes/functions.php on line 3622″

    Our site is currently located at http://mytribaljob.com

    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
    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    I am not sure but I think I did upgrade from 4.3 but that was sometime ago
    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
    I created a custom taxonomy and I thought that was the problem, but disabling BuddyPress fixes several issues
    6. Which version of BP are you running?
    2.3.4
    7. Did you upgraded from a previous version of BP? If so, from which version?
    I am not sure we use the auto update feature
    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    I turned everything off and toggled just BuddyPress
    9. Are you using the standard WordPress theme or customized theme?
    Petsitter but confirmed with Twenty Fifteen
    10. Have you modified the core files in any way?
    No
    11. Do you have any custom functions in bp-custom.php?
    no
    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    Not running this
    13. Please provide a list of any errors in your server’s log files.

    14. Which company provides your hosting?
    DigitalOcean
    15. Is your server running Windows, or if Linux; Apache, nginx or something else?
    Linux Ubuntu 14.0.4.3, Apache, MySQL (We tested MariaDB on our development server and I dont think I saw this issue at that time.

    #246403
    earthjibber
    Participant

    Hi

    I have a project coming up for a client that is an NGO that offers study abroad courses for students. Their website needs are very complex and will require a lot of customizations to buddypress if I decide to use it.

    My first questions is, is it possible to update profile content/meta (including custom content I will add) after a user submits a form within a section in their profile? Each student will be required to perform a list of tasks/assignments that they will need to check off (hopefully with a form) and I would like the status of their tasks to be updated within their user profile. Is it also possible to add in forms for things like this to work? Would it be a third party plugin or does buddypress offer form functionality that can tie into the user profile meta?

    It would be ideal for the user to have a checklist of things to do and as they complete them they just check a checkbox and after they save the form it would then display an updated status so that moderators can see their progress.

    Along with custom form functionality, is it possible to have custom email notifications and replies going out after form submission that would also be managed and or customized within buddypress? or would that be another third party plugin I would have to add in?

    Then for user and user role capabilities, is it possible to have multiple logins or users access the same account/profile? I would like to have parents and students have access to the same profile/students’ user profile but also have different user roles assigned to them.

    My last questions is, I would like to add the capability for the users to pay a deposit that would also update the users profile after paying. Would this be third party? If so, is it possible to tie into the user meta to update their status? The deposit amount is also a variable in that the price will be different based on some of the course registration options/variables entered in by the student. *Some will need financial aid as some will not need it, so deposit will change based on that variable.

    Thanks for your time

    #246401

    In reply to: Front-end Dashboard

    Mrdanielclarke
    Participant

    Hi danbp,

    Apologies, maybe I wasn’t clear initially.
    I have Buddypress and yes my users can already change the profile picture from the front end, as well as upload files, etc.

    On my site, users can update their profile, change their avatar, upload various types of files, etc. as well as post on 2 other pages. I want a front-end dashboard where the user can make all the changes from there, so they don’t have to navigate around the site for different changes.

    Hope that makes more sense.

    Thanks

    #246396

    In reply to: Front-end Dashboard

    danbp
    Participant

    If you use BuddyPress, each user can change/modify his profile picture on frontend !

    Try yoursite/members/username/profile/change-avatar/

    To share files, you have some plugins like BuddyDrive which comes also with a frontend editor.

    #246395
    danbp
    Participant

    BuddyPress Templaters are @mercime and @hnla.

    #246394
    danbp
    Participant

    Hi,

    if you’re comfortable with php, see here:

    bp_modify_page_title

    Here, an example:
    https://buddypress.org/support/topic/how-to-change-tags-order/
    Another use case here:
    https://buddypress.org/support/topic/how-to-get-notification-count-code/

    Hope this help !

    #246392
    pjthiel
    Participant

    Hey guys.

    Apologies to have to ask, but I have scoured long and hard over the existing support topics to try and find an answer.

    I am trying to change the page title on single member pages (site/members/username). Currently, the page shows the username (or displayname?) either way… I want to change it to something else.

    I’ve been through all the templates in members/single, and they all seem to construct the content within the div with class=”buddypress”, but none sets the page title.

    Where can I add some code to override the default page title behavior on buddypress pages?

    #246389
    jessicana
    Participant

    Hello

    Could you please tell me where are the styles of:
    http://mydomain.com/groups/any-group name/ are coming from and how to change it?

    Thanks

    #246381

    In reply to: Deafult Group page

    Venutius
    Moderator
    #246377

    In reply to: Deafult Group page

    Venutius
    Moderator

    You might want to look at BuddyPress Group Extras. This allows you to create and extra page and set it as the landing page.

    #246376
    rgitsolutions
    Participant

    I created a buddypress community. In every group i created a “group info” tab for showing additional info about that group using a plugin called bp group plus. Now i need to make my “group info” tab as default tab when a user enters in to it.

    Here is the slug for my group info tab “about” and slug for activity tab which i already renamed to Home “home”

    I don’t know Php. So Please help me with this

    #246375
    mushroominternet
    Participant

    I have a Buddypress installation on a WP multi-site. Everythings working great but the Groups. I currently have 8 groups, however when I try to create a new one something strange is going on.

    Once I’ve choosen a group name and description the next step seems to be missing (See image below)
    http://i0.simplest-image-hosting.net/picture/group-fail.png

    After I click Finish I get taken to this screen confirming ‘Are you sure you want to do this?’ (See image below)
    Are you sure message

    The starnge thing is that once I click try again the group gets added but seems to remove another group in it’s place. This means everytime I try to add a new group one get’s removed. The groups are all in the database but for some reason Buddypress only ever shows 8 groups.

    I’m running a custom built theme built on top of the default 2012 theme. I have tried disabling all plugins but Buddypress, and reverting to the default theme with no luck. I have also uninstalled Buddypress and reinstalled it but that didn’t work either.

    Any help would be greatly appreciated.

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