Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 3,975 total)

  • danbp
    Moderator

    @danbp

    Enter what you search for into the searchbox, and read the result !
    http://hookr.io/plugins/buddypress/#index=a


    danbp
    Moderator

    @danbp

    Please don’t double post. Closing this one as duplicate.


    danbp
    Moderator

    @danbp

    Have you found this plugin ?

    Membership 2


    danbp
    Moderator

    @danbp


    danbp
    Moderator

    @danbp

    Sorry for you, but you have to debug.

    Also, activate a default Twenty theme and deactivate all plugins exxcept BP.
    WP+BP should work correctly with a Twenty theme before activating any other plugin or custom theme.

    If you use some custom code in your theme (or child theme), deactivate it provisory. Same thing if you use bp-custom.php

    https://codex.wordpress.org/Debugging_in_WordPress

    Search also the forum as they are many related topics for debuging BP.


    danbp
    Moderator

    @danbp

    Hi,

    WP’s toolbar is not part of BP, and not part of your theme. This bar belongs to WP.

    I suggest that you don’t remove(or deactivate) the whole bar, but only remove any menu item belonging to WP, except the “howdy” menu where BP install his sub-menu items.

    To do this, you have to use some custom functions related to wp_admin_bar class.

    Use $wp_admin_bar->add_node or $wp_admin_bar->remove_node

    Codex reference:
    https://codex.wordpress.org/Function_Reference/remove_node

    …and a little tutorial, in case of!

    How to Customize the WordPress ToolBar


    danbp
    Moderator

    @danbp

    Hi,

    please provide more details about your install. For now it is just impossible to help.

    Used theme ?
    Php version ?
    Install type ? (single, network)
    List of plugins ?
    Hoster and plan, server type ?

    You can also read here before posting.

    Thank you for comprehension.


    danbp
    Moderator

    @danbp

    Hi,

    if you already have an SSL certificate, you need to add a line of code to wp-config:
    define ( 'FORCE_SSL_ADMIN' , true);
    and to change the site permalinks: Dashboard > General and to add some redirection rules to your htaccess file.
    More details here.


    danbp
    Moderator

    @danbp

    There is a function for that.

    if ( is_user_logged_in() ) {
    
    // do something
    
    } else {
    
    // do something other
    }

    Aside this, you need also to use bp_loggedin_user_id() to get the ID, as explained on the documentation.

    Here a raw example how to implement an online/offline check, at least for inspiration. Be aware that there is probably a better solution! 😉

    /* is user online ? - add to child theme's template entry.php */
    if ( bp_is_active( 'activity' ) ):
    
    $user_id = bp_loggedin_user_id();
    $last_activity = '';
    
    	if( $user_id == bp_get_activity_user_id() ) {
    		$last_activity = bp_get_user_last_activity( $user_id );
    	}
    
    	$curr_time = time(); 
    
    	$diff = $curr_time - strtotime( $last_activity );
    
    	$time = 5 * 60;  // 5mn. Must be in seconds
    
    	if( $diff < $time )
    		echo '<br/><span class="on-line">Online</span>';
    	else 
    		echo '<br/><span class="off-line">Offline</span>'; 
    
    endif;

    danbp
    Moderator

    @danbp

    Hi,

    you need to install BuddyPress where your WordPress is installed.
    Note that BuddyPress does not work on installations where you give WordPress its own directory.

    If WP is at the site (europsms.com, you install BP there.
    If WP is in the sub directory (sms-landing), you install it there.

    You could also read the complete install guide if this is unclear.

    Getting Started


    danbp
    Moderator

    @danbp

    Hi,

    as site admin, you can easily add new members to a BuddyPress group.

    • Go to dashboard > Groups
    • Choose the group where you want to add a member and click on Edit button underneath the group name.
    • On the group admin page, you’ll see a textarea marked as Add New Members
    • Enter the username and save!

    And voila. 😉


    danbp
    Moderator

    @danbp

    Did you activate the xprofile component in BP settings ?


    danbp
    Moderator

    @danbp

    Please read here for more details:

    Playing with the user’s ID in different contexts


    danbp
    Moderator

    @danbp

    Hi,

    “member” is a core component of BuddyPress and can’t be disabled. You need the “member” slug (or what ever you may use as custom slug) in the wp environment, for example to fire profiles, messages and so on.

    You want to obfuscate or forbid the member directory. That’s ok. Let’s make it simple and stupid! One possibility would be to add a restriction on the directory template. For example, you could allow only the site admin to access that part. Other roles will get a message instead (or nothing at all, or a redirection…).

    If i’m right, the directory template is in bp-legacy/buddypress/members/index.php
    Condition you could use:

     if ( !is_super_admin() ) {
     echo 'This page is not public';
    } else {
    // here the template content
    }

    To use this solution you need to use a child theme.
    There are many other ways to accomplish what you want. Here the most simple(imo), but you can go to overcomplicated and very sophisticated too.


    danbp
    Moderator

    @danbp

    Interesting! Thank you for your effort and sharing.


    danbp
    Moderator

    @danbp

    There is nothing like that, and to be honest, it wouldn’t be a great idea to send an email to each profile visitor. How could you be sure that the visitor is a site member and not a robot ? And what will happen if a profile is visited 500 times by a same visitor ? Do you send 500 mails to the profile owner ? In brief, it is not simple to handle. And imho, it is not here that you will get the best answer for such a complicated tool…

    That said you have a few plugins who make similar things:

    Buddypress Who clicked at my Profile?


    https://buddydev.com/plugins/recent-visitors-for-buddypress-profile/ (premium)


    danbp
    Moderator

    @danbp

    Hi,

    My Buddy Groups is not a string used in BuddyPress, and explain why you don’t find it (at least in BuddyPress).

    could it be that you use some group plugin ? Or a BP specific theme ?
    Search there, plugin or theme have usually their own language file.


    danbp
    Moderator

    @danbp

    Please, avoid double posting, thank you.


    danbp
    Moderator

    @danbp

    Hi,

    BuddyPress pages are not ordinary WordPress pages. These pages should be blank, without any template assigned. BP pages exist only for internal purpose and to have their own slug (and the benefit of permalinks). The content is always dynamic and change depending the context.

    That is also the reason why you shouldn’t use a “page builder” for them untill you’re very comfortable with code and design.

    If you need a full width output or a sidebar, you adjust that in your theme settings or preferences. You can easely do that with WP’s Customizer. Or course reading your theme documentation can also help.

    If it is not possible that way, i recommand you use a child-theme, and add him any necessary part you’re actually missing. But ensure first that these parts are really missing !

    BuddyPress comes with a few CSS rules who normally fit with any correctly coded theme. This means that it actually can be used with almost any existing theme.
    BuddyPress has no sidebar
    BuddyPress can be viewed on any existing device
    BuddyPress fit to any screen size
    This means that you have to adjust your theme first, and not BP.

    For more details, read from Codex

    BuddyPress Theme Development


    danbp
    Moderator

    @danbp

    Hi,

    open your buddypress-nk_NO.po file with a text editor (notepad++ or so) and check you have a plural form for the untranslated string.

    The’re several strings containing “members” with a count, but it will be easy to find if you search for “msgid_plural”.
    At least, you should find something constructed like this:

    #: bp-templates/bp-legacy/buddypress/members/single/groups/invites.php:34
    msgctxt "Group member count"
    msgid "%d member"
    msgid_plural "%d members"
    msgstr[0] "%d medlem"
    msgstr[1] "%d medlemmer"

    Again, note that it is only an example, you may find other strings containing “medlem” that you have eventually to adjust.

    The important thing to control is the existence of “%d” and naturally, the presence of the plural form string in the translation.

    If you still have trouble after controling/repairing/modifying, it could be possible that it is your theme. To ensure, do the same check in your theme translation.

    Other thing to take in account

    I’m not 100% sure, but so far i remember, the norvegian buddypress version is not completely translated.
    Unfortunately, translate.wordpress.org is actually down and it is impossible to access the plugins translations at this time…

    What i expect is that you have an old po file, fully translated, but perhaps not with the most recent changes and updates, which could explain that even if you have plural forms in your translation, they won’t show up in some places.
    For ex. because the plural code changed from %s (in your version) to %d or something like that.
    To avoid this, you can download the most recent pot file and rename it to buddypress-nk_NO.po.
    Then you rename YOUR current version to .pot(with a T), import it to the new file, and adjust or complete the missing strings.


    danbp
    Moderator

    @danbp

    Threre is no spcial setting.

    If you want to start a custom mo, you have to compare the content of the pot (with a t) file coming with each major version and the curent .po file – this is the only way to ensure alt strings are identic.

    Great that you’re willing to translate. If so, i suggest that you ask to became the SK editor, so you could manage your work but also other, and specially you can approve or reject strings translated by other slovakian people.

    SK has no editor at the moment and a lot of strings are currently waiting for approval. Don’t be shy ! Post a request here.


    danbp
    Moderator

    @danbp

    Hi,

    the correct language path is /web/wp-content/languages/plugins/buddypress-sk_SK.mo

    This path is used by any new translation which is completed if you haven’t disabled automatic updates.

    Actually, the slovakian BP file is uncomplete. Question is: is it BuddyPress who isn’t translated (partially or completely) or also your theme ?

    Avaible SK language files can be downloaded here:
    https://translate.wordpress.org/locale/sk/default/wp-plugins/buddypress

    In any case, for SK, you need to complete the work. Best way is to use poEdit and to ensure that the po file has a correct header. Once complete, you can convert it to mo format.

    You need also to remove any po/mo files related to BP who aren’t in the folder i indicated.

    You can find a lot of similar topics to yours (except language itself) on this forum with more details. I don’t want to repeat myself for the xxxth time. 😉


    danbp
    Moderator

    @danbp

    Have you tried with another theme, like Twenty Fifteen ?
    You wwill have more chance if you ask on the mediapress support.


    danbp
    Moderator

    @danbp

    Do you have error message when wp-debug is activated ?

    Generally a 403 error is related to a lack of ressource on server side. Ask your host if you find nothing.


    danbp
    Moderator

    @danbp

    Have you tried to make your change in cover-header-image.php instead of members-header.php, as explained ?

Viewing 25 replies - 1 through 25 (of 3,975 total)
Skip to toolbar