Search Results for 'buddypress'
-
AuthorSearch Results
-
April 11, 2015 at 4:44 pm #237692
In reply to: No pages, posts or comments in Activity
danbp
ParticipantI suppose you know where to upload WordPress and where to upload BuddyPress.
Download BP and reload to site by FTP. No need to uninstall BP, simply deactivate, upload new copy and reactivate.
There is no mysql file !
If you have access to your DB, see what is in bp_activities table.
Are you on a MS or single WP install ?
Where is WP installed, as you linked to a sub-domain…Is the assigned activity page empty, without any parent page or template ?
April 11, 2015 at 1:06 pm #237683In reply to: Custom Post Type Support for Activity
Mathieu Viet
ModeratorI’ll look at it soon, but in the meantime is there any reason why you are not using the buddypress-activity support/custom labels when registering the post type. As far as i can remember this code was shared because the post type was registered by another plugin. Is it the case of your “job” post type ?
April 11, 2015 at 11:48 am #237676In reply to: [Resolved] Fatal Error after Update
danbp
Participanthi @norek,
perhaps you did it wrong… No worry, download directly the patched file and add/replace it into buddypress/bp-core/
Trac reference is Branche 2.2.2 > bp-core/bp-core-filters.php r9741
April 11, 2015 at 11:45 am #237675In reply to: [Resolved] Redirecting Register link
Henry Wright
ModeratorHi @antipole
This is the kind of thing you’ll want to do. The
my_redirect()function hooks totemplate_redirectsobp_core_redirect()executes at exactly the right time you need it to.You’d put it in your theme’s functions.php file.
function my_redirect() { // Conditions go here. $location = 'http://example.com'; bp_core_redirect( $location ); } add_action( 'template_redirect', 'my_redirect' );Be careful when setting your conditions to avoid seeing the dreaded ‘redirect loop’ error.
Also, the Template Tag Reference will help you. For instance,
bp_is_register_page()will help you determine if the current page is the register page.Hope this info helps.
April 11, 2015 at 10:50 am #237673In reply to: Groups function not working
Paul Wong-Gibbs
KeymasterBug ticket is https://buddypress.trac.wordpress.org/ticket/6369.
I am going to close this thread because we have a similar discussion happening over here: https://buddypress.org/support/topic/fatal-error-after-update/#post-237672
Thank you.
April 11, 2015 at 10:49 am #237672In reply to: [Resolved] Fatal Error after Update
Paul Wong-Gibbs
KeymasterBug ticket is https://buddypress.trac.wordpress.org/ticket/6369
April 11, 2015 at 9:47 am #237662In reply to: [Resolved] displaying user roles in profile
andrew55
ParticipantThis works great in member-header.php:
But when I insert the same code in…
\buddypress\bp-templates\bp-legacy\buddypress\groups\single\members.php,
right after…
<?php bp_group_member_link(); ?>…it won’t print the role out when viewing the group member list. Any suggestion on how to accomplish this?
Thanks for any help.
Hugo Ashmore
ParticipantTechnically you’re on the wrong forum, you have no instance of BuddyPress running only bbPress and they are two different plugins.
You might try any of the Title tag plugins out there such as Yoast WP SEO also look at how your theme is handling the title tag in the header and search the WP codex for any guides on filtering the WP title tag to modify the title strings.
April 11, 2015 at 9:14 am #237658In reply to: [Resolved] Fatal Error after Update
Mathieu Viet
ModeratorYou can try to see if the gist here https://buddypress.org/support/topic/groups-function-not-working/#post-237657 is fixing the issue
April 11, 2015 at 8:57 am #237655In reply to: Groups function not working
danbp
ParticipantSee from here how you can publish on Trac
Cannot redeclare _bp_strip_spans_from_title() means generally that 2 functions with the same name are running at the same time.
This can came from a plugin or a theme.
For example BP is using bp_strip_spans_from_title, but if your theme use the same function, this provides a colision and you got a php fatal error.Activate 2015 and see if the issue still occurs.
Meanwhile, I just updated all my BP installs (with different themes) without any errors.
danbp
ParticipantHi,
Usually, site name is defined during WP install and can be changed from within WP settings.
dashboard > general > site name
If it’s already done, see if your theme has a specific setting for such and change accordingly from there.
Please read also:
https://buddypress.org/support/topic/when-asking-for-support-2/April 11, 2015 at 7:54 am #237645In reply to: Groups function not working
danbp
Participanthi @julia_b,
you can try to apply patch 8. See here:
https://buddypress.trac.wordpress.org/ticket/6107Will probably be solved in BP 2.2.2
April 11, 2015 at 7:51 am #237644In reply to: [Resolved] Fatal Error after Update
danbp
Participantit’s actually an obvious issue which maybe solved in next update.
For now you could try to apply patch #8.
See ticket here:
https://buddypress.trac.wordpress.org/ticket/6107April 11, 2015 at 6:27 am #237640In reply to: [Resolved] Fatal Error after Update
Martin
ParticipantI have same problem, when I go to ” members ” or ” groups ” page I see
Fatal error: Cannot redeclare _bp_strip_spans_from_title() (previously declared in /xx/wp-content/plugins/buddypress/bp-core/bp-core-filters.php:552) in /xxx/fpv.tv/public_html/wp-content/plugins/buddypress/bp-core/bp-core-filters.php on line 552Also register page is blank. When i back to 2.2.1 everything is ok.
Best regards
April 10, 2015 at 11:15 pm #237633In reply to: Buddypress not working with my Theme
sophiats
ParticipantHey, this
“I took made a buddypress template, just a copy of the page.php template, and changed the voyager loop out for a simplified loop”
is actually taken from the theme support from someone who fixed this issue but without further explanation, this is why I asked here, see if I have any chances. 🙂
April 10, 2015 at 4:24 pm #237624In reply to: Custom Post Type Support for Activity
aaronkine
Participant@imath thanks for the above code which “adds the post type title into the link in replacement”
But i need to change one small thing in that code but i dont know how.
Here is my code in bp-custom.php —
add_post_type_support( 'job_listing', 'buddypress-activity' ); function customize_page_tracking_args_job() { // Check if the Activity component is active before using it. if ( ! bp_is_active( 'activity' ) ) { return; } bp_activity_set_post_type_tracking_args( 'job_listing', array( 'component_id' => 'activity', 'action_id' => 'new_job_listing', 'bp_activity_admin_filter' => __( 'Published a new Job', 'text-domain' ), 'bp_activity_front_filter' => __( 'Job', 'text-domain' ), 'contexts' => array( 'activity', 'member' ), 'activity_comment' => true, 'bp_activity_new_post' => __( '%1$s posted a new Job: <a href="%2$s">Job</a>', 'text-domain' ), 'bp_activity_new_post_ms' => __( '%1$s posted a new Job: <a href="%2$s">Job</a>, on the site %3$s', 'text-domain' ), 'position' => 100, ) ); } add_action( 'init', 'customize_page_tracking_args_job', 999 );Here is the result…
PathPoint-SSB posted a new Job: Job 5 hours, 53 minutes agoHere is what it looks like after I use your code to insert the Title of the Job
pathpoint posted a new Receptionist/Administrative Assistant 5 hours, 49 minutes agoAs you can see, it changes the Users name and also I cant change this part “posted a new”. I would like it to read “posted a new Job: ”
Any ideas?
Thanks for any insight on this,
AaronApril 10, 2015 at 3:33 pm #237621In reply to: Member List Showing 4,000 Extra Members
rosyteddy
ParticipantA similar topic : https://buddypress.org/support/topic/removing-thousands-of-spam-users/
April 10, 2015 at 3:31 pm #237620In reply to: Member List Showing 4,000 Extra Members
rosyteddy
ParticipantApril 10, 2015 at 1:25 pm #237613In reply to: Setting User Role During Custom Registration
Henry Wright
ModeratorYes, sorry I didn’t see your latest post.
Great to see you got it working! 😀
April 10, 2015 at 11:41 am #237607In reply to: Setting User Role During Custom Registration
ch1n3s3b0y
ParticipantOk, I have this working! For anyone else struggling with this, these are the steps I took:
1. I created a custom registration form ( I needed more than one form for my setup) using the tutorial from Brajesh Singh http://buddydev.com/buddypress/show-buddypress-user-registration-form-everywhere-buddypress-site/
2. I added a hidden input field to my form:
<input type="hidden" name="user_type" id="user_type" value="your_role" />3. I added a user_meta during the registration to store the role for later use during the activation process:
function store_user_role($user_id) { $user_type = $_POST['user_type']; $user_role = $user_type; switch($user_role) { case "your_role": add_user_meta( $user_id, '_member_role', 'yourrole'); break; case "my_role": add_user_meta( $user_id, '_member_role', 'myrole'); break; default: add_user_meta( $user_id, '_member_role', 'defaultrole'); } } add_action( 'bp_core_signup_user', 'store_user_role', 20, 1);4. Then during the activation process you check to see which user role is stored in the user_meta, and assign that as the actual WP user role:
add_action('bp_core_activated_user', 'bp_custom_registration_role',10 , 3); function bp_custom_registration_role($user_id, $key, $user) { $userdata = array(); $userdata['ID'] = $user_id; $key = '_member_role'; $single = 'true'; $userRole = get_user_meta( $user_id, $key, $single ); if ($userRole == 'yourrole') $userdata['role'] = 'yourrole'; if ($userRole == 'myrole') $userdata['role'] = 'myrole'; if (($userdata['role'] == "yourrole") or ($userdata['role'] == "myrole")) wp_update_user($userdata); }That’s it. I used a few different examples from these support forums so credit goes out to those who got this stuff working in the first place. Hope this helps someone else.
April 10, 2015 at 8:01 am #237598In reply to: Registration redirects to home page.
danbp
ParticipantMany topics about this where already answered on the forum.
https://buddypress.org/support/search/Registration+redirects+to+home+page/
April 9, 2015 at 9:04 pm #237585Mac
Participant@jordanerollin There is a group e-mail plugin called “BuddyPress Group Email”. I have never used it therefore have no working knowledge of it.
I can see from the website there is a tab it says “Send Mail”, but you could possibly change that via a language file edit if you wanted it to say “Messages.”
From the quick read it says:
Allow group admins and moderators to send emails
The plugin itself has been around for a good while. I found it in a post from 5 years ago, so maybe somebody with some knowledge of the plugin could better advise.
https://buddypress.org/support/topic/groups-send-internal-message-to-all-group-members/
Note: It is not free.
April 9, 2015 at 7:45 pm #237584danbp
ParticipantWelcome on BuddyPress !
You’re on the wrong forum.
bbPress has it own support forum.April 9, 2015 at 7:42 pm #237583danbp
ParticipantWhy would you uninstall BP and reinstall it, you even don’t know where the issue came from ?
Take a breath and stay calm. 😉
Activate Twenty Fifteen theme.
Deactivate all plugins except BP.check for anything is correct. If it is, you can reactivate your plugins one by one, checking after each for an issue, untill you find eventually a culprit.
If all is correct, the only thing who may bring an issue at this stage is your theme.
Activate it and see the result. If you get the same issue, you should contact the theme support.
We cannot help you for this, as it is a premium theme and we have no free access to it’s code.
Please read also here, where some basics are explained.
https://codex.wordpress.org/Debugging_in_WordPressApril 9, 2015 at 7:19 pm #237580danbp
Participanthi @mrgiblets,
what about a show/hide toggle comment button ?
https://buddypress.org/support/topic/how-to-show-comments-only-when-i-click-on-comment-button/Or disabling comments selectively ?
https://buddypress.org/support/topic/blog-forum-comments/See this filter
bp_activity_can_commentin:
bp-activity-template.php
bp-blogs-activity.php -
AuthorSearch Results