Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 10,326 through 10,350 (of 32,690 total)
  • Author
    Search Results
  • #191892
    danbp
    Participant

    @julia_b

    be patient ! The upcoming BP 2.1 version brings huge improvement to mentions handling, with auto suggestion.

    BP 2.1 About page excerpt:

    With BuddyPress 2.1, type a @ when leaving a status update or commenting on an activity item or blog post, and the new suggestions panel will open.

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

    #191887
    geistschatten
    Participant

    Alright, so I’m almost ripping out my hair over this. I’ve checked other threads on here, I’ve put the .po and .mo files in multiple directories (wp-content/languages, theme/languages, bp-languages), I’ve added the bp-custom file, tried to change the language with wp-config, and even selected the language from Settings->General.

    All I’m trying to do is change some of the words talking about friends to something else. I’m not using a BuddyPress theme, it’s the Duena theme (https://wordpress.org/themes/duena).

    I took the .pot file and edited it with a text editor for Ubuntu called gedit, then I saved it as .mo & .po files and named them accordingly. I’ve triple checked every other fix to the issue for the past few days and have had zero success.

    Since this is supposed to help, here is my info below. Any help is greatly appreciated! I just need a simple step-by-step of what to do for my versions of WP and BP, I can follow them to the letter, and then report what happens.

    1. Which version of WordPress are you running? 4.0

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

    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 previous version, but was having the issue prior to the upgrade.

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. Yes, everything works perfect, I just need certain words like “Friends” changed to something else.

    6. Which version of BP are you running? 2.0.2

    7. Did you upgraded from a previous version of BP? If so, from which version? The previous one, had this issue prior to the upgrade.

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? (BuddyDev)BP Poke, All In One SEO Pack, BP Profile Search, BP Xtra Signup, Buddypress – Who clicked at my Profile?, BuddyPress Edit Activity Stream, BuddyPress Friends Only Activity Stream, BuddyPress Live Notification, BuddyPress Username Changer, BuddyPress Usernames Only, Gatekeeper, Limit Login Attempts, Maintenance, Membership Premium, Registration Honeypot, RS Buddypress Activity Refresh, rtMedia for WordPress BuddyPress and bbPress, Simple Login Log, Useful Banner Manager, and Welcome Pack.

    9. Are you using the standard BuddyPress themes or customized themes? Duena, so a regular theme? Not designed particularly for BuddyPress though.

    10. Have you modified the core files in any way? Other than uploading the .mo & .po files and the bp-custom.php, no.

    11. Do you have any custom functions in bp-custom.php? Yes, the function from every tutorial talking about the language, but changed for my custom language file.

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

    13. Please provide a list of any errors in your server’s log files. None.

    14. Which company provides your hosting? My own, HostArmor.

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

    rzelnik
    Participant

    I am trying to create a widget that would show the list of groups that a particular user is a member of. I have created this:

    <?php
    $user_id = get_current_user_id();
    $user_groups = (groups_get_user_groups($user_id));
    $user_groups = $user_groups["groups"];
    ?>
    <ul class="my-groups-list" class="item-list">
    <?php foreach ($user_groups as $group): ?>
    	<li><?php echo $group ?></li>
    <?php endforeach; ?>
    </ul>

    This code displays a list of the user’s group ID’s. Now I would like to create a loop from this query, so that I could display the group permalinks and names instead of the ID, like this:

    <ul class="my-groups-list" class="item-list">
    	<?php while ( ... something() ) : bp_the_group(); ?>
    		<li><a href="<?php bp_group_permalink() ?>"><?php bp_group_name() ?></a></li>
    	<?php endwhile; ?>
    </ul>

    How can I do that?

    I use WordPress 4.0 and BuddyPress 2.0.2.

    Thanks for your help.

    #191874
    Mikki Barker
    Participant

    My site specs:
    WP: 4.0
    BP: 4.0
    URL: http://www.gkkc.org.php54-2.dfw1-2.websitetestlink.com
    Theme: Salutation

    My register link returns the homepage.
    My sign in link returns a page stating The connection to the server was reset while the page was loading.

    I changed the setting in WP settings/general to anybody can register
    I associated the wordpress pages with the BP pages in BP page options.

    Nothing – –

    Any help will be appreciated! I have to present this site to the board Friday. I’m smothering 🙁

    #191862
    colabsadmin
    Participant
    #191859
    albert101
    Participant

    Hello again cut and pasted the code exactly on the last line of the theme functions php and
    my debug log output is as follows.
    I must be doing something wrong.

    [10-Sep-2014 19:54:06 UTC] PHP Fatal error: Call to undefined function bp_is_activity() in /Applications/MAMP/htdocs/wordpress/wp-content/themes/mytheme/functions.php on line 4618
    [10-Sep-2014 19:54:06 UTC] PHP Stack trace:
    [10-Sep-2014 19:54:06 UTC] PHP 1. {main}() /Applications/MAMP/htdocs/wordpress/wp-admin/index.php:0
    [10-Sep-2014 19:54:06 UTC] PHP 2. require_once() /Applications/MAMP/htdocs/wordpress/wp-admin/index.php:10
    [10-Sep-2014 19:54:06 UTC] PHP 3. require_once() /Applications/MAMP/htdocs/wordpress/wp-admin/admin.php:204
    [10-Sep-2014 19:54:06 UTC] PHP 4. do_action() /Applications/MAMP/htdocs/wordpress/wp-admin/admin-header.php:108
    [10-Sep-2014 19:54:06 UTC] PHP 5. call_user_func_array:{/Applications/MAMP/htdocs/wordpress/wp-includes/plugin.php:505}() /Applications/MAMP/htdocs/wordpress/wp-includes/plugin.php:505
    [10-Sep-2014 19:54:06 UTC] PHP 6. print_head_scripts() /Applications/AMP/htdocs/wordpress/wp-includes/plugin.php:505
    [10-Sep-2014 19:54:06 UTC] PHP 7. do_action() /Applications/MAMP/htdocs/wordpress/wp-includes/script-loader.php:773
    [10-Sep-2014 19:54:06 UTC] PHP 8. call_user_func_array:{/Applications/MAMP/htdocs/wordpress/wp-includes/plugin.php:505}() /Applications/MAMP/htdocs/wordpress/wp-includes/plugin.php:505
    [10-Sep-2014 19:54:06 UTC] PHP 9. my_dequeue_script() /Applications/MAMP/htdocs/wordpress/wp-includes/plugMin.php:505

    #191788
    shanebp
    Moderator

    @albert101

    Did henry’s original function it work for you?
    If so, don’t bother changing it.

    @henrywright
    afaik – The reason the codex page uses the wp_print_scripts hook is to insure that it runs after the wp_enqueue_scripts hook, regardless of priority.

    https://codex.wordpress.org/Plugin_API/Action_Reference

    The deprecation Hugo mentions is re not using print_scripts to enqueue a script, which the OP is not trying to do.
    So I’m not convinced that your change to the codex page is appropriate. If you decide to stick with your change, at least update the comments above the example function to reflect that change.

    danbp
    Participant

    I just want to get the list of buddypress shortcodes.

    Doesn’t exist. You can create a shortcode or use this plugin:

    https://wordpress.org/plugins/bowe-codes/

    #191185

    In reply to: WordPress 4

    danbp
    Participant

    add following line in your wp-config.php file:

    define('SCRIPT_DEBUG', true);
    and activate the already existing define('WP_DEBUG', false); to define('WP_DEBUG', true);
    and feedback here.

    BuddyPress 2.1 milestone estimation

    #191183
    Henry Wright
    Moderator

    Hello @albert101

    You can use wp_dequeue_script() to remove an enqueued script. For example:

    function my_dequeue_script() {
        if ( bp_is_activity() )
            wp_dequeue_script( 'xyz-custom-script' );
    }
    add_action( 'wp_print_scripts', 'my_dequeue_script', 100 );

    Ref: https://codex.wordpress.org/Function_Reference/wp_dequeue_script

    Henry Wright
    Moderator

    Hi @julia_b

    To my knowledge there isn’t anything like that available. Try searching the WP Plugin Directory. Else, if you’re good with code, something like this can be accomplished using regular expressions

    All of that said, forums questions are better asked over at bbPress. You may have more luck there.

    #191055

    In reply to: WordPress 4

    danbp
    Participant

    BuddyPress 2.0.2 is compatible with WordPress 4.0 See this site: it’s working ! 😉

    500 Internal Server Error is a generic error message, given when no more specific message is suitable. There are a number of causes for a 500 Internal Server Error to display in a web browser. (cite)

    Which theme do you use ?
    https://wordpress.org/support/topic/500-server-error-after-upgrade-to-wordpress-40

    #191054
    r-a-y
    Keymaster

    And also WordPress uses a rich-text editor. BuddyPress does not for the activity post form.

    #191043

    Topic: WordPress 4

    in group forum Requests & Feedback
    Stephane Daoust
    Participant

    I get a 500 Internal Server Error with WordPress 4. Is the compatible version coming soon ?

    #191034
    durkk
    Participant

    Heheh,

    You see the only coding experience I have is with music related software or game middleware. The creative process of pulling pages per user is very abstract to me 😀

    I do know my French classics…

    “Perhaps the world’s second worst crime is boredom. The first is being a bore.”
    -Jean Baudrillard

    Hoping not being guilty of the first but here goes:

    First I added a filter to bypass the members in the profile URL so I could use dynamic links via this plugin: Buddy Menu Buddy Links. Then I make a page with the username as parent and a child with the same title for all students (lessons). resulting in a workin url looking this mydomain.com/username/lessons.

    I made a CPT to keep the it more organized only and the pages index less cluttered.

    /**
     * Remove the slug from published post permalinks.
     */
    function custom_remove_cpt_slug( $post_link, $post, $leavename ) {
     
        if ( 'student' != $post->post_type || 'publish' != $post->post_status ) {
            return $post_link;
        }
     
        $post_link = str_replace( '/' . $post->post_type . '/', '/', $post_link );
     
        return $post_link;
    }
    add_filter( 'post_type_link', 'custom_remove_cpt_slug', 10, 3 );
    /**
     * Some hackery to have WordPress match postname to any of our public post types
     * All of our public post types can have /post-name/ as the slug, so they better be unique across all posts
     * Typically core only accounts for posts and pages where the slug is /post-name/
     */
    function custom_parse_request_tricksy( $query ) {
     
        // Only noop the main query
        if ( ! $query->is_main_query() )
            return;
     
        // Only noop our very specific rewrite rule match
        if ( 2 != count( $query->query ) || ! isset( $query->query['page'] ) ) {
            return;
        }
     
        // 'name' will be set if post permalinks are just post_name, otherwise the page rule will match
        if ( ! empty( $query->query['name'] ) ) {
            $query->set( 'post_type', array( 'post', 'student', 'page' ) );
        }
    }
    add_action( 'pre_get_posts', 'custom_parse_request_tricksy' );
    
    #191032
    ThatHostingCo
    Participant

    First off:
    1. Which version of WordPress are you running?
    a. Wordpress 4.0

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

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

    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    a. Yes, 3.8

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
    a. No. Alphabetical pagination was only showing 20 members previously

    6. Which version of BP are you running?
    a. Version 2.0.2

    7. Did you upgraded from a previous version of BP? If so, from which version?
    a. No

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    a. Add New Default Avatar 1.3.1
    b. Backup 2.2
    c. BuddyPress 2.0.2
    d. BuddyPress Pending Activations 1.0.2
    e. BuddyPress Real Names 0.3.5
    f. Contact Form 7 3.9.3
    g. Custom Facebook Feed 2.1.1
    h. Email Address Encoder 1.0.4
    i. Google Analytics Dashboard for WP 4.3.3
    j. JotForm Feedback Button 1.0
    k. Newsletter 3.6.3
    l. Photo Gallery 1.1.30
    m. PHP Code for posts 1.2.0
    n. SYN Media WooCommerce USPS 2.1.0
    o. The Events Calendar 3.7
    p. The Events Calendar: WooCommerce Tickets 3.7
    q. The Events Calendar PRO 3.7
    r. WooCommerce 2.1.12
    s. WooCommerce Advanced Notifications 1.1.9
    t. WooCommerce Advanced Product Quantities 2.1.6
    u. WooCommerce Subscriptions 1.5.9
    v. WooCommerce Thumbnail Input Quantities 1.1.2
    w. WooThemes Helper 1.3.0
    x. WP-Members 2.9.6
    y. WPFront User Role Editor 1.2

    9. Are you using the standard BuddyPress themes or customized themes?
    a. Custom theme

    10. Have you modified the core files in any way?
    a. No, only member-loop

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

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

    13. Please provide a list of any errors in your server’s log files.
    a. WordPress database error Unknown column ‘bprn_293’ in ‘having clause’ for query SELECT COUNT(u.ID) FROM vae_bp_xprofile_data u GROUP BY u.user_id HAVING bprn_293 IS NOT NULL AND bprn_1 IS NOT NULL made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/headway/index.php’), HeadwayDisplay::layout, HeadwayDisplay::grid, HeadwayLayoutRenderer->display, HeadwayGridRenderer->render_grid, HeadwayBlocks::display_block, do_action(‘headway_block_content_content’), call_user_func_array, HeadwayContentBlock->content, HeadwayContentBlockDisplay->display, HeadwayContentBlockDisplay->loop, HeadwayContentBlockDisplay->display_entry, HeadwayContentBlockDisplay->display_entry_content, the_content, apply_filters(‘the_content’), call_user_func_array, bp_replace_the_content, apply_filters(‘bp_replace_the_content’), call_user_func_array, BP_Members_Theme_Compat->directory_content, bp_buffer_template_part, bp_get_template_part, bp_locate_template, load_template, require(‘/themes/iherb/buddypress/members/index.php’), bp_get_template_part, bp_locate_template, load_template, require(‘/themes/iherb/buddypress/members/members-loop.php’), bp_has_members, BP_Core_Members_Template->__construct, bp_core_get_users, BP_User_Query->__construct, BP_User_Query->do_user_ids_query

    14. Which company provides your hosting?
    a. Our own – That Hosting Company (http://thathost.co)

    15. Is your server running Windows, or if Linux; Apache, nginx or something else?
    CentOS 5.8 (64 bits version) – Interworx Front End 5.0.14-580
    ———————

    The problem:
    We are using a custom members-loop. The pagination on the alphabetical list is limiting the members to the first 20 and not offering additional pages

    Troubleshooting:
    – We attempted to adjust the ajax search query, but it did not seem to make a difference.
    – We removed the custom buddypress member-loop and used the default. We found the same issue occurred.

    Notes:
    – We have 143 members
    – We are using a custom theme builder “Headway”
    – Pagination issue does not seem to be effecting “Latest”, “Random” or “Newest Registered” Options.
    – Site is live at http://www.iherb.org/members/

    #191031
    r-a-y
    Keymaster

    @ryanjhale – I’ve posted a fix here:
    https://buddypress.trac.wordpress.org/ticket/5869

    This probably won’t make v2.1 since we’re close to releasing this version. I’ve tentatively put the fix for v2.2.

    Thanks for reporting!

    #191021
    danbp
    Participant

    @ryanjhale,

    wp roles and bp capacities are two diffrent things.
    bp_moderate has a specific usage applied to the site admin only. If you read what is written in bp-core-caps.php, you’ll see this comment at line 200

    
     * Temporary implementation of 'bp_moderate' cap.
     *
     * In BuddyPress 1.6, the 'bp_moderate' cap was introduced. In order to
     * enforce that bp_current_user_can( 'bp_moderate' ) always returns true for
     * Administrators, we must manually add the 'bp_moderate' cap to the list of
     * user caps for Admins.
     *
     * Note that this level of enforcement is only necessary in the case of
     * non-Multisite. This is because WordPress automatically assigns every
     * capability - and thus 'bp_moderate' - to Super Admins on a Multisite
     * installation. See {@link WP_User::has_cap()}.
     *
     * This implementation of 'bp_moderate' is temporary, until BuddyPress properly
     * matches caps to roles and stores them in the database. Plugin authors: Do
     * not use this function.

    BuddyPress groups moderators are not authorized to enter the admin dashboard or the group admin on frontend. Group moderators can only delete, move and spam group activities or topics. If the group has a forum, they wil have the same capacities.

    If you want a user to be able to access the admin dashboard, you can give him an editor role (which is a wp role).

    If you want to allow him access to the group admin on the front-end, you promote him to group admin. This setting doesn’t allow that user to enter the site admin. He’s only a group admin (with a wp role of subscriber, by default) and not a site admin (admin or super-admin (MS) ).

    gibbousmoon
    Participant

    I’m working with a brand new install of WP 3.9.2, and I don’t recall whether I installed BP or the Custom Community theme first, but when I have both enabled, I get this error:

    Notice: Indirect modification of overloaded property BuddyPress::$add_root has no effect in /home/nanoedmo/public_html/wp-content/plugins/buddypress/bp-core/bp-core-functions.php on line 564

    If I switch to another theme, the error disappears. Initially the error would just load at the top of the page while the site continued to function, but now the error is the ONLY thing that displays on any page, which renders my site completely unusable. It’s quite possible that the change in behavior corresponded to when the host site upgraded me to WP 4.0.

    Now, the facts.

    * Hosted by SiteGround
    * WordPress 4.0
    * Directory install
    * In a subdirectory
    * Upgraded from WP 3.9.2
    * BP 2.0.2
    * Other plugins activated: Akismet, bbPress, BP Custom Profile Menu, BP Group Email Subscription, BP Toolbar, Captcha Pro, Counterize (and its plugins), Limit Login Attempts, NaNo Stats, ProgPress, Shortcode Reference, The Events Calendar, WordPress SEO.
    * Using Custom Community theme
    * Core files untouched
    * No custom functions in bp-custom.php
    * bbPress version 2.5.4
    * This error is almost the only one in php_errorlog. Occasionally I see this one:
    PHP Warning: Cannot modify header information – headers already sent by (output started at /home/nanoedmo/public_html/wp-content/plugins/buddypress/bp-core/bp-core-functions.php:564) in /home/nanoedmo/public_html/wp-includes/pluggable.php on line 1173

    #191016
    mahdiar
    Participant

    Thanks !
    But there is small difference . When I copy the video url ( e.g. …../video.mp4 not the page url) in normal post in wordpress it shows a video player . Why it is not supported in buddypress?

    #191013
    SeeingBlueS2
    Participant

    Found it. Ticket #5868

    #191008
    danbp
    Participant

    @tomlandon_author,

    who’s online refreshes after 5 mn.
    Read more here:
    https://buddypress.trac.wordpress.org/ticket/3590

    and feel free to open an enhancement ticket on the Trac.
    You can login with the same credentials as on this forum.

    namrons
    Participant

    @r-a-y Thanks for detailing this changeset: https://buddypress.trac.wordpress.org/changeset/7447

    Through a RSS aggregator I feed a number of connected blogs into my Buddypress activity stream and would like to keep the permalink structure of the blog to link directly to their external sites.

    Since updating Buddypress to the latest version yesterday I am unable to restore the permalink by editing trunk/bp-blogs/bp-blogs-functions.php back to $post_permalink = get_permalink( $post_id ); nor can I edit the wording “Wrote a Post… on the blog” in bp-blogs-functions.php

    I was able to do this before. What has changed?

    #190991
    danbp
    Participant
    namrons
    Participant

    Thanks @shanebp and thanks @r-a-y Your fix definitely works with latest version of WordPress and Buddypress (tested) but I have a couple of sites with an older WordPress (because some plugins I’m using are not yet compatible with recent WordPress) and this fix does not work there. Any suggestions for a fix with older WordPress?

Viewing 25 results - 10,326 through 10,350 (of 32,690 total)
Skip to toolbar