Search Results for 'buddypress'
-
Search Results
-
Topic: Change "Groups" page title
Hello Im using the buddypress for first time
i would like to customize the title that appears on the
groups page from “Groups” to “Community”.
I managed to change the page title and slug into community
but the part where the title is still the same also it has
button alongside that says create Group
i would like to try to change and that
Can you help
Thank you
LukaTopic: Can't add users to groups
I am trying to have a site admin add users to groups. After adding action hook posted here: https://codex.buddypress.org/developer/how-to-add-members-to-a-group-via-wp-users-screen/ to my bp-custom.php I get the following error: Parse error: syntax error, unexpected T_FUNCTION in /home1/…/wp-content/plugins/bp-custom.php on line 18
I am running PHP 5.4.32, WP 4.0, BP 2.1
bp-custom.php code is included below:<?php
/**
* Disables BuddyPress’ registration process and fallsback to WordPress’ one.
*/
function add_users_to_bpgroup() {
if( bp_is_active(‘groups’) ):if( isset( $_GET[‘action’] ) && isset( $_GET[‘bp_gid’] ) && isset( $_GET[‘users’] ) ) {
$group_id = $_GET[‘bp_gid’];
$users = $_GET[‘users’];foreach ( $users as $user_id ) {
groups_join_group( $group_id, $user_id );
}
}
//form submission
add_action( ‘admin_footer’, function() { ?>
<script type=”text/javascript” charset=”utf-8″>
jQuery(“select[name=’action’]”).append(jQuery(‘<option value=”groupadd”>Add to BP Group</option>’));
jQuery(“#doaction”).click(function(e){
if(jQuery(“select[name=’action’] :selected”).val()==”groupadd”) { e.preventDefault();
gid=prompt(“Enter a Group ID”,”1″);
jQuery(“.wrap form”).append(‘<input type=”hidden” name=”bp_gid” value=”‘+gid+'” />’).submit();
}
});
</script>
<?php
});endif;
}
add_action ( ‘load-users.php’, ‘add_users_to_bpgroup’ );?>
As a long time wordpress believer I’m thinking about diving into BuddyPress for the first time for a local sports league. The league would be similar to golf where each person is their own “team” in the league. I’d like to have the admins post results from the contests to the website as well as accomplish a few things:
1. I’d like to create a page with a Leaderboard that has links to the buddypress profile of the individual.
2. Add the recent result of the individual to their profile.
3. Possibly add the recent result to their activity stream.Is there a third party plugin that allows for this sort of content insertion into someone’s profile? I’ve been searching for some time and haven’t found anything at this time.
Topic: Malfuction
Hello,
I want to make a request please. I installed Buddy press plugin on my WordPress site, I tried to configure it, but the ‘save setting’ button did not appear on the page. My WordPress version is 4 and the Buddypress version is 2.1. Could not use the activity stream, groups, media, and every other function. Can anyone help me with the information on how to rectify this problem please? You can contact me via solutionnaija.com@gmail.com. ThanksHi there,
I’m doing some outside the box developments into BuddyPress and could use some input / direction.
I don’t want just anyone to view the rest of BuddyPress (Profiles, Activity, Members, etc).
We’d like to restrict users from viewing this information as we have a separate plugin for this.
The management of individual users/details/members/ etc., will be listed in another manner.
So what I need to do, to avoid duplicating content, is to remove access to all these pages.
Is it possible to restrict all pages except for “Groups” and “Forums” from BuddyPress users?
Inserting into my reddle-child/buddypress/members/members-loop.php the following code:
<?php bp_member_profile_data( 'field=Geschlecht' ); ?><?php bp_member_profile_data( 'field=Jahr' ); ?>and
<?php bp_member_profile_data( 'field=Bundesland, Kanton oder Wahlkreis' ); ?>works.
But the following code does not work:
<?php bp_member_profile_data( 'field=Teamgründung bzw. Geburtsjahr' ); ?>and
<?php bp_member_profile_data( 'field=A:Bezirk oder Statutarstadt; CH: Bezirk o.ä.; D: LANDKREIS oder KREISFREIE STADT; Li: Gemeinde' ); ?>Therefore I assume, that dots with in field names (in my cases: ‘bzw.’ and ‘o.ä.’) are a problem. –
Is there a possibility to address profile fields by other means than with their field names? Are there e.g. id-numbers or something like that, which I could use (instead of the names)?
Cfr.:
https://buddypress.org/support/topic/modifying-the-member-list/#post-202802Question:
What have I to write there:
<?php echo bpdev_get_age_from_dob(tag,bp_loggedin_user_id()); ?>– instead of
bp_loggedin_user_id()– for getting displayed the information at issue not for the logged-in user, rather for each member (who is mentioned on the member-page)?—–
Background:
1. I have a profile field ‘Tag’ (= day) (description: ‘der Geburt oder Teamgründung’ = ‘of birth or team fundation’).
2. I inserted that code into my reddle-child/functions.php:
/** * Get Age from BuddyPress date of Birth * <a href='https://buddypress.org/community/members/param/' rel='nofollow'>@param</a> string $dob_field_name :name of the DOB field in xprofile, like Dob or Date of Birth * <a href='https://buddypress.org/community/members/param/' rel='nofollow'>@param</a> int $user_id : the user for which you want to retrieve the age * <a href='https://buddypress.org/community/members/param/' rel='nofollow'>@param</a> string $format: the way you want to print the difference, look t for the acceptable agrs * @return string :the formatted age in year/month */ function bpdev_get_age_from_dob($tag,$user_id=false,$format="%y"){ if(!$user_id) $user_id=bp_displayed_user_id (); $dob_time=xprofile_get_field_data($tag, $user_id);//get the datetime as myswl datetime $dob=new DateTime($dob_time);//create a DateTime Object from that $current_date_time=new DateTime();//current date time object //calculate difference $diff= $current_date_time->diff($dob);//returns DateInterval object //format and return return $diff->format($format); }3. With inserting
<?php echo bpdev_get_age_from_dob(tag,bp_loggedin_user_id()); ?>into my reddle-child/buddypress/members/members-loop-.php I get displayed for all members the age of the logged-in user (what is of course stupid).
So, what have I to change for getting displayed the indiviual age of each member? –
Cfr. as well:
https://buddypress.org/support/topic/modifying-the-member-list/#post-203566
and
https://buddypress.org/support/topic/display-age-on-profile-page/#post-121850
Hi Guys,
Am hoping someone could help me. Since the Buddypress update the Xprofile fields aren’t showing up on a user profile but I can see them under users-profile fields.

The image above shows where the menu tabs should appear for the Xprofile fields but aren’t showing.
After about me, it should have the following: Looking for, Lifestyle, Physical but they aren’t showing there.
I have been at it for days now. What am I missing?
Thanks
Hey guys.
I’m switching a social site I own over to buddy press. The theme I’m using requires permalinks to be set to post name. That’s fine– but it makes profiles appear like:
http://domain.com/members/username
I need the user URLs to remain the same as the current site’s structure of
It was achieved like this:
Options +FollowSymLinks RewriteEngine on RewriteRule ^([a-zA-Z0-9]+)([/]*)$ members/$1But with the post name permalinks it just 404’s. How can I modify this:
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]To achieve my goal? I’m using the latest wordpress and latest buddypress. Thanks so much for any help.
Was running BP 2.03 on WP4.0, multisite, and Networks for WordPress and BP Multi Network installed… but have been unable to create any groups…. so i upgraded to BP 2.1 hoping this would fix issue..
It seems that the moment I get to the 2nd step – SETTINGS, I get error saying “Are you sure you want to do this? Please try again.” and can go no further – YET , if you go back to groups directory, the group is created ok, Have BP Groupblog installed and had BP Group Hierachy installed as well, but despite unplugging both, still get fails on step 2.
Tried this on 3 different Buddypress themes, all fail on same step, tried it on main network install and 2nd and 3rd network BP installs – all fail on same place.
ANY IDEAS??? Please – have exhausted all possibilities
Topic: Cannot activate Components
Good day, I installed buddypress plugin but i noticed that I do not have the “group” tab in the left admin menu so I cannot create buddypress groups! I do have the Tab”Activity” though.
When I try to activate the component “User Groups” in the Budypress setting page, it doesnot activate !! there is even no button to Save Changes !
I also noticed that I am missing a few buddypress php pages like buddypress.php from the theme directory.
Could you help me?
thank you, reul.
Topic: Marked as spammer, but why?
Hi guys,
Im looking into using Buddypress because I heard great things about it.
I activated the WP plugin and now when I go to users andvieweither one of the accounts (two in total so far) I get a blank page. Whenever I go toextendedit saysuser has been marked as a spammer. All BuddyPress data associated with the user has been removed
How can that be? Im the admin, and the other user is just a test user.Why are we marked as spammer, and how can I turn this around?
Thanks!