Search Results for 'buddypress'
-
AuthorSearch Results
-
June 30, 2015 at 2:22 pm #241299
In reply to: Displaying a custom string only changeable by admins
kjgbriggs
ParticipantI am unsure of how to use the data I now have for the profile field.
I am sure it is not hard to display somewhere but I am having trouble working out how to do this without editing the core BuddyPress or BBPress files, otherwise when I update I will lose all of this.
June 30, 2015 at 1:31 pm #241298In reply to: Displaying a custom string only changeable by admins
danbp
ParticipantRead here:
…and many other topics about xprofile data on forum.
June 30, 2015 at 1:08 pm #241296In reply to: Problem with gravatar
shanebp
ModeratorRead this thread:
https://buddypress.org/support/topic/remove-gravatar-completely/June 30, 2015 at 9:48 am #241290Henry Wright
ModeratorMedia commenting isn’t available in core so you will need to find a plugin. Two popular media plugins I know of are rtMedia and MediaPress. Alternatively, you could build something yourself using the new BP Attachment API
June 29, 2015 at 11:26 pm #241281In reply to: How to Center Avatar and Tabs on Profile Page
sharongraylac
ParticipantSorry to take so long- this last post slipped by me!
Yes, I did test with 2015 and still do not see it…
The odd thing is I swore I saw this at one point, but I have no idea what happened to it. I even deleted ALL of the custom CSS I created for Buddypress, and still no “@username”.
I’m also still having trouble centering the navigation/sub-nav on the profile page as well. At least the avatar is fixed! 🙂
Thanks for your help!
June 29, 2015 at 6:31 pm #241264In reply to: Registration Page not working
danbp
Participanthi @whiskyharry,
it’s not a issue, it’s intended so.See here:
WordPress registration is explained here.
June 29, 2015 at 5:41 pm #241261In reply to: Substantial changes to layout of buddypress profile
Henry Wright
ModeratorCSS and HTML are the things you’ll need to use in order modify the page. The BuddyPress Template Hierarchy article will show you which files you’ll need to modify. Note, you may have to create the templates if your theme doesn’t already have them.
June 29, 2015 at 3:32 pm #241258In reply to: Buddypress Activity
magicbmxfreestyle
ParticipantFound a conflict between buddypress & buddypress friends only activity.
I am very unsure why it happened as nothing was updatedJune 29, 2015 at 1:29 pm #241254In reply to: Comments notification doesn’t work
Henry Wright
ModeratorTake a look at the Apply a Patch Using TortoiseSVN article. The article focuses on WordPress, but the same idea should apply to BuddyPress.
June 29, 2015 at 12:56 pm #241251In reply to: Displaying a custom string only changeable by admins
danbp
ParticipantThe problem when asking many question in different topics, is it lead to confusion.
As you exlained (later) here, you switched from WP symposium to BP… so asking you for plugin list was a first step.Now it’s clear… at least at your install level.
How and where are “developper” and “staff” items used/created ?
With xprofile field ? A plugin ?June 29, 2015 at 11:13 am #241246In reply to: Auto Join specific group
Henry Wright
ModeratorAre you interested in a plugin solution?
Try BuddyPress Auto Group Join. It looks as though it’ll do what you need.
June 29, 2015 at 10:17 am #241241In reply to: White Lines Displaying On Pages
kjgbriggs
ParticipantSorry for the confusion, I have just switched FROM WPSymposium TO BuddyPress and BBPress as I believed they would offer a much more widely supported and updated experience and a lot more features, which they do.
I believe I have managed to get rid of these lines by adding this to my CSS for anyone else having this problem..bbpress #main-content .container:before { display: none !important; }June 29, 2015 at 9:42 am #241239In reply to: How to Display Dynamic Navigation using PHP
barrettathome
ParticipantNM. Just found this and it is what I’m looking for.
June 29, 2015 at 3:00 am #241230In reply to: Slow & Laggy Activity Stream (Optimization Ideas)
deklein
ParticipantI wanted to update with some more details on that idea I had going in the last paragraph since I have done some more research. From my understanding, if a post is extremely long, buddypress will naturally create an “excerpt” of the post and give you a button to press to show the full post. I NEED THIS TO HAPPEN AUTOMATICALLY FOR EVERY POST THAT HAS A PLAYER/VIDEO IN IT. All i want to show is the text included with an option to load the player included in the post. I feel this would dramatically increase load times which would make using my site more rewarding. Any ideas or code I could add in to do this would be so appreciated! (:
June 28, 2015 at 7:03 pm #241222In reply to: Displaying a custom string only changeable by admins
danbp
ParticipantPlease give details about your install, it’s unclear
https://buddypress.org/support/topic/when-asking-for-support-2/June 28, 2015 at 6:41 pm #241221In reply to: Displaying a custom string only changeable by admins
kjgbriggs
ParticipantI think this is a BuddyPress thing as it would not be limited to forums but displayable on the profiles page and users in admin, which im pretty sure is BuddyPress stuff.
June 28, 2015 at 5:43 pm #241220In reply to: White Lines Displaying On Pages
danbp
ParticipantAccording to another of your topics, you are using WP Symposium, which is another social network plugin for WordPress.
https://buddypress.org/support/topic/wp-symposium-vs-buddypress/
You can’t use both on a same site.June 28, 2015 at 5:38 pm #241219In reply to: Displaying a custom string only changeable by admins
danbp
ParticipantYou’ve better to ask this on WP Symposium support if you don’t know how to handle this or on bbPress support. You’re on BuddyPress support here !
June 28, 2015 at 5:14 pm #241218In reply to: show entire activity stream – global activity stream
danbp
Participantit goes to my personal activity instead.
It’s intended so ! You’re on a profile page, and any links added directly to buddybar or his subnav is alwways, and only, user related. It’s a contextual menu.
But you can use
bp_member_options_navaction hook which is on the template.
bp-templates/bp-legacy/buddypress/members/single/home.phpAdd this snippet to bp-custom.php your your child theme functions.php:
function goldwin_custom_setup_nav() { if ( bp_is_active( 'xprofile' ) ) ?> <li><a href="<?php bp_activity_directory_permalink(); ?>"><?php printf ('All Activities'); ?></a></li> <?php } add_action( 'bp_member_options_nav', 'goldwin_custom_setup_nav' );By default, the hook is placed as latest item of the navbar items. To get as first item, simply move the action at the begin of the list.
Default code looks like this:
<ul> <?php bp_get_displayed_user_nav(); ?> <?php do_action( 'bp_member_options_nav' ); ?> </ul>that you can chage to:
<ul> <?php do_action( 'bp_member_options_nav' ); ?> <?php bp_get_displayed_user_nav(); ?> </ul>But you can’t get your custom item as second, or third, or whatever. Only first or latest.
How to use bp-custom, functions.php and child_theme is explained on the codex.
June 28, 2015 at 2:59 pm #241211In reply to: Wrong Member Count
RemonaStormborn
ParticipantI’m having sync problems too.
BP members: 146
WP members: 370Some are only in the BP list and not the WP list so I can’t edit their roles or pretty much anything. WordPress 4.2.2, BuddyPress 2.3.2.1, housestormborn.com
June 28, 2015 at 12:31 pm #241208In reply to: Edit profile groups on single page
Graeme Fulton
ParticipantAt the top of edit.php (yourtheme/buddypress/members/single/profile/edit.php), find this bit near the top:
if ( bp_has_profile( 'profile_group_id=' . bp_get_current_profile_group_id() ) ) : while ( bp_profile_groups() ) : bp_the_profile_group();The important part in the snippet above is this function call:
bp_get_current_profile_group_id(). That grabs the current group ID from the URL, and sets it for the rest of the page. We want to change that bit.Just above the first code snippet I wrote, paste this query to collect all the profile groups into one variable:
$sqlStr = "SELECT *idFROMwp_bp_xprofile_groups`”;
$groups = $wpdb->get_results($sqlStr);`Now you can replace
bp_get_current_profile_group_id()with this:$groups[0]That will leave you with this:
if ( bp_has_profile( 'profile_group_id=' . $groups[0] ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>Now if you visit any of your edit profile group links, you’ll see all the groups on a single page.
Next, you will probably want to remove the pagination from the page, as it will get included multiple times (since we’re in a while loop), and it is also unnecessary now that we’re showing all groups on one page.
Remove this bit:
<ul class="button-nav"> <?php bp_profile_group_tabs(); ?> </ul>Hope that works for you.
June 28, 2015 at 10:04 am #241205In reply to: BuddyPress pages not full width
kjgbriggs
ParticipantWhat I have managed to do is force the sections to full width with CSS, but I am getting odd white lines on the generated pages, I have created a post to try and identify what this is, I think it is the sidebar, but have no way to remove it or even confirm that.
https://buddypress.org/support/topic/white-lines-displaying-on-pages/
June 28, 2015 at 9:10 am #241202In reply to: BuddyPress pages not full width
Henry Wright
ModeratorA few options spring to mind:
- Ask the theme author to make their templates BuddyPress-compatible
- Create your own BuddyPress templates. See the Template Hierarchy article
Making a theme BuddyPress-compatible is something many theme authors would consider doing because it opens the door to 2,000,000+ BuddyPress sites, so it’s probably worth a shot asking.
June 28, 2015 at 5:23 am #241200In reply to: Action Hook for bp-registration
Gnostic_Thought
ParticipantI am not sure. I bought a plugin from codecanyon and am trying to alter it to work with buddypress. I think this is the code I will have to alter
public function __construct() { $this -> admin = WP_Atr_Admin :: get_instance(); # registration hooks: add_action( 'login_enqueue_scripts', array( $this, 'initialize_registration' ) ); add_action( 'register_form', array( $this, 'add_checkboxes_to_registration' ) ); add_filter( 'registration_errors', array( $this, 'validate_registration' ), 10, 3 ); # mu add_action( 'signup_header', array( $this, 'initialize_registration' ) ); add_filter( 'wpmu_validate_user_signup', array( $this, 'mu_validate_registration' ), 10, 3 ); add_action( 'signup_extra_fields', array( $this, 'mu_add_checkboxes_to_registration' ) ); # add button add_filter( 'the_content', array( $this, 'add_button_to_pages' ) ); $this -> register_page_status(); if( is_multisite() ) { add_filter( 'all_plugins', array( $this, 'hide_plugin_in_mu_sites' ) ); } }I would figure I would prefix bp_ to some of the code here
# registration hooks:
add_action( ‘bp_login_enqueue_scripts’, array( $this, ‘initialize_registration’ ) );
add_action( ‘bp_register_form’, array( $this, ‘add_checkboxes_to_registration’ ) );
add_filter( ‘bp_registration_errors’, array( $this, ‘validate_registration’ ), 10, 3 );but it like there is more to it than that according to your link.
June 28, 2015 at 4:40 am #241199In reply to: Reverting to older profile design template?
jimjas
ParticipantThanks Hugo. I found your article on companion styles, but the only thing I found on deregulating the new styles was:
function dequeue_bp_twentyfifteen() {
wp_dequeue_style(‘bp-twentyfifteen’);
}
add_action(‘wp_enqueue_scripts’, ‘dequeue_bp_twentyfifteen’);However I’m not using a twentysomething theme.
The current default profile menu runs horizontal across the page
https://drive.google.com/file/d/0B0PCT5EGd34SN0JIQzdJNWswVEU/edit?usp=drivesdk
But what I’d like is for the profile menu to run vertically down the page under the profile pic (like it does on the Buddypress site itself)
https://drive.google.com/file/d/0B0PCT5EGd34STnhqYnM4NXZSVDQ/edit?usp=drivesdk
Sorry if my pics are not that clear.
Do you still suggest the dequeue code in the function file as the approach I should follow? And if so, should I change the references to be for the theme I’m using instead of 2015?
IF not, is there some other code I should use to restore the old profile template format?
Thanks Hugo!
jas
-
AuthorSearch Results