Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 5,501 through 5,525 (of 32,690 total)
  • Author
    Search Results
  • Slava Abakumov
    Moderator

    You don’t need a BuddyPress theme, any WordPress theme will work just fine.
    You can create a child theme for your current theme and modify BuddyPress behaviour through it. Copy /plugins/buddypress/bp-templates/bp-legacy/buddypress/ to your theme (in root).

    Remove everything that you don’t need, and leave only /your-theme/buddypress/members/single directory. In that dir you should work with home.php files and others, that are relevant to you.

    But now I see that redefining BuddyPress template only won’t work as expected. You also need to create page-members.php file, where members – is the slug of you Members Directory page. It should be modified with

    if ( bp_is_user() ) {
        get_header('slim');
    } else {
        get_header();
    }

    and same for get_footer('slim') instead of the default usage. You will need to create header-slim.php and footer-slim.php files as well, and THERE you should remove all your navigation and all markup you don’t want that pages to have.

    So yeah, quite a work, but doable once you dive into that. Hopefully I gave you the direction and general idea.

    #260670
    jaumearagay
    Participant

    Hi there!

    2 problems with group header file after 2.7.0. update (and cleaning cache in server and in browser and re-logging in).

    These are the versions I use:
    WordPress Version: 4.6.1
    PHP Version: 5.6.27
    MySQL Version: 5.6.28

    1.- I have a warning that I didn’t have before: “Warning: Creating default object from empty value in /home/…/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member.php on line 1122”. I’ve hidden the warning but it’s not a solution.

    This is the function on line 1122 of that file:

    /**
    * Get a list of all a given group’s moderators.
    *
    * @since 1.6.0
    *
    * @param int $group_id ID of the group.
    * @return array Info about group mods (user_id + date_modified).
    */
    public static function get_group_moderator_ids( $group_id ) {
    global $wpdb;
    
    $group_mods = wp_cache_get( $group_id, ‘bp_group_mods’ );
    
    if ( false === $group_mods ) {
    self::prime_group_admins_mods_cache( array( $group_id ) );
    $group_mods = wp_cache_get( $group_id, ‘bp_group_mods’ );
    }
    
    // Integer casting.
    foreach ( (array) $group_mods as $key => $data ) {
    $group_mods[ $key ]->user_id = (int) $group_mods[ $key ]->user_id;
    }
    
    return $group_mods;
    }
    
    /*************/

    2.- The problem is somewhere else: In line 33 of the group-header.php file (in groups/single/ ) we find this line:

    if ( bp_group_has_moderators() ) :

    where “bp_group_has_moderators()” is giving a false “true” value as I don’t have moderators in any group but the code is executed saying “there are no moderators” so it should not execute in the first place.

    I added this code to the file:

    /* TMP ************************************************** */
    echo “moderators: <br/>”;
    $tt = bp_group_has_moderators();
    
    echo “<pre>";
    var_dump( $tt );
    echo "</pre>“;
    
    /* *************** */

    And this is the result:

    array(1) {
    [0]=>
    object(stdClass)#5165 (1) {
    [“user_id”]=>
    int(0)
    }
    }

    Does it bring any light?

    #260669
    neilmudie
    Participant

    Hi. I’m trying to implement a WordPress/BuddyPress ‘membership’ site that delivers online training via Learning Management Systems. Some of the candidate LMSs have limited integration with WordPress via their own plugins but a tonne of must-have features in their own LMS cloud app/website. (Unfortunately the WordPress LMSs like LearnDash etc aren’t functionally rich enough.) As such I wondered if It might be possible for BuddyPress to expose itself to Zapier.com Zaps with Zap.Actions (& maybe Zap.Triggers). For example when a Learner completes their LMS course and sends the event to Zapier.com, I’d like to create a Zap that uses this LMS.Course-Complete trigger to make a zap-action of ‘Log course completion [User] in BuddyPress Activity Stream.

    Other triggers/events might be: Course-Enrolment[User]; Course-Pass/Fail[User]; Lesson-Complete/Pass/Fail[User]; Topic-Complete/Pass/Fail[User] & Quiz/Test-Complete/Pass/Fail[User].

    Thoughts?

    Look forward to any constructive replies, including any known work-arounds or tips to implement the functionality myself.

    Regards, Neil

    #260668
    neilmudie
    Participant

    Hi. I’m trying to implement a WordPress/BuddyPress ‘membership’ site that delivers online training via Learning Management Systems. Some of the candidate LMSs have limited integration with WordPress via their own plugins but a tonne of must-have features in their own LMS cloud app/website. (Unfortunately the WordPress LMSs like LearnDash etc aren’t functionally rich enough.) As such I wondered if It might be possible for BuddyPress to expose itself to Zapier.com Zaps with Zap.Actions (& maybe Zap.Triggers). For example when a Learner completes their LMS course and sends the event to Zapier.com, I’d like to create a Zap that uses this LMS.Course-Complete trigger to make a zap-action of ‘Log course completion [User] in BuddyPress Activity Stream.

    Other triggers/events might be: Course-Enrolment[User]; Course-Pass/Fail[User]; Lesson-Complete/Pass/Fail[User]; Topic-Complete/Pass/Fail[User] & Quiz/Test-Complete/Pass/Fail[User].

    Thoughts?

    Look forward to any constructive replies, including any known work-arounds or tips to implement the functionality myself.

    Cheers, Neil

    d6collab
    Participant

    Hi,

    Hope I put this in the right forum. I really need some help. I’ve been trying to figure this out for a couple of hours, and have searched forums & googled everything I can think of, but have not found an answer.

    I’m running BuddyPress 2.7.0 and rtMedia 4.1.8 on WordPress 4.6.1 with a child theme of evolve 3.6.4. Here is a link to my site: https://d6collab.com/

    Everything is working great as far as I can tell so far, except for one thing. I can’t upload media from the sitewide activity stream, even though I have that option enabled in settings. I can upload it from my profile activity stream with no problems, though. Any ideas on why there is an issue uploading media just from the sitewide activity stream? Any insight is greatly appreciated!

    Thanks so much,
    elle

    #260649
    casttime
    Participant

    I don’t want to use too many Plugins you know about an option to change that directly in WordPress or the Database?

    #260648
    Venutius
    Moderator

    This might be because the emails are coming out with a WordPress email address, you could try using something like CB Change Mail Sender to change the address to one specific to your site maybe?

    #260628
    Slava Abakumov
    Moderator

    The best way – to allow access to specific pages for logged in users only. As GoogleBot is logged out – it will lose access and eventually remove indexed content. You can remove manually from Google Web Developer Console for this site as well.
    There are quite a lot of topics like these here on the forum. Just google it.

    https://wordpress.org/plugins/buddypress-members-only/
    etc

    Slava Abakumov
    Moderator

    You can’t do that in PHP. Well, actually you can – but you will break all the styling, as you will filter our header/footer.php files include. So basically it’s not a good idea.

    The best idea – to use a child theme. You can than even switch to that child theme for specific pages on your site. One of the ways to do that: https://premium.wpmudev.org/blog/wordpress-different-themes-for-pages/

    Another idea – do some magic with BuddyPress templates. It’s totally possible, but you will quite heavily modify them (that will complicate future maintainability).

    Also it would be easier to help you if you provided a URL to your site.

    #260626

    In reply to: registation page

    Slava Abakumov
    Moderator

    Make sure, that you have “Anyone can register” checkbox in Settings checked,
    AND
    on this page /wp-admin/admin.php?page=bp-page-settings “Register” component assigned to a WordPress page like this: http://take.ms/vYrhb

    #260599
    Mark elayan
    Participant

    Dear all,
    I have BuddyPress installed 2.7.0 and bbPress 2.5.10, on WordPress 4.6.1.
    I have a problem when a user delete an activity from their wall, it won’t be deleted, also when accepting a friendship nothing happens and the request still there not accepted and not rejected.
    I reinstalled BB and BP but nothing new and same problems.

    Already tried to disable all plugins and changed to twentysixteen and the same problems happen in there.
    I do not know if there are other problems or not as I just installed today and still trying to test as much as I can.
    Thank you

    #260595
    danbp
    Participant

    Check documentation
    https://codex.wordpress.org/Child_Themes

    Once child is activated, as soon as you click on appearence > editor it is the child style.css file which is showed.

    https://codex.wordpress.org/Appearance_Editor_Screen

    https://codex.wordpress.org/CSS

    Closing this topic as it subject is not related to BuddyPess.

    Hi,

    I’ve created two drop-down fields in xprofile and added one option each just to save them. In the registration page, their options are dynamically populated through jquery. Registration is always successful but when the option populated by jquery is selected, it is not being saved. While the option added when creating the fields is selected, it is being saved.

    Is it really required to add all the options in the drop-down fields to be able to save it to the user’s extended profile?

    Wordpress Version: 4.6.1
    Buddypress Version: 2.7.0

    #260561
    Venutius
    Moderator

    You could try this plugin, it replaces the profile page send message for with an Ajax form

    https://wordpress.org/plugins/bp-profile-message-ux/

    Masoud
    Participant

    hi.
    i am using latest version of BP and WordPress.
    and i am working on a food & recipe website.
    in this website, i’d like to show the “private message” button only on admin’s page.
    something with the help of:

    if (current_user_can(administrator) && is_admin())
    { \\show the button on his profile }
    else
    { \\hide the button on profiles }

    Or maybe:

    if(current_user_id == 1) \\for example user 1 is admin
    { \\show the message button on his profile for others to see }

    —–
    as an example: imagine you have 4 users. user A, user B, user C, user D.
    Role user A : admin
    Role user B & C & D : subscribers/or/authors/or/editor/or…
    subscribers can’t see the private message button on each others profile page to send each other message.
    but when they visit User A profile page, they can see the button , and can send message only to admins…

    i searched a lot, but all i found was how to hide that button, or remove it.
    but not show it only on some profiles for others to see .

    any help would be much appreciated.
    thanks a lot.

    #260548

    In reply to: Force email for login

    modemlooper
    Moderator

    This is outside scope of BuddyPress support as the login system is core WordPress. You may get better answers in the WordPress forums.

    #260545

    In reply to: menu link member list

    danbp
    Participant

    – you can add a condition for logged-in user on the directory template.
    – for the menu itself, and specially if it is a wordpress menu like primary, you need to write a function. Here another tutorial for this. It’s similar to the other i’ve mentionned previously, but with more examples (including positionning and conditionnals).

    wp_nav_menu()

    wp_get_nav_menus()

    And you can also open an enhancement ticket if you estimate this should be part of BuddyPress and not only WordPress.

    #260543
    danbp
    Participant

    @tranny,

    dealing with spammers is a long run work, to not say a never ending work. There is no miraculous plugin or trick to stop them.
    And even if you would be a genius coder creator of an extra super original spam shield, you could be sure to became target #1 of all spammers, because in this case, you would represent the absolute challenger of all code breakers !

    Back to real life.

    Most of updates spam comes directly into the DB. Bots are clever and don’t need to login to do that.
    Some spammers are real people, and once they are logged, they do their stuff manually. These people can be isolated, but to do this, you have to find them in the user list. Which is absolutely not easy and time comsumting. And of course, this is not prevention but intervention, after you where spammed.

    You could also track IP‘s, but again, this can be helpfull only AFTER you where spammed. But getting ip’s on admin user list is a great way to gain time. Once you have the IP, you can consult many anti spam sites who store any bot and user known to be attackers. And eventually ban them with this plugin.

    For now, first thing to do is to clean your user list. Whatever suspect username, like a589xdf or special to BP, Bill UNERHOOD, can be eliminated. The first example use alpha-numeric digits, the second a very well formed first and last name. It’s extremely rare that normal users enter such credentials. In addition to this, you can check their email. Why would you, for example, have members with a polish email (@blogmedykamenty.pl) if you’re in New Zeeland and your site relates about pets ? In this case, you can raisonably doubt about an interest between medicaments and pets ! You can fire such user.

    All this may be good and well, but you have also to hardening WP. This means using another table prefix as wp_ at very first. And second, to not use “admin” as user name. Never !
    Read also @venutius tutorial

    You have to clean out the existing spammers, unfortunately manually. And to avoid upcoming spam.

    To calm down the bots – in case you receive dozen of spam daily, close all comments and deactivate notices and messages component in bp settings for 2 or 3 weeks.

    Also, in case you’re on a dedicated server, you really need to enforce his security. But this is out of the scope of this forum.

    #260541
    r-a-y
    Keymaster

    I tested by switching my WordPress locale to da_DK and the dynamic timestamp is loading da.js correctly.

    @adjunkten – If you want to help debug, can you add the following line:

    var_dump( $locale );

    after lines 31 and 42 of this file?
    https://buddypress.trac.wordpress.org/browser/tags/2.7.0/src/bp-core/bp-core-cssjs.php?marks=31,42#L22

    #260538
    r-a-y
    Keymaster

    BP 2.7 introduced dynamic timestamps using livestamp.js and moment.js.

    For dynamic timestamp localization to work correctly, we try to load the moment.js localization file.

    It is quite possible that moment.js does not come with a Danish translation.

    @adjunkten – Can you check to see if there is a Danish translation here?
    https://github.com/moment/moment/tree/develop/locale

    If so, can you output your WordPress locale using get_locale()? There might be a bug in how we are checking for the moment.js locale file.

    #260536
    Jonas
    Participant

    Your time stamps looks correct, I’m guessing you mean the Danish translation isn’t working correctly?

    You can grab the newest Danish Buddypress translation here https://translate.wordpress.org/locale/da/default/wp-plugins/buddypress followed by merging your current buddypress-da_DK.po file in poedit like this http://www.marketpressthemes.com/blog/how-to-merge-two-po-files-using-poedit/, translate the words you needs to translate, save it as both buddypress-da_DK.po and buddypress-da_DK.mo – and reupload it to your server in your language folder.

    #260531

    In reply to: how to add new members

    danbp
    Participant

    How do I add a new member to buddypress from the backend of WP?
    They are the forum moderators and group admins.
    So, how do I “activate” them?

    What should be understood from your questions ?

    Adding a new user from backend and/or promote it as mod or group admin ?
    Adding a new user is not related to BuddyPress, but to WordPress.

    To promote users as mod or admin or add new user to a group from back-end
    dashboard > groups > select the group > edit > anything to do that is at the bottom of the screen.

    #260530

    In reply to: how to add new members

    Venutius
    Moderator

    If they are known to you then you can set them up in the way that you suggested, if you choose not to send them and email, that will prevent the activation mail going out and they will be free to login, you will have to tell them their password though.

    To those that have not activated their accounts you can view them in the Dashboard>>Users>>All Users views, their one view called Pending, it’s in here you will find unactivated users.

    You could always turn registration on, for them, let them see a new users view of getting set up on the site.

    I’m trying to put together a guide to setting up social networks with BuddyPress, you might like to give it a look, it’s here: It’s spread over multiple chapters that you can access via the “Installing BuddyPress” menu.

    It’s nothing official, just information on what I’ve discovered over the past couple of years so it’s pretty current.

    Earl_D
    Participant

    I see you are using wordfence security plugin. There was a recent but that was preventing uploads on my BP site. You may want to check this thread in WP plugin support forum to see if it related to your problem.
    https://wordpress.org/support/topic/recent-update-and-image-uploads/#post-8350474

Viewing 25 results - 5,501 through 5,525 (of 32,690 total)
Skip to toolbar