Search Results for 'wordpress'
-
Search Results
-
I have put some BP custom code in my theme functions.php. I also followed a tutorial that advised creating a file called bp-custom.php, and to put that in the wp-content/plugins folder with some customization code. And, I have a folder in my theme directory called BuddyPress that contains a css directory and an activity directory with some custom code. Lots of customizations in different places..
What is the best practice for implementing custom code for BuddyPress in a theme? I am using a Genesis child theme, BuddyPress 2.4.3 and WordPress 4.4.1.
Thanks.I would like to edit a sentence in the bp-group-template.php file (the $message on line 1884). How can I create a hook or in some way edit this so as not to edit bp core file? I have seen suggestions about the .pot file, but I believe that gets overwritten on an update? I would prefer something I can put in my theme file.
I am using a custom Genesis Child theme on the site. I am using WordPress 4.4.1 and BuddyPress 2.4.3. My group is protected so cannot share the url, but you can see a screenshot here:
https://www.dropbox.com/s/e5ln7j5nj8s1wjy/Screenshot%202016-01-26%2020.46.59.png?dl=0Thank you!
function bp_get_groups_pagination_count() {
global $groups_template;$start_num = intval( ( $groups_template->pag_page – 1 ) * $groups_template->pag_num ) + 1;
$from_num = bp_core_number_format( $start_num );
$to_num = bp_core_number_format( ( $start_num + ( $groups_template->pag_num – 1 ) > $groups_template->total_group_count ) ? $groups_template->total_group_count : $start_num + ( $groups_template->pag_num – 1 ) );
$total = bp_core_number_format( $groups_template->total_group_count );if ( 1 == $groups_template->total_group_count ) {
$message = __( ‘Click the name of the group below to view your Challenge Group.’, ‘buddypress’ );
} else {
$message = sprintf( _n( ‘Viewing %1$s – %2$s of %3$s group’, ‘Viewing %1$s – %2$s of %3$s groups’, $groups_template->total_group_count, ‘buddypress’ ), $from_num, $to_num, $total );
}Topic: Trying to find a developer
Other than freelancer.com where can I go to find a decent priced developer who is familiar with WordPress?
wordpress 4.4.1 using buddypress 2.4.3….Im new to buddypress so maybe its just me but I do not see a button for any type of messaging to friends or an add friends button either…..Is there something Im doing wrong?
My siteHi, Im using WordPress 4.4.1 running The7 theme and I have some troubles with my registration page. Its broke. You can check it here. http://mypet.visible.bg/register/ It doesnt let me to write in the fields.
Hi
I really need to migrate my jomsocial(joomla) profile data to buddypress(wordpress).
Is there a way we can do it?Thanks
Topic: Jomsocial to buddypress
Hi
is there a way I can migrate my jomsocial(joomla) profile data to buddypress(wordpress) ?
Any help would be highly appreciated.
Thanksplease is there anything like codex.buddypress.org/function_reference? how do i locate it? thank you.
i am using wordpress 4.4.1; buddypress 2.4.3Having a small issue with registration redirects. No matter what changes I make, BuddyPress seems to “take over” registration on my multisite.
If I try to go to http://mysite.com/wp-login.php?action=register (the main site) it pushes me to http://mysite.com/subsite/register (the subsite where BuddyPress is defined).
I have BuddyPress (lastest version) enabled in one site of my multsite network, per option B on this page (e.g., ‘BP_ROOT_BLOG’ is defined in wp-config.php). It is not a multiblog.
Is this the expected behavior for this setup scenario? Or is it more likely that I have some “helpful” plugin taking over here? Or…did I force this somewhere in the code or settings (and forget to make a note to self)?
Thanks in advance…
Hello 😉
Ive been thinking for a while it would be nice with a plugin that makes it so when people register at my world of warcraft guild site and fill out character name and server the plugin would pull profile picture from the battle.net api. and use that on the persons profile
but having no clue what so ever with coding im wondering if this would be hard to do?
I know for a fact the api allows this as ive seen several other websites with this feature on, not wordpress obv
Anyone knows?
Hello,
I am trying to get user_ids of users that have field a certain filed in their profiles to show only them in a custom members loop.
global $wpdb;
$db_query = "SELECT user_id FROM wp_bp_xprofile_fields WHERE field_id = 2 AND value !empty";
$match_ids = $wpdb->get_var($db_query);
$get_these_members = '&per_page=20&type=newest&include=' .$match_ids;
if ( bp_has_members($get_these_members) ) :
I think there’s a syntax error, and !empty is not the correct way for this, I tried a lot of options non of the works.
To test it, I tried this line:
$db_query = "SELECT user_id FROM wp_bp_xprofile_fields WHERE field_id = 2 AND value = 45";
where 45 is the value of the filed for one of the members, but it still doesn’t show any member.I found that I need to implode the user_ids list from the forum, but it doesn’t help neither.
It returns ‘Sorry, no members were found.’
when I enable wp_debug appears this error
‘WordPress database error: [Unknown column ‘user_id’ in ‘field list’]’Could you please help me?
Thanks,
LeoTopic: Error 404
My register does not work and I have in General Settings under WordPress as active.
In BuddyPress there is no Active and Register page to configure. I reinstalled BuddyPress to no avail.