Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 5,201 through 5,225 (of 22,687 total)
  • Author
    Search Results
  • #247208
    r-a-y
    Keymaster

    Thanks for the report.

    Can you do three things?

    1) Set WP_DEBUG to true in wp-config.php:
    https://codex.wordpress.org/WP_DEBUG

    2) Open up /bp-core/bp-core-attachments.php and look for the following lines:

    	// Resize the image so that it fit with the cover image dimensions
    	$cover_image  = $cover_image_class->fit( $args['file'], $dimensions );

    Right after that line, add:

    _doing_it_wrong( 'bp_attachments_cover_image_generate_file', print_r( $cover_image, true ), '2.4.0' );

    3) Go to the “Change Cover Photo” page and try reuploading a photo.

    Next, go to /wp-content/debug.log, copy the entire bp_attachments_cover_image_generate_file was called incorrectly debug message and paste it here.

    Going to ping @imath as well.

    #247207
    r-a-y
    Keymaster

    Try downloading the following:

    Rename the files to buddypress-de_DE.po and buddypress-de-DE.mo respectively.

    Then, move the files to /wp-content/languages/plugins/.

    Since the translation is not 100% complete, you might see some English strings.

    Let me know if that works for you.

    #247191
    r-a-y
    Keymaster

    I think the German translation is not fully 100% translated, which is preventing WordPress from fetching the latest German translation for BuddyPress.

    If you are able to help translate the remaining strings, please visit:
    https://translate.wordpress.org/locale/de/default/wp-plugins/buddypress

    Also, read the following guide to find out how to contribute towards the translation:

    translate.wordpress.org (GlotPress)

    #247190
    cameck
    Participant

    You’re right! I didn’t realize it at first…. I appreciate all the help you’ve given so far. I can continue this on the S2 Member Forum if you like, you’re just doing such an awesome job though :D.

    Regarding the $s2member_level1 , I was just pulling that out of my butt and it was only thing I put there that didn’t break the pages.

    But if you’re curious, this is what I have now:

    <?php if(is_user_logged_in() && 4 == S2MEMBER_CURRENT_USER_ACCESS_LEVEL){ ?>
    
    <div class="paybox">
    <h3>Make Payment with PayPal&reg;</h3>
    <?php $uemail = getDisplayedUserEmail(); ?>
    <?php echo do_shortcode('[gravityforms id="7" field_values="recip-email=' . $uemail . '"]'); ?>
    </div><!-- .paybox -->
    
    <?php } ?>

    This is working for the most part, but oddly enough there are a few more employers that are still showing the paypal button. So, I started using this:
    <?php echo S2MEMBER_CURRENT_USER_ACCESS_LEVEL; ?>
    to see the output and most employers are the number 2, but a few are listed as 4 – which creates the problem. Ideally, I could just do it like in the previous code I had put up $type === $s2member_level1 as that’s how they are listed in the backend of WordPress.

    #247189
    r-a-y
    Keymaster

    @garprogram – This fatal error is due to some changes we made in BP v2.4.0 to give users proper feedback messages when a private message fails to send.

    It looks like we might have to add some additional hooks so plugin devs can set the error message.

    In the meantime, here are two things I would recommend:

    1. Use the 'bp_messages_recipients' filter instead of using the 'messages_message_before_save' action:
    https://buddypress.trac.wordpress.org/browser/tags/2.4.0/src/bp-messages/bp-messages-actions.php?marks=77-84#L77

    2. As Henry mentioned, if you have to unset one recipient, you should unset all of the recipients to avoid the message from sending. The default error message will probably not suit your needs, so you might have to filter the error message with the 'gettext' filter temporarily until we introduce better error handling for plugin developers.

    lifeisgood134
    Participant

    Hi,

    That’s what I did, but it is still showing the error “Vendor registration is currently closed. if you have an existing account, you may log in and apply to become a vendor”. How do I fix this? I think the code is not completely removed from WordPress even when I delete BuddyPress in Plugins.

    Henry Wright
    Moderator

    How do I remove buddyPress completely from my wordpress and restore everything as pre-installation of BuddyPress?

    You can just deactivate the plugin and remove the “Register” and “Activate” pages you created at Dashboard > Pages.

    lifeisgood134
    Participant

    Hi, Any update on this? 🙁

    How do I remove buddyPress completely from my wordpress and restore everything as pre-installation of BuddyPress?

    #247166
    doncobb
    Participant

    I posted three times yesterday, and none of my posts showed up in the forum. Today an Administrator contacted me and said my posts got caught up in the cache. But then, someone deleted two of my posts and changed the header of the only existing post to “How to install WordPress”, which isn’t at ALL what my post said. It said “How to install Buddypress”.

    Now, I’m reposting again because I cannot change the header BACK, on my own post, and suddenly it activates correctly. Now, I can’t delete THIS post for some reason. No “Delete” link anywhere, so it’s a useless, resolved post that I don’t want any answers to. FYI…

    #247151
    r-a-y
    Keymaster

    You can ignore this message if you’re using BuddyPress on a production site.

    To turn off debugging notices on production, set WP_DEBUG to false in wp-config.php:
    https://codex.wordpress.org/WP_DEBUG

    This is a notice caused by a plugin that is initializing user info too early. If you want to find out which plugin is causing this, deactivate all your plugins and only activate BuddyPress. Next, activate your plugins one-by-one until you find the culprit.

    #247126

    In reply to: No youtube preview

    Venutius
    Moderator

    One tip is to check if is because YouYupe are using different URL’s these days, I had an issue which I’ve still got where the old URL works fine but the new one does not, wordpress wraps the content in a link instead of previewing it.

    #247094
    Henry Wright
    Moderator

    I have no idea if this plugin still functions because it was last updated ~4 years ago, but check out BuddyPress Block Activity Stream Types.

    #247026
    r-a-y
    Keymaster

    I’ve got a fix ready:
    https://buddypress.trac.wordpress.org/attachment/ticket/6745/6745.01.patch

    Apply the lines in that patch to your BuddyPress install.

    To test this, you’ll need to set WP_DEBUG to true so it will load the unminified version of the javascript:
    https://codex.wordpress.org/WP_DEBUG

    Let me know if this fixes the problem.

    #247012
    r-a-y
    Keymaster

    We do not store avatar data in the database.

    We do a look up at the files level instead.

    If you want to show an avatar based on a custom avatar stored in the database, you’ll need to use the 'bp_core_fetch_avatar' filter to override how BuddyPress shows avatars:
    https://buddypress.trac.wordpress.org/browser/tags/2.4.0/src/bp-core/bp-core-avatars.php?marks=531-546,660-664#L531

    If you just want to display a user avatar, use the bp_core_fetch_avatar() function:

    echo bp_core_fetch_avatar( array(
        'item_id' => USER_ID_TO_GRAB_AVATAR_FOR
    ) );
    #246983
    ShaneValiant
    Participant

    @doublef

    Here is the latest error log:

    PHP message: WordPress database error Table ‘mysitename.wp_16_bp_xprofile_groups’ doesn’t exist for query SELECT DISTINCT g.id FROM wp_16_bp_xprofile_groups g WHERE g.id = 0 ORDER BY g.group_order ASC made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), call_user_func_array, bp_init, do_action(‘bp_init’), call_user_func_array, woffice_social_fields, xprofile_insert_field_group, BP_XProfile_Group->__construct, BP_XProfile_Group->populate, BP_XProfile_Group::get
    PHP message: WordPress database error Table ‘mysitename.wp_16_bp_xprofile_groups’ doesn’t exist for query INSERT INTO wp_16_bp_xprofile_groups (name, description, can_delete) VALUES (‘Social’, ”, 1) made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), call_user_func_array, bp_init, do_action(‘bp_init’), call_user_func_array, woffice_social_fields, xprofile_insert_field_group, BP_XProfile_Group->save
    PHP message: WordPress database error Table ‘mysitename.wp_16_bp_xprofile_groups’ doesn’t exist for query SELECT * FROM wp_16_bp_xprofile_groups WHERE name = ‘CoverOptions’; made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), call_user_func_array, bp_init, do_action(‘bp_init’), call_user_func_array, woffice_cover_add_field
    PHP message: WordPress database error Table ‘mysitename

    #246977
    tonydjukic
    Participant

    Thanks @henrywright. I installed it and tested it out, doesn’t seem to be even slightest issue with it. @jjj should just push incremental updates that update compatibility so WordPress removes that ‘warning’ message – the plugin works great so it’s a shame that people new to BuddyPress (like myself) are scared away from it for no reason.

    #246971
    shanebp
    Moderator

    Tricky task… I don’t envy your use case testing!

    BP uses the WP user – but stores profile data separately. But some fields are duplicated – like name.

    You may have to write profile data to both user meta and xprofile tables.
    And then use a conditional re whether the BP Extended Profiles component is enabled.
    If it isn’t, then pull from user meta, etc.

    More info:

    xprofile_sync_wp_profile() syncs Xprofile data (nickname, first name and last name) to the standard built in WordPress profile data.

    xprofile_sync_bp_profile() syncs the standard built in WordPress profile data to XProfile.

    Henry Wright
    Moderator

    Hey @alessandrat

    Welcome to the BuddyPress forum!

    1. Have two separate front ends for different user types (with differently configured profiles), appearances, and accesses.

    Yes. This can be done with either a plugin (try searching the Plugin Directory) or coded through the Member Types feature introduced in version 2.2.

    2. Have a place where shortcode could be put in so that users can take a questionnaire containing likert questions on their profile and/or while creating their profile.

    Either a post, page or perhaps even an activity update all spring to mind as possible places to add it.

    3. One but not both kinds of users can create their own group (public, semiprivate or private) or forum and browse/ join existing ones

    The ability for all members to create new groups comes as standard.

    4. One kind of user but not the other needs to be able to set up ways for the other type of user to purchase products (I assume I can use another plugin but will need a place to put the shortcode)

    This will need to be either custom coded, or you may find a plugin with the functionality you need.

    Hope this info helps!

    #246921
    shanebp
    Moderator

    I don’t know why your function isn’t working, but since you only want subscribers, there are more efficient ways to approach the task.

    Here is one:
    Review this: https://codex.wordpress.org/Function_Reference/get_users

    Try something like:

    function subscribers_only() {
       $subscribers = get_users( array( 'role' => 'subscriber', 'fields' => array( 'ID' ) ) );
       $subscribers = implode(",",$subscribers);
       return $subscribers;
    }

    And

    $subscribers = subscribers_only();
    bp_has_members( bp_ajax_querystring( 'members' ) . '&include=' . $subscribers )
    #246912

    In reply to: How to fix Activations

    r-a-y
    Keymaster

    – Make sure email is working from WordPress.
    – Tell users to check their spam folder.

    If that doesn’t work, some have had success with the following plugin(s):
    – Mail From: https://wordpress.org/plugins/search.php?type=term&q=mail+from
    – A plugin that sends email via SMTP instead of PHP: https://wordpress.org/plugins/tags/smtp

    #246899
    danbp
    Participant
    #246857
    r-a-y
    Keymaster

    Thanks @joost-abrhahams.

    I’ve filed a ticket here:
    https://buddypress.trac.wordpress.org/ticket/6738

    We’ll get this fixed for v2.4.1.

    #246853

    In reply to: Membership Plugin

    jscmal
    Participant

    Hi, I use Simple WordPress Membership Plugin. It works.

    #246848
    DerAphelion
    Participant

    Great work!

    I´m REALY new in WordPress/Buddypress.
    Now i have a question:

    How can i do it in another language now (Buddypress), in this case german needed?

    greetings

    Aphelion

    #246838
    r-a-y
    Keymaster

    We have deprecated support for the bp-default theme since v1.9:
    The future of the bp-default theme

    That being said, we can look into supporting this feature in bp-default for BP v2.5.0.

Viewing 25 results - 5,201 through 5,225 (of 22,687 total)
Skip to toolbar