Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 8,351 through 8,375 (of 32,688 total)
  • Author
    Search Results
  • Dono12
    Participant

    The New Feature in Buddypress Starred button redirects users to their post page button. I’ve added a button to users buddypress activity page which is titled Post that takes users to a page with a list of their Posts made to WordPress. With the new update when you click on the Starred button the user is redirected to the the list of posts. I created the Post button using this custom function I found Online.

    /* ——————————Start BP Post in profile code for function——————– */
    function importSomething(){
    return include_once ‘bp-custom.php’;
    }
    add_action( ‘bp_setup_nav’, ‘buddyboss_child_bp_nav_adder’ );
    add_action( ‘bp_template_content’, ‘profile_buddyboss_child_loop’ );
    bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/plugins’ ) );

    function buddyboss_child_bp_nav_adder() {
    global $bp;
    $post_count = count_user_posts_by_type( $bp->displayed_user->id );
    bp_core_new_nav_item(
    array(
    ‘name’ => sprintf( __( ‘Posts <span>%d</span>’, ‘my-poems’ ), $post_count ),
    ‘slug’ => ‘Articles’,
    ‘position’ => 250,
    ‘show_for_displayed_user’ => true,
    ‘screen_function’ => ‘buddyboss_child_list’,
    ‘item_css_id’ => ‘articles’,
    ‘default_subnav_slug’ => ‘public’
    ));
    }
    function buddyboss_child_list() {
    add_action( ‘bp_template_content’, ‘profile_buddyboss_child_loop’ );
    bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/plugins’ ) );
    }
    /*——- This is end of the code for above function ———*/
    function profile_buddyboss_child_loop() {
    $myposts = get_posts( array(
    ‘posts_per_page’ => -1,
    ‘author’ => bp_displayed_user_id(),
    ‘post_type’ => ‘post’
    ));
    if( ! empty($myposts) ) {
    foreach($myposts as $post) {
    setup_postdata( $post );
    if (has_post_thumbnail( $post->ID ) ):
    $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), ‘sidebar-smallthumbnew’ );
    else :
    $image[0] = “…/wp-content/themes/Starkers-Child-2/images/vidimage.jpg”;
    endif;
    echo ‘<li class=”sidebar mostpop post-‘ . $post->ID . ‘”><div id=”postimage”>ID) . ‘”></div><div id=”postinfo”>ID) . ‘”>’ . get_the_title($post->ID) . ‘</div>‘;
    }
    echo ‘‘;
    wp_reset_postdata();
    } else { ?>
    <div class=”info” id=”message”>
    <p><?php bp_displayed_user_fullname(); ?> has No posts.</p>
    </div>
    <?php }
    }
    /* This is end of the code for above function */
    remove_filter(‘bp_setup_nav’,”);
    function count_user_posts_by_type( $userid, $post_type = ‘post’ ) {
    global $wpdb;
    $where = get_posts_by_author_sql( $post_type, true, $userid, true);
    $count = $wpdb->get_var( “SELECT COUNT(*) FROM $wpdb->posts $where” );
    return apply_filters( ‘get_usernumposts’, $count, $userid );
    }
    /* ——————————This is end of the code for post in profile above function——————– */

    I dont want to get rid of the latest starred button feature, so How can I go about correcting this redirect error.

    Also the new mobile take picture update doesn’t work on the mobile version of my site. I’m using WP-Smart mobile plugin to generate a mobile theme. I also have a copy of Buddypress in both my Child Theme and my active WP smart mobile theme.

    How can I go about fixing these issues if possible.

    Also, great exceptional work on these new updates.

    Thank you

    #240218
    r-a-y
    Keymaster

    @jturet – You can make this corresponding change to /buddypress/bp-core/bp-core-catchuri.php for now until v2.3.1 is released:
    https://buddypress.trac.wordpress.org/changeset/9916/branches/2.3/src/bp-core/bp-core-catchuri.php

    #240214
    alpha2
    Participant

    Hello

    I found a function (http://www.wpbeginner.com/wp-tutorials/how-to-display-recently-registered-users-in-wordpress/) to display last registered users on a page.

    All is working good but i don’t know how to make a link for each user’s profile.

    I tried to modify the code given above like this :

    $recentusers .= '<li>' .get_avatar($username->user_email, 150).'<a href="'.bp_core_get_user_domain($user_ID).'">'.$username->user_nicename."</a></li>";

    But no success.

    Any help would be appreciate

    Thank you

    jfoster-42
    Participant

    Hi everyone,

    I know this topic has been posted to death, but I have gone through all of those old posts and tried all of their fixes and none of them are working.

    Basically, BuddyPress works fine except for allowing new users to register. When the registration form is submitted, the page refreshes with all data but the password autofilled in the appropriate fields. No user is created, but no error is given. I have double checked that registration is open on the site and that BuddyPress registration and activation pages are set up correctly. I have also tried clearing my browser cache etc.

    Interestingly, the BuddyPress Default Data plugin was able to create users without a hitch.

    I’m working on a custom theme on a local XAMPP server with BuddyPress, Advanced Custom Fields Pro, Custom Post Type UI and BuddPress Default Data being the only plugins installed. I’ve tried deactivating all plugins except BuddyPress, and the problem persists. When I deactivate BuddyPress, the problem goes away. I’ve also tried using TwentyTwelve instead of my custom theme and the problem persists when BuddyPress is active.

    I have updated to the latest version of BuddyPress (released earlier today, 2.3.0) and that has not fixed it, but the issue was also present before I updated BP. I am running WordPress 4.2.2.

    If anyone else has had this problem lately or sees anything obvious that I am missing, I’d appreciate your help!

    shaquana_folks
    Participant

    Sorry I forgot to tag you in the previous message @henrywright

    Activated plugins from my end:

    Akismet (Version 3.1.1)
    bbPress (Version 2.5.7)
    BuddyPress (Version 2.3.0)
    Contact Form 7 (Version 4.1.2)
    Contact Form Shortcode (Version 0.9)
    Jetpack by WordPress.com (Version 3.5.3)
    MOJO Marketplace (Version 0.6.0)
    SZ-Google (Version 1.8.9)
    W3 Total Cache (Version 0.9.4.1)
    WordPress Importer (Version 0.6.1)
    wp responsive photo gallery (Version 1.0)
    iFlyChat (Version 2.9.2)

    shaquana_folks
    Participant

    Akismet (Version 3.1.1)
    bbPress (Version 2.5.7)
    BuddyPress (Version 2.3.0)
    Contact Form 7 (Version 4.1.2)
    Contact Form Shortcode (Version 0.9)
    Jetpack by WordPress.com (Version 3.5.3)
    MOJO Marketplace (Version 0.6.0)
    SZ-Google (Version 1.8.9)
    W3 Total Cache (Version 0.9.4.1)
    WordPress Importer (Version 0.6.1)
    wp responsive photo gallery (Version 1.0)
    iFlyChat (Version 2.9.2)

    #240200
    Henry Wright
    Moderator

    If you just need a quick and dirty approach for yourself to view, you could use the standard group loop to output a loop. See here.

    Then put the following snippet directly after the line: <?php while ( bp_groups() ) : bp_the_group(); ?>

    Snippet:

    <?php
    $args = array(
        'populate_extras' => true,
        'group_id => bp_get_group_id()
    );
    $group = groups_get_group( $args );
    
    if ( ! in_array( bp_loggedin_user_id(), $group->admins ) ) {
        continue;
    }
    ?>

    Notes:

    • I haven’t tested
    • This approach won’t be performant
    • I haven’t considered pagination

    That said, it should get the job done. The alternative is to write some SQL and use the wpdb class.

    shaquana_folks
    Participant

    Hello everyone,

    I’m still struggling with getting my registration form to work and I’m pretty much stuck right now as far as what to do next. I’ve looked at tons of tutorials, looked online for solutions, and even spoken to various tech support representatives and still came up short to not resolving this, so I’m hoping that someone can help me through here.

    I’m trying to get that page to work for my http://www.myloopnetwork.com website. Everytime I fill out the form, it keeps taking me right back to that same registration page and doesn’t create that new user profile page for me. It would still just show up on the screen like this:

    The registration screenshot

    Anything that anyone can do to resolve this issue would be greatly appreciated. I have the WordPress 4.2.2 and the BuddyPress 2.2.3.1 version, and I’m using the Magnus WordPress Theme, the 1.6 version.

    Also, is there a good plugin that anyone can recommend for me to use that will be compatible to the recent BuddyPress version as well as allowing users to upload a profile picture?

    #240192

    In reply to: Public User Gallery ?

    Henry Wright
    Moderator

    Hi @butterzeugs,

    Here are a couple of options:

    #240190

    In reply to: End User Blog

    Gnostic_Thought
    Participant

    Thanks for all your help. I don’t think I would need multisite at the moment, maybe when my site grows to have more dedicated bloggers. Can you give me your opinion on a plugin called Buddyforms http://themekraft.com/store/wordpress-front-end-editor-and-form-builder-buddyforms/

    It looks better than BuddyBlog

    Thanks once again

    Hans.vd.Zwet
    Participant

    Hello all,

    I’m currently running the following wordpress setup/plugins/theme:
    – WordPress : Version 4.2.2
    – BuddyPress : Version 2.3.0

    – i-Excel theme : Version: 1.1.4

    Theme requires :
    – TemplatesNext Toolkit : Version 1.1.3

    I’ve run into a problem that I’m not sure how to solve or where to ask for help, but going by forums and activity I’m guessing I’ll have a better chance at the BuddyPress forum.

    So… What happens is that when the TemplatesNext Toolkit plugin is active, all and every BuddyPress related link shows a page containing the content of the main/home page.

    Server Log doesn’t show anything out of the ordinary.

    I’m a bit lost here.

    Any help/advice will be greatly appreciated.

    thnx in advance for your time and efforts,

    Hans.

    #240174
    Hugo Ashmore
    Participant

    I can confirm that the url path is stripped out but the actual members page should still work either directly navigated to or clicking the page link as nested under a parent dropdown which should result in page being found but at it’s root position my-site.com/members/

    Can we confirm that the page does still exist and is viewable, in the meantime I’ll open a trac ticket to log the page hierarchical issue.

    This issue is ticketed for looking into:
    https://buddypress.trac.wordpress.org/ticket/6475#ticket

    #240168

    In reply to: Group tab questions

    mrjarbenne
    Participant
    #240167
    mrjarbenne
    Participant

    You can do that by adding this constant in wp-config.php

    define ( 'BP_ROOT_BLOG', $blog_id );

    I’m thinking you probably want option B: https://codex.buddypress.org/getting-started/installation-in-wordpress-multisite/#b-network-wide-activation-buddypress-root-blog-in-secondary-site

    #240164
    Klosurdo
    Participant

    I have two questions.

    1. I would like to rename the Forum tab in my group.

    2. How would I add a extra tab in a group that I can link to a URL? I have multiple groups but I just wanted one of the groups to have a Tab that links elsewhere. Is that possible?

    The Theme I am using is KLEO by Seventh Queen
    Buddy Press version Version 2.2.1
    Website:http://www.cmpg-annex.org/

    Other Plugins
    Akismet
    bbPress
    BuddyPress Cover Photo
    K Elements
    MOJO Marketplace
    Paid Memberships Pro
    PMPro MailChimp Integration
    PMPro Register Helper
    PMPro Set Expiration Dates
    Register Helper Example
    Revolution Slider
    rtMedia Pro for WordPress, BuddyPress and bbPress
    The Events Calendar
    WPBakery Visual Composer

    #240163
    mrjarbenne
    Participant

    Add this to the style.css file of your theme:

    /*Fix for hiding the Login menu on Mobile*/
    #wp-admin-bar-root-default #wp-admin-bar-bp-login {
    	display: block;
    }

    If you don’t want to have to edit your theme every time there is a theme update, you could use something like this to add the CSS from the dashboard: https://wordpress.org/plugins/simple-custom-css/

    #240156

    In reply to: End User Blog

    mrjarbenne
    Participant

    MS integrates wonderfully with BuddyPress. When network activated on a Multisite, activity from across the network is recorded on the users Profile. Just be sure to check Site Tracking under Settings/Buddypress once you network activate BuddyPress (https://cloudup.com/i_-p1kJGUwd). Once upon a time, BP was ONLY compatible with Multisite: you couldn’t run it on a single WP install.

    Note that this will give your users the ability to have their own blogs. This is separate from the ability to post from the front end. For this you would need to make a theme like P2 your network default. http://premium.wpmudev.org/blog/how-to-set-the-default-theme-for-wordpress-multisite/

    #240147
    mrjarbenne
    Participant

    Does this plugin fit your needs: https://wordpress.org/plugins/rendez-vous/

    gjossep
    Participant

    I need your help!

    I have a wordpress-site with both the buddypress plugin and the Ultimate Member plugin installed. The problem is that i would like to use only the group portion of buddypress and the rest from Ultimate Memeber.

    The problem is that they both use the same user account, they do have diffrent profiles. I could disable the profile page, but this is still leaves a problem for my Group page where if you would click on a user’s name it would try to go to said profile. I would want it instead of going to the buddy press profile page, it would go to the ultimate member page.

    How would i achieve this or is this even possible?

    Many thanks

    Gjosse Zijstra

    American2020
    Participant

    I want to have a Network where the registered users can get their own sites (That I have done already by installing WordPress Multisites)

    Now I want to have BuddyPress so all the registered users can use Groups, Messaging and more.

    What I’m not sure, where should I activate Buddypress? On the Network (site.domain/wp-admin/network/plugins.php) or only on the Main Site (site.domain/wp-admin/plugins.php)?

    I also want (And had problems getting this to work before) that on the main site, for example when someone goes into the Activity page, you can not only see there when they create a Group, or publish some message, but also if they posted an entry on theirs sites, that shows also on that Activity page.

    Hope you can clarify my what steps to follow to get a site like that working.

    #240130
    #240119
    r-a-y
    Keymaster

    Can you try the patch in this ticket?
    https://buddypress.trac.wordpress.org/ticket/6371

    #240114

    In reply to: Per-group Identity?

    Tony G
    Participant

    Well, group meta allows meta data to be applied to groups. I’m thinking along the lines of data in the usermeta table which is only consumed by specific groups. This might be expressed as a name/value pair in the profile. So with reference to my original example, a GroupName profile value would include:
    school:Robert
    home:Bobby
    coolGame:Zarcon

    The BuddyPress Profile Shortcodes plugin allows for custom fields and related shortcodes to be used. This is much closer to my needs but still not quite there. I can’t create a profile field for every possible group. Ideally there would be a pulldown of groups to which the user belongs, where they can enter the name they wish the use for that group, and the group/name pairs would be displayed in a grid.

    Now I’m thinking one of the better user meta plugins could handle that. But I would also need to customize it so that there can only be one WP user with a specific value for a specific group. This is a unique key per group, as some reference to @Bobby can’t apply to more than one person, but the @Bobby in one group can be different from @Bobby in another group.

    On the client side, I would then need to modify bbPress to get the user name that’s specifically for the current group, rather than using wp_get_current_user()->display_name or whatever it has there. For example:
    get_user_meta($user_id,’groupName_’.$group_id,true)
    or better
    get_user_meta($user_id,’groupNames’,false)[$group_id]

    Actually I’d rather abstract all requests for a user name to a function which can then be replaced with custom code just once. I don’t suppose anyone has already done that, or it’s been proposed as a BP/BBP enhancement?

    I’m a noob with coding into WP, haven’t touched BP/bbP, and know little about the APIs, so please bear with me on the syntax and other specifics and focus on the concepts. Thanks.

    The more I try to flesh it out above the more it seems possible for me to do this myself. But it would be really helpful if someone has already done it. Or if someone with knowledge in this area can see a more direct line from an exiting plugin to the solution I’m describing.

    Thanks for your time!!

    #240112
    patrix87
    Participant

    Hi,

    I really like buddypress and bbpress and all the features and modules they offer.

    But I’m having a lot a problem finding accurate information about the code and how to do stuff.

    I think a good cleanup and update of your documentation to make sure it is clear and easy to navigate would be a must. I keep finding a lot of old information about old version I don’t care about. And I don’t get how that menu work…

    Another thing that bothers me is how you assume things instead of giving the webmaster more options.

    E.G. That whole mess about the name field. It is almost impossible to change it back to nickname or to first name and last name or to just remove it. I think that there should be a way to control that field and assign it to a WordPress field. E.G. First name = WordPress First name and same thing for last name. Or to use Nickname instead as the display name. I’m building a gaming community, Gamers do NOT want their real name on the internet. And it is a pain to make sure it does not happen.

    Also, It would be nice to have more control over who can see private and hidden forum. I used AAM to create 2 new user groups called Member and Admin but Buddypress and BBpress have there own permission system and I can’t make it work like I would like.

    So in short:

    – Clean up the codex / documentation
    – Stop assuming things and give more control to the webmaster
    – Custom member groups with granular permission
    – Member page made of shortcodes

    Thank you for reading my feedback

Viewing 25 results - 8,351 through 8,375 (of 32,688 total)
Skip to toolbar