Search Results for 'buddypress'
-
AuthorSearch Results
-
July 12, 2014 at 12:08 pm #185004
In reply to: If asking for help
danbp
Participanthi @tau001,
have you ever read about BuddyPress before asking ? 😉
BP is compatible with most of the (recent) WP themes. There is no need to reach a dedicated BP theme (these are mostly outdated now < BP 1.8)
Be aware that a commercial theme will cut you off of public forums like this one. Nobody can help you, outside the theme support. And don’t buy a spectacular homepage picture with bright colors and heavy markting claims if you don’t know exactly what you need.
Built first the skeleton and add a skin after. When building a house, you can’t begin with the wallpaper ?!!!For your questions:
1) see link
2) yes of course
3) – yes
– yes with an extra plugin: myCred
– yes & easely, if you know a little about php coding@mercime
Participant@philmeyer basically some issues still remain on @mentions https://buddypress.trac.wordpress.org/ticket/5565
July 12, 2014 at 8:27 am #184997In reply to: Multisite Notices Showing on all subsites
@mercime
Participant@finchkelsey Have never used NS Cloner but if you only want BP only in the main site or on one subsite in your multisite installation, do not activate BP network-wide i.e., Network Admin > Plugins panel. If you did, deactivate it in Network Admin. Then, if you want BP only in main site, go to the plugins panel of main site and activate it there. If you want BP in one subsite, then follow instructions at https://codex.buddypress.org/getting-started/setting-up-a-new-installation/install-buddypress-on-a-secondary-blog/ Not sure though if the change will work with NS Cloner activated.
July 11, 2014 at 11:53 pm #184989In reply to: How to Limit Personal Activity Feed Posts
shanebp
Moderatorbuddypress\bp-templates\bp-legacy\buddypress\activity\activity-loop.php
July 11, 2014 at 7:46 pm #184986In reply to: Display post on certain groups
danbp
ParticipantJuly 11, 2014 at 6:52 pm #184985In reply to: Integrating BuddyPress with WP Job Manager
shanebp
ModeratorYou could use the approach in the codex page you’ve referenced.
Probably easier to use this hook from WP Job manager: ‘job_manager_save_job_listing’
In the function that you create for that hook, use bp_activity_add.July 11, 2014 at 9:22 am #184978In reply to: Unable to Add Profile Tab
danbp
Participanthello @optiqal,
using snippets from 2012 leads to errors in many case. 😉Here’s a new version of what you used. I tested it on BP 2.1 and 2013 theme.
(original code comes from here) As it contained errors i corrected them and adjusted the code to get content everywhere./* we're building the nav button and add it to the profile main menu */ function mb_bp_profile_menu_posts() { global $bp; bp_core_new_nav_item( array( 'name' => 'My Posts', 'slug' => 'posts', 'position' => 11, 'default_subnav_slug' => 'published', 'screen_function' => 'mb_author_posts' ) ); } add_action('bp_setup_nav', 'mb_bp_profile_menu_posts', 301 ); /* we're building 2 sub item * the first is the one showing by default */ function mb_bp_profile_submenu_posts() { global $bp; if(!is_user_logged_in()) return ''; bp_core_new_subnav_item( array( 'name' => 'Published', 'slug' => 'published', 'parent_url' => $bp->loggedin_user->domain . $bp->bp_nav['posts']['slug'] . '/' , 'parent_slug' => $bp->bp_nav['posts']['slug'], 'position' => 10, 'screen_function' => 'mb_author_posts' //the function is declared below ) ); bp_core_new_subnav_item( array( 'name' => 'Drafts', 'slug' => 'drafts', 'parent_url' => $bp->loggedin_user->domain . $bp->bp_nav['posts']['slug'] . '/' , 'parent_slug' => $bp->bp_nav['posts']['slug'], 'position' => 20, 'screen_function' => 'mb_author_drafts' //the function is declared below ) ); } add_action('bp_setup_nav', 'mb_bp_profile_submenu_posts', 302 ); /* here we control our 1st sub item * first function is the screen_function * second function displays the content */ function mb_author_posts(){ add_action( 'bp_template_content', 'mb_show_posts' ); bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) ); } function mb_show_posts() { echo 'Function to Generate the displayed users posts.'; // add yout stuff here } /* here we control our 2nd sub item * first function is the screen_function * second function displays the content */ function mb_author_drafts() { add_action( 'bp_template_content', 'mb_show_drafts' ); bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) ); } function mb_show_drafts() { echo 'Another function to Generate the displayed users drafts.'; // add yout stuff here }July 11, 2014 at 5:19 am #184971@mercime
ParticipantJuly 10, 2014 at 2:40 pm #184953In reply to: Importing data from existing database to buddypress
steveparkinson
ParticipantNovice here… this should be fun. (July 2014)
I got someone to import users in to my sweetdate (2.6.1)/buddypress (2.5.4) site. The users are there in the WordPress users, but not in the Buddypress site. They don’t even show up in the Pending Activation. I can see them in the SQL Database.
How can I migrate them in to the Buddypress members, searchable, database.
Thanks in advance.
July 10, 2014 at 10:27 am #184945In reply to: [Resolved] Error in Invitation
Leonyipa
Participantthanks! I changed to Twenty-Thirteen and the error is resolved!!!
but the old theme I am using is actually the BuddyPress Default theme, I really want to use it, is it possible to be fixed?
thanks
July 10, 2014 at 4:53 am #184940In reply to: override function from my plugin
Nomi
ParticipantI am trying to allow user to join group using enrollment key as you can see here.
https://buddypress.org/support/topic/join-group-by-key/I got it working in core file but i have no idea how to implement in my plugin is there any other way?
Here is my codeif ($_POST['enrollment-key'] =='xxx'){ groups_join_group($bp->groups->current_group->id , bp_loggedin_user_id() ); bp_core_add_message( __('You have successfully joined this group.', 'buddypress' ) ); }else{ groups_join_group($bp->groups->current_group->id , bp_loggedin_user_id() ); bp_core_add_message( __( 'Your membership request was sent to the group administrator successfully. You will be notified when the group administrator responds to your request.', 'buddypress' ) ); }July 8, 2014 at 10:08 pm #184912In reply to: Adding xprofile data in my Activity Stream
shanebp
ModeratorYikes – that was just a skeleton that needs actual code in the function.
Given your code ability and the number of code requests you’ve recently made on these forums,
I recommend that you post a job listing here.July 8, 2014 at 7:13 pm #184902In reply to: bp core load template vs bp get template part
r-a-y
KeymasterI’m guessing you have an older plugin that you want to support with the newer theme compatibility standard.
Since you’re referencing
bp_core_load_template( 'activity/index' )in your example, I’m guessing you are trying to add theme compat for a new slug in the activity directory (eg. example.com/activity/new-slug/)? If so, you’ll want to copy the following code, rename the class and change a few things, so it is applicable to your plugin:
https://buddypress.trac.wordpress.org/browser/tags/2.0.1/bp-activity/bp-activity-screens.php#L301Then you would load up your new class with the
bp_core_load_template()call.if ( class_exists( 'BP_Theme_Compat' ) ) { new BP_Activity_WHATEVER_YOUR_CLASS_IS_CALLED_Theme_Compat; } bp_core_load_template( 'activity/index' );July 8, 2014 at 6:38 pm #184899In reply to: Adding xprofile data in my Activity Stream
shanebp
ModeratorNever put code into the buddypress plugin files.
Use your theme functions.php or use bp-custom.php.
July 8, 2014 at 6:17 pm #184898In reply to: Adding xprofile data in my Activity Stream
JoshtheDesigner
ParticipantThanks! Would I put this in the Functions file in my child-theme or in the buddypress/bp-activity/bp-activity-functions.php file? If it is in the activity functions where should I put it? Sorry I am still learning buddypress.
July 8, 2014 at 5:40 pm #184896In reply to: Adding xprofile data in my Activity Stream
shanebp
ModeratorUse the ‘xprofile_updated_profile’ hook
function josh_profile_check( $user_id, $posted_field_ids, $errors ) { /* check $posted_field_ids to see if one of the fields you are interested in has changed if yes, then use bp_activity_add to add to activity stream */ } add_action( 'xprofile_updated_profile', 'josh_profile_check', 10, 3 );July 8, 2014 at 4:49 pm #184892In reply to: Accept and Reject for groups Button Missing
shanebp
ModeratorAssign the button to a var, then dump it to see what is returned.
$asdf = bp_get_button( etc. ) var_dump( $asdf );Your bp_button calls look ok, afaik.
Take a look at the function
buddypress\bp-core\bp-core-template.php ~L. 487July 8, 2014 at 12:03 pm #184884In reply to: Accept and Reject for groups Button Missing
Nomi
Participantokay i used
bp_get_buttonbut still no luck. then I removed requests-loop.php from theme buddypress folder that it can use plugin’s requests-loop.php still its not displayingJuly 8, 2014 at 1:24 am #184877In reply to: User registration not working on fresh install.
lorns
Participant@mercime as mentioned in my original post I’m running locally using MAMP. I’ve done 3 clean installs first deleting then redownloading & installing both WordPress & BuddyPress.
Totally stumped & frustrated.
July 8, 2014 at 1:14 am #184876In reply to: User registration not working on fresh install.
@mercime
Participant@lorns Have you tried deleting and then re-uploading BuddyPress manually? Files may have been corrupted or upload could be incomplete. Where are you hosted – locally or shared hosting or dedicated server, etc?
July 7, 2014 at 11:19 pm #184875In reply to: User registration not working on fresh install.
lorns
Participant@mercime I’ve been having a little more of a dig around – if I look at the generated site code, the sign-up form has nothing set for the action attribute and I can’t find any JS script that would submit the form programmatically in place of that.
I’ve tested it out using invalid data and can confirm that it’s not reaching the signup validation script in the BuddyPress bp-members-functions.php file. I’ve not touched/edited the plugin files, just trying to figure out whether it’s getting where it needs to go.
July 7, 2014 at 11:03 pm #184874In reply to: User registration not working on fresh install.
lorns
Participant@mercime I was originally using the TwelveFourteen theme and it wasn’t working then. I couldn’t see the bp_default theme but I kept coming across advice that said I needed to be using the BuddyPress default theme – managed to find it in the plugin files. I’ve just now switched back to TwelveFourteen (to make double/triple sure) but it still won’t work. The registration page just reloads with form inputs intact (other than the password).
Definitely logged out, have tried in latest versions of Safari, Chrome & Firefox, go to Register Page, fill in details, hit submit – page reloads with all bar password fields intact.
I’m not sure what further steps I can give you other than above. My latest install is clean, up to date, unless I’ve missed some glaring setup step but I’m sure I’ve followed the guides correctly. I’m totally stumped.
July 7, 2014 at 9:28 pm #184869In reply to: "Read more" not working on group activities
Doremdou
ParticipantHi @mercime thank you very much for your answer 🙂
sorry, I am always on the last version: BP 2.0.1 and WP 3.9.1
I tried what you said and I am so sad…
The problem is indeed coming from my theme 🙁I have two problems coming from my theme with buddypress and activities…
– The read more button on group activites is not working
– and when we click on “delete” on a activity message, it does not work and display a 404 error page.With the twenty fourteen theme it is working fine…
Where should I look what is wrong with my theme?
Thank you very much for your help 🙂July 7, 2014 at 6:37 pm #184863In reply to: Join a group, in the register process
@mercime
Participant@jovicar something like https://wordpress.org/plugins/buddypress-registration-groups-1/ ?
July 7, 2014 at 6:23 pm #184862In reply to: Display recent user who viewed my profile
@mercime
Participant -
AuthorSearch Results