Search Results for 'buddypress'
-
AuthorSearch Results
-
September 11, 2015 at 9:44 am #244269
djsteveb
Participant@varun404 – first thing I would do is go to settings -> permalinks.. make note of what they are.
Then change them to something else.
save.
then change back to pretty permalinks.
save.then check your url – is it working then?
if not.. then make sure you have created pages that bp needs, and associated them:
if that is all set write, I would check my htaccess to make sure it is writable and wordpress is indeed adding code to make permalinks work.
September 11, 2015 at 9:38 am #244268In reply to: admin cant able to create a group
September 10, 2015 at 4:15 pm #244245danbp
ParticipantCodex is your friend:
September 10, 2015 at 11:40 am #244231In reply to: How to force Buddypress to Update Activity Stream
Tafmakura
ParticipantThank you
Activity feed is updating after every 15 seconds and the “Load Newest” link appears if new activities exist. I am no expert PHP developer but every 15 seconds admin-ajax.php is being called by buddypress, I assume this is to check for latest activities, I want to replicate what buddypress is doing every 15 sec just once so that on my form submit after the ‘bp_activity_add’ action happens I can call the same function just once, to “force” the display of my newly added activity. I dont’t need to alter the 15 sec default interval.
September 10, 2015 at 11:31 am #244230In reply to: How to force Buddypress to Update Activity Stream
danbp
Participanthi @tafmakura,
As first, did you activated Activity auto-refresh in BP settings ?
Second, as it concern a custom feature of yours, you have to check for ajax requests on your action post variable.
That said, there is a latency of 15 seconds before “load more” will show up a new activity. Not sure if this can be modified.Seach on Trac for some hints about Ajax and activity.
Perhaps those tickets #5328, #6195 can help you.September 10, 2015 at 9:36 am #244221In reply to: Hide Buddypress pages from google serch.
Henry Wright
ModeratorYou can add this to your robots.txt file:
User-agent: * Disallow: /members/Feel free to add more fields for the different areas of BuddyPress.
Note that it doesn’t guarantee Googlebot et al won’t index these pages, it just requests that they don’t.
September 10, 2015 at 12:48 am #244207danbp
Participanthi,
first snipppet removes the mention tab.
Second remove the mention item from the top right usermenu below howdy.Condition is set to site admin. If you use custom capabilities, change that to your need.
Code goes to bp-custom.phpfunction bpfr_hide_mention_nav() { //if ( bp_current_user_can( 'bp_moderate' ) ) if ( is_super_admin() ) { return; } bp_core_remove_subnav_item( 'activity', 'mentions' ); } add_action( 'bp_ready', 'bpfr_hide_mention_nav' ); function bpfr_admin_bar_remove_activity_mentions(){ global $wp_admin_bar; if ( is_super_admin() ) { return; } $wp_admin_bar->remove_node('my-account-activity-mentions'); } add_action('wp_before_admin_bar_render','bpfr_admin_bar_remove_activity_mentions');An alternate (IMO better) solution, is this premium plugin: http://www.philopress.com/products/buddynotes/
September 9, 2015 at 11:39 pm #244205In reply to: Add a Text Area Field
danbp
Participanthi,
Dashboard > Users > Profile Fields > Add new fieldName []
Description []
Type > select Multi-line Text AreaSeptember 9, 2015 at 11:30 pm #244204In reply to: Logged in home page
danbp
ParticipantTo redirect your users to their friends activities page on login, you can use this:
function bpdev_redirect_to_profile( $redirect_to_calculated, $redirect_url_specified, $user ){ if( empty( $redirect_to_calculated ) ) $redirect_to_calculated = admin_url(); //if the user is not site admin,redirect to his/her profile $url = bp_core_get_user_domain( $user->ID ) .'activity/friends/'; if( isset( $user->ID) && ! is_super_admin( $user->ID ) ) return $url; else return $redirect_to_calculated; /*if site admin or not logged in,do not do anything much*/ } add_filter( 'bp_login_redirect', 'bpdev_redirect_to_profile', 11, 3 );Snippet source: http://buddydev.com/buddypress/buddypress-trick-redirect-users-to-their-profile-on-login/
To add a home button to the main menu, use WP’s menu builder. But this doesn’t let you add a dynamic button going to EACH user profile, only to yours. You will have to code this.
See from here how to do this:
https://buddypress.org/support/topic/how-to-get-notification-count-code/#post-244069
You need to introduce this:
$url = bp_core_get_user_domain( $user->ID ) .'activity/friends/';September 9, 2015 at 4:42 pm #244189In reply to: Filter Profile Fields
danbp
ParticipantThis is possible as built-in feature from within a profile. Each field value is clickable by default (in fact the 5 first words). When clicked, you get a list of all members who entered the same value.
To list the member directory by xprofile field values, you have to code it or modify the directory template. Read from here:
September 9, 2015 at 4:32 pm #244188danbp
ParticipantHow else would I override the buddypress file unless it was in my child theme with the same name?
You should NOT override core files. The only files you alter from child theme are template files.
To alter core functions, you use custom functions and add them via filter hooks, preferably added to bp-custom.php – so you won’t loose your work at next update.
member-profile.php doesn’t exist in BuddyPress.
Codex is your friend !
… and forum search too. 😉
September 9, 2015 at 3:54 pm #244185rezon8dev
ParticipantIs your child theme working correctly with Kleo ?
Is the altered member-header.php file in your child-theme ?Yes and Yes..
Do you really use a file called member-profile.php, as stated in your first topic ? Bad !
How else would I override the buddypress file unless it was in my child theme with the same name?
I’ll give this a go and report back, thank you very much!
September 9, 2015 at 2:52 pm #244180danbp
ParticipantSeptember 8, 2015 at 10:42 pm #244174shanebp
ModeratorIf you think you’ve found a bug in 2.3.3, you can submit a ticket here.
Be sure to include some screenshots.September 7, 2015 at 4:34 pm #244152In reply to: required Username twice at Registration
modemlooper
Moderatorthe column on the right are added profile fields, you can remove the field from the admin
more info on profile fields https://codex.buddypress.org/administrator-guide/extended-profiles/
September 6, 2015 at 10:53 pm #244138In reply to: required Username twice at Registration
nilje
ParticipantNo, there is no other plugin which could cause it
I’ve made a screenshot
http://www.danielaholl.de/Apublic/Unbenannt-1.jpg
I think the left side is the WordPress registration and right the one for buddypress.. there are my custom profile fields too.September 6, 2015 at 10:25 pm #244135In reply to: required Username twice at Registration
modemlooper
ModeratorBuddyPress and WP do not have two usernames. Is this the BuddyPress registration form or another form by a plugin?
September 6, 2015 at 9:30 pm #244129In reply to: required Username twice at Registration
nilje
Participantthanks… thats not really compareable, the double password entering is just for precaution.
I’ve never seen anywhere to enter my username twice.. And what if they enter two different ones, they don’t know for sure with which one they could login. That’s just odd for everyone who don’t know it’s about WordPress and Buddypress.Your link couldn’t help me, the topics are about not using usernames at general, I need it, but not twice. I dont’t trust the Plugin Simplr Registration Form Plus+, sounds good but there are many who had problems with their databases after using it..
September 6, 2015 at 7:35 pm #244125In reply to: required Username twice at Registration
danbp
ParticipantYou think right. BuddyPress need this field to sync with WordPress.
It’s really confusing for the user to set the username twice.
And what about entering password twice ?Read from here:
https://buddypress.org/support/topic/hide-the-username-and-display-firstnamelastname/September 6, 2015 at 7:24 pm #244124In reply to: Problems with groups without forum
danbp
Participantthe pages go directly to groups/name_group/forum, so i have a not found error
Let’s think that you set up forum wrong. Verify your bbPress settings. Or that you added some bbPress shortcodes to the BP group page.
On a correct install of BP/bbP, if a group has a forum, it is because the group creator activated it.
As site admin, go to the group management on front-end and deactivate the forum.
or/and
If you don’t want forum for groups, simply deactivate this option in bbPress settings.
Deactivate also Allow users to create forums in BuddyPress settings.September 6, 2015 at 1:31 pm #244119danbp
ParticipantYes ! You need to use template overload, then you can remove that part from the template.
While creating a new group:
See bp-templates/bp-legacy/buddypress/groups/create.php
While modifying a group:
bp-templates/bp-legacy/buddypress/groups/single/admin.phpCaution: if you do this, you can only use public or private groups. Hidden groups are “invite users” only.
September 6, 2015 at 8:32 am #244118In reply to: Profile Signature
danbp
ParticipantIt is standard! At least if you use xprofile component to let your users enter their signature.
1) Create a new field. Call it Signature and give it a textarea type.
2) Once this field is edited by a user, during registration or later, the signature appears on his profile.3) if you want this field somewhere else, for ex on the profile header, you simply write a function to call this field and hook it into the template you want.
Ie. Add this to child theme functions.php or bp-custom.php
function my_signature() { if ( bp_is_active( 'xprofile' ) ) if ( $signature = xprofile_get_field_data( 'Signature', bp_get_member_user_id() ) ) : // field name; case sensitive echo $signature; endif; } add_filter( 'bp_before_member_header_meta', 'my_signature' );Or to use Henry’s advice
add_filter( 'bp_after_profile_content', 'my_signature' );Reference
September 6, 2015 at 8:24 am #244117johnnymestizo
ParticipantLooks like this is actually core Buddypress.
I don’t have friends running on my Buddypress site.
But when people create a group, they are asked to invite their friends.
Can this be removed ?
September 6, 2015 at 8:06 am #244116danbp
ParticipantCheck the translation file: buddypress_CN.po (with a text editor like Notepad++) and verify that email text are all in plain text. Those strings shouldn’t contain any html entities.
Read from here for more details about email customization:
https://buddypress.org/support/topic/customizing-emails-template/
https://buddypress.org/support/topic/registration-process/September 6, 2015 at 7:56 am #244115danbp
ParticipantPlease give details about your config: theme, plugin list.
https://buddypress.org/support/topic/when-asking-for-support-2/On a default install, there are no restriction for visitors to see all profiles.
Have you tested without captcha plugin ?
Do you use a cache ?
While testing after been connected as admin, it’s important to ensure that your brower history & cookies are cleared. -
AuthorSearch Results