Search Results for 'buddypress'
-
AuthorSearch Results
-
November 15, 2011 at 2:57 am #124423
In 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?
November 14, 2011 at 7:36 pm #124389In reply to: Forums not working – have I configured correctly?
@mercime
ParticipantNew link on how to set up group’s forum at https://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/3/#enable-group-forum
November 14, 2011 at 6:29 pm #124386In reply to: OpenSocial for BuddyPress
TylerDigital
MemberAny update on this? I’m also interested in trying to integrate Open Social into a BP install
November 14, 2011 at 5:18 pm #124382In reply to: Buddypress when I don’t want Buddypress
@mercime
Participant== Public pages are now asking for a log-in. ==
A default BuddyPress installation does not “ask for log-in”November 14, 2011 at 3:02 pm #124376In reply to: Simple BuddyPress Profile Privacy
wahwahchris
MemberIs this plugin working with buddypress 1.5?
November 14, 2011 at 2:33 pm #124375In reply to: Really need help on privacy. Complete noob here
aces
ParticipantCouldn’t you do something along the lines of the walled garden technique: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/privacy-3/#post-113808
November 14, 2011 at 10:35 am #124367In reply to: Register Page Doesn’t Work
@mercime
Participant@Cindy_Hazuka it’s better to start a new topic. When you do, please give more information like
– WP/BP versions?
– Single/Multisite WP installation?
– What theme are you using? Child theme of bp-default theme or a WP theme with BuddyPress Template Pack plugin or a custom theme?November 14, 2011 at 10:23 am #124366In reply to: lost in buddy press
@mercime
Participant@richardpd perhaps this new illustrated step-by-step guide for group and sitewide forums will help as well — it’s not totally completed, but you’ll get the drift https://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/
November 14, 2011 at 10:22 am #124365In reply to: lost in buddy press
@mercime
Participant@tomcat_meow If there are no pages associated with the BP component, click on “New Page” in the same line and a page with the same slug will be automatically generated for you.
November 14, 2011 at 10:20 am #124364In reply to: BuddyPress trouble with Theme Compatibility
@mercime
Participant@Kennr you don’t have to post in two groups. Answered your query at https://buddypress.org/community/groups/miscellaneous/forum/topic/buddypress-trouble-with-theme-compatibility/
Closing this topic now.November 14, 2011 at 10:18 am #124363In reply to: Step By Step Forums Guide or Manual
@mercime
ParticipantNot totally completed yet, but I’ve posted an illustrated step-by-step guide for installing both group and sitewide forums in BuddyPress Codex https://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/
November 14, 2011 at 10:16 am #124362@mercime
Participantactivity/index.php = open it up with a text editor. At the very top of the file,
replace:
``
with:
`
<?php if (get_option('professional_integration_single_top') ” && get_option(‘professional_integrate_singletop_enable’) == ‘on’) echo(get_option(‘professional_integration_single_top’)); ?><?php if (get_option('professional_integration_single_top') ” && get_option(‘professional_integrate_singletop_enable’) == ‘on’) echo(get_option(‘professional_integration_single_top’)); ?>`At the bottom of the same file,
replace:
``
with:
`
<?php if (get_option('professional_integration_single_bottom') ” && get_option(‘professional_integrate_singlebottom_enable’) == ‘on’) echo(get_option(‘professional_integration_single_bottom’)); ?>`
Note that I did not include “ at the top of the file and therefore did not include “ at the bottom of the file.
Save /activity/index.php file and do the same on the remaining 15 files as listed here https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/#tplfiles
… except for /registration/register.php where you do the same at the top of the file but at the bottom of the register.php file, the replacement is:
`
<?php if (get_option('professional_integration_single_bottom') ” && get_option(‘professional_integrate_singlebottom_enable’) == ‘on’) echo(get_option(‘professional_integration_single_bottom’)); ?>jQuery(document).ready( function() {
if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
jQuery(‘div#blog-details’).toggle();jQuery( ‘input#signup_with_blog’ ).click( function() {
jQuery(‘div#blog-details’).fadeOut().toggle();
});
});`
Save all and upload BP folders with revised template files to server wp-content/themes/professional/
-
AuthorSearch Results