Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 8,551 through 8,575 (of 32,688 total)
  • Author
    Search Results
  • tiquality
    Participant

    Thanks Brajesh, but I didnt find this files, bp-custom.php and member-header.php 🙁

    This is my link profile project: http://tiquality.com.br/intranet/members/admin/profile/

    On the extend profile fields, it should show the mail of wordpress user.

    tks!

    feyrisa
    Participant

    Hi !

    I’m using a wp template based on twig file and I want to add a Private message button on post which are create by Buddypress user.

    I found this code “bp_core_get_userlink() ” but I don’t know how to write it in my twig file…

    I try that but it doesn’t work, someone can help me ?

    {% set url = bp_core_get_userlink()  %}
    <FORM ACTION="{{url}}">
    <INPUT TYPE="SUBMIT" VALUE="Envoyer un message au propriétaire"></FORM> 
    danbp
    Participant

    This works only in the member loop.
    Not sure what you mean by a user standard page, but if you mean a normal WP page, see here first:

    Template Hierarchy

    or more simplier, see
    https://wordpress.org/plugins/bp-profile-search/

    #238682
    danbp
    Participant

    I can’t explain better as the Codex. You simply have to follow what’s explained here:

    Twenty Eleven Theme

    #238679
    Marcella
    Participant

    I’m wondering what the current status of BBPress forums are.

    I have latest BuddyPress, BBPress and WordPress setup here.

    BBPress main forums accessible via site.com/forums
    Group forums accessible via both group pages and BBPress main forums as I have this setting on.

    However on member profiles using bp_get_displayed_user_nav() to display the profile menu will present a link to the site.com/members/membername/forums.

    On this page it seems redundant as it doesn’t reflect the topics this account has created.

    So yeah, I’m wondering what the status is with this?

    Thanks

    #238658
    Henry Wright
    Moderator

    Try looking at BuddyPress Docs

    danbp
    Participant

    Two snippets to do this (hopefully). The first has a fixed position (latest by default), the second let’s you choose the position.

    function my_nav_menu_notif_counter($menu) {      
            if (!is_user_logged_in())
                    return $menu;
            else
                    $notif = '<li>Notif '. bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) .'</li>';
                    $menu = $menu . $notif;
                    return $menu;
    }
    add_filter( 'wp_nav_menu_items', 'my_nav_menu_notif_counter' );
    
    See comment how to apply a position
    function my_nav_menu_positioned_notif_counter( $items, $args ) 
    {
        if( $args->theme_location == 'primary' ) // only for primary menu
        {
            $items_array = array();
            while ( false !== ( $item_pos = strpos ( $items, '<li', 3) ) )
            {
                $items_array[] = substr($items, 0, $item_pos);
                $items = substr($items, $item_pos);
            }
            $items_array[] = $items;
            array_splice($items_array, 0, 0, '<li>Notif '. bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) .'</li>'); // 0,0 is first position, 1,0 is second, etc
    
            $items = implode('', $items_array);
        }
        return $items;
    }
    add_filter('wp_nav_menu_items','my_nav_menu_positioned_notif_counter', 10, 2);

    Reference: https://developer.wordpress.org/reference/hooks/wp_nav_menu_items/

    #238636

    In reply to: Bookbag/Cart Function

    danbp
    Participant

    Never heard about individual WP media library, specific to my buddypress account. By default, all authors can see others pictures when stored in the media library.

    BuddyForms is a premium plugin, you probably will have more chance for answers by asking on ThemeKraft support.

    danbp
    Participant

    Any other idea? Yes !
    Use bbP Signature instead. This plugin has a filtrable function where you can easely add custom fields near signature.

    Activate the plugin. Create a field called signature and add this snippet to bp-custom.php

    function my_bbp_reply_content_append_user_signature( $content = '', $reply_id = 0, $args = array() ) {
    	// Default arguments
    	$defaults = array(
    		'separator' => '<hr />',
    		'before'    => '<div class="bbp-reply-signature">',
    		'after'     => '</div>'
    	);
    	$r = wp_parse_args( $args, $defaults );
    	extract( $r );
    
    	// Verify topic id, get author id, and potential signature
    	$reply_id  = bbp_get_reply_id       ( $reply_id );
    	$user_id   = bbp_get_reply_author_id( $reply_id );
    	if(function_exists('bp_has_groups')) {
    		$signature = xprofile_get_field_data( 'Signature', $user_id );
    	// here we add our custom fields
    		$wowi = '<br>'. xprofile_get_field_data( 'Industry', $user_id );
    		$wowt = '<br>'. xprofile_get_field_data( 'Type', $user_id );
    	}
    	else {
    		$signature = bbp_get_user_signature ( $user_id  );
    	}
    
    	// If signature exists, adjust the content accordingly
    	if ( !empty( $signature ) )
    		$content = $content . $separator . $before . $signature . $wowi . $wowt . $after;
    
    	return apply_filters( 'my_bbp_reply_content_append_signature', $content, $reply_id, $separator );
    }
    
    if ( !is_admin() ) {
    	remove_filter( 'bbp_get_reply_content', 'bbp_reply_content_append_user_signature', 1, 2 );
    	add_filter( 'bbp_get_reply_content', 'my_bbp_reply_content_append_user_signature', 1, 2 );	
    }
    #238631

    In reply to: Bookbag/Cart Function

    danbp
    Participant

    They are plugins who can do this, without having to use a cart system or e-commerce plugin.

    Both are useable on BP profiles and have several settigns to allow different file format.
    See BuddyDrive or MediaPress.

    danbp
    Participant

    Hi @fabwintle,

    have you tried this plugin ?
    https://wordpress.org/plugins/gd-bbpress-tools/

    there was also an older topic on bbpress forum with a solution

    [resolved] [Resolved] BBPress signatures with Buddypress

    #238610

    In reply to: Different questions

    nomiki
    Participant

    Thanks for the reply!

    If I go to wp-content/languages/plugins/ I can only find Akismet and not BuddyPress. All other folders mentioning BuddyPress do not include a language folder, so I’m confused?

    I have bought a WordPress theme called Implicit by IndustrialThemes, and making a product review is a part of the theme that’s linked up to posts. So if you make a new post you can make it a review filling out different fields such as ratings and criteria. So if a member wants to make their own review they would have to gain access to the admin panel in order to write a post/review. But if I open up this feature then the members would be able to see other posts as well and they can edit etc. As I understand, the plugins you mention will not get the member inside the admin panel with limited access. Am I right?

    Which of the plugins can be used in order to block different blog posts from not-registered users?

    #238605
    saskopo
    Participant

    Hi,

    we are running an online store based on Magento 1.9.1 platform and would like to install Buddypress on it, but I am not sure if this would work?
    Is buddypress created only for WordPress or is compatibile with Magento as well?

    #238594
    Tom
    Participant

    Is there a way to create a BuddyPress user (with multiple profile fields) with a function like wp_create_user?

    I have an Excel/CSV with user data that I need to import into WordPress/BuddyPress. The users have a lot of extra info I need to map to profile fields. I have not found a plugin that can do this, so I’m looking into doing this manually.

    #238593
    nomiki
    Participant

    Hi,
    I am making a review site and I have BuddyPress and BBpress installed. I have a few questions about using BuddyPress for a review site:

    1) Is it possible to make a blog with different articles where some of the best articles, like “plus” or “gold” articles, only members of the site can read? (A way for me to give people something in return for registering as members)

    2) How can I make members make reviews without getting access to the admin panel of my WordPress site? It wouldn’t be much fun for me if members can edit or see others posts. I want members to get a very narrow access to only “make a new review” and then they can not edit the review afterwards, as the admin (me) has to approve.

    3) Where do I upload language files (I have Danish .mo and .po files)?

    4) How do I change the text in the automatic emails send to the members? (is it in the language files as well?)

    5) Is it possible to upgrade members, let’s say those who have been making the most reviews, so they achieve either points or a higher level?

    Thanks in advance!!

    #238592
    jesse09
    Participant

    Hello,

    How’s it going everyone

    First off, thank for helping!

    Now I’m currently working on a wordpress blog ( Fat Burner Depot ) It’s wordpress 4.2.1, if that helps.

    I’ve seen a site where BuddyPress loads into a standard static wordpress page. Wouldn’t I be able to copy and paste the index code into the body of the page text? Just as long as the paths to the rest of BuddyPress files are right? Is there a better way to go about this?

    Anyone can help me out?
    Thank you!!

    #238580
    danbp
    Participant

    You misunderstood me:
    […] if it uses the same template why would it work on the Members page but not the Profile.
    I said the same page, not the same template. Members directory has his own template and a profile has some other template. Directory and profiles are using the same page: members. And not at least, this is only a page name. Technicaly, BP use page.php

    See template hierarchy on Codex to understand how it works.

    Now, why is the sidebar not showing widgets despite the sidebar code is in the page source ? No idea… Seems to me you use a lot of parts which are not from WordPress and some unusual settings to show your site…

    If you use custom sidebars from your theme, you have to try those bars.
    Activate 2015 and see how to get widgets to appear on that theme first. Then reactivate Wellness and see what you get.
    Or ask your theme support.

    Sorry, but i can’t help you much more because you’re using a premium theme.
    And as you don’t give details about your install, you can’t expect more for now.

    #238574
    danbp
    Participant
    JoeyRattata
    Participant

    There are any problem to add some function to my theme function.php in a wordpress multisite ? The function i’m trying to add it works perfectly in the test wordpress but in the multisite wordpress it doesn’t work . So does anyone know what can i do ?.

    The function i’m trying to add is this one

    function email_test() {
            $site_url = "helloagain";
            $user_info = "admin";
            $to = "adminwordpressrattata@hotmail.com"; 
            $subject = "it'works: ";
            $message = "Hello";
            wp_mail( $to, $subject, $message);
    }
    add_action( 'profile_update', 'email_test', 10, 2);

    I’m using a 4.1.4 wordpress version and 2.2.2.1 buddypress version

    #238565
    Snoogasm
    Participant

    Hi, and thanks for the reply.

    That plugin appears to be untested for my version of WordPress (4.1.4) and BuddyPress (2.2.3). It also looks like many users are having issues with it. Is there any other method to accomplish what I’m looking for?

    #238559

    In reply to: Change subnav slug

    danbp
    Participant

    @mcuk,
    well done! Your request is under consideration.

    Wait and see… 😉

    #238558
    danbp
    Participant
    Snoogasm
    Participant

    Hello, I was wondering if there was a way to allow user roles other than admins to mark users as spammers. Actually, more generally I’d like them to be able to edit the extended user profiles granted by BuddyPress from both the front and backend. Now, this is possible by granting a user role the manage_options permission, but the problem is that they also have access to many other important options from WordPress and third party plugins. Even if I were to hide links in the navigation bar, a savvy user could still work his way into those options. I’d like to be able to manage ONLY the Buddypress options, including the ability to mark spammers.

    Any help would be much appreciated, thanks.

    #238550

    In reply to: Change subnav slug

    danbp
    Participant

    They are several places where change-avatar is used and i recommend you to not change this.

    Open eventually an enhancement ticket and see what the dev’s think about.

    Use same login credentials as for here.

    #238549
    danbp
    Participant

    Please use the codex first for basic questions around WordPress or BuddyPress.

    https://codex.wordpress.org/Toolbar
    BuddyPress comes with a login widget you can use on every existing theme who accept widgets.

    BuddyPress Widgets

    To style a button, you use CSS. This is common to any modern CMS software.

Viewing 25 results - 8,551 through 8,575 (of 32,688 total)
Skip to toolbar