Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 10,001 through 10,025 (of 69,015 total)
  • Author
    Search Results
  • r-a-y
    Keymaster

    You should only activate group extensions on the BuddyPress site whenever possible, not network-wide.

    What happens when you activate the group extensions only on the BuddyPress site?

    sharmavishal
    Participant

    if i deactivate BuddyPress Event Organiser By Christian Wach and wise chat the sub domain comes up

    sharmavishal
    Participant

    refreshed the page and strangely line number changed

    Fatal error: Call to undefined function bp_get_current_group_id() in /wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php on line 488

    sharmavishal
    Participant

    @danbp thanks..yeah read that…

    added the code…line number changes..

    Fatal error: Call to undefined function bp_get_current_group_id() in /wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php on line 486

    r-a-y
    Keymaster

    @sharmavishal – Can you add the following in wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php:

    if ( defined( 'WP_NETWORK_ADMIN' ) ) {
    	echo get_called_class();
    }
    

    Right before this:

    // Usually this will work.
    $group_id = bp_get_current_group_id();
    

    This should print the names of the group extension classes that are being loaded right before the fatal error.

    Can you copy and paste this info here?

    Thanks!

    sharmavishal
    Participant

    BuddyPress Groups Extras am using deactivated it…created a new site via add new same issue

    sharmavishal
    Participant

    @r-a-y existing multisite site setup. bp activated network wide. added a new site via add new site in admin….the site added page comes up..but when u click on dashboard of new site or visit new site both dont come up….the error mentioned before….tested with rc1 bp also..following debug error with rc1:

    Fatal error: Call to undefined function bp_get_current_group_id() in /wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php on line 484

    #254647
    r-a-y
    Keymaster

    Sjoerd – I think your issue should be fixed in BuddyPress 2.6.

    BuddyPress 2.6 is going to be released next week, so if you can wait until then that would be great.

    Or, you can test our release candidate version here:

    BuddyPress 2.6.0 Release Candidate 1 now available for testing

    #254646

    In reply to: Adding Sub-groups

    r-a-y
    Keymaster

    but BP Group types is comming in BuddyPress 2.6..just wait for that if that would meet your requirements cause that would be in the core of bp…

    For BuddyPress 2.6, group types will not allow you to sort groups into sub-groups. It’s only a developer feature for organizing groups into different types (think tagging posts) at the moment. We hope to expand this feature in future versions.

    Check out the codex article for more info:
    https://codex.buddypress.org/developer/group-types

    #254644
    r-a-y
    Keymaster

    We do not show the preview of the URL in the actual activity stream. It shows up in the activity embed when you want to share your activity update on other sites.

    Check out the codex article for more info:
    https://codex.buddypress.org/activity-embeds

    Your suggestion is something I’ve been thinking about as well, but this will be changing the default behavior of oEmbed items since BP v1.5. We might think about this for a later version of BuddyPress.

    Masoud
    Participant

    @shanebp
    hi. tnx for answer and patience. got 5 more minutes? šŸ™‚
    i read and worked on what you said. and if i want to be honest, i could’t do anything special unfortunately.
    now, i want to ask your opinion about this idea:
    i’ve come up with the idea of hiding that field. (not email field), how?
    with the use of if condition… (if it’s not empty show it. if it has data, hide it)!
    ——-
    i’ve created a custom-meta with this code in theme functions:

    add_action( 'personal_options_update', 'my_save_extra_profile_fields' );
    add_action( 'edit_user_profile_update', 'my_save_extra_profile_fields' );
    function my_save_extra_profile_fields( $user_id ) {
    if ( !current_user_can( 'edit_user', $user_id ) )
    	return false;
    /* Copy and paste this line for additional fields. */
    add_user_meta( $user_id, ā€˜person_relation’, 30318 );
    update_usermeta( absint( $user_id ), 'person_relation', wp_kses_post( $_POST['person_relation'] ) );
    update_user_meta( $user_id, 'person_relation', $_POST['person_relation'] );
    }

    and used it in my buddypress signup form, to get data from users. ok?
    after what you said, i went to edit.php (copy to my theme buddypress folder…)
    and added these codes. but it seems that they do not recieve/send data at all.
    it looks like they are empty!! 😐
    after <?php at the start,
    i added :

    global $user, $user_id;
    $person_relation = get_the_author_meta( 'person_relation', $user->ID );
    $user_id = get_current_user_id();

    and in the <form> ,
    i added this piece of code (not working)
    then copied and changed the “save changes button”.
    so there is 2 buttons. one is for my-custom-meta, and the other is for buddypress form.
    buddypress edit page
    if user writes the name and click save. the box/button, all should gone. and i have to see the data in Users admin panel.
    but nothing is getting save… and i dont know where am i doing it wrong

    <?php if( $person_relation == '' ): ?>
    <tr>
    <th><label for="person_relation">Invitor's Name</label></th>
    <td>
    <input type="text" name="person_relation" id="person_relation" value="<?php update_usermeta( $user_id, 'person_relation', $_POST['person_relation'] ); ?>" class="regular-text" /><br />
    <span class="description">Please enter your invitor's name.</span>
    </td>
    </tr>
    <input type="hidden" id="userID" value="<?php echo $user_id ?>"/>
    <div class="submit">
    <input type="submit" name="profile-group-edit-submit" id="profile-group-edit-submit" value="<?php esc_attr_e( 'Save Name', 'buddypress' ); ?> " />
    </div>
    <input type="hidden" name="person_relation" id="person_relation" value="<?php update_usermeta( $user_id, 'person_relation', $_POST['person_relation'] ); ?>" />
    <?php add_action( 'personal_options_update', 'my_save_extra_profile_fields' ); ?>
    <?php add_action( 'edit_user_profile_update', 'my_save_extra_profile_fields' ); ?>
    <?php do_action( 'xprofile_profile_field_data_updated'); ?>
    <?php endif; ?>

    so sorry for long description. tnx for help.
    any suggestions do you have?

    valuser
    Participant

    see

    BuddyPress 2.6.0 Release Candidate 1…

    perhaps best, if not already, to leave a ticket at

    https://buddypress.trac.wordpress.org/newticket

    hope you get it sorted.

    #254630
    danbp
    Participant

    notification not working on blog posts.

    It’s not implemented. See why on #4046

    But you can eventually try the one or other plugin actually available on WP repository.

    Particulary Mentionable, Email Mentioned or Mention comment’s Authors

    #254627
    danbp
    Participant

    Please don’t double post. I answered you on this topic.

    #254626
    danbp
    Participant

    Private message

    A user must have friends to send private messages or visit the profile of another user to send him a msg.

    Messages

    To get it to work, you need also to enable following options in BP settings:
    – Friend Connections
    – Private messaging
    Additionnally, if you want to be notified by email
    – Notifications

    Whatever the option you activate, best practice is to control how it works on your config. To do that, use only WP, BP and one of Twenty’s theme before activating a third party theme and any other plugin.
    This will ensure you that BP is fully working on a standart WP config.

    Mention

    @mention use AJAX which can in some case, mostly with sophisticated themes or frameworks, lead to conflict. In that case, the culprit isn’t BP or WP, but the theme or a plugin whose code (generally) use a different standart as WP.

    If you get issues with mention or messaging, activate wp_debug in wp-config and check your browser JS console to track down errors. The one or the other can give you precious debug information. You can also use a debug tool like Firebug.

    #254625

    In reply to: Adding Sub-groups

    sharmavishal
    Participant

    go to pull requests

    https://github.com/ddean4040/BP-Group-Hierarchy/pulls

    exampe: check christianwach request…you would get the files he would have modified….

    you can see the latest one would be for BuddyPress 2.6 which would release soon…

    dont think so this would be merged in bp…the moderators would have better idea on this…but BP Group types is comming in BuddyPress 2.6..just wait for that if that would meet your requirements cause that would be in the core of bp…

    https://buddypress.trac.wordpress.org/ticket/6784

    Jonas
    Participant

    Hi,

    you can control whether or not to show the alerts through their css classes.

    I’m guessing you’ve copyied Buddypresses way of notification alerts to your own template’s custom header, something like this svn.buddypress.org/branches/2.0/bp-notifications/bp-notifications-adminbar.php

    0 notifications is governed through the .no-alert class – and whenever more than 1 notification is shown, it’ll have the .alert class.

    So you could do something as as simple as writing .no-alert {display:none} in your css stylesheet.

    #254590

    In reply to: Solve Error 500

    castresana
    Participant

    I’ve checked. Nothing solves the issue.
    After going back my own steps. I used the Buddypress Repair Tools. And one of the process got the Error 500. Maybe it was the beginning. I don’t remember which one, but it looks like it all comes from the DB.
    Any ideas?
    Thanks!

    #254585

    In reply to: php error

    r-a-y
    Keymaster

    Contact the authors of rtMedia:
    https://wordpress.org/plugins/buddypress-media/

    danbp
    Participant

    add this from within your child-theme style.css:

    #buddypress .standard-form#signup_form div.submit {
    	float: left!important;		
    	background-color: orange!important;
    	height: auto!important;
    }
    
    #buddypress .standard-form div.submit input {
    	margin: -12px 3px 3px 3px!important;
    }
    #254579

    In reply to: Solve Error 500

    danbp
    Participant

    It’s a common issue but not directly related to BuddyPress. Some ideas and hints here.

    #254577

    In reply to: Solve Error 500

    castresana
    Participant

    I’ve managed somehow to activate everything.
    Basically all plugins (including Buddypress) are working.
    The problem is that I cannot enter the wp-admin area. I get an Error 500 when I try to load that section.
    The rest of the website (the real website) works without a problem.
    Any ideas on how to solve this issue? Thanks!

    PS: Error from the errorlog.-

    This is the error I'm getting:
    [Wed Jun 15 15:10:00.498556 2016] [fcgid:warn] [pid 11901] [client 188.32.118.119:42274] mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 72 bytes) in /var/www/vhosts/mydomain.com/httpdocs/wp-includes/wp-db.php on line 2352 
    #254573
    myndphunkie
    Participant

    Hi Guys,

    BuddyPress v2.5.3
    Wordpress v4.5.2
    My own theme created with Artisteer

    Getting blank notifications for every user. Seems to happen when something is triggered (ie: user is mentioned in the activity wall or something else).

    Never used to happen, can only assume an update has caused it.

    Has anyone else had this? Is there a log file I can check to see what’s going on?

    Thanks

    danbp
    Participant

    at the moment, /register leads to a 404 error (page not found).

    I deleted that page and re created again.

    – Did you also deleted it definetly from Trash ?
    – Did you checked the existence of the page in BP pages settings ?
    – It seems also that you don’t have an activation page.
    – Once both pages are activated, go to permalinks, select any option except “default” and save.

    and inserted short-code

    All BP pages should always stay blank without any content. If you need a shortcode on a BP page, you must add it to the template.

    Configure BuddyPress

    #254536
    r-a-y
    Keymaster

    So what you’re looking for is to use a custom user avatar instead of BuddyPress’?

    Try the following code snippet in your theme’s functions.php or wp-content/plugins/bp-custom.php:

    remove_filter( 'get_avatar', 'bp_core_fetch_avatar_filter', 10, 6 );

    Update – That code snippet only reverts the avatar in WordPress posts and comments.

    To override BuddyPress avatars in BuddyPress content with a custom avatar solution, you would have to hook into the 'bp_core_fetch_avatar' filter:
    https://buddypress.trac.wordpress.org/browser/tags/2.5.3/src/bp-core/bp-core-avatars.php?marks=534-549#L534

Viewing 25 results - 10,001 through 10,025 (of 69,015 total)
Skip to toolbar