Search Results for 'theme'
-
AuthorSearch Results
-
November 5, 2011 at 1:42 am #123772
mrjarbenne
Participantfunctions.php lives in your theme folder, but bp-custom.php is a file you may have (or may need to create) within your wp-contents/plugins folder; it is not part of your theme.
November 4, 2011 at 10:56 pm #123767meg@info
Participantfunctions.php or bp-custom.php of your buddypress theme
November 4, 2011 at 5:00 pm #123741justbishop
MemberDid you try this?
November 4, 2011 at 2:39 pm #123732In reply to: Warning: Cannot modify header information
InHouse
MemberThis is technically lines 3-13 but line 2 is the just <?php
`if ( !function_exists( ‘bp_dtheme_enqueue_styles’ ) ) :
function bp_dtheme_enqueue_styles() {
// Bump this when changes are made to bust cache
$version = ‘20111102’;
// Register main stylesheet
wp_register_style( ‘seneca-county’, get_stylesheet_directory_uri() . ‘/style.css’, array(), $version );
// Enqueue main stylesheet
wp_enqueue_style( ‘seneca-county’ );
}
add_action( ‘wp_print_styles’, ‘bp_dtheme_enqueue_styles’ );
endif;`November 4, 2011 at 1:30 pm #123729Paul Barthmaier (pbrocks)
ParticipantI’m using Buddypress 1.5.1 and I don’t have:
“
around line 57. On line 56, however, I have:
“
I’m not a coder, but can I put a call for sidebar1 and sidebar2? Would one go before the Content Div and one after?
I am using a Child theme, too, by the way, with bp-default as the parent theme.
November 4, 2011 at 11:15 am #123726In reply to: Redirection Issue regarding activation
ankurm
MemberI found a way to accomplish it…
Paste this piece of code in your theme functions file..`// Stop user accounts logging in that have not been activated (user_status = 2)
function bp_core_signup_disable_inactive_modified( $auth_obj, $username ) {
global $bp, $wpdb;if ( !$user_id = bp_core_get_userid( $username ) )
return $auth_obj;$user_status = (int) $wpdb->get_var( $wpdb->prepare( “SELECT user_status FROM $wpdb->users WHERE ID = %d”, $user_id ) );
if ( 2 == $user_status )
header(“Location:”.get_site_url().”/login?err=not-activated”); /*Your Custom Message*/
else
return $auth_obj;
}
add_filter( ‘authenticate’, ‘bp_core_signup_disable_inactive_modified’, 30, 2 );
`November 4, 2011 at 2:37 am #123711In reply to: Profile pages not found error
thegblog
MemberI am also having this problem. Can anyone help me? Thanks in advance:
I’m running wp 3.2.1, on main directory in root, using bp version 1.5.1that was never upgraded. I have no other plugins activated on the subdomain I’m running buddypress from. I’m using the standard bp theme that came with the plugin for this and I modified my wp-config to allow bp to run on subdomain (runs on members.mysite.com): here’s the info in bp-custom.php
`<?php
define ( ‘BP_ENABLE_MULTIBLOG’, true );
define ( ‘BP_ENABLE_ROOT_PROFILES’, true );
define( ‘BP_DEFAULT_COMPONENT’, ‘profile’ );
define ( ‘BP_ROOT_BLOG’, $blog_id );
define( ‘BP_SILENCE_THEME_NOTICE’, true );
define( ‘BP_ENABLE_USERNAME_COMPATIBILITY_MODE’, true );
define ( ‘BP_ACTIVITY_SLUG’, ‘streams’ );
define ( ‘BP_BLOGS_SLUG’, ‘journals’ );
define ( ‘BP_MEMBERS_SLUG’, ‘users’ );
define ( ‘BP_FRIENDS_SLUG’, ‘peeps’ );
define ( ‘BP_GROUPS_SLUG’, ‘gatherings’ );
define ( ‘BP_FORUMS_SLUG’, ‘discussions’ );
define ( ‘BP_MESSAGES_SLUG’, ‘notes’ );
define ( ‘BP_WIRE_SLUG’, ‘pinboard’ );
define ( ‘BP_XPROFILE_SLUG’, ‘info’ );
define ( ‘BP_REGISTER_SLUG’, ‘signup’ );
define ( ‘BP_ACTIVATION_SLUG’, ‘enable’ );
define ( ‘BP_SEARCH_SLUG’, ‘find’ );
define ( ‘BP_HOME_BLOG_SLUG’, ‘news’ );
define ( ‘BP_AVATAR_THUMB_WIDTH’, 50 );
define ( ‘BP_AVATAR_THUMB_HEIGHT’, 50 );
define ( ‘BP_AVATAR_FULL_WIDTH’, 150 );
define ( ‘BP_AVATAR_FULL_HEIGHT’, 150 );
define ( ‘BP_AVATAR_ORIGINAL_MAX_WIDTH’, 640 );
define ( ‘BP_AVATAR_ORIGINAL_MAX_FILESIZE’, $max_in_kb );
define ( ‘BP_AVATAR_DEFAULT’, $img_url );
define ( ‘BP_AVATAR_DEFAULT_THUMB’, $img_url );
define ( ‘BP_FORUMS_PARENT_FORUM_ID’, $forum_id );
define ( ‘CUSTOM_USER_TABLE’, $tablename );
define ( ‘CUSTOM_USER_META_TABLE’, $tablename );?>`
Wiredtree is my server provider (I have a dedicated server with all access), and I’m running Linux w/ Apache
November 3, 2011 at 10:31 pm #123703spennis
MemberI have been asking for the same thing but no answer. This should be something that the Buddypress theme should integrate in future versions! It should be fairly simple and very useful! Not to mention a simple way to show the extended profiles…
November 3, 2011 at 9:19 pm #123700recycler14
MemberHI Everyone,
Can somebody help me with the ajax. The buddypress that I installed is not functioning at all. It’s not working in members, activity and some of the buddypress pages. I think it is a javascript. I am using stufe wordpress theme.
Response is highly appreciated. Thanks
November 3, 2011 at 8:51 pm #123699In reply to: Warning: Cannot modify header information
aces
ParticipantWhat is in /wp-content/themes/seneca-county/functions.php on line 2?
November 3, 2011 at 7:32 pm #123695In reply to: fatal error upgrading
tommyhoang
Memberyep i was right, i removed the codes within my childtheme functions.php that coded for the global search and everything is back up now. thanks for pointing me to the error log paul!
November 3, 2011 at 7:28 pm #123694In reply to: fatal error upgrading
tommyhoang
Member[28-Oct-2011 23:11:46] PHP Fatal error: Call to undefined function bp_is_active() in /home6/stemcomm/public_html/wp-content/themes/STEM/functions.php on line 54
[28-Oct-2011 23:29:13] PHP Fatal error: Call to undefined function bp_is_active() in /home6/stemcomm/public_html/wp-content/themes/STEM/functions.php on line 54
[29-Oct-2011 00:44:36] PHP Fatal error: Call to undefined function bp_is_active() in /home6/stemcomm/public_html/wp-content/themes/STEM/functions.php on line 54
[29-Oct-2011 05:52:24] PHP Fatal error: Call to undefined function bp_is_active() in /home6/stemcomm/public_html/wp-content/themes/STEM/functions.php on line 54
[03-Nov-2011 19:16:35] PHP Fatal error: Call to undefined function bp_is_active() in /home6/stemcomm/public_html/wp-content/themes/STEM/functions.php on line 54im thinking it might have to do with the unified global search plugin that i got from buddydev.com
November 3, 2011 at 6:17 pm #123692rcarrollct
MemberResolved…
copied bp-default/members/single/settings
to
themes/theme_name/members/single/Thanks!
November 3, 2011 at 6:05 pm #123690In reply to: Cannot create first topic in any forum
Neomie
Member1. Which version of WordPress are you running? 3.2.1
2. Did you install WordPress as a directory or subdomain install? not sure
3. If a directory install, is it in root or in a subdirectory? subdirectory
4. Did you upgrade from a previous version of WordPress? If so, from which version? no
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. Yes
6. Which version of BP are you running? latest, installed yesterday
7. Did you upgraded from a previous version of BP? If so, from which version? No
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? BbPress and CubePoints Buddypress Integration
9. Are you using the standard BuddyPress themes or customized themes? customized
10. Have you modified the core files in any way? no
11. Do you have any custom functions in bp-custom.php? no
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? came with it.
13. Please provide a list of any errors in your server’s log files.
14. Which company provides your hosting? uk2.net
15. Is your server running Windows, or if Linux; Apache, nginx or something else? linuxNovember 3, 2011 at 3:16 pm #123685In reply to: Don’t Inherit BP-Default CSS Child Theme
InHouse
Member@boonebgorges and @mercime I owe all I know (very little) to Codex and forum threads. I have enjoyed learning and greatly appreciate the work of all the volunteers. I was just saying in general, Codex can be hard to follow for a noob but I think that comes with trying to do more than I can before learning more basic WP skills. Thanks again for your help!
November 3, 2011 at 1:57 pm #123679In reply to: Buddypress site tracking misses most blogs
SilverP
Member“Did you add any functions in theme’s functions.php or excluded some blogs in the directory listing Network Admin > Sites with that plugin?”
No, no functions added, no blogs excluded. I’ve deactived the Blogs Directory plugin, enabled the site tracking component of BP.
I also tried pasting the line
bp_blogs_record_existing_blogs();
into functions.php. No joy. Deactivating and re-activating the BuddyPress plugin sitewide with that line in functions.php also did not fix the problem.Any suggestions?
November 3, 2011 at 1:45 pm #123678In reply to: Moving Links around
leethompson
Memberok, I found out if you remove a parent item the page(function) is removed too, So I removed this function:
`function boone_remove_blogs_nav() {
bp_core_remove_nav_item( ‘privacy’ );
bp_core_remove_nav_item( ‘settings’ );
bp_core_remove_nav_item( ‘invite-anyone’ );
}
add_action( ‘bp_setup_nav’, ‘boone_remove_blogs_nav’, 15 );`and I used css to hide the parent item. In my themes main css I added :
`#user-privacy {
display: none !important;
}#user-settings {
display: none !important;}
`Now I will write a javascript function to highlight the right parent item if I am in the proper section.
Then i will try to write a bp global function to re-assign subnav items to different parent item.
November 3, 2011 at 1:29 pm #123676leethompson
MemberThis is a great post but what about moving sub links to a new parent item, this kinda works but if I remove the parent item the function stops. in my themes functions.php
`function remove_blogs_nav() {
bp_core_remove_nav_item( ‘privacy’ );
bp_core_remove_nav_item( ‘settings’ );
bp_core_remove_nav_item( ‘invite-anyone’ );
}
add_action( ‘bp_setup_nav’, ‘remove_blogs_nav’, 15 );function bp_add_create_group_subnav() {
global $bp;
$groups_link = ‘/groups-2/’;
$settings_link = $bp->loggedin_user->domain ;/* Add the subnav items to the groups nav item */
if (function_exists(‘bp_core_new_subnav_item’)) {
bp_core_new_subnav_item( array(
‘name’ => __( ‘Create Clan’, ‘buddypress’ ),
‘slug’ => ‘create’,
‘parent_url’ => $groups_link,
‘parent_slug’ => $bp->groups->slug,
‘screen_function’ => ‘groups_screen_group_home’,
‘position’ => 40,
‘item_css_id’ => ‘home’ ) );bp_core_new_subnav_item( array(
‘name’ => __( ‘Settings’, ‘buddypress’ ),
‘slug’ => ‘settings’,
‘parent_url’ => $settings_link,
‘parent_slug’ => $bp->profile->slug,
‘screen_function’ => ‘profile-settings’,
‘position’ => 30,
‘item_css_id’ => ‘profile-settings’ ) );bp_core_new_subnav_item( array(
‘name’ => __( ‘Privacy’, ‘buddypress’ ),
‘slug’ => ‘privacy’,
‘parent_url’ => $settings_link,
‘parent_slug’ => $bp->profile->slug,
‘screen_function’ => ‘profile-privacy’,
‘position’ => 30,
‘item_css_id’ => ‘profile-privacy’ ) );}
}
add_action(‘bp_setup_nav’, ‘bp_add_create_group_subnav’);
`
If I comment out :
`// bp_core_remove_nav_item( ‘privacy’ );
// bp_core_remove_nav_item( ‘settings’ );`The sub links are in the Profile item, and functional, but still link to each original man item.
thanks Boone you are a lot of help
November 2, 2011 at 9:35 pm #123654socratic42
MemberI am having the exact same problem. My forums were working with “site wide.” I tried to switch to “groups.” Now I’ve tried to uninstall and reinstall multiples times to no effect.
The menu bar “Forums” is http://socraticmama.com/forums-3
I can get to the real “Forums” page at http://socraticmama.com/forums if I type the urlI’m not sure how to fix this. Please dumb it down. I’m pretty new to code.
Here is the link to the “Parent” forum: http://socraticmama.com/forums/forum/parents/
November 2, 2011 at 7:57 pm #123651In reply to: Getting started with BuddyPress in multisite
subigya
ParticipantI have a WP multisite installation http://www.somemultisite.com and I want a buddypress installation in one of the subsite http://www.somesubsitewithbuddypress.com. So i installed the plugin, network activated and installed the theme and all.. and all is good, the problem is that buddy press changed my admin-bar throughout the multisite instead of just for the sub-site.
Anybody familiar with this issue? I don’t want to have the subsitewithbuddypress.com to have anything to do with the primary somemultisite.com . No interference.
I have these on the code:
define ( ‘BP_ROOT_BLOG’, 7 ) ;
define ( ‘BP_DISABLE_ADMIN_BAR’, true ); /* Turning this on/off only enabled or disabled the buddy press admin bar.So my question is where goes my main admin bar? Also, can i have this BP admin enabled only for the subsite with buddypress?
November 2, 2011 at 7:57 pm #123650In reply to: Don’t Inherit BP-Default CSS Child Theme
@mercime
Participant@inhouse as @boonebgorges noted above, what I posted was essentially the same thing, and I learned it all from @boonebgorges and other BuddyPress Devs

10-4 @boonebgorges will tackle the update of relevant pages in BP Codex by this weekend latest
November 2, 2011 at 7:23 pm #123648In reply to: [Resolved] Theme Compatibility – Woothemes Listings
Suzi Wilson
ParticipantThanks Mercime! Works like a charm. Perfect! Just what I wanted. Thank you
November 2, 2011 at 7:20 pm #123647In reply to: Don’t Inherit BP-Default CSS Child Theme
Boone Gorges
Keymaster> I wish Codex was written more in depth
The Codex is written and maintained by volunteers. As @mercime was so kind as to jump in and explain what’s up, maybe you could be so kind as to edit the relevant page

Also, some of these issues have been in flux through the end of the 1.5 dev cycle. In any case, what @mercime wrote is essentially the same thing that I wrote – you must have been writing the paths wrong.
Thanks for your patience!
November 2, 2011 at 7:17 pm #123646In reply to: Buddyvents not working properly with BuddyBoss Theme
cbaxley
MemberThis is because the dir-search class is set to position relative. Just take out the position:relative for div.dir-search in wp-content/plugins/buddyvents/css/events.css on line 1.
November 2, 2011 at 7:02 pm #123645In reply to: Don’t Inherit BP-Default CSS Child Theme
InHouse
MemberWow, that is a far cry from what was posted in the Codex and what @boonebgorges posted. I still don’t understand why or how this works, but it works! Again, I wish Codex was written more in depth so new people can actually learn it. Thanks so much for your help @mercime. I appreciate it.
-
AuthorSearch Results