Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 4,201 through 4,225 (of 22,693 total)
  • Author
    Search Results
  • danbp
    Participant

    Sorry but we can’t bring assistance for premium themes.
    that said it may be a JS conflict generated by BP in some exotic JS situation…
    Read here: https://buddypress.trac.wordpress.org/ticket/6574

    #258125
    danbp
    Participant

    The ultimate tutorial to add wp_editor to What’s New textarea (on Site, Members and Group Activities pages).

    Warning
    The What’s New feature was never intended to publish posts or formatted text. It was imagined for brief announcement or instant conversation. That’s why this textarea is texturized and doesn’t allow much HTML tags. It is also ajaxified and need the original BP ID to work.
    You will use it at your own risk.

    The following trick will let you remove the existing textarea from the template and replace it with a custom wp_editor. And it will be very customized ! For example, you will not have the visual tab, but only his HTML version, similar to the one you see on this forum for example.

    Required:
    BuddyPress activated
    a working child theme
    some understanding of HTML and php grammar

    This trick was succesfully tested on a single install with WP 4.6, BP 2.6.2 and a Twenty Sixteen child theme.

    Start !
    Read from here how to remove the textarea in post-form.php

    The code to remove is line 40 and looks like this:

    <textarea class="bp-suggestions" name="whats-new" id="whats-new" cols="50" rows="10"
    	<?php if ( bp_is_group() ) : ?>data-suggestions-group-id="<?php echo esc_attr( (int) bp_get_current_group_id() ); ?>" <?php endif; ?>
    ><?php if ( isset( $_GET['r'] ) ) : ?>@<?php echo esc_textarea( $_GET['r'] ); ?> <?php endif; ?></textarea>

    You replace it by:

    <?php
    $content = '';
    $editor_id = 'whats-new';
    wp_editor( $content, $editor_id );
    ?>

    As the visual edit tab doesn’t work, you must deactivate it. In your child-theme functions.php, add this:
    add_filter( 'user_can_richedit' , '__return_false', 50 );

    And that’s it !

    If you want also rich edit for activity comments, which i didn’t recommand for sites who have many comments, you can use the same technique as above, with some more settings. Note that each comment has is own ID and that each comment editor should also have an unique ID.

    First, you need to remove the textarea from (child-theme/buddypress/)activity/entry.php
    You remove this:
    <textarea id="ac-input-<?php bp_activity_id(); ?>" class="ac-input bp-suggestions" name="ac_input_<?php bp_activity_id(); ?>"></textarea>
    and replace it by

    <?php
    $id             = bp_get_activity_id();
    $content	= '';
    $editor_id	= 'ac-input-'. $id;
    $settings	= array( 
    			'textarea_name'	=> 'ac_input_'. $id,
    			'editor_class'	=> 'ac-input bp-suggestions'
    		);
    wp_editor( $content, $editor_id, $settings );
    ?>

    With Twenty Sixteen, i first couldn’t see the Post Update button and the option selector. I got it with this little CSS adjustment (in child-theme/style.css).

    div#whats-new-options { display: block!important;}

    Function reference: wp_editor.

    dekoningalex
    Participant

    Hi,

    Users can’t upload cover/profile pictures for their profile. If one clicks on the button to select a picture to upload, you can select a file, but when you choose a file nothing happens. The following error shows up: Uncaught TypeError: Cannot read property ‘add’ of undefined bp-plupload.min.js?ver=2.6.2:1

    When i use a buddypress compatible theme (e.g. twentyeleven) the issue doesn’t occur so it is a custom theme issue. I have asked my theme developer for help but that has gotten me nowhere…

    1. Which version of WordPress are you running? 4.6

    2. Did you install WordPress as a directory or subdomain install? root

    3. If a directory install, is it in root or in a subdirectory? root

    4. Did you upgrade from a previous version of WordPress? If so, from which version? The one before 4.6

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. Yes

    6. Which version of BP are you running? 2.6.2

    7. Did you upgraded from a previous version of BP? If so, from which version? Yes, the one before

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? Yes, but none of these plugins cause issues as i turned them all off, and the problem still persisted.

    9. Are you using the standard WordPress theme or customized theme? Customized theme (Bronx by Fuelthemes)

    10. Have you modified the core files in any way? No

    11. Do you have any custom functions in bp-custom.php? No

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? 2.5.10

    13. Please provide a list of any errors in your server’s log files. Don’t know how

    14. Which company provides your hosting? Transip

    15. Is your server running Windows, or if Linux; Apache, nginx or something else? Linux (Ubuntu)

    Thank you so much in advance, any help is very much appreciated.

    #258114

    In reply to: Force ssl

    danbp
    Participant
    #258097

    In reply to: New Privacy Plugin

    Fencer04
    Participant

    Turns out the error you pointed out is a bug that is being tracked in BuddyPress. It will be resolved in version 2.7. I will still see if I can alleviate it somehow:

    https://buddypress.trac.wordpress.org/ticket/7203

    #258089
    danbp
    Participant

    @jendam As of #6573, you’ll need to add custom CSS to tweak the appearance.
    Read https://buddypress.trac.wordpress.org/ticket/6573#comment:4

    The ticket is closed as invalid.

    #258084

    In reply to: import xprofile CSV

    sharmavishal
    Participant

    yes…i read your post as well…unfortunately no plugin exists which would import bp related data. So you need to do it via phpmyadmin only as of now…just backup everything in case u need to revert back..best luck

    also mairajs last link is of users capability issue which he faced…so if you face that issue then only u need to check this …else ignore this….

    https://wordpress.org/support/topic/admin-problems-after-moving-wordpress?replies=2#post-750300

    #258067
    danbp
    Participant

    Perhaps the closing php tag after endwhile. Remove ?>

    <?php endwhile;
    	// User filtering.
    	$user_id = bp_displayed_user_id()
    		? bp_displayed_user_id()
    		: false;

    Note that you’re hacking a core file and that customization will be lost at next bp update.
    Never do that.
    That said i doubt that your like button will work on BP activities. That button is made for wordpress, not BP.
    Try better this plugin which is more appropriate imho.
    https://wordpress.org/plugins/buddypress-like/

    #258043
    Paul Wong-Gibbs
    Keymaster

    I’m not aware of any plugin that offers a feature to remove the activation URL. You would instead have to delete the user/signup record entirely.

    https://wordpress.org/plugins/unconfirmed/ might help.

    #258035

    In reply to: Redirect does not work

    fail2reap
    Participant

    @djpaul – Thanks for getting back to me with these additional steps. I have tested this now with removing the plugin iThemes Security and Welcome Pack. I also set a default WordPress theme.

    Unfortunately it did not resolve the issue as the user still get’s directed back to the home screen after the submit the register page.

    Any other ideas?

    #258018

    In reply to: Fatal Error

    danbp
    Participant

    Please don’t double post on this forum.

    You activated BuddyPress Custom Profile Menu plugin and got a fatal error. Remove it or rename his folder via FTP, so you can access your dashboard again.

    Then contact the plugin author.
    Since 2.6, BP use a new navigation API. Maybe the plugin isn’t updated for that or there is another conflict with your theme.

    You have to debug.
    And read also here please.

    #257984
    Paul Wong-Gibbs
    Keymaster

    Hi @dnicu26

    I can’t immediately see why that should be stopping the emails. Can you remove the snippet and test again, see if the emails resume sending?

    Are you talking about the plain text email that you get from WordPress that says something like a “new user registered on your site”? I assume this has always worked in the past — how many such emails have you received? 10s? 100s?

    Can you also please check your spam folders in your email?

    Finally, are you using Multisite or regular WordPress?

    #257053
    bigkahunaburger
    Participant

    You may want to look at creating member types. Then you could add the meta as a div class and style them via css:

    Member Types

    https://gist.github.com/imath/3a5c5ade44eae997fdfd

    If you don’t have the ability to code or hire someone that does you may want to try some of the member type plugins out there:

    BuddyPress Member Types

    https://wordpress.org/plugins/bp-member-type-generator/

    mrjarbenne
    Participant

    If you want to replace the activity post with recipes instead (eliminating the default ‘activity’) you could change the label of activity to “recipes” using this guide from the codex:

    Change “Activity” component’s name and slug to something else.

    If you want to keep the activity updates, and add a separate form for recipes, you will probably need to explore Custom Post Types. You’ll need to register a post type called Recipes.

    These might help:
    https://codex.wordpress.org/Function_Reference/register_post_type
    http://www.wpbeginner.com/wp-tutorials/how-to-create-custom-post-types-in-wordpress/

    Then add it to the activity stream as a registered activity:

    Post Types Activities

    Users would need to use the dashboard to create a recipe update in this model, unless you created a front end recipe posting system using something like Gravity Forms:

    https://gravitywiz.com/use-gravity-forms-to-create-user-submitted-posts/

    #257480

    In reply to: Chinese Translation

    Petya Raykovska
    Participant

    Hey @idichoo,

    It’s awesome you’d like to help with BuddyPress translation! Happy to help you get started with translating on http://translate.wordpress.org. I’m Petya on wp Slack.

    If you’d like to get started on your own, this is the best page: https://make.wordpress.org/polyglots/handbook/about/get-involved/first-steps/

    BuddyPress could use a Project Translation Editor for Chinese as well, so if you’d like to become one, you can post a request on https://make.wordpress.org/polyglots and we’ll put you in touch with the Chinese General Translation Editors so they can add you as a project maintainer.

    P.S. If you’d like to help the team with something quick, you can give us a hand with translating the WordPress 4.6 release video to Chinese! http://www.amara.org/en/videos/HD0Z715enyuZ/id/1429554/

    #257957
    sensibleplugins
    Participant

    There is now a plugin that allows you to easily add a new tab to the user profile page: https://wordpress.org/plugins/buddypress-custom-profile-menu/

    Full disclosure: I am the plugin author 🙂

    #257944
    danbp
    Participant

    Forget it, it’s not possible or at least complicated See here why.
    If you’re a coder, you could evtl. try this solution.

    #257940
    reggie3
    Participant

    Hi-

    Sorry for the slow reply, but here’s an update.

    Since I posted the above, we’ve upgraded to WordPress 4.6. Also tried to upgrade BuddyPress again with the same result.

    We’ve run this with the debug settings activated in the wp-config.php file but have received no error messages. Nor either in the wp-content/debug.php file, nor in the server’s php_log.

    Thinking incompatibility issue with other obsolete plugins…testing now…will report…

    Thanks!

    danbp
    Participant
    #257887

    In reply to: 2nd Registration form

    danbp
    Participant

    Not out of the box.
    By default, a wp site is managed by roles.
    Site admin, editors and so on…

    https://codex.wordpress.org/Roles_and_Capabilities

    Members management, including registering new user directly on admin dashboard (outside of the normal registering process) is only allowed for site admins and editors.

    Another solution could be to use some conditionnal fields with help of a plugin. But before giving more information for that, please give more details about what you plan exactly and the context of the site.

    For example, why must the teacher register his students ? Sounds a bit strange to me.

    #257886
    danbp
    Participant

    I’m unable to reproduce this issue on a single install.
    – registered using alex@test.com as username and alex as name (BP’s name field)
    – on his profile, aside the header avatar i see @alextest-com

    Any member links works as expected.

    Tested also on MS. Trying to register alex@test.com brings the following error msg:
    Usernames can only contain lowercase letters (a-z) and numbers.

    Is correct too and expected for usernames on a MS install. (see #17904)

    Do you use custom code, login or social plugin related to login ?
    What is your theme ?
    Have you tested with a Twenty theme and all plugins deactivated ?

    #257876

    In reply to: Plugin

    danbp
    Participant

    Most probably, you have to search about buddypress on the plugin repo:
    https://wordpress.org/plugins/search.php?q=buddypress

    #257875

    In reply to: Plugin

    valuser
    Participant
    danbp
    Participant

    No theme has a child theme. It’s to you to create one. That’s necessary if you whant to add custom style without loosing it at next update.

    Sorry i don’t read chinese, but you’ll probably find some guidance on chinese WP codex
    https://codex.wordpress.org/zh-cn:Main_Page

    #257873

    In reply to: Plugin

    valuser
    Participant
Viewing 25 results - 4,201 through 4,225 (of 22,693 total)
Skip to toolbar