Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 7,376 through 7,400 (of 69,106 total)
  • Author
    Search Results
  • #270364
    klubnika74
    Participant

    Yes. There is a feature in BuddyPress where one user can send a private email to another user. Since my site is an online training site, I set it up such that my students can email privately to the course teacher (I use Social Learner theme). The problem is that course teacher do not always respond to emails and I need to be able to follow up to make sure that my students get their answers.

    #270362
    otty-dev
    Participant

    Hi @djpaul

    My theme was not built to be compatible with Buddypress unfortunately. Where can I edit the php and html myself for this issue? I was trying to navigate plugin > editor > buddypress but I couldn’t find the php for each members profile page and also the html file. So far I could only edit CSS using appearance > customize css.

    Hugo Ashmore
    Participant
    #270346
    Paul Wong-Gibbs
    Keymaster

    Hi @klubnika74

    BuddyPress doesn’t allow a user to email another user directly.
    You may be mixing this up with the email notification messages, that BuddyPress sends out.

    By “send a copy of private message between users”, are you specifically referring to the Private Messages feature within BuddyPress?

    #270345
    ToobHed
    Participant

    I’m not sure why I would need to hook to something? I am running this process independently as part of a currently working cron job. I want to add a routine to my cron job that would remove users from groups if they are of a certain role. I have everything working, except I am not able to find the groups a user belongs to. I believe the code $group_ids = BP_Groups_Member::get_group_ids( $user_id ); is correct since I get the intended results when I run this from the buddypress page for members. That page must contain all the necessary declarative and required components. When I run the same code in functions.php even supplying a known user id such as $group_ids = BP_Groups_Member::get_group_ids( 2); my array is empty. Furthermore I get the errors noted above that I do not get when running this code from the members page.

    Paul Wong-Gibbs
    Keymaster
    #270334
    Paul Wong-Gibbs
    Keymaster

    Hi @ottiya

    Good question, but the answer’s hard. You’ll need to learn how to modify WordPress theme templates. Start reading through all the linked pages on https://codex.buddypress.org/themes/ and when you have a specific question after you’ve made a try, let me know.

    #270331
    Paul Wong-Gibbs
    Keymaster

    As long as that Members page isn’t assigned to another component, it’s not obvious why it mightn’t be working. Does the form submit when you click Save, or does nothing happen at all?

    Is that Page published?
    Have you made any customisations to BuddyPress, or WordPress rewrite rules?

    Paul Wong-Gibbs
    Keymaster

    I think the go-to for this is https://themekraft.com/products/woocommerce-buddypress-integration/ — might be worth a look.

    #270329
    Paul Wong-Gibbs
    Keymaster

    Hi @eliasgetguineapig

    Do you mean on the WordPress Toolbar? (this thing — https://codex.wordpress.org/Toolbar )
    If so, if you search for ways to customise or hide the WordPress Toolbar, you should get some clues. It’s not a UI component provided by BuddyPress.

    #270328
    Paul Wong-Gibbs
    Keymaster

    Hi @ottiya

    On the default templates, there is a “Add Friend” button, and we usually position is just below (or next to) the user’s name and avatar picture. But not every theme has to show BuddyPress content in the same way!

    If you’ve bought a theme with BuddyPress templates, or customised some yourself, it might be worth going back to where you got them from and ask for help.

    #270322
    otty-dev
    Participant

    Hi @mastershas thanks so much for this! I was looking for it as well. Do you know how to allow members to edit their profiles so that the profile bio +photo on the bottom of their blog post is the same as the profile bio + photo on their buddypress page?

    #270321
    otty-dev
    Participant
    #270319
    stevie79
    Participant

    Yes ottiya.

    It’ll be hyperlinked – when someone clicks it, they then see that person’s buddypress profile.

    Basically, instead of it going to an author’s page (which lists all posts written by that author), it instead like you mentioned, goes to the Buddypress profile of that member… so domain.com/members/fred or domain.com/members/fred/profile

    #270318
    otty-dev
    Participant

    Also looking for this! And also making it so that when you click on the author, it redirects to that person’s buddypress profile page

    Henry Wright
    Moderator

    Check out the plugins here https://wordpress.org/plugins/tags/buddypress/

    These plugin authors have used the “buddypress” tag which indicates a compatibility with BuddyPress.

    Hope it helps!

    #270312
    Henry Wright
    Moderator

    BuddyPress should be compatible with PHP 7.0 and 7.1. What conflict are you seeing?

    #270308
    minijuji1
    Participant

    *** SOLUTION ***
    Hey guys I had the similar problem. I had 3 different user types. The first two could select between 2 user roles (let’s say “part time student” or “regular student”), as the third one had to have a set role of a let’s say “Teacher”. So I needed two different registration forms that would automatically register with user roles.

    So what I did was to create a user profile field called “Account Type” (dropdown select) with the options of “Part Time Student”, “Regular Student” and ” “Teacher”. I then used @webizone’s solution for a second registration form. I created the template and added to it a few lines of javascript, basically to remove the “Teacher” option from the select menu.

    <script type="text/javascript">
    
    jQuery("#field_17 option[value='Teacher']").remove();
    </script>

    Now that template is for the registration of “Part Time Student” and “Regular Student”. For the teacher’s is just the regular registration form with the “Teacher” option selected by default.
    Now to register the user roles I’ve used @spiritix’s solution from here: https://buddypress.org/support/topic/how-to-assign-a-wp-user-role-based-on-a-registration/

    And to restrict wich forums users can access I’ve used https://wordpress.org/plugins/members/

    Hope this helps. Good Luck and let me know if anyone has a better solution than this. Thanks

    #270294
    Hivemindnetwork
    Participant

    Never mind. I found it. For anyone else, it’s in the .js file. The problem was it needs changing in the .min.js too

    wp-content/plugins/buddypress/bp-templates/bp-legacy/js/buddypress.js
    wp-content/plugins/buddypress/bp-templates/bp-legacy/js/buddypress.min.js

    Not ideal as editing core – so if anyone has a function to achieve this it would be much appreciated.

    #270292
    ToobHed
    Participant

    I am trying to call this outside of any buddypress files. I am calling it in my themes functions, it is to run on a cron. I must be missing a global or required file, any ideas?

    Venutius
    Moderator

    The first thing to do is to deactivate all other plugins but buddypress and switch your theme to 2017 and see if it works (it should), then you will have a working configuration to test against, reintroduce your theme and other plugins in stages and check it still works until you find the plugin that is (possibly) causing the issue.

    neo323neo323
    Participant

    Hi guys! I have this problem and i spent all the morning read online but nothing seems work so i wish someone around here with a nice heart would help me to find a solution for this. I am building a forum using Buddypress and BBpress everything seems work smooth but when it comes to register a new user of the forum the activation mail it’s not sent. I tried to send again from Users->All Users and then send again the activation link but it dosen’t work. I also tried to send a test mail with WP Mail SMTP choosing PHP Default caption and the mail it’s sent and in general all the other mail about wordpress like update and comments to my posts(before i don’t have a forum) are always sent. I also tried Tools->Buddypress->Reinstall email(delete and restore defaults) but nothing changed. Seems it’s a problem only with Buddypress… anyone had this problem and found a solution?
    Wordpress verions 4.9.2
    Buddypress version 2.9.2
    Theme Sydney

    #270274
    jebus
    Participant

    Hey krask,

    The email repair is under Tools >> BuddyPress Tools.

    Have you forced BP to use wp_mail() instead of the default? Gotta do that too.

    #270273
    ToobHed
    Participant

    Thanks for the reply,

    The code runs fine when I call it from “theme\buddypress\members\index.php” and outputs:
    rray(2) { [“groups”]=> array(6) { [0]=> string(1) “2” [1]=> string(1) “0” [2]=> string(2) “11” [3]=> string(1) “7” [4]=> string(2) “12” [5]=> string(2) “13” } [“total”]=> int(6) }

    But when I call it from functions.php in my theme I get the errors:

    Notice: Undefined property: BP_Groups_Component::$table_name_members in /home/vetsgami/public_html/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member.php on line 561

    Notice: Undefined property: BP_Groups_Component::$table_name in /home/myserver/public_html/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member.php on line 561

    Notice: Undefined property: BP_Groups_Component::$table_name_members in /home/myserver/public_html/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member.php on line 562

    Notice: Undefined property: BP_Groups_Component::$table_name in /home/myserver/public_html/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member.php on line 562
    array(2) { [“groups”]=> array(0) { } [“total”]=> int(0) }

    Makes me wonder if I need to include a file from buddypress to run it here?

    #270272
    Gunu
    Participant

    @krask,

    dashboard – tools – buddypress – Reinstall emails (delete and restore from defaults)???

Viewing 25 results - 7,376 through 7,400 (of 69,106 total)
Skip to toolbar