Search Results for 'buddypress'
-
AuthorSearch Results
-
July 12, 2013 at 5:04 pm #167992
In reply to: How will BuddyPress forum look like?
Tecca
ParticipantI replied to you on bbPress.org, but it’s the same answer. The only thing is that BuddyPress is the social network aspect of the plugins whereas bbPress is the forum. You can install both onto your WordPress install and they will take the style of your WordPress theme.
July 12, 2013 at 3:10 pm #167986Joel
ParticipantThanks for the catch. I just built the code around a working line of code and forgot to replace it in my haste. It always helps to have another set of eyes take a look! Thanks again for your through assistance.
July 12, 2013 at 2:55 pm #167984shanebp
ModeratorYou don’t need to query the field_data twice
<?php $bpProfileField = bp_get_profile_field_data( 'field=What makes me tick...&user_id=' . get_the_author_meta( 'ID' ) ); if ( empty ( $bpProfileField) ): ?> <p>Apparently <?php echo get_the_author() ?> does not feel like sharing anything. Isn't this sad?</p> <?php else: ?> <p><?php echo $bpProfileField; ?></p> <?php endif; ?>July 12, 2013 at 2:14 pm #167982Joel
ParticipantShane, you rock! Your suggestion worked perfectly. Below is the working code…just in case somebody else searches for this or a very similar issue. Again, thank you for explaining this and pointing me toward the relevant resources, Shane.
<?php
$bpProfileField = bp_get_profile_field_data( 'field=What makes me tick...&user_id=' . get_the_author_meta( 'ID' ) );
if ( empty ( $bpProfileField) ):
?>
<p>Apparently <?php echo get_the_author() ?> does not feel like sharing anything. Isn't this sad?</p>
<?php else: ?>
<p><?php echo bp_profile_field_data( 'field=What makes me tick...&user_id=' . get_the_author_meta( 'ID' ) ) ?></p>
<?php endif; ?>July 12, 2013 at 1:53 pm #167981shanebp
ModeratorYou can google BuddyPress functions or grep the source or check the codex.
bp_profile_field_data will echo the result.
You want to use bp_get_profile_field_data which just returns the result.
Then you need to tweak your conditional to check for ’empty’ rather than a boolean.
if ( empty ( $some_var ) )Also note the apply_filters hook in that function ( and many others)
I’ll bet you’ll find that interesting.July 12, 2013 at 9:46 am #167972In reply to: problem with account
nirat
Participanti want to say that when a new user create an account there is no activation link on mail-id.when new user login into wordpress this message comes:”Your account has not been activated. Check your email for the activation link.” but there is no activation link given on mail-id .please guide me .i am using wordpress 3.5.2 and buddypress plugin 1.7.3.
I hope that you has understood my problem.July 12, 2013 at 3:57 am #167959stewartjanderson
ParticipantSame question as @springstory…where does the code go to make it work? I know it will go in the same place as the code for the new tab, but beyond that, I’m a bit lost.
July 11, 2013 at 9:47 pm #167951In reply to: buddypress.org login broken
meg@info
Participantlogin from https://buddypress.org/wp-admin
July 11, 2013 at 9:24 pm #167950In reply to: BP Album – dont work
Henry
Member@la-lena it is probably worth posting in the plugin’s support forum. That way one of the staff at rtCamp will be able to respond. They’ve just released v3.0 (is a bit buggy at the moment but their developers release bug fixes super quick)
http://rtcamp.com/groups/buddypress-media/forum/
@modemlooper is also a top dev, try his plugin too.July 11, 2013 at 9:19 pm #167949In reply to: buddypress.org login broken
Tecca
ParticipantActually, yeah. It had fixed itself for a bit but I’m getting the same thing as @bphelp. It also shows me as logged out when viewing the topic list, but it’s fine when reading topics.
July 11, 2013 at 9:05 pm #167948In reply to: buddypress.org login broken
bp-help
ParticipantActually clicking anything in the “My Account” menu is now redirecting to the buddypress.org home page. Strange happenings!
July 11, 2013 at 9:02 pm #167947In reply to: buddypress.org login broken
bp-help
ParticipantThere is other things out of wack like clicking notifications, and viewing profiles just takes you to buddypress.org homepage. At least that is what it is doing on my end!
July 11, 2013 at 8:53 pm #167946In reply to: buddypress.org login broken
shanebp
ModeratorStill happening for me here.
Intermittent and inconsistent – glad it’s not my bug assignment.July 11, 2013 at 8:19 pm #167945In reply to: Admin toolbar different than Buddypress
sem101
ParticipantStill waiting on an answer.
July 11, 2013 at 6:14 pm #167941In reply to: buddypress.org login broken
modemlooper
ModeratorThese forums are tied into WP.org forums and there was a server snafu maybe that was issue.
July 11, 2013 at 3:08 pm #167931asdevargas
ParticipantAnd freshly updated 🙂 Thank you @bphelp!
July 11, 2013 at 1:39 pm #167928In reply to: My account menu
mathieu.urstein
Participant@espellcaste
do you have some news?
I have been able to take the notifications like this :// notifications function my_bp_adminbar_notifications_menu() { global $bp; if ( !is_user_logged_in() ) return false; echo '<li id="menu-item-9991" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-9991 parent">'; // _e( 'Alerts', 'buddypress' ); if ( $notifications = bp_core_get_notifications_for_user( $bp->loggedin_user->id ) ) { ?> <a href="#"><span id="notifs_top"><?php echo count( $notifications ) ?></span></a> <?php } echo '</a>'; echo '<ul class="sub-menu">'; if ( $notifications ) { $counter = 0; for ( $i = 0; $i < count($notifications); $i++ ) { $alt = ( 0 == $counter % 2 ) ? ' class="alt"' : ''; ?> <li<?php echo $alt ?>><?php echo $notifications[$i] ?></li> <?php $counter++; } } else { ?> <li><a href="<?php echo $bp->loggedin_user->domain ?>"><?php _e( 'You have no new alerts.', 'buddypress' ); ?></a></li> <?php } echo '</ul>'; echo '</li>'; }July 11, 2013 at 1:25 pm #167927In reply to: buddypress.org login broken
Tecca
ParticipantThis was happening to me for the longest time on here and bbPress.org, but it seems to have fixed itself now. It was always fine on WordPress.org.
July 11, 2013 at 1:08 pm #167926bp-help
Participant@asdevargas
I removed the github version in favor of using the version in the official WP repository which has been improved. You can get it here:
https://wordpress.org/plugins/private-community-for-bp-lite/July 11, 2013 at 8:55 am #167917asdevargas
ParticipantHi! I tried with the plugin indicated by @chouf1 https://wordpress.org/extend/plugins/network-privacy/ but it doesn’t work properly (it let you see groups and members!) and the link provided by @bphelp doesn’t work 🙁
Is there any other plugin option?July 11, 2013 at 7:50 am #167916In reply to: Removing buddypress from wp_head
waveint
ParticipantThanks modemlooper that was a great help…
However i still get all this loaded into the head?
<link rel='stylesheet' id='bp-legacy-css-css' href='http://tempwp/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/buddypress.css?ver=1.7.3' type='text/css' media='screen' /> <script type="text/javascript">var ajaxurl = 'http://tempwp/wp-admin/admin-ajax.php';</script> <link rel="alternate" type="application/rss+xml" title="Template WP | Site Wide Activity RSS Feed" href="http://tempwp/activity/feed/" /> <script type="text/javascript" charset="utf-8"> /* <![CDATA[ */ var ajaxurl = 'http://tempwp/wp-admin/admin-ajax.php'; /* ]]> */ </script> <link rel='canonical' href='http://tempwp/members/' /> <script type="text/javascript"> jQuery( document ).ready( function() { jQuery( 'a.confirm').click( function() { if ( confirm( 'Are you sure?' ) ) return true; else return false; }); }); </script>July 11, 2013 at 1:28 am #167913In reply to: Have a look at HumanEKO.com and give your feedback
ericrosete
ParticipantWow! Great work. A great example of what BuddyPress can really do!
I’m curious, what other plugins did you use when building the site? I’m guessing Advanced Custom Fields is one of them. Did you also create custom post types?
I’m also building a similar recruiting site and I’d like to build member profiles just like you did.
July 11, 2013 at 12:29 am #167911In reply to: buddypress.org login broken
modemlooper
Moderatorsome weird cache going on.
July 10, 2013 at 11:40 pm #167910In reply to: [Resolved] Add profile fields to Group Members loop
maikunari
ParticipantJust posting back with the solution in case it helps anyone else. This function will do it:
xprofile_get_field_data('Profile',$u_id);In my case it’ll be:
<?php if ( xprofile_get_field_data( 'Profile', $user_ID ) ) : ?> <?php echo xprofile_get_field_data( 'Profile', $user_ID ); ?> <?php endif; ?>Thanks to chifliiiii on WordPress Answers and to @shanebp.
July 10, 2013 at 10:27 pm #167909In reply to: [Resolved] Buddypress personal user calendar
chriswiedmann@yahoo.com
ParticipantWould you be willing to share it? The plugin with your changes… I’m desperate. Thanks!
-
AuthorSearch Results