Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 23,226 through 23,250 (of 94,544 total)
  • Author
    Search Results
  • #203655
    webberater
    Participant

    hello,

    I used the latest version of WordPress and BuddyPress.

    when a user wants to upload a photo comes following message:

    “Oops! You do not have Sufficient permissions to access this page.”

    What should I do so this does not appear.

    Greetings from Vienna.

    Thomas

    #203651
    Paul Wong-Gibbs
    Keymaster

    Short of giving your users extra hugs and re-assuring them that their WordPress usernames aren’t particularly private bits of data, you’re going to have to get your hands dirty. 🙂

    It might be down to how the other plugin creates user accounts. Most plugins that allow sign-in using other services’ authentication systems (such as Facebook) don’t “properly” create WordPress user accounts; they use MySQL statements directly instead of using WordPress’ APIs.

    This can cause problems with plugins that expect certain user record fields to be in a particular format (if some other plugin came along and just inserted something in a custom format in place). I am not saying that this is the case with this plugin, as I haven’t looked at its code, but I’ve seen this sort of thing before.

    If you can create a test account and then go into your DB’s wp_users table and find your test user, and let us know what the values of the user_login, user_nicename, display_name fields are — and which one of these @mentions is using, and which one you would like it to use.

    I built @mentions in the last BuddyPress release and while I’m not sure if it’s possible to get it to change how it behaves like this, understanding what you’d want different with real data from a test account will help us help you, and at worse, give a suggestion for ways we could make advanced customisations possible for this in future BuddyPress releases.

    #203650
    Paul Wong-Gibbs
    Keymaster

    Hmm. Using get_avatar to change the class for blog comments is an interesting approach, though I guess it has pitfalls like this. BuddyPress customises the entire string, so your str_replace is probably not matching.

    How about hooking at priority 12 instead of 10, and doing some debugging so you can fix up your str_replace for when BuddyPress is active? You might need two str_replace statements to handle BP and no BP, or you might want to switch to a preg_replace or something like that.

    #203649
    1a-spielwiese
    Participant

    Let’s come back to the beginning:

    1st: Revolved.

    2nd: Resolved.

    a) I decided finally for having only one border color. If you want to have different border colors, you have to make different definitions for #buddypress .standard-form #basic-details-section and #buddypress .standard-form #profile-details-section

    and, if you use them, for: #user-role-section and #buddypress .standard-form #blog-details-section.

    b) I have abstained from having the text lines ‘WordPress’ respec. ‘BuddyPress’ at the borders and from making the bottom-borders more strong.

    3rd: Revoled.

    4th: Revolved.

    5th:

    I guess, it would be most comfortable, to have within the Dashboard check boxes for deciding, whether a certain field group or field should be displayed on registration page or not.

    Not revolved.

    6th to 8th:

    a) Finally I have abstained from having the blog-details-section on the registration page.

    b) I didn’t collect information about changing this section.

    —-

    So, the main issues are revolved. I would have no objections against marking the entire thread as ‘[Resolved’].

    #203644
    danbp
    Participant

    @oshimamasara7,

    I translated buddypress.pot from English to Japanese.(about 80%)

    Guess you translated the wrong file.
    Must be buddypress.po, not buddypress.pot. And you have to compile the po file into mo.

    In the header information, they’re missing keywords. You have only
    “X-Poedit-KeywordsList: _;_;_e\n”

    Should be
    “X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;”
    “_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;”
    “esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n”

    1. Rename the file to buddypress-ja.po
    2. Add the above keywordlist manually, with a text editor.
    3. Open the file with poEdit and run “update” from source or from a blank pot file (yours contain a translation, you’ll have to get a new virgin copy)
    4. Translate !
    #203643
    danbp
    Participant

    @walshfilho,

    to get buddypress menus, go to dashboard > apparence > menus and open screen options (top right corner) and check buddypress.

    If you can’t edit the theme, try to deactivate BR language in wp settings for english and see if it helps.

    #203641
    ewafford
    Participant

    I have some code for my theme that adds some extra classes to avatars on blog post comments.

    function bt_get_avatar($avatar, $type) {
      if (!is_object($type)) { return $avatar; }
    
      $avatar = str_replace("class='avatar", "class='avatar pull-left media-object", $avatar);
      return $avatar;
    }
    add_filter('get_avatar', 'bt_get_avatar', 10, 2);

    But for some reason anyone that is a “member” of the buddypress plugin doesn’t get these applied to their comments. Ive had some success with hooking bp_core_avatar_class but it seems to now add those classes to all instances of the get_avatar everywhere, and thats not what I want exactly. For example, it adds these to the toolbar/admin bar avatar also. Disabling BP restores the classes back to all comments on the blog. Using the comment form while not logged in posts a comment with the classes added. The result is a mixture of comments, some with the avatar classes, some without.

    Is there a way to make the above code function as expected with BP enable?

    QuenchStudio
    Participant

    Buddypress v2.1
    Gravity Forms v1.8.17
    User Registration v1.9.1
    Wordpress v4.0

    I was wondering is anyone else is having a problem with the default visibility set in Profile Settings not being recognized when using user registration/gravity forms to populate the information.

    When a new user fills out the user registration form, it populates a number of profile fields. Varying degrees of visibility have been set – using all of them “only me, all members and everyone”. The issue is that once they fill it out ALL of their information is visible to anyone logged in or not. It is not adhering to the default visibility “rules”.

    The weird part comes when a user goes into their profile to edit something or even if they only hit the “save changes” button – only then will the visibility settings be recognized. But there are 5 groups of information: Contact, Education & Word, Social sharing, etc. A user needs to go “save changes” in each group for that particular section to then recognize the visibility settings.

    The issue has happened across three different browsers as well as a local server. This is baffling and really above my head. I’ve searched and can’t seem to find an answer. Any help is appreciated.

    Thanks,
    Kendall

    #203639
    oshimamasara7
    Participant

    I translated buddypress.pot from English to Japanese.(about 80%)
    I updated “buddypress-ja.mo” file on my server.
    I can watch Japanese site,but there are some English key words and sentences.
    img**
    buddypress-ja.mo**
    Does any of you have the solution?
    Please teach me.
    Thank you.

    #203638
    bp-help
    Participant
    #203636
    walshfilho
    Participant

    Hi @bphelp

    The theme is Buddy for Buddypress. I have tried with twenty thirteen and 4 other themes, also no luck with the buddypress plugin enabled. When the plugin is disabled all works fine.

    Regards,

    Walsh

    shanebp
    Moderator

    Try this in bp-custom.php

    remove_action( 'messages_message_sent', 'bp_messages_message_sent_add_notification', 10 );

    add_action is ~L. 191 in buddypress\bp-messages\bp-messages-notifications.php

    mcpeanut
    Participant

    @r-a-y Yes mate, you have summarized it correctly.

    May i add one other important note though, this has NOT just started happening, this has been happening in buddypress since i started using it in 1.9!

    I have been mentioning this issue for a while , i have tested this on 3 different live servers and a home setup using desktopserver, all with fresh installs of wordpress and buddypress alone (NO OTHER PLUGINS EVERYTIME), How many times have i tested since 1.9? well lets say its gotta be at least 100 fresh installs of wordpress all with default themes since wordpress 3.7 ish.

    if you want to go look for yourself there is a perfect example of this happening at buddyboss demo theme if you log in and hit the load more button then add over 5 comments to a test status then refresh it and scroll down and hit load more again, you can do this here where you will then notice they are not collapsed .

    http://www.buddyboss.com/demo/buddyboss/

    #203631
    bp-help
    Participant

    @walshfilho
    Whats the theme? Sounds more like the theme is the issue rather than buddypress. Have you tried activating a known theme that works with buddypress like twenty thirteen or twenty fourteen to see if the issue persists? If you can edit the theme and menus with those themes then that should tell you that your theme is at fault and you should contact that themes author for support.

    #203630
    lukputyra
    Participant

    Hello! I’m new here and also quite fresh in WordPress. On by web http://artescommunity.eu I’m using BuddyPress 2.0.3. (2.1. causes troubles with our theme).

    I guess after last update (to 2.0.3) some graphic things have chaged. The most problematic for us is Groups widget (newest, most active, popular), as colours are different now than before. We use this wigdet in the footer at the left side.

    Where can I chage the colours of this widget or how can I replace it with the previous one?

    Looking forward to your answer
    Lukasz

    #203629
    Halo Diehard
    Participant

    I don’t know, but it sure would be cool if someone who has done it could verify. I’ve not done a lot of playing around with filters, either in WP or BuddyPress, and it’s overwhelming and makes me nervous.

    I’ll contact the plugin creator on the issue of the automatic user_login name, but there are a lot of posts dating back quite a few years with forum owners crying out how confusing it is for their members when their members can change their nicename but the @mention is something else; sure would be nice if the option to synchronize them were part of the core BuddyPress functionality.

    #203628
    shanebp
    Moderator

    @r-a-y

    [off topic – If you’ve a spare moment, lol…]
    re: the use of count_total

    It might be a factor in this bbpress ticket re Activity entries:
    https://bbpress.trac.wordpress.org/ticket/2690

    https://buddypress.org/support/topic/bbpress-post-edit-causes-multiple-activity-entries/

    #203626
    walshfilho
    Participant

    Hi,

    I am having problems with the buddypress plugin. When it is activated I am not able to edit the theme. I am not able to edit the theme buddypress menus. When I deactivate it, all is back to normal, but then I cannot access the budypress theme menus to edit them.

    URL: comunidade.beautypro.com.br
    WordPress version: 4.0
    Budypress version: 2.1

    Regards,

    Walsh

    r-a-y
    Keymaster

    So to summarize, the activity comments are not being collapsed when you hit the “Load More” button, correct?

    If so, this sounds like a javascript event delegation bug. Once someone else has duplicated this issue, can someone please post this on our ticketing system?
    https://trac.buddypress.org/newticket

    Use the same credentials as you use here on bp.org.

    #203623
    1a-spielwiese
    Participant

    @danbp:

    I found the solution:

    1st:

    The new code within my reddle-child/functions.php is now:

    /* Vorspann-Text für Neuigkeiten-Seite */
    
    function spielwiese() {
    echo '<p><small>Auf dieser Seite werden Dir alle Online-Aktivit&auml;ten bei 1a-Spielwiese angezeigt. Mit dem "Zeige"-DropDown-Men&uuml; auf der rechten Seite kannst Du die Liste auf jeweils eine bestimmte Art von Ereignissen (z.B. Profil-Aktualisierungen) einschr&auml;nken.
    <br>
    Wenn Du eingeloggt bist, siehst Du neben dem Tab "Alle Mitglieder" auch noch Tabs "Meine Gruppen" und "Erw&auml;hnungen". Mit diesen Tabs kannst Du Dir die Aktivit&auml;ten in den Gruppen, denen Du angeh&ouml;rst, bzw. die Neuigkeiten, in denen Du selbst erw&auml;hnt bist, anzeigen lassen.</
    <br>
    Au&szlig;erdem kannst Du die Neuigkeiten auch als <a href="https://de.wikipedia.org/wiki/RSS" target="_blank">RSS-Feed</a> abonnieren.
    <br>
    In den Neuigkeiten selbst werden Dir die 1a-Spielwiese-Mitglieder, die an den fraglichen Aktivit&auml;ten beteiligt waren, und ggf. die Gruppen, in denen bzw. in Bezug auf die die sie stattfanden, angezeigt. Wenn Du eingeloggt bist, kannst Du die einzelnen Neuigkeiten sowohl kommentieren als auch favorisieren. Nachdem Du die erste Neuigkeit favorisiert hast, erscheint ein neuer Tab zwischen "Meine Gruppen" und "Erw&auml;hnungen", der alle Deine "Favoriten" auflistet.</small></p>
    <br>';
    }
    add_action ( 'vorspann_activity-seite', 'spielwiese' );

    2nd:

    Within my reddle-child/buddypress/activity-folder is now a modified version of the index.php from the original buddypress/bp-templates/bp-legacy/buddypress/activity-folder.

    The modification is, that I inserted there between the lines

    <div id="buddypress">

    and

    <?php do_action( 'bp_before_directory_activity_content' ); ?>

    simple the line:

    <?php do_action( 'vorspann_activity-seite' ); ?>

    I guess: This thread can be marked as ‘[Revolved]’.

    #203622
    r-a-y
    Keymaster

    This might not answer your question, but try BP’s built-in activity comment / blog comment synchronization feature.

    To try this, login to your WP admin dashboard. Navigate to “Settings > BuddyPress”.

    Click on the “Settings” tab. Check “Allow activity stream commenting on blog and forum posts” and save.

    Now make a blog post and comment from the activity stream or from the blog post. Activity comments and blog comments should now be synched.

    —

    The alternative is this older plugin:
    https://wordpress.org/plugins/buddypress-activity-as-blog-comments/

    It used to replace the WP comments section with the BP activity reply system, but it’s been awhile since I’ve tested this one so it might not work any more.

    #203620
    r-a-y
    Keymaster

    As hnla mentioned, if you’re using theme compatibiliy, /wp-content/themes/our-theme/registration/register.php is the wrong file to use for your overrides. This file is for older bp-default themes. BP 2.1 made the change so only bp-default themes can use this older template naming convention.

    If you only want to modify the contents of the registration template part and not the entire page template, you should copy:
    /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/register.php

    to:
    /wp-content/themes/our-theme/buddypress/members/single/register.php.

    Then, you should compare your older registration mods and copy them to this file.

    If you want to change the entire registration page layout (header, footer, etc), check out the Template Hierarchy codex article for more info:

    Template Hierarchy

    #203619
    shanebp
    Moderator

    I’ve never done this, but…

    I believe @mention uses a member’s login name – so it is unique.

    I also believe you can change that so their user_nicename is used by putting:
    ( 'BP_ENABLE_USERNAME_COMPATIBILITY_MODE', false );
    in bp-custom.php

    Note: user_login, user_nicename and display_name are all the same unless changed in wp-admin or a user’s profile. But that change only applies to display_name afaik.

    So if you want the functionality of @mentions, I believe you need to expose user_login.

    @[name] is set via \buddypress\bp-members\bp-members-functions.php -> bp_core_get_username() which has a filter
    apply_filters( 'bp_core_get_username', $username );
    You could experiment with that filter and see what breaks :}

    #203615
    1a-spielwiese
    Participant

    I found two more solutions:

    1st:

    a) The place of the field for determining the user role is depending on the plugins/wp-roles-at-registration/wp-roles-at-registration.php

    The relevant line of the original version of that file is:

    add_action('bp_after_signup_profile_fields', array($wp_rar_plugin, 'bp_choose_roles_registration_form'));

    I substituted there bp_after_signup_profile_fields by template_notices and now the field at issue is displayed not the end, rather at the beginning of my registration page:

    http://1a-spielwiese.de/registrieren/

    b)

    For creating the headline and the introductory text I made a second change within the same file. I changed the following section. The first and the last line of the quote is the original code, and the lines inbetween I inserted:

        <div class="register-section" id="user-role-section">
        
        <h4-a><?php _e( 'Benutzer/in/rolle', 'buddypress' ); ?></h4-a>
    
        <p><small><em>Entscheide Dich bitte als allererstes f&uuml;r eine der Benutzer/in/rollen "Team" oder "Fan" (bitte w&auml;hle nicht die Rolle "Subscriber"; diese Angabe soll noch gel&ouml;scht werden). In Abh&auml;ngigkeit von Deiner Antwort wirst Du nach Abschluss der Registrierung und wenn Du Dich das erste Mal bei 1a-Spielwiese einloggst und Dir Dein Profil ansiehst, die M&ouml;glichkeit haben, einige erg&auml;nzende rollenspezifische Profilangaben zu machen.</em></small></p>
    
        <label for="wp_rar_user_role"><?php echo $this->wp_rar_role_label; ?></label>

    2nd:

    As well I was able to integrate now not only the ‘base’-profile field group. For that it is neccessary to copy a long section of the buddypress register.php. This sections begins with:

    			<?php /***** Extra Profile Details ******/ ?>
    
    			<?php if ( bp_is_active( 'xprofile' ) ) : ?>
    
    				<?php do_action( 'bp_before_signup_profile_fields' ); ?>
    
    				<div class="register-section" id="profile-details-section">
    
    					<h4><?php _e( 'Profile Details', 'buddypress' ); ?></h4>
    
    					<?php /* Use the profile field loop to render input fields for the 'base' profile field group */ ?>
    
    					<?php if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( array( 'profile_group_id' => 1, 'fetch_field_data' => false ) ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>

    And it ends with:

    					<input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php bp_the_profile_field_ids(); ?>" />
    
    					<?php endwhile; endif; endif; ?>
    
    					<?php do_action( 'bp_signup_profile_fields' ); ?>
    
    				</div><!-- #profile-details-section -->
    
    			<?php endif; ?>

    The only two things, which are obligatory then:

    • You have to insert the entire copied section behind the last line of the original section.
    • And you have to change 'profile_group_id' => 1, into 'profile_group_id' => 2, (for adressing your second profile field group – and so on regarding the further profile field groups).

    Besides I changed the <h4>-headline and inserted introductory text behind that headline. Therefore my code there is:

    					<h4-a><?php _e( 'Profile Details - Teil II: Kontaktendaten', 'buddypress' ); ?></h4-a>
    
    				<p><small><em>Beachte bitte, dass Du in zu den Profilfeldern in diesem Abschnitt selbst entscheiden kannst, wem Deine Angaben, die machst, angezeigt werden sollen.</small></em></p>
Viewing 25 results - 23,226 through 23,250 (of 94,544 total)
Skip to toolbar