Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 7,426 through 7,450 (of 32,678 total)
  • Author
    Search Results
  • #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.

    #247182
    cameck
    Participant

    WordPress Version 4.3.1 – BuddyPress Version 2.2.4

    Hi,

    I’m trying to find a function I can hook into to.

    I have two types of users on my BuddyPress site, employees and employers. These are defined in the user area of WordPress.

    I have made a custom profile page in my child theme labeled buddypress.php.

    Everything is working fine, but I want to hide the make a payment button if the user’s profile is an employer profile.

    I can only find code for checking the current logged in user status.

    Any help is appreciated!

    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.

    #247174
    irenehofer
    Participant

    I am using WordPress (on a local base at the moment) in German, which works well. But Buddypress is in English, even though in my settings “German” is enabled. How can I fix this??

    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.

    #247146
    angelleye
    Participant

    I just now installed the plugin fresh and I was presented with an error about extra output. I also wound up with a message that members weren’t associated correctly and it gave me a “Repair” button to click. When I clicked that, though, I ended up with this:

    Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in /home/kctt/public_html/wp-includes/functions.php on line 3622

    Any info on how to fix this would be greatly appreciated.

    #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.

    #247125
    herearii
    Participant

    Hi,

    We have got no more preview when a user posts a youtube video in a group or on his profil. Only the link appears. We’ve desactivated all plugins except buddypress and changed our template with Twenty Thirteen with no results…

    Preview appears with old posts. There’s no problem with vimeo too.

    Hope you can help us.

    Regards.

    ——————–
    Wordpress: 4.3.1–fr_FR
    Buddypress: 2.4.0
    http://www.my-tahiti.com

    #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.

    #247091
    fivestarfisher
    Participant

    I am running the most up-to-date WordPress and BuddyPress version.

    When I updated BP, my “Who’s Online” no longer works. It’s just a blank area. When I revert to 3.5, it works fine. Any ideas on how to fix it?

    MVHartley
    Participant

    Hi all,

    I’ve copied-and-pasted the notifications loop into a custom drop down / flyout box like Facebook, done the same for friend requests and messages and almost everything is working wonderfully. The messages loop outputs a read/unread css class to show a user which messages are unread, how do I do something similar with the notifications?

    I have copied-and-pasted bp_has_notifications() into my functions.php file, removed the IF statements at the top that filter for either read or unread so the loop now outputs both read and unread messages in the same go when called in my custom flyout boxes, but I’m trying to figure a way of outputting a css class for the read or unread notifications.

    I’ve tried IF = $is_new; within the notifications while loop to echo a css class with no success.

    any of you kind clever people have any ideas how I can do this?

    Thanks in advance!

    as per guidelines – here is my spec – WordPress 4.3.1, Directory install (root), BP 2.3.5, quite a few plugins installed, bbpress (2.5.8), Buddyboss wall, BP profile search. Buddyboss media, Activity comment notifier, paid memberships pro, cloudflare and a few others. Running Avada theme. Core files have not been touched (I know I would get told off if I did 😛 ) Nothing in bp-custom. Hosted by namecheap.

    edited : clarify some ambiguity

    #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
    ) );
    #246994
    bchristy
    Participant

    First, I would like to say that I am new to using the Buddypress plugin. I downloaded version 2.4.0 and I am using WordPress 4.3.1. On my blog I wanted to add a register page, but when I created a dummy page titled Register and linked it to Register below Registration in Buddypress settings it does not work. I made sure that anyone can register to my blog under the settings tab is enabled. Can anyone tell me if you know of a solution to this annoying problem?

    http://blog.furnishmyway.com/

    #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.

    #246963
    George Notaras
    Participant

    Hi all,

    I develop a metadata plugin for WordPress and was thinking about adding support for BuddyPress profiles, which basically boils down to:

    1. generating Profile metadata objects for the member pages and,
    2. use the member page URL as the post author’s URL in the metadata on WP blog posts.

    However, I’m a little puzzled with some concepts which have to do with how I should retrieve the user information in the following cases:

    1. BP Extended Profiles component deactivated.

    In this case, the member page displays information from the WP user profile.

    2. BP Extended Profiles component enabled.

    In this case, the member page displays information *only* from the BP Extended Profile.

    Questions:

    Is there a common API that can be used in both cases to retrieve user info? Are the BP users different users or, when used as a plugin, WP users and BP users are the same?

    Can the ‘Profile Sync’ setting complicate the retrieval of the user information?

    Thanks in advance,
    George

    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 )
Viewing 25 results - 7,426 through 7,450 (of 32,678 total)
Skip to toolbar