Search Results for 'theme'
-
AuthorSearch Results
-
June 29, 2015 at 11:16 pm #241279
danbp
ParticipantHi @aethermage,
looks like a captcha question: what animal says miaw.
Do you use such a plugin or is your theme adding this ?June 29, 2015 at 11:04 pm #241278In reply to: Buddypress Profile Styling Issue
Henry Wright
ModeratorThis is theme-related. You should use Chrome dev tools to investigate whether that particular nav item’s CSS or HTML is different from the rest of the nav items (or it may just be that they don’t fit in the horizontal space). Alternatively, you could contact the theme author for support.
June 29, 2015 at 9:38 pm #241272In reply to: I have an odd Code Snippet Issue
jugglenet
ParticipantHi.
The thing is I’ve got the same code working on another wordpress website which uses a different theme. So it has to be theme related. I was just wondering if anyone had come across this issue or similar before.
It really is odd.
I’ve tried putting the code snippet into the actual template file also but that didn’t work either.
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 12:15 pm #241248In reply to: Button Display Problem
Henry Wright
ModeratorTheme-related issues can be solved with CSS. Alternatively you could write to the theme author asking them for help.
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 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 4:02 pm #241216In reply to: White Lines Displaying On Pages
kjgbriggs
ParticipantThis was one of the first things I checked, but for sanities sake I tested it again, when using with the same theme on no CSS, the line still appears.
I am unable to test with a default theme as I only have Divi on my development site, but I will be testing this next.June 28, 2015 at 3:57 pm #241215In reply to: White Lines Displaying On Pages
danbp
ParticipantHi,
have you tested with one of WP default theme ?
And what if you use the original Divi theme, without custom CSS ?
As you use a premium theme, you have to ask on their support. We have no access to his code here.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 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 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
June 27, 2015 at 8:22 pm #241185In reply to: Reverting to older profile design template?
Hugo Ashmore
ParticipantAre you referring to using BP running under one of the default WP themes? If so please state so, it helps, the image is inconclusive and doesn’t help much.
If you are running under 2014 or 2015 then you may be inheriting the companion styles we introduced with BP 2.3
If you check the codex in the theme section you will find a guide to these companion styles and instructions on how to de-register those new styles.
June 27, 2015 at 8:12 am #241169In reply to: How to Center Avatar and Tabs on Profile Page
danbp
ParticipantHave you tested with 2015 theme ? Does @mention appear near profile avatar ?
If it does, ask on your (premium) theme support.
June 27, 2015 at 8:10 am #241168In reply to: How can I change the Cropping size in profile page?
danbp
ParticipantSearching for code needs a correct search tool. Use Notepad++ and you’ll find 48 occurence to
avatar-crop-pane!
The first of them is in buddypress/bp-core/bp-core-cssjs.php
Another one is in buddypress\bp-core\css\avatar.cssBut you haven’t to hack core files. All you have to do is to create a child theme from where you can adjust CSS to your need.
Codex is your friend ! If you accept to read…
June 26, 2015 at 11:12 pm #241162In reply to: How to Center Avatar and Tabs on Profile Page
sharongraylac
ParticipantThat’s really odd… I haven’t even copied any Buddypress php files into my child theme yet. Must be something I did in the CSS?
Thanks for the heads up! No more admin 🙂
June 26, 2015 at 8:39 pm #241161In reply to: How to Center Avatar and Tabs on Profile Page
shanebp
Moderator>I still can’t seem to figure out where that @username went.
Look in this file, hopefully in [your-theme]\buddypress\members\single\member-header.php
Look near the top for
bp_displayed_user_mentionname();btw – you should not use ‘admin’ as a username.
https://codex.wordpress.org/Hardening_WordPress#Security_through_obscurityhttp://www.wpbeginner.com/wp-tutorials/how-to-change-your-wordpress-username/
June 26, 2015 at 5:34 pm #241151In reply to: Woocommerce profile and Buddypress profile merge
danbp
Participanthi @thepofo,
that’s a question for woocommerce support !
And have you seen this ?
http://themekraft.com/store/woocommerce-buddypress-integration-wordpress-plugin/June 26, 2015 at 3:58 pm #241146In reply to: Any recommended security plugins
djsteveb
Participantsuccurri, limit login attempts, “good question”
what kind of security you looking for? people trying to admin login? people probing for theme / plugin vulnerabilities?
June 26, 2015 at 12:25 pm #241136In reply to: How can I change the Cropping size in profile page?
danbp
ParticipantPlease, read henry’s answer and follow the given doc.
define’s goes to bp-custom.php This file doesn’t exist by default, you have to add it manually via FTP to wp-contet/plugins/
June 26, 2015 at 10:01 am #241128In reply to: Activity shows logged out when I’m indeed logged in.
Henry Wright
ModeratorThis could be theme-related. Which theme are you currently using? Try using TwentyFifteen to see if the problem resolves.
June 26, 2015 at 9:56 am #241126In reply to: How can I change the Cropping size in profile page?
Henry Wright
ModeratorCheck out the Customizing BuddyPress Avatars article. You’ll see that avatar sizes can be set using constants:
define( 'BP_AVATAR_FULL_WIDTH', 250 ); define( 'BP_AVATAR_FULL_HEIGHT', 250 );June 26, 2015 at 9:48 am #241124In reply to: Adding more fields to the create group
Henry Wright
ModeratorCheck out the BuddyPress Template Hierarchy article if you’re not already using templates. You can add the new fields to buddypress/groups/create.php
June 25, 2015 at 11:22 pm #241118In reply to: Activation link doesn’t work
danbp
Participanthi @nnc24,
you have to read and to debug. As first test, activate 2015 theme and deactivate any plugin but BP. Put debug mode on true in wp-config during your test.
Some related topics:
https://buddypress.org/support/topic/user-activation-issue/
https://buddypress.org/support/topic/new-user-registration-problem-invalid-activation-key/June 25, 2015 at 9:53 pm #241113In reply to: Problem repairing Activate & Register pages
jeremysuel
ParticipantI have this same exact issue. Of the three pages for buddy press settings, the “save settings” button is only found under the last page (the “settings” page). There is no “save” button under the pages section or components pages. I have manually created a register and activate page but cannot save them in the proper fields. I have tried multiple themes with no avail. The save buttons just don’t exist. Is there an easier fix than having to go through page elements? Don’t want to screw anything up. Any help is greatly appreciated.
-
AuthorSearch Results