Search Results for 'buddypress'
-
AuthorSearch Results
-
May 23, 2016 at 6:44 pm #253686
In reply to: Associating group to course crashes site
shanebp
ModeratorThe errors in your log all seem to be related to LearnDash . BuddyPress calls.
Your best bet is to show that log to the LearnDash support team.
May 23, 2016 at 6:27 pm #253685ekko848
ParticipantThis seems to have worked
function profile_stream ( $user_id ) { $streamid = xprofile_get_field_data( 10, $user_id ); if (! bp_current_user_can( 'bp_moderate' ) && !empty($streamid)) { xprofile_set_field_data( 11, $user_id, "Pending"); } if (! bp_current_user_can( 'bp_moderate' ) && empty($streamid)) { xprofile_set_field_data( 11, $user_id, ""); } } add_action( 'xprofile_updated_profile', 'profile_stream');Considering I am relatively new to PHP and buddypress.. I am surprised I am able to get this stuff to work on my own lol.
May 23, 2016 at 11:50 am #253675In reply to: How to show review activity on buddypress
May 23, 2016 at 11:43 am #253673In reply to: Member “Last Active” shows current time
sharmavishal
Participantrepair buddypress activity via tools and see if that helps…also clear ur varnish cache
May 23, 2016 at 11:41 am #253671In reply to: Removing page title
sharmavishal
Participanttry the language file.. check the buddypress codex for translation
May 23, 2016 at 7:40 am #253656In reply to: Create Group function
danbp
ParticipantHave you set up the permalinks to another option than default ?
May 23, 2016 at 7:35 am #253653In reply to: change username to display name
danbp
ParticipantMay 22, 2016 at 4:57 pm #253641In reply to: email notification activity stream
danbp
ParticipantMay 22, 2016 at 4:40 pm #253639In reply to: Link To Member Profile In Form Field
danbp
ParticipantThat’s unfortunately what i expected… GF is a third party premium plugin for which nobody can help you here, except if he/she use that plugin.
If you read here, it’s somehow explained in details.
What you already used (gform_field_value_linkuser), linkuser is a GF field name. If i’m right, see the advanced tab of that field and complete the name parameter.
Here a snippet which let you see how to link a username to his profile, when you’re outside of the member_loop. It will output the current user name on the site wide activity header. For test only.
Note that it use BuddyPress default Name field and that it comes from a BP form. As you use GF, you certainly need to find how to grab properly a GF field value.
Function goes to bp-cutom, may also work in theme’s functions.php
function bpfr_my_profile_link_on_SWA_header () { $user_id = get_current_user_id(); $profile_url = bp_loggedin_user_domain(); if( !is_user_logged_in() ) { return; } echo '<br>Test userlink: '; if ( !$data = bp_get_profile_field_data( 'field=Name' ) ) : echo xprofile_get_field_data( 'Name', bp_get_member_user_id() ) .'<a href="'. $profile_url .'">'. bp_core_get_username( $user_id ).'</a><br>'; endif; } add_action( 'bp_activity_type_tabs', 'bpfr_my_profile_link_on_SWA_header' );Sorry, I can’t help you more.
May 22, 2016 at 4:16 pm #253638In reply to: restrict messages to user-admin-user
ekko848
ParticipantI was googling this and came to this thread. Ended taking some hints from it and edited my compose.php to look like this:
<?php if ( bp_current_user_can( 'bp_moderate' ) ) : ?> <label for="send-to-input"><?php _e("Send To (Username or Friend's Name)", 'buddypress' ); ?></label> <ul class="first acfb-holder"> <li> <?php bp_message_get_recipient_tabs(); ?> <input type="text" name="send-to-input" class="send-to-input" id="send-to-input" /> </li> </ul> <?php else : ?> <label for="send-to-input"><?php _e("SEND MESSAGE TO ADMIN", 'buddypress' ); ?></label> <ul class="first acfb-holder"> <li> <?php bp_message_get_recipient_tabs(); ?> <input type="hidden" name="send-to-input" class="send-to-input" id="send-to-input" value="admin"/> </li> </ul> <?php endif; ?>Just did some initial testing and it seems to work properly..
May 22, 2016 at 12:40 pm #253635danbp
ParticipantYep ! Use fn bp_is_my_profile()
For ex. something like
if ( $blogs && bp_is_my_profile() ) {May 21, 2016 at 5:05 pm #253619In reply to: Error on installation
dredre3000
ParticipantRunning version 4.5.2
Theme Geodirectory/ supremember directory.
Plugins: Akismet, auto terms of service and privacy policy, contact form 7, black studio tiny mce, f(x) private site, gd booster, gd business hours, geodirectory plugins (don’t have buddypress intergration active), Google analytics, jet pack, site origin, page builder, Yoast seo…May 21, 2016 at 1:50 pm #253616In reply to: Direct Message is send 3 times
pandafoxxxx
ParticipantThe issue is somewhere inside the ajax.php from the theme. I’m using a custom theme (Not online) on a local version of wordpress. Tried using the functions.php from the legacy template but there is no live update so I skipped that. (Messages doesnt send at all)
Edit: I fixed the problem with combining ajax.php from the old buddypress template with the new functions.
May 21, 2016 at 12:39 pm #253613dwink09
Participantalso on the buddypress components, I can’t save options for “Friend Connections” and other components as well. Could this be a linked issue or isolated?
May 21, 2016 at 12:18 pm #253609danbp
ParticipantGo to your WP pages admin, and change your member page title to Staff instead of Members. Change the slug accordingly.
Ensure the name is unique and that you don’t have any page called members or staff in the trash. If it’s the case, clear it. Go to permalinks settings and click on save. Permalinks option should be whatever except “default”.
Return to BP’s page settings and verify that the Members component page is Staff. If not, select the new page and save.For any other “member” wording, you have to use buddypress po/mo file, even if you use english on your site.
May 21, 2016 at 12:06 pm #253608In reply to: BP menu on wp multisite
danbp
ParticipantYou have to enable multiblog. Read here:
May 21, 2016 at 11:47 am #253607In reply to: Error on installation
danbp
ParticipantGive details please: php version, theme name, used plugins.
https://buddypress.org/support/topic/when-asking-for-support-2/
Related topics for similar issue:
https://buddypress.org/support/search/bp_setup_current_user+was+called+incorrectly/May 21, 2016 at 11:38 am #253605In reply to: How to show review activity on buddypress
danbp
ParticipantBuddyPress is member oriented and they’re some rating plugins out for profiles or groups. For pure content like posts or CPT’s, you have to search for some WP plugin on the plugin repository.
Another alternative could myCred, which is made for BP. Inconvenient (if ever), it does much more as only allowing rating.
May 21, 2016 at 11:11 am #253602In reply to: Components do not display in page assignment area
danbp
ParticipantThis is not an issue, but how it works !
The’re only 3 pages to assign when you activate ALL components.
1) members
2) site activity
3) groupsIf registering is allowed, you have 2 other pages:
– registering
– activationXprofile, Messages, Friends, etc are mostly sub parts of the mandatory Members component/page.
May 21, 2016 at 3:21 am #253600In reply to: Buddypress multilingual with sublanguage
sharmavishal
Participant@pandafoxxxx can you kindly list the disadvantages of polylang? polylang worked for bbpress as well as buddypress for me….
May 20, 2016 at 7:45 pm #253591In reply to: Error on installation
dredre3000
ParticipantIt also says buddypress is not compatible with my version of wordpress so not sure if that’s why…
May 20, 2016 at 2:22 pm #253587In reply to: change username to display name
danbp
ParticipantMay 20, 2016 at 2:11 pm #253585In reply to: Not show all activity
danbp
ParticipantPlease read first BP’s documentation:
Many topics with same question where already resolved.
https://buddypress.org/support/search/bp_after_has_activities_parse_args/May 20, 2016 at 12:06 pm #253582Topic: change username to display name
in forum How-to & Troubleshootingmegin
ParticipantI would like to keep the friendliness of display in activity stream. I want to post @display_name instead of @user_login/@user_nicename in post activity stream and show @display_name as result post. Anybody please help me.
Wordpress version : Version 4.5.2
Buddypress Version 2.5.2May 19, 2016 at 10:04 pm #253574In reply to: Logged In User Only Information on Profile
ekko848
ParticipantNot sure if this is the best way to do this (still figuring out BuddyPress functions), but I added this code to my profile.php and it works for logged in users only
<?php if ( bp_is_my_profile() ) { echo 'Hello'; } ?> -
AuthorSearch Results