Search Results for 'buddypress'
-
AuthorSearch Results
-
November 15, 2011 at 10:30 am #124445
In reply to: [Resolved] Steps for theme compatibility not working
jugularbean
Participant1. Yes the theme was already activated when I installed and activated the BP template pack and ran the BP Compatibility.
2. I’ve been trying to use the first method without much success. To be honest I didn’t understand the 2nd method. After I change the filenames where do I save the new files (header-buddypress.php etc)?November 15, 2011 at 7:58 am #124441Paul Wong-Gibbs
KeymasterIt should just work out of the box. The bbPress activity stream support is included inside bbPress, so maybe it is not being loaded. I’ll ping @johnjamesjacoby to see if he has seen the problem before.
November 15, 2011 at 7:57 am #124440In reply to: Using this website aargh!
modemlooper
Moderator@djpaul why not put a notice on the site saying its being worked on?
November 15, 2011 at 7:20 am #124436In reply to: Multi users profile: development direction please!
modemlooper
ModeratorCreate a custom BuddyPress component. You can use the skeleton component plugin to see example code. How you do it is up too you as you can create anything.
November 15, 2011 at 7:00 am #124433In reply to: Buddypress when I don’t want Buddypress
Paul Wong-Gibbs
KeymasterYou must have another plugin, or theme option, affecting it.
November 15, 2011 at 3:58 am #124429In reply to: Buddypress when I don’t want Buddypress
3dperuna
ParticipantThen I’m even more confused… Why would a public page redirect to login?
November 15, 2011 at 3:36 am #124428In reply to: How to edit the Buddypress default theme navigation?
aces
ParticipantI’ve just tried the following on a bp test site instead of the single menu and it worked
`
<?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’ => ” ) );
}
?>
`nb: The test site is also using the walled garden technique…
November 15, 2011 at 3:30 am #124427In reply to: How to edit the Buddypress default theme navigation?
dude
Memberjust realized I’ll have to make up a third theme location to pull this one off
when does the editing ever end lolNovember 15, 2011 at 3:17 am #124426In reply to: How to edit the Buddypress default theme navigation?
dude
Membergood point !
can’t afford any more site breaks on a flourishing communityI take it my initial plan A is not worth pursuing then?
It does address both menus specifically speaking..
November 15, 2011 at 3:11 am #124425In reply to: How to edit the Buddypress default theme navigation?
aces
ParticipantIt would help if you had a test site to try it out on, ie: localhost or a subdomain…
November 15, 2011 at 3:01 am #124424In reply to: How to edit the Buddypress default theme navigation?
dude
Membercustomized bp-columns? sounds interesting !
does the fact that I have the secondary navigation as the mobile version of the site make any difference? just got this gut feeling that this may just fail unless I call the secondary the logged-out-menu as my theme at present only supports 2 menus.
November 15, 2011 at 2:57 am #124423In reply to: How to edit the Buddypress default theme navigation?
aces
ParticipantI’m using a customised bp-columns, which is mostly the same as bp-default.
I would just replace
`wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ‘bp_dtheme_main_nav’ ) );`
which begins and ends with php tags with the above also wrapped in php tags….the mobile angle is something else…
November 15, 2011 at 2:54 am #124422In reply to: How to edit the Buddypress default theme navigation?
dude
Memberok gonna give it a try (fingers crossed)
I’ll pop it in my child themes header.php (bp default 1.5.1)
any particular nesting point..?
November 15, 2011 at 2:51 am #124421In reply to: How to edit the Buddypress default theme navigation?
aces
ParticipantActually I think it should, but I didn’t try it as I was already experimenting with the above for a non bp site and tried it out on a bp test site and it worked.
I quite like this approach because you could also use the data (see link) to do other things as well…..
November 15, 2011 at 2:45 am #124420In reply to: Activity comments for forum topics
enderpal444
ParticipantHow nice would it be if someone could start a topic that looked just like a status update from facebook whether it be about a video/picture/topics and then people could just comment on it the same way people comment in a group on buddypress. Then you could show a list of the trending (last commented) topics in a widget and it’s perfect.
November 15, 2011 at 2:42 am #124419In reply to: How to edit the Buddypress default theme navigation?
dude
Memberhi @aces !
thanks for the alternative option
does your post imply that the example I’m trying to use will NOT work then.?
by the way I have 3 menus in place:
primary navigation – logged-in-menu
mobile menu – mobile (buddypress mobile)
logged-out-menu
November 15, 2011 at 1:54 am #124413In reply to: How to edit the Buddypress default theme navigation?
aces
ParticipantHow about the following (in the header?) instead of what’s there (bp 1.5.1)
`// https://codex.wordpress.org/Function_Reference/wp_get_current_user
$current_user = wp_get_current_user();
if ( 0 == $current_user->ID ) {
wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘secondary-menu’, ‘fallback_cb’ => ” ) );
// Not logged in.
} else {
wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ” ) );
// Logged in.
}
`
? (wrapped in “ tags)November 15, 2011 at 1:15 am #124412In reply to: How to edit the Buddypress default theme navigation?
dude
Memberokay so I’ve done some digging and found – nav-menu.php
copied it to my child themes folder and created two seperate menus in my admin dashboard.I found this code for the menu config: here: https://codex.wordpress.org/Function_Reference/wp_nav_menu
`<?php
if ( is_user_logged_in() ) {
wp_nav_menu( array( ‘theme_location’ => ‘logged-in-menu’ ) );
} else {
wp_nav_menu( array( ‘theme_location’ => ‘logged-out-menu’ ) );
}
?>`
Am I getting warm..?If so, just two questions remain..
a) where in: nav-menu.php do I add the above code..?
b) Does the above code need to be wrapped at all..?
Kind regards in advance
November 15, 2011 at 12:22 am #124409In reply to: Pages not working
OverSizedRabbit
Memberits not the memory thats the issue i had it working before so something is wrong with bbpress or buddypress :l
November 15, 2011 at 12:18 am #124408@mercime
Participant`’menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ‘bp_dtheme_main_nav’ ` pertains to the adoption of the wp_nav_menu function which allows users to create their own menu. This falls back to wp_page_menu and bp_nav_menu.
https://codex.buddypress.org/extending-buddypress/how-to-set-up-your-main-site-navigation-using-the-built-in-wordpress-menus/November 14, 2011 at 11:13 pm #124406In reply to: OpenSocial for BuddyPress
meg@info
ParticipantIm working in new framework for wordpress+buddyperss for for building web services, the plugin expose functionality of wp and any other plugins installed in wp to other web sites and desktop applications. i will share a beta version soon.
November 14, 2011 at 11:05 pm #124404rossagrant
ParticipantYep, I’ve also noticed this. I expect there is a very easy way to fix this.
Gonna talk to my developer now and will report back.
If anyone has an idea in the meantime, let me know!
November 14, 2011 at 10:13 pm #124400kkradel
ParticipantDoes anyone have a solution for this?
November 14, 2011 at 9:22 pm #124397November 14, 2011 at 8:45 pm #124392In reply to: Cannot assign pages components
@mercime
ParticipantDid you run wp-admin dashboard > Settings > Permalinks and set it to other than the default “ugly” permalink? Pretty Permalinks are required for BuddyPress. Do you have mod_rewrite enabled in your server?
-
AuthorSearch Results