Search Results for 'theme'
-
AuthorSearch Results
-
May 29, 2015 at 3:55 pm #239875
In reply to: Theme in Development: Preview & Feedback?
danbp
ParticipantNo matter the theme or the marketplace, first thing to take in mind is how to respect the standart.
May 29, 2015 at 3:49 pm #239871In reply to: Admin bar icons do not display on some devices
danbp
ParticipantOne crucial question to all: which theme do you use ?
Have you similar issue by using one of WP’s twenty theme ?
Have you searched in your theme documentation ? Remeber that we do not support commercial products here as we have no access to the code.Also:
The Toolbar is related to WordPress, BuddyPress use it only to add a sub-nav block under Howdy on the top right corner.May 29, 2015 at 1:56 pm #239844In reply to: [Resolved] bp_has_forum_topics() returns empty
boriskamp1991
ParticipantHi @henrywright,
It does, but I have not found out why. the forums are activated and running on my test site.
could it be because Im using a child theme and it can’t find the function in the parent theme or something?May 29, 2015 at 9:26 am #239830In reply to: Restrict Non-logged in user to post on group forums
Prabin
Participantthanx for your reply @henrywright, I tried switching main theme and it’s working normal. On child theme, I have a customized buddyPress folder. But I have no idea what’s causing that issue.
May 29, 2015 at 8:33 am #239824Henry Wright
ModeratorHi @jaykdoe
You could try this:
function my_private_profiles() { // Bail if not a profile page. if ( ! bp_is_user_profile() ) return; // Allow admin users. if ( current_user_can( 'manage_options' ) ) return; // Allow the profile owner. if ( bp_loggedin_user_id() == bp_displayed_user_id() ) return; // If we get to here, redirect to homepage. bp_core_redirect( home_url() ); } add_action( 'init', 'my_private_profiles' );You can copy and paste it into your theme’s functions.php file. Please note I haven’t tested.
May 29, 2015 at 12:37 am #239817In reply to: Theme in Development: Preview & Feedback?
Marcella
ParticipantThemes are such a hard sell. Probably will just submit it to Theme Forest.
May 29, 2015 at 12:26 am #239816In reply to: Theme in Development: Preview & Feedback?
Henry Wright
ModeratorYep, new BP themes when released are very much welcome in my view (that goes for both free and premium)!
May 29, 2015 at 12:19 am #239815In reply to: Theme in Development: Preview & Feedback?
Marcella
ParticipantYeah .org aint doing it for me in terms of BuddyPress themes. Be a good thing for buddypress.org to have though.
May 29, 2015 at 12:19 am #239814In reply to: Theme in Development: Preview & Feedback?
Henry Wright
ModeratorWas sorta hoping to make some coin with this theme. wp.org wont do that for me.
Ah I see! Yeah, in that case you’ll need a different approach to advertising it.
May 29, 2015 at 12:18 am #239813In reply to: Theme in Development: Preview & Feedback?
Henry Wright
ModeratorYou’d just submit it as you would a normal WordPress theme, but specify that it provides support for BuddyPress. See some examples:
May 29, 2015 at 12:15 am #239812In reply to: Theme in Development: Preview & Feedback?
Marcella
ParticipantWas sorta hoping to make some coin with this theme. wp.org wont do that for me.
May 29, 2015 at 12:11 am #239811In reply to: Theme in Development: Preview & Feedback?
Marcella
ParticipantFor a BuddyPress theme, what’s the requirements to get on wp.org?
May 28, 2015 at 11:43 pm #239808In reply to: Theme in Development: Preview & Feedback?
Marcella
ParticipantI’m wondering if it’s still worth building this theme.
It’s performant and has support for all of the members component and activity components features right now.
Anyone here see people using this theme for personal sites etc?
May 28, 2015 at 11:02 pm #239807@mercime
Participant> there is basic info displayed and all-in-all it doesn’t look horrible…but it is no ok.
@mariofrombelgium Don’t know what kind of theme you chose. But you can create a buddypress.php file in the root of your theme. Convert the page.php to includethe_titleandthe_contenttags and that’s what you add to buddypress.php.May 28, 2015 at 8:39 pm #239792In reply to: [Resolved] bp_has_forum_topics() returns empty
Henry Wright
ModeratorThe error message is telling us that the undefined function
bp_has_forum_topics()is being used in your theme’s front-page.php on line 122. I suspect you don’t have forums activated?May 28, 2015 at 6:21 pm #239784danbp
ParticipantFYI, WordPress Theme Review Team is Cracking Down on Violations of the Presentation vs. Functionality Guideline. Read here.
May 28, 2015 at 6:08 pm #239783In reply to: Buddypress Field On Member loop – Need Links
danbp
ParticipantHere’s another approach, as we going to use an external function instead of modifying the template.
Add this to bp-custom.php
function clickable_countries_on_member_directory() { // is xprofile component active ? if ( bp_is_active( 'xprofile' ) ) { if ( $mycountry = xprofile_get_field_data( 'Country', bp_get_member_user_id() ) ) : $search_url = add_query_arg( array( 's' => urlencode( $mycountry ) ), bp_get_members_directory_permalink() ); echo '<br/><div class="my_country"><a href="' . esc_url( $search_url ) . '" rel="nofollow">' . $mycountry . '</a></div>'; endif; } } add_filter ( 'bp_directory_members_item', 'clickable_countries_on_member_directory' );May 28, 2015 at 8:50 am #239768In reply to: Button wrong alignment
Henry Wright
ModeratorHi @husk3r
You usually make customisations to your theme’s style via the functions.php file. Considering you’re using a premium theme, the author should provide support. Try writing to them asking how you can make your needed changes.
May 27, 2015 at 3:55 pm #239744In reply to: [Resolved] BP CSS Classes Locked in Menu Dashboard
Osisis
ParticipantTo add to this, for the record I tried to grab the css classes and the menu id adding each to my style.css
#menu-item-20 ul li#bp-menu#bp-notifications-nav:before { font-family: 'FontAwesome'; content: "\f030"; } .bp-menu bp-notifications-nav:before { font-family: 'FontAwesome'; content: "\f030"; } .menu-item-19 .menu-primary li a:before { font-family: 'FontAwesome'; content: "\f030"; }But neither have had the desired results. Prior to this I was sure to enqueue Font Awesome into the functions.php of my child theme.
May 27, 2015 at 2:31 pm #239743@mcuk
ParticipantThese might help you @antoinegdln4:
[Resolved] Position Notification Counter Bubble after Specific Navigation Tab ID
https://buddypress.org/support/topic/help-customising-admin-bar-removing-links-from-dropdown/
or removing WP admin bar entirely to all users except admin:
function remove_admin_bar() { if ( !current_user_can( 'administrator' ) && !is_super_admin() ) { show_admin_bar(false); } } add_action( 'after_setup_theme', 'remove_admin_bar' );May 27, 2015 at 2:10 pm #239742@mcuk
ParticipantHey @osisis,
Glad to see you sorted it. This was my code:
function bptest_main_nav_notification_bubble( $items, $args ) { if( $args->theme_location == 'header-menu' ) { // In manage locations via WP Dash>Appearance>Menus $items_array = array(); while ( false !== ( $item_pos = strpos ( $items, '<li', 3 ) ) ) { $items_array[] = substr( $items, 0, $item_pos ); $items = substr( $items, $item_pos ); } $items_array[] = $items; array_splice( $items_array, 3, 0, '<li id="bubble">' . bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) . '</li>' ); // 0,0 1st position, 1,0 2nd, etc $items = implode( '', $items_array ); } return $items; } add_filter( 'wp_nav_menu_items', 'bptest_main_nav_notification_bubble', 10, 2 );I gave it the ID ‘bubble’. You can obviously give it a class if you want too (class=”bubbles”).
May 26, 2015 at 7:01 pm #239716danbp
ParticipantPlease use code button to publish code !
Your code is correctly working on 2012 theme…
The file must be in wp-content/plugins/bp-custom.php, not in wp-admin.May 26, 2015 at 12:37 pm #239702In reply to: Join button for non-members
Hugo Ashmore
ParticipantYes you need to be registered before you can join groups, joining a group means needing to add the person as a member ID which they can only have if a WP registered user.
There are plugins though that can do things like auto join groups on registration but to a pre-selected set of groups, if you wanted the user to be able to pre-select a group at registration you would need to write a small function to store a choice as user_meta or similar and recall that when the user activated their account.
On a side note if you’re working up a child theme based on twentyfifteen it would be a good idea to be running a copy of BP trunk as we will introduce a new series of stylesheets for the WP Twenty* themes which may affect what your styling.
May 26, 2015 at 6:31 am #239694In reply to: Best plugin for social network plugin?
niranjan4790chouhan
ParticipantI’ve tried AddToAny, Ultimate social media and icon plugin in buddy press theme. but it is not sharing image and correct title on facebook. Is this problem of buddypress theme?
May 25, 2015 at 7:17 pm #239681PinkishHue
Participant@rglennall I’m assuming this should go in your bp-custom.php file, see info here if unfamiliar:
Hope that helps!
-
AuthorSearch Results