Search Results for 'buddypress'
-
AuthorSearch Results
-
March 31, 2012 at 8:17 pm #132195
In reply to: [RESOLVED]Hide pages from non-members
aces
ParticipantOne way of doing that is by serving different menus depending whether someone is logged in or not such as
`
<?php
// 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.
}
?>
`
or another approach:
`
<?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’ => ” ) );
}
?>
`
replacing the `wp_nav_menu` bit in the ( child ) theme’s header.php file. It may need adapting depending on theme etc. Remember to make backups before editing!Then use the walled garden or similar techniques to redirect users if they try to reach the page directly…
March 31, 2012 at 4:31 pm #132190sarah_lena
MemberOh man, color me happy. Thank you!
March 31, 2012 at 12:49 pm #132188In reply to: Unified Profile Page?
BossX
MemberThanks @ChrisClayton – I will give it a shot!
March 31, 2012 at 10:55 am #132184Paul Wong-Gibbs
KeymasterHi
Take a look at http://themeloom.com/2012/02/how-to-make-buddypress-use-the-new-wp-admin-bar/It’ll become the default in our next major BuddyPress release, but you can switch to it right now.
March 31, 2012 at 10:52 am #132185In reply to: Search Buddypress Support Forums
b1gft
Participantrichardpd, what I do to find my posts is go into my activity page and it shows the posts I have partaking in.
March 31, 2012 at 5:46 am #132181In reply to: Unified Profile Page?
@ChrisClayton
Participant@BossX – As in, similar to the wordpress profiles (https://profiles.wordpress.org/matt)?
Yes, it’s possible through a custom theme.The top part with the profile information is simply the members/single/member-header.php file with code to insert their bio and other info – See: http://bp-tricks.com/snippets/displaying-certain-profile-fields-on-your-members-profile-page/
The bottom part is the members/single/profile.php template (their activity is an external custom built activity stream, but the theory is the same… just add the activity loop) – See: https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/
And then they changed the default profile view from the activity view to profile with – define( ‘BP_DEFAULT_COMPONENT’, ‘profile’ );
March 31, 2012 at 2:02 am #132180In reply to: The Register Button goes to Home page?
aces
ParticipantI am also http://testbp.org/members/aces/ You should be able to pm me there, although I haven’t tested it with pm before and I’m not sure I can help…..
Did you use an auto installer provided by your host to install wordpress and/or buddypress etc? Autoinstallers have been the cause of many problems in the past.
March 31, 2012 at 12:58 am #132179In reply to: [Resolved] Is this the correct Registration Page?
March 30, 2012 at 11:45 pm #132176In reply to: Search Buddypress Support Forums
rcain
Participantditto – both the above suggestions.
i think lack of forums search + no way to find ones own posts limits the community activity here somewhat – essential for BP community to grow and develop – IMHO.March 30, 2012 at 9:16 pm #132172In reply to: Search not working on the BuddyPress site
tongas
Participantsame happens to me
March 30, 2012 at 8:50 pm #1321709087877
Inactive@boonebgorges
I guess what I am asking is did I pass the 2nd parameter of &per_page=5 wrong? I just want the same behavior with the exception that I want all users including admin to only get 5 items in activity with the load more option below the 5 loaded activities. If I am missing something I would appreciate the help.
I really think this is an important thread, with the impending release of BP 1.6 it would help for developing child themes for BP with more control over activity privacy in conjunction with the profile privacy visibility features in BP 1.6. Thanks Boone!March 30, 2012 at 8:10 pm #132167In reply to: user posting of photos
Famous
Participant@johnjamesjacoby
I checked this link out:
http://code.google.com/p/buddypress-media/
and although it is interesting it seems wise to wait on your official stamp of approval. If you look at mySpace and faceBook, you can see that because they enabled sharing of user data (i.e.. pictures, videos, etc…) that is a direct result of their success. People need things to be easy. It seems like users need a WYSIWYG editor for posts, just like the blog interface, but a scaled down version with the media link. Most of these BP sites don’t entice users because they can’t share their lives. I understand that the magnitude of such a foundational change requires much thought and work, so:Either way I am waiting on your call?
Thank you for your & everyone else’s hard work!
March 30, 2012 at 6:51 pm #1282409087877
Inactive@boonebgorges
Ok here is what I put in the template:
` $params = ”;
if ( ! is_super_admin() ) {
$params .= ‘&scope=friends&per_page=5’;
}
?>`
Works almost perfect except for when I attempted passing the second parameter &per_page=5.
On normal users the above code does limit site wide activity to a friends only activity stream and loads only 5 items which is what I want. When I am on the admin account it does show me all activities which is perfect, but for some reason the second parameter &per_page=5 reverts back to displaying 20 activity items. I would still like to also limit the admin to 5 activity items just to help the activity load a little faster. Thanks a lot Boone for what you do, and your help so far!March 30, 2012 at 6:50 pm #128239In reply to: Avatar problem on buddypress.org
shanebp
ModeratorAvatars, for most of us, are not allowed.
And no, you can’t search the forums either.
Hopefully that will be fixed soon.March 30, 2012 at 5:29 pm #118384In reply to: Simple photo community
czz
MemberMarch 30, 2012 at 5:12 pm #118383In reply to: Automatic linking in profile fields
March 30, 2012 at 4:02 pm #118381In reply to: Cannot comment on or favorite Activity Stream posts
KittyBeth
MemberHi, Thanks for answering.
I am using the BuddyPress default theme with a child theme and no BP Template Pack. I did use a some of the code from a different theme that I was using before when I was making my child theme, so something could be interacting from there perhaps. I thought I had removed all of the javascript from what I used, but I could have missed something.
For the “Favorite” button, when I get a 404, this is the link that is produced: http://rheum4us.org/activity-streams/favorite/3/?_wpnonce=275e4782c7
Is that what the link is supposed to look like?March 30, 2012 at 2:20 pm #118380enderpal444
Participant@chrisclayton thx for being awesome!…that solved the problem. Probably was 200 people on here who could have givin that simple answer sigh.
March 30, 2012 at 1:58 pm #118377In reply to: Replies shouldn’t bump Activity Updates to top
Prince Abiola Ogundipe
ParticipantMarch 30, 2012 at 1:26 pm #118376In reply to: Group Forum within the Group itself?
teoh89
MemberThanks so much Boone. It finally worked. Didn’t know I have to tick the group setting over there.

Just saw your profile and glad that the developer of CUNY replied me
Really appreciate it here.By the way, would it be advisable for me to remove the login function created by BuddyPress and just have the wp-fb autoconnect plugin to allow users to login with their Facebook? If so, how do I remove the default login from the sidebar?
Thanks.
March 30, 2012 at 6:43 am #118371In reply to: Does theme 2011 work with BuddyPress?
BOW
ParticipantUnfortunately as @mercime has stated to use 2011 you will have to go through the process of theme compatibility.
In a related question, is there a plan to try and make bpuddypress theme independent?
On the surface it looks to me like it should be possible using some smart and unique CSS class naming that buddy press could be installed as a plugin with a set of additional CSS files rather than replacement CSS files.
I see in the dev chats that some folk are working on yet another child theme, but to be honest having buddy press so tightly coupled to the theme has been one of the main setbacks of this project (imho)
Surely the resource and time of these talented and dedicated members would be better spent on decoupling buddy press from the theme rather than creating another theme that existing users are unlikely to benefit from and gives yet another unrequired decision (and potential dead end) during the early process of getting started.
Buddy press components appear typically in:
The top navigation (can be handled using the menu builder or manually)
The main content area
The side bar
The buddy bar (now the wordpress tool bar)Most themes contain these areas (to be compatible with other plugins) so we must surely be at the stage where serious thought is being given to starting the decoupling process?
Future versions of buddy press should be tested to death on the wordpress default theme and and let theme owners take it from there.
Is this possible or it the task immense?
March 30, 2012 at 6:08 am #118370In reply to: [Resolved] Turn-off Certain Features?
Paul Wong-Gibbs
KeymasterYes, each part (or component) off BuddyPress can be turned on/off individually. If you *just* want forums, however, it makes more sense to use https://bbpress.org/
March 30, 2012 at 4:44 am #118368In reply to: Buddypress menus
not1_name
MemberThank you for taking the time to get back to me. It’s nice to confirm what I suspected. ie, best remove the buddybar on small screens and have the profile menu as the main one. I’ll change the home button to site-wide activity, and then have the profile as a compact drop down for mobile devices. I’ll report back when I get it set up.
March 30, 2012 at 3:52 am #118367In reply to: Does theme 2011 work with BuddyPress?
@mercime
Participant@tucsonsam see how to make Twenty Eleven compatible with BuddyPress https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-eleven-bp-1-5/
March 30, 2012 at 3:51 am #118366In reply to: BP alignment: Colorway
@mercime
Participant@roguedjinni were you able to resolve this or do you still need assistance?
-
AuthorSearch Results