Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 3,776 through 3,800 (of 32,690 total)
  • Author
    Search Results
  • #272617
    modde
    Participant

    Hi,
    I have a WordPress page with the theme SweetDate, which also runs BuddyPress.
    In BuddyPress there is the possibility to display the age instead of the birthday, unfortunately only for one field (man’s birthday), but now I have two birthdays (man and woman) and would like both to display the age.

    paar-raum.de

    Greetings
    modde

    #272606

    In reply to: Email solution

    Varun Dubey
    Participant

    @mrditt
    You can switch in real time.
    Mailgun will send email sent to WordPress or any other plugins including BuddyPress.
    Mailgun has a free slot and paid stot, based on usages you can increase your plan.
    When someone sends a message to Adam (just random username), Adam will get an email notification as well.

    You can find the doc here https://codex.buddypress.org/emails/
    It will help you disable all bp emails, alter them and disable some emails based on their actions.

    graphitewp2
    Participant

    Thank you Paul for commenting. I wish I was clearer.

    I was referring to the Log In and Register buttons on the admin bar (which is Buddypress) in the top left.

    Im using this to disable BuddyPress’ registration process and fallback to WordPress. I want to merely change the link of the Log In button so it goes to my custom login page. How do you go about doing it?

    
    <?php
    
    /**
     * Disables BuddyPress' registration process and fallsback to WordPress' one.
     */
    function my_disable_bp_registration() {
      remove_action( 'bp_init',    'bp_core_wpsignup_redirect' );
      remove_action( 'bp_screens', 'bp_core_screen_signup' );
    }
    add_action( 'bp_loaded', 'my_disable_bp_registration' );
    
    ?>
    shanebp
    Moderator

    $wpdb->get_col returns an array
    $wpdb->get_var returns a single value – try it

    https://codex.wordpress.org/Class_Reference/wpdb

    #272587

    In reply to: duplicate group page

    Varun Dubey
    Participant

    @pandreas you can create group type with https://wordpress.org/plugins/bp-create-group-type/
    and you can display them via shortcodes on any pages with group type parameters

    and with https://github.com/wbcomdesigns/shortcodes-for-buddypress you can have a shortcode to display groups with group-type anywhere as a shortcode
    e.g. [groups-listing type=”sports”]

    #272586

    In reply to: Email solution

    Varun Dubey
    Participant

    You can use https://wordpress.org/plugins/mailgun/ and it will work perfectly. I am also using it on my sites.

    #272584

    In reply to: create a new user type

    Varun Dubey
    Participant

    @luke_devon You can check https://wordpress.org/plugins/bp-member-type-generator/, with their pro version you can also map them to user roles.

    phucitol
    Participant

    I should have mentioned

    wordpress 4.9.4
    buddypress 2.9.4

    phucitol
    Participant

    I’ve been using bp_notifications_add_notification to add a notification with “component_action”=”activity_liked” for component_name activity. I can see that it is being saved in the database, but when I try to display an entry for it in the notifications view it seems that my callback function never runs. Every example I’ve found online has mirrored my function but it never seems to be called. Do I need to register the component_action or something?

    I’ve looked in the buddypress core files and they all seem to pass 8 parameters instead of 5 during apply_filters_ref_array, which I also tried but still my callback wouldn’t run. I’ve tried it every way with no other plugins but buddypress activated and still it fails.

    I’m truly lost on how to get this working.

    function custom_format_buddypress_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
    	// New custom notifications
    	if ( $action == 'activity_liked') {
    
    		$custom_title = 'activity liked';
    		$custom_link  = '/activity/' . $item_id . '/';
    		$custom_text = bp_core_get_user_displayname( $secondary_item_id ) . ' liked your activity';
    
    		// WordPress Toolbar
    		if ( 'string' === $format ) {
    			$return = apply_filters( 'custom_filter', '<a href="' . esc_url( $custom_link ) . '" title="' . esc_attr( $custom_title ) . '">' . esc_html( $custom_text ) . '</a>', $custom_text, $custom_link );
    		// Deprecated BuddyBar
    		} else {
    			$return = apply_filters( 'custom_filter', array(
    				'text' => $custom_text,
    				'link' => $custom_link
    			), $custom_link, (int) $total_items, $custom_text, $custom_title );
    		}
    	} else {
    		$return = $action;
    	}
    
    	return $return;
    }
    add_filter( 'bp_notifications_get_notifications_for_user', 'custom_format_buddypress_notifications', 10, 5 );
    Norman Cates
    Participant

    When I go to my notifications in my profile, I click on a notification. But then it just takes me to the main support page with the list of topics.

    It doesn’t take me to the topic I received a notification about…

    Also, is it possible to get the same kind of dropdown I see in the bbPress and WordPress support forums, with links to:

    Topics Started
    Replied Created
    etc
    etc

    https://bbpress.org/forums/

    It would be really helpful to be able to link to those areas.

    Thanks

    #272564
    ChuxMark
    Participant

    Fresh install of WP at http://facets.expert. Tried to install BP plugin, then activate. Received message referred to in below thread, then site died. Just gone. There are a dozen similar reports on Google search, so I am surprised there is no mention on this forum. I am going to reinstall WP, but would appreciate any advice.

    Fix needed for invalid activation key

    Venutius
    Moderator

    Loop functions are a pretty basic feature of WordPress, in WP 101 terms it’s basically lesson 2 – how the posts page displays a list of all posts. It does this by having a loop – using a function to pull in all posts (or in bp members or groups) then using a while loop to iterate through all those posts, members groups etc, depending on the context.

    So a bp Loop looks something like this:

    If has_members:
    While has_members:
    print out the info you want
    End while
    Else
    // there were no members
    Venutius
    Moderator

    The buddyPress toolbar is also the WordPress Toolbar. There is no function in BuddyPress to hide the toolbar completely, however there are a number of general wordpress plugins that will completely hide the toolbar.

    I remember squirrelling around one site to find what had caused this and it turned out to be a front end publishing plugin that had a default setting to hide the toolbar.

    So my first question is this – are you sure it’s BuddyPress causing this? have you deactivated all other plugins and still get the problem with BP loaded?

    Norman Cates
    Participant

    I’ve been wandering around in BuddyPress and WordPress.

    I’ve been slowly working out how to get data out of WordPress.

    But I CANNOT figure out how to get data out of Buddypress.

    In this page:

    bp_profile_field_data()

    There is some code that indicates how to get data back.

    But no matter how I do it, I can’t get it to return any data.

    I’m running the code in the middle of a WordPress page using a PHP plugin, rather than trying to create a page from scratch.

    I’ve got it returning WordPress user data fine.

    But getting any actual xProfile field data out is proving…. impossible.

    I’m sure I’m ignorant of something really basic about how it all works…

    Thanks for any help and pointing at relevant webpages.

    Norman Cates
    Participant

    I’m trying to set some code that copies the data from a new user across to xProfile fields.

    But I’m wondering when that field creation triggers…

    SO that I can insert the function into the correct location using add_action

    I’m hoping that by the time WordPress gets to the ‘user_register’ function, and the actions being added, that the xProfile fields have been created…??

    Varun Dubey
    Participant

    @glenndavis007 use following plugin and you will be able to lock BP components and it will display login widgets when some logout member will try to access it.

    BuddyPress Lock

    #272544
    Venutius
    Moderator

    I think you should submit this as a feature request in BuddyPress Trac

    I would also like to see this as a feature. I think that it should integrate with messaging, you you can add a bunch of friends into a category and choose to message that category for example. I’d also like to see activity shares to these categories.

    Venutius
    Moderator

    What plugin did you use to add the option to only display a menu item to logged in users? Seems like that is what is not functioning. hiding the activity link by hiding the menu item does not hide the activity page from non logged in users, if they know the url they will still be able to view it, to prevent that you should explore the security options available to you. There a number of privacy plugins for bp with a range of features, is it only the Activity page you want to hide?

    BuddyPress uses the default WordPress login page, there’s a number of customisers for this, for example: https://wordpress.org/plugins/admin-custom-login/

    glenndavis007
    Participant

    1) I am setting up BP and for some reason, the Activity stream shows to logged out users. In the Appearance/Menu setting, I added the Activity page from the BP drop-down list to show to logged in users. What did I miss to make the activity stream accessible only to members?

    2) Is there a way to change the login page for members? I’d prefer the default WP login page not show. I’m using Divi by the way… can I use it instead?

    #272527
    Venutius
    Moderator

    Do you mean the action that triggers the email, they are in the WordPress Action reference I think:

    https://codex.wordpress.org/Plugin_API/Action_Reference

    #272521
    Varun Dubey
    Participant

    @galador WordPress login is same as BuddyPress login; you can create a themed login page as well.

    IF you are concern about WordPress.com login options, it might be possible you have enabled it inside Jetpack plugin setting, you can disable from Jetpack option https://jetpack.com/support/sso/

    #272520
    Varun Dubey
    Participant

    @yusterlan
    https://myweb.com/members/username/settings/notifications should point you to the login page ( wp-login.php) and redirect to https://myweb.com/members/username/settings/notifications/ after login, the link is correct and seems working fine.

    You can check following threads as well
    https://buddypress.trac.wordpress.org/ticket/7349

    Error 404 for non logged in users

    Norman Cates
    Participant

    So I’m having a really frustrating time getting BuddyPress to show all groups and fields, even if they have no data in them.

    I found this page:

    Profile Fields Loop

    It talks about the bp_group_has_profile() function. And parameters that can be applied. BUT that function is NOT in the example code on that page.

    I tried applying some of that information to

    public_html/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/profile-loop.php

    But bp_group_has_profile does not exist in the above file.

    How does this information apply to showing all the fields and Profile Groups?

    When I search for the individual functions (like bp_profile_group_has_fields) in the BuddyPress site, they don’t seem to exist…

    Are these standard functions?

    I’m very confused about how to make this work.

    I also found this page:

    https://wordpress.stackexchange.com/questions/243884/how-to-display-profile-fields-with-no-data-in-buddypress-profile-view

    But that involves removing bits, rather than using function calls… Is this the way to do it?

    Thanks for any insight

    worksofweb
    Participant

    Hello Everyone,

    What I am looking to do seems so simple. If there is no solution, I will accept that but I wanted to make one final attempt to seek help on this forum.

    Goal #1 – I want the buddypress “favorite” button in the activity stream to create an update in the “buddypressmain activity stream” when clicked.

    Example: User Just Favorited A Photo (This shows in the member stream but I want it displayed in the main activity)

    Goal #2 – I want the favorite button in wordpress post, which when clicked creates the following activity –
    http:/testsite.com/post-123/#activity-1955
    I would like to create an activity in the main buddypress stream to display favorited post.

    I would like to accomplish this without a plugin. If anyone has info or can direct me to info I am thankful!

    Thanks!

    panosa1973
    Participant

    WordPress 4.9.5 -> BuddyPress 2.9.4 -> Agama Blue Child Theme

    I ended up with the below code from posts in these forums but it doesn’t do quite what I need it to do.
    Users should not be able to see other users’ friends so the Friends tab when viewing another user’s profile page must be removed along with the functionality. Here’s my code:

    function bpfr_hide_tabs() {
    	if ( !is_super_admin() && !bp_is_my_profile() ) {
    		bp_core_remove_subnav_item( 'profile', 'friends' );  // This does nothing
    		//bp_core_remove_nav_item( 'friends' );  //Or this but this also hides the Friends main menu item, not just the Friends tab in the user's profile page 
    	}
    }
    add_action( 'bp_setup_nav', 'bpfr_hide_tabs', 15 );

    I’ve switched between both options in the code. bp_core_remove_subnav_item( 'profile', 'friends' ); doesn’t really do anything and bp_core_remove_nav_item( 'friends' ); does remove the Friends tab from another user’s profile but it also removes it from the main menu which is a different thing. The main menu Friends link points to my own Friends whereas the Friends tab in another user’s profile points to their friends. Any help would be appreciated.

Viewing 25 results - 3,776 through 3,800 (of 32,690 total)
Skip to toolbar