Search Results for 'theme'
-
AuthorSearch Results
-
August 15, 2012 at 5:39 pm #139533
In reply to: Problems after updating buddypress.1.6.1
Tim Hyde
ParticipantI had similar issues with a plugin I developed – all fixed now. Your best contacting plugin developers as there do seem to be a few significant changes to core in 1.6.
Blank pages are often due to a plugin/theme throwing an error. The plugin maybe using stuff that’s changed (especially if accessing data structures like the $bp object directly) and is simply throwing an error. Use WordPress in debug mode and check the log file.
August 15, 2012 at 2:45 pm #139525In reply to: [Resolved] How to remove activity since 1 hour ago
frank tredici
MemberIf you are referring too the activity bubble on the Members Directory page, then do this:
add the following line of code to the `style.css` document in your themes directory:
`ul#members-list span.activity {
display:none !important;
}`if you are referring too a different activity bubble, then let us know which one exactly.
August 15, 2012 at 2:18 pm #139519aces
ParticipantYou could create an empty text file called /wp-content/plugins/walled-garden.php, paste the following into it, then activate the plugin:
`
<?php
/*
Plugin Name: Buddypress Walled Garden
Plugin URI: http://www.example.com/
Description: A brief description of the Plugin.
Version: 0.1
Author: http://www.example.com/
Author URI: http://www.example.com/
License: A “Slug” license name e.g. GPL2
*/function sh_walled_garden()
{
global $bp;// if( bp_is_register_page() || bp_is_activation_page() || bp_is_page( BP_FORUMS_SLUG ) || bp_is_page( BP_GROUPS_SLUG ) )
if( bp_is_register_page() || bp_is_activation_page() || bp_is_page( BP_FORUMS_SLUG ) )
return;if( ! bp_is_blog_page() && ! is_user_logged_in() )
bp_core_redirect( bp_get_signup_page() );
}add_action( ‘bp_init’, ‘sh_walled_garden’ );
function bp_remove_feeds() {
remove_action( ‘bp_actions’, ‘bp_activity_action_sitewide_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_personal_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_friends_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_my_groups_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_mentions_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_favorites_feed’, 3 );
remove_action( ‘groups_action_group_feed’, ‘groups_action_group_feed’, 3 );
}
add_action(‘init’, ‘bp_remove_feeds’);?>`
Tested in bp 1.6.1The plugin should not have spaces, blank lines, or anything else before “ and use a simple text editor ( like this ) rather than a wordprocessor….
– – –
To have a different menu for logged in users is slightly more complicated.
You need to find the template bit that shows the menu.
In the current bp-default theme header.php file is the following
`
false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ‘bp_dtheme_main_nav’ ) ); ?>
`
which can be replaced by
`
<?php
if ( is_user_logged_in() ) {
wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ” ) );
} else {
wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘secondary-menu’, ‘fallback_cb’ => ” ) );
}
?>
`
Then create the secondary menu in the wordpress menu admin…..Please backup files and database before trying this out in case there are complications. It would be better to try out on a test/dev site first …..
August 15, 2012 at 1:49 pm #139518SeFi
Member@shawn38 Thanks but I’m already using a theme for my client and I can’t change it…
@BooneGorges As for shawn38 I’m already using a theme and I’m not a really good programmer so what you’re refering to is to difficult for me

Can’t I find a plugin to do that ? No one ever thought of doing it ?
Thanks a lot guys !
August 15, 2012 at 10:38 am #139506kooba
ParticipantI’ve gone trough all the steps once again and it worked out
Thank You very much….btw, can You recommend any website with tutorial videos on configuring/using buddypress??August 15, 2012 at 10:20 am #139504kooba
Participant@mercime ok, done…but I must have done it wrong as it is not working ;/ can You take a look please?
August 15, 2012 at 8:43 am #139501kooba
Participant@mercime Thank You very much for your help, I’m going to check it straight away and let You know if it worked out…
August 15, 2012 at 6:51 am #139498In reply to: Everything posts twice
natetheaverage
MemberI found that global.js was loading twice for me.
once at buddypress>_inc>global.js and once at theme>includes>js>global.js
I dont recall putting my global.js file in my theme but I can be flighty sometimes
August 15, 2012 at 6:36 am #139497murasaki
Participantyep, it asked for 100663296 bytes this time, and gave me the white screen. When I activate the plugin “Mobile Theme switcher” I can actually still navigate via desktop, but ipad gets white screen, as well as mobile device (android phone), and yet I still get the memory request for an increase of memory. no matter what I set it to, how high, it just doesn’t want to play nice. Sigh….they are really good plugins too, as far targeting certain devices
August 15, 2012 at 6:25 am #139495murasaki
Participanthey paul, i’ve tried to adjust my memory output to the asked amount but after doing so, i get an even higher amount. I’m working locally before I go live, so, for the time being, should I go to an high amount, or …? what would you suggest? Im going to try the 96M and see if it’s sufficient enough first.
I’ll check back and let you know how it went
August 15, 2012 at 6:06 am #139491Paul Wong-Gibbs
KeymasterIt’s just an out-of-memory error. Check out https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
August 15, 2012 at 1:33 am #139479oblax
ParticipantBTW, the 3 column theme can be found here, https://wordpress.org/extend/themes/bp-columns it produce the error mentioned below when clicking the member’s profile.
Fatal error: Cannot access empty property in …/wp-content/plugins/buddypress/bp-core/bp-core-template.php on line 823
August 15, 2012 at 1:11 am #139477@mercime
ParticipantCode posted at http://wp.me/p1I84P-1u
August 15, 2012 at 1:10 am #139476@mercime
Participant@kooba Confirmed that based on the HTML structure of your theme, you will be only need to create two new files, header-buddypress.php and sidebar-buddypress.php to make the BP templates compatible with your theme.
If you’ve revised any of the BP template files transferred to your basic theme folder in server during the BP Compatibility process, please delete the 6 BP folders transferred to your basic theme folder in server – /activity, /blogs, /forums, /members, /groups, /register – then re-run Appearance > BP Compatibility again to make sure that you have clean template files.
August 15, 2012 at 12:36 am #139475In reply to: Theme crash on updating to latest BuddyPress plugin
richardpd
MemberWell I don’t know what has caused my theme format to break-something to do with either the bbPress or BuddyPress plugin update. JJJ doesn’t think it is bbPress and yet you appear to think it is-a bit confusing.When I updated the plugins I got that error message and then I tried to get back to my theme & admin pages by renaming plugins and then ended up with the theme displaying in it’s broken state. Are bbPress & BuddyPress meant to integrate together? I thought they were meant to.
I would like to figure out what has broken my theme and would appreciate some help with it as of course if I could do it on my own I wouldn’t be posting here and on other forums asking for help!
Simples really…-can someone please help me fix/restore my theme format? Many thanksAugust 14, 2012 at 10:55 pm #139471In reply to: [Resolved] How to remove activity since 1 hour ago
mastermind12
MemberThank you for your reply. I am using the BuddyPress default theme.
August 14, 2012 at 9:00 pm #139463In reply to: [Resolved] How to remove activity since 1 hour ago
Tammie Lister
ModeratorHi mastermind12, the advice for this does change depending on what theme you are using. What theme are you using?
August 14, 2012 at 6:34 pm #139452Boone Gorges
KeymasterIt looks like some styles are missing. How are you styling the BP content? Are you pulling in bp-default’s stylesheet? Check to make sure that your version isn’t somehow mangled; it should be 2423 lines long https://buddypress.trac.wordpress.org/browser/tags/1.6.1/bp-themes/bp-default/_inc/css/default.css
August 14, 2012 at 6:18 pm #1394489087877
InactiveFound this snippet but I would still like to know how to turn off activity replies to comments all together. This snippet limits activity comments to 2 comments. It is placed in the functions.php of your theme:
//begin comment limit snippet function test_comment_depth_limit( $can_comment, $comment ) { if ( $comment->mptt_left > 2 ) $can_comment = false; return $can_comment; } add_filter( 'bp_activity_can_comment_reply', 'test_comment_depth_limit', 10, 2 ); //End comment limit snippetAugust 14, 2012 at 6:12 pm #139447djduckworth
MemberI think it must have been a plugin of some sort. I re-uploaded the theme files and the profiles now load correctly.
August 14, 2012 at 6:09 pm #139444Paul Wong-Gibbs
KeymasterWhat version of BuddyPress did you upgrade from?
Are you using the latest available version of the Custom Community theme?August 14, 2012 at 6:06 pm #139442djduckworth
MemberYeah I upgraded from 1.6. There are no specific settings to turning on/off the accordion script. I’ve contacted the theme developer also. I’ll post here one I hear back.
August 14, 2012 at 5:39 pm #139439In reply to: There were no groups found.
mystica
Memberok, i found the solution in this post
http://premium.wpmudev.org/forums/topic/default-to-my-groups-instead-of-all-groups-in-bp-default-theme#post-224917
hopefully it can help someoneAugust 14, 2012 at 5:02 pm #139435rossagrant
ParticipantSorry guys, ignore this, we’ve tracked it down to the theme engine I’m using.
Thanks for the time though
August 14, 2012 at 4:48 pm #139432In reply to: Hiding header search box other than specific page
@mercime
Participant@mairaj know that if user disables styles in browser, they will see the search form. But should you still want to proceed with your method, these two lines should do it via CSS
`/* Hide search form in ALL pages */
#search-form { display: none; }/* Then show search form on this page only (change page ID to your installation’s page ID) */
body.page-id-25 #search-form { display: block; }`
You might have to add some width or float after display block depending on how you’ve styled the child theme. -
AuthorSearch Results