Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 20,801 through 20,825 (of 69,119 total)
  • Author
    Search Results
  • #165466
    Kingrammer
    Participant

    some more details if they will help,

    It’s a brand new install of wordpress and buddypress. a multisite install, subdomains.

    The only other plugin is Theme My Login. Custom Community Theme being used at the mo.

    Would someone give me a nudge? Thank you so much to anyone with suggestions. Learning Buddypress and reading through the Ofcom radio broadcasting guides at the same time are pickling my brain!1

    #165461
    akukskuks
    Participant

    @alexanderh BuddyDrive is definitely the way to go here!

    #165453
    ravibarnwal
    Participant

    groups_remove_member how to used in my plugin I am not able to used it.
    Please explain .
    I want to remove member from a group when new user registered.
    I have received group_id and user_id from database. then I want to remove all member from that group without group admin.
    I used function ‘groups_remove_member’ in my own plugin .
    I am new in wordpress and buddypress coding.
    My code is
    if (!function_exists(‘auto_join’)) {
    function update_auto_join_status($user_id) {
    global $wpdb, $bp;

    // get list of groups to auto-join.
    $group_list = $wpdb->get_results(“SELECT * FROM {$bp->groups->table_name} WHERE auto_join = 1″);

    foreach ($group_list as $group_auto_join) {
    $members_count = groups_get_groupmeta( $group_auto_join->id, ‘total_member_count’ );
    if($members_count < 5)
    {
    groups_accept_invite( $user_id, $group_auto_join->id );
    }
    else
    {
    group_auto_join_hidden_group($user_id, $group_auto_join->id);
    }
    }
    $wpdb->query(“UPDATE {$wpdb->users} SET auto_join_complete = 1 WHERE ID = {$user_id}”);
    }

    add_action( ‘user_register’, ‘auto_join’);
    }

    function group_auto_join_hidden_group($user_id, $group_id)
    {

    global $wpdb, $bp;
    $utn = $wpdb->users; // Create a shortcut variable for wordpress users table.
    $gmtn = $bp->groups->table_name . “_members”; // Create a shortcut variable for buddypress groups_members table.

    $mysql = “SELECT user_id FROM $gmtn WHERE group_id=$group_id”;
    $results = $wpdb->get_results( $mysql);
    foreach ( $results as $user) {
    groups_remove_member($user->user_id, $group_id);

    }

    }
    my auto join working well but I am not able to remove member
    Please help me what is wrong?

    darkintruder
    Participant

    @shiftyRZA i saw that u posted the issue here https://buddypress.trac.wordpress.org/ticket/4586#comment:7 again. Thanks! Boone answered and changed the milestone from 1.7 to 1.8. Does that mean, that the BP-Team is looking for the template-loading-delay solution and tries to come up with a fix until 1.8 is released?

    If so, is there any “dirty code” that might fix the problem locally until then? My problem is, that i’m close to releasing a business-site which can’t afford such phenomena in the admin area. So if the BP-Team is working on a fix, i’ll wait with my release until then. If there won’t be a fix in the next months, i’ll have to find other solutions for the features i wanna offer :-S

    Thanks again for your time … Much appreciated!

    #165443
    Hugo Ashmore
    Participant

    The codex is your friend, always have a quick check there for any docs that may help.

    https://codex.buddypress.org/developer/theme-development/a-quick-look-at-1-7-theme-compatibility/

    #165435
    Asynaptic
    Participant

    https://codex.buddypress.org/user/setting-up-a-new-installation/installing-group-and-sitewide-forums/

    a theme is a completely different thing than bbpress or buddypress. the theme gives the ‘look’ the bbpress and/or buddypress plugins give the functionality

    #165434
    Biggerplay
    Participant

    Uh? I just read about a 100 articles about how you can have forums from bbPress and group forums, the 2 themes that I’m trying to choose between mentions both…

    Theme1

    Theme2

    Is that what they do? they have installed bbPress separately ? What are the latest guides for achieving this?

    #165431
    modemlooper
    Moderator

    BuddyPress no longer bundles bbPress therefore has no forums. You can install bbPress separately. There is a setting in bbPress to have a forum for each BuddyPress group.

    #165430
    aces
    Participant
    #165424
    millo
    Participant

    Thank you,
    my version of buddypress is 1.7.1.
    The code “<?php wp_head(); ?> just before closing</head> in header.php file” Is correct.
    On header refer me to the title of the page. The authors of the theme United Themes have responded the following:

    “Hi,

    the plugin is “breaking” the layout because its using different content tags. I’m pretty sure you can easily add different content tags to buddy press itself with the use of hooks ( or an alternative file inside the theme root). Also have To look at lambda/metaboxes/lambda.It put.spec.php this is the place where you can add the sidebar management to the buddy press management ( enter the slug of buddypress to the support list of featured header and Put signpost ). These Plough only hints, you may need to tune some files in order to get it 100% compatible.

    Best
    Regards UT”

    But do not understand very well the reasoning.
    Now my main problem is the resize of the images . It does not work.

    A greeting

    #165415
    modemlooper
    Moderator

    read this: https://buddypress.org/support/topic/extending-activity-how-to-store-additional-info/

    it may help you understand how to add meta to activity

    modemlooper
    Moderator

    $user_id = get this from WordPress;
    xprofile_get_field_data( $field, $user_id );

    The way you are getting members id is only good on member pages. If you are on a blog post you can get the author id, if you want logged in user id get that.

    #165407

    In reply to: BuddyPress Scalability

    Hugo Ashmore
    Participant

    are you sure? 300,000 that is one heck of a lot of groups not sure that I can think of any circumstance where one could ever need that many or how one would ever find anything – might help describing how this works on the site – as for scaling really not sure but I would be expecting it to start slowing things down somewhat.

    #165403
    Henry
    Member

    Once you’ve confirmed it is a bug/security issue, you can raise a ticket at BuddyPress Trac. The development team will then take a look.

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

    #165400
    Michael
    Participant

    Hey Folks;

    Just bumping this back to the top. If anyone could assist, it would be help greatly. I’m bashing my head against he wall at this point. I could even give ftp access to the dev space and specifics if someone wanted to take a look – just really need to figure out what is going on post upgrade here.

    I created a page in the /blog path and now it goes to that page which is empty. There is no place to assign /blog to a page like there are in other buddypress instances. Perhaps since it’s a stock WordPress blog…. I’m grasping at straws pretty bad here.

    Any help is appreciated.

    Thanks;
    Michael

    #165393
    bedhead1971
    Participant

    Thanks Matt,

    I’m not a complete novice but just being a bit thick about how to apply the template like the old one.

    I had it reasonably done until upgrading and now the old templates are not there it seems to take them from your installed theme template instead.

    Anybody else have any ideas where to point?

    #165390
    mattg123
    Participant

    To make it look like the previous, use the previous? lol. Not to be blunt though, if you’re unable to apply the stylings yourself, hire someone to do so for you or if colorway is a premium theme, ask them for help.

    #165388
    jeffp808
    Participant

    Hope that helps someone! Now after that, I have another very minor issue. When a user goes to upload or change their avatar, and if they upload – without clicking on the crop tool – then the image is uploaded off-center. But if they move the crop tool at all and then upload it is fine.

    Any ideas how to align where buddypress crops the image from if they do not click the crop tool?

    #165386
    jeffp808
    Participant

    @mercime, I’ve been spending some time on it and think I figured it out, but now I have another minor issue.

    So incase anyone has this same issue, it was as simple as editing the /wp-content/plugins/buddypress/bp-core/bp-core-avatars.php file to match my profile images (which are 120px and 50px) :

    function bp_core_set_avatar_constants() {

    if ( !defined( ‘BP_AVATAR_THUMB_WIDTH’ ) )
    define( ‘BP_AVATAR_THUMB_WIDTH’, 50 );

    if ( !defined( ‘BP_AVATAR_THUMB_HEIGHT’ ) )
    define( ‘BP_AVATAR_THUMB_HEIGHT’, 50 );

    if ( !defined( ‘BP_AVATAR_FULL_WIDTH’ ) )
    define( ‘BP_AVATAR_FULL_WIDTH’, 120 );

    if ( !defined( ‘BP_AVATAR_FULL_HEIGHT’ ) )
    define( ‘BP_AVATAR_FULL_HEIGHT’, 120 );

    if ( !defined( ‘BP_AVATAR_ORIGINAL_MAX_WIDTH’ ) )
    define( ‘BP_AVATAR_ORIGINAL_MAX_WIDTH’, 120 );

    I found out the culprit was ” if ( !defined( ‘BP_AVATAR_ORIGINAL_MAX_WIDTH’ ) )
    define( ‘BP_AVATAR_ORIGINAL_MAX_WIDTH’, 120 ); – because before it had “,450” and if I uploaded a very large image then the size would be 450 but the box is only 120.

    #165384

    In reply to: Can't delete plugins

    @mercime
    Participant

    From the dashboard I can’t delete any plugins or themes … RSS Error: WP HTTP Error … I am unable to connect to download new plugins or themes from the dashboard …


    @akukskuks
    BuddyPress activation does not cause those issues. Deactivate BuddyPress. Are the issues still there in your install? If so, you have get WP working without issues first before activating BP again.

    How did you install WordPress, via webhost one-click WP install or manually? If you used webhost’s installation script, backup database to computer, then drop tables and start re-uploading WordPress manually via s/FTP. BP does not work well with one-click webhost scripts.

    #165383
    @mercime
    Participant

    @jeffp808 looks like conflict with jcrop. Change to Twenty Twelve theme and check if cropping is corrected. If not, deactivate other plugins batch by batch except BuddyPress to check which is interfering with cropping.

    #165379

    In reply to: Can't delete plugins

    akukskuks
    Participant
    #165378

    In reply to: Can't delete plugins

    akukskuks
    Participant

    Yes I can @hnla – no problems uploading media.

    I will check the settings with my host. Is this the part of the codex to which you are referring or is there something more specific?

    https://codex.buddypress.org/user/before-installing/

    #165372

    In reply to: Installing Buddypress

    @mercime
    Participant

    but when I click in settings (account, profile or create group) gives error. The system returned with inexistent page


    @tuliodc
    not quite clear. You mean you go to dashboard Settings > BuddyPress > Components/Pages/orSettings and when you click on some sections, you go to a 404 page?

    I saw that buddypress should work with bbpress, is true?

    Yes. https://codex.buddypress.org/user/setting-up-a-new-installation/installing-group-and-sitewide-forums/

    My question is, what plugins I should install

    I recommend that before you install other plugins, double-check that your BP install is in good working condition – e.g. registration ok, can create groups, can add friends, delete activity stream item, etc. If all OK, then read compatibility version, reviews and support forum topics of that plugin to check if plugin is supported and/or updated to latest BP/WP versions.

    @mercime
    Participant

    @tduschei you’re welcome. Marking this as resolved.
    Added those php tags to that page.

Viewing 25 results - 20,801 through 20,825 (of 69,119 total)
Skip to toolbar