Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 20,276 through 20,300 (of 94,567 total)
  • Author
    Search Results
  • Gromozeka
    Participant

    I added a custom menu item. But when i try loading the custom template when custom page opens on member profile. I use this code

    function bp_gf_ua_profile_nav_add()
    {
        bp_core_new_nav_item(
            array(
                'name' => __('Email preferences', 'buddypress'),
                'slug' => 'email-preferences',
                'position' => 3,
                'show_for_displayed_user' => true,
                'screen_function' => 'bp_gf_ua_profile_load_template',
                'item_css_id' => 'all-conversations'
            )
        );
    }
    
    function mb_show_posts2() {
        echo "Test Text";
    }
    
    function bp_gf_ua_profile_load_template()
    {
        add_action( 'bp_template_content', 'mb_show_posts2' );
        bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/email-preferences/preferences' ));
    }
    
    add_action( 'bp_setup_nav', 'bp_gf_ua_profile_nav_add' );

    But always display memeber-loop template. What i doing wrong?

    Thanks!

    #237321
    danbp
    Participant

    hi @dingxiaohan,

    default general usage of notification is explained on our Codex:
    https://codex.buddypress.org/member-guide/notifications/

    Each topic can be followed by the author and all who answer on a per topic base. Email you’ll receive in this case will show the topic url and a brief excerpt.

    A little different is BP Live Notification plugin, which add a Facebook Like real-time notification for user.

    Some other way to use and show notification can be done by coding a little, which is explaine here.

    #237320
    dingxiaohan
    Participant

    As a total novice I’ve put together a site for my local community, http://www.listraban.net. I want to add a means of communication and debate using bodypress and bbpress. The major issue is how it integrates with users’ email. My ideal would be the system that Yahoo groups use, wherein the user can, without help from a moderator, choose to get by email either (a) every new post, (b) a daily digest of new posts or (c) nothing at all. I’ve tried reading what there is about notification plug-ins, but understand hardly a word. For a start I don’t know whether “notification” means an email containing the text of a post, or an email simply announcing that there is a new post.

    I believe the WordPress theme is 2012, FWIW. BuddyPress version can be whatever it is if we ever get started.

    #237319
    danbp
    Participant

    Hi @stefanievalentic,

    additionnal informations about activity and member loop can be found here:

    Activity Loop

    Members Loop

    #237313
    R3REIKO
    Participant

    I found the solution to changing the title here – https://buddypress.org/support/topic/customizing-buddypress-activity-wall/#post-237312 – but now none of my posts are showing… What did I do wrong? Is there another file I have to change?

    #237307
    batufan
    Participant

    OR
    You can enter the pages in the buddypress settings page and then you can match to your pages…

    shanebp
    Moderator

    The file is here:
    buddypress\bp-templates\bp-legacy\buddypress\members\register.php

    The recommended approach to changing any template is to create a template overload and make your changes in that file.

    R3REIKO
    Participant

    I am trying to set up BuddyPress to create an activity stream. I am getting this error: Activate and Register Pages do not exist. The “repair” button does not add the pages. I tried changing to Twenty twelve, and deactivating all the plug ins. In general settings, “anyone can register” is allowed. Nothing helps. I am using GoDaddy, with a managed wordpress account. I don’t know how to code.
    Any suggestions for how I can manually create these pages and get this working? I tried reading all the other threads, and following whatever directions I could, but I haven’t fixed the problem.
    Thank you so much for your help.

    running wordpress 4.1.1, buddypress 2.2.1. website: thewriterintheworld.com

    batufan
    Participant

    Hi,
    I want to change the register page. Register page is operating, but i want to change the form style on the register page. For ex. Username’s box has 25px height, but i want to change 30px…
    I search the register page’s source code in the buddypress plugin’s folder, but i’m not finding the source code.
    Please help me…

    #237301
    mrgiblets
    Participant

    Thanks bro, had a look at that plug in but it hasn’t been updated since 2013 and isn’t compatible with my version of WordPress.

    Sounds like a great plug-in though, if it works (haha).

    Hope you get it fixed.

    Still gonna try to do with without a plug-in though as i’ve done all the legwork manually already, just need to stop buddypress from enqueuing the original files (or at very least dequeue them in my functions.php). Just can’t find the functions in BP that are loading them originally.

    #237300
    mrgiblets
    Participant

    Hey guys,

    I’m going through and changing the text displayed by buddypress by creating custom PO & MO files as described here – https://codex.buddypress.org/getting-started/customizing/customizing-labels-messages-and-urls/

    It’s all working great but I’ve stumbled upon something strange.

    For some reason I can’t change the following string :

    %1$s posted an update in the group %2$s

    No matter what I set in the translation field :

    %1$s posted in the group %2$s

    ….it always displays the original text :

    username posted an update in the group groupname

    I’ve checked to make sure it’s not repeating anywhere else in the MO file but, nope, there is only one instance of this string.

    Any suggestions as to why I can’t translate this particular string?

    #237299
    5high
    Participant

    Brilliant! It worked a treat, and I used the ‘user_register’ as suggested. So for anyone else looking for this solution, this is the code i used to turn some on and some off by default on new user registration:

    add_action( 'user_register', 'bpdev_set_email_notifications_preference');
    function bpdev_set_email_notifications_preference( $user_id ) {
    //I am putting some notifications to no by default and the common ones to yes to enable it.
    //ref. https://bp-tricks.com/snippets/changing-default-buddypress-notifications-settings and BP forum
    $settings_keys = array(
    'notification_activity_new_mention' => 'yes',
    'notification_activity_new_reply' => 'yes',
    'notification_friends_friendship_request' => 'no',
    'notification_friends_friendship_accepted' => 'no',
    'notification_groups_invite' => 'no',
    'notification_groups_group_updated' => 'no',
    'notification_groups_admin_promotion' => 'no',
    'notification_groups_membership_request' => 'no',
    'notification_messages_new_message' => 'yes',
    );
    foreach( $settings_keys as $setting => $preference ) {
    bp_update_user_meta( $user_id, $setting, $preference );
    }
    }

    and this went in my child theme functions.php file.
    Hooray! Thanks so much again – it will make a big different to our users experience.
    Cheers 🙂

    #237297
    #237296
    sbazaars
    Participant

    Hi to all, im searching a way to make a single group page the homepage of my site make with BuddyPress. I have a Multisite installation, and WordPress and BuddyPress are updated. In fact, the Group pages do not appear on the selection “static page” in the option at the back end, so, for this, i have tried more solution like embedding code, manipolated function.php of my theme for made custom post and theme for make this selectionable, but it’s very difficult and seems that there is no solution…or i can’t made it possible. There is any clear solution for my problem?

    #237292
    mcpeanut
    Participant

    It can be a real pain when combining js scripts so i feel you, i have not yet tried to combine the js files used within buddypress, although i have done this many times with other js files with mixed results, its a case of trial and error manually combining js files, i will probably be trying to do all this myself within my latest buddypress install when the time comes, i would recommend trying a plugin called minqueue to help you combine files as i have used this myself on previous built sites with great results but i have found an issue recently that i posted in the support forum for the plugin which you can read here https://wordpress.org/support/topic/works-at-first-then-logging-out-and-back-in-stops-it-working?replies=1

    maybe you could try it and see if it works for you without the problems i described then i know it wasn’t just my install and config causing it.

    The beauty of this plugin is that it lets you see exactly what scripts are loaded on a per page basis via the front end of your site and if you hover over the said scripts it will let you also know the dependencies of each script, then you can add different scripts to be combined in a queue on the backend, the dev has not responded to my support yet there so im still unsure if its my install that is causing the problem, try it and follow the steps i raised in the support and see if it does the same for you.

    #237287
    mcpeanut
    Participant

    I have posted in the new favorites plugin support asking if the dev could possibly consider adding native support for buddypress here, i suggest others add to it and the dev may respond positively and look into it, who knows… maybe worth a shot https://wordpress.org/support/topic/buddypress-92?replies=1#post-6781081

    auston1
    Participant

    When I installed BP, I unfortunately had user registration disabled in settings (cuz of bot spammers – I have no content FFS and I’m already getting spammed.)

    Anyways, what do I need to do to fix this now? I’ve created the pages and associated them in the buddypress settings –> pages tab, but they still are completely blank. The other 3 pages all work (members, activity, groups.)

    I also realized, I do not have a registration folder in buddypress. I believe this is required? I tried uninstalling, then deleting all the bp_ tables from the database, and then re-installing BP with “allow anyone to register” checked; but alas no dice. 🙁

    Still no page content for the two pages, still no folders in the buddypress directory.

    Side note: I’ve created the bp-custom.php and placed it in the plugins directory, but it’s still empty.

    I’m quite the noob. Please help.

    #237281
    mrgiblets
    Participant

    Hey guys,

    I’ve put the content of all of the following separate JS files….

    confirm.min.js
    widget-members.min.js
    jquery-query.min.js
    jquery-cookie.min.js
    jquery-scroll-to.min.js
    buddypress.js

    …into one singular file called buddypress.js in mytheme/js/ to help minimize http requests.

    But how do I stop Buddypress from still loading all of the original separate files?

    I’m assuming it’s something to do with :

    remove_action('bp_enqueue_scripts');

    But i’m not sure how to use this in my functions.php, and also, will this stop loading the bp css files? Because I still want them to load as normal.

    #237279
    shanebp
    Moderator

    Create template overloads of these two pages:
    buddypress\bp-templates\bp-legacy\buddypress\members\members-loop.php
    buddypress\bp-templates\bp-legacy\buddypress\members\index.php

    In the first, change
    if ( bp_has_members( bp_ajax_querystring( 'members' ) ) ) :
    to
    if ( bp_has_members( bp_ajax_querystring( 'members' ) '&per_page=1000') ) :

    In the second, delete the div that starts with:
    <div class="item-list-tabs" id="subnav" role="navigation">

    Mickey
    Participant

    On both tabs, my favicon shows fine, however, in firefox it shows http://sitename, instead of just site’s name, and in chrome it shows my sites name beginning with lower cap.

    Where in buddypress do I change that so i can specify exactly what to show there?

    #237276
    #237275
    Gromozeka
    Participant

    Thank. I did added custom menu item. But i try load custom template when open ,y custom page on member profile. I use this code

    function bp_gf_ua_profile_nav_add()
    {
        bp_core_new_nav_item(
            array(
                'name' => __('Email preferences', 'buddypress'),
                'slug' => 'email-preferences',
                'position' => 3,
                'show_for_displayed_user' => true,
                'screen_function' => 'bp_gf_ua_profile_load_template',
                'item_css_id' => 'all-conversations'
            )
        );
    }
    
    function mb_show_posts2() {
        echo "Test Text";
    }
    
    function bp_gf_ua_profile_load_template()
    {
        add_action( 'bp_template_content', 'mb_show_posts2' );
        bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/email-preferences/preferences' ));
    }
    
    add_action( 'bp_setup_nav', 'bp_gf_ua_profile_nav_add' );

    But always display memeber-loop template. What i doing wrong?

    Thanks!

    #237274
    disha76
    Participant

    The above plugin has no sync with buddypress activity stream.
    It also does not show who has favorited a post (compare Jetpack Likes)
    Thanks for the news.

    #237268
    disha76
    Participant

    I am also suffering from this issue.

    @modemlooper it was posted in support forum / github of almost all Like and similar plugins long long ago by many users. No response.

    Buddypress core via trac was also requested / issue submitted to make the “Favorit” logical like comments – if you can comment both ways, favorit should also be like that. Isn’t it ? But this has been indefinitely postponed.

    Jetpack Like team was requested because they have the “power and punch” – but there also nothing happened.

    True – only Buddypics does Favoriting both ways.

    #237265
    modemlooper
    Moderator
Viewing 25 results - 20,276 through 20,300 (of 94,567 total)
Skip to toolbar