Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 8,326 through 8,350 (of 32,678 total)
  • Author
    Search Results
  • #240401

    In reply to: Sponsored Ads

    Henry Wright
    Moderator

    Hi @mecceo

    Yes. You have 3 options:

    #240368
    snorklebum
    Participant

    Hi,

    I’m running the latest version of wordpress (twentyfourteen theme) and buddypress and have been testing out the various bits of functionality, when I create a hidden group I can’t see any way to add other users to the group.
    Hopefully it’s something obvious I’m missing.

    New version of BuddyPress is fantastic!

    Thanks

    #240361
    Henry Wright
    Moderator

    Is the Buddypress avatar handled the same way as the normal WordPress thumbnails? i.e. functions?

    No. See the bp_core_avatar_handle_upload() function for how avatars are uploaded in BP.

    Ref: https://github.com/buddypress/BuddyPress/blob/master/src/bp-core/bp-core-avatars.php#L794

    ch1n3s3b0y
    Participant

    Hi

    Is the Buddypress avatar handled the same way as the normal WordPress thumbnails? i.e. functions?

    I need to create a blurry alternate version of the avatar when the user uploads one (to use as a background), along with keeping the original avatar as well. Any pointers for this?

    #240314
    shanebp
    Moderator

    Since the member’s user name is ‘admin’, it will show as ‘@admin’.
    You can’t change the user name after registration – unless you go directly into the database via a tool like phpmyadmin.
    Or use a plugin like:
    https://wordpress.org/plugins/admin-renamer-extended/

    also – you shouldn’t use ‘admin’ as a user name.
    https://codex.wordpress.org/Brute_Force_Attacks#Don.27t_use_the_.27admin.27_username

    #240311
    r-a-y
    Keymaster

    You’ll have to create your own messages adminbar menu.

    You can create a new menu item using:
    https://codex.wordpress.org/Function_Reference/add_node

    Or if you’re not using the WP Adminbar and have hardcoded that menu by yourself, you do not have to do anything.

    Next, I would probably use JS to load the messages loop when you click on the “Messages” adminbar icon with AJAX.

    shanebp
    Moderator

    …the search profile form…

    Are you referring to this plugin:
    https://wordpress.org/plugins/bp-profile-search/

    If so, you should use Andrea’s support forum:
    https://wordpress.org/support/plugin/bp-profile-search
    or

    BP Profile Search Forum

    Your option could be added, but will require coding ability, afaik.

    #240285
    xprt007
    Participant

    Hi

    Thank you for responding.
    I tried a few other themes including twentythirteen & Mesocolumn – no difference.
    Then today I disabled all plugins except buddypress & bbforum.

    Observation:
    #1. The mentioned links worked.
    #2. I then first activated a number of security plugins + Hyper cache plugin. Problem back, of page not found, until I deactivated Hyper cache.

    This was solved by reading this article => http://www.buddyboss.com/buddypress-speed-and-performance/ & doing this:

    By default this plugin will cache all of your site’s pages, including your BuddyPress-specific content like activity posts and forum posts. This is not good, as your BuddyPress content is constantly updated and needs to remain fresh. To fix it add the following lines into “URI to reject” in the “Filters” settings panel of Hyper Cache:

    /forums/
    /groups/
    /members/
    /activity/
    /blogs/
    /messages/
    /register/
    /activate/

    … I think current plugin terminology is “Exact URIs to bypass” & “(Starting with) URIs to bypass”, which I did and clearing the cache.

    #3. As I continued activating, I discovered the used https://wordpress.org/plugins/404-to-start/ also causes if I try to go to my profile page or for example /members/user-x/, etc to re-direct to site front page, with no error.

    I have to look into this later. The other plugins I had tried before caused some issues, so I was happy with this re-direct plugin.

    Will report back, at least if I get a response from author or get a plugin not causing issues, someone could recommend one ;).

    Thank you & regards.

    Dono12
    Participant

    Yes it is related to “Messages > Starred”. There is nothing wrong with the new feature. It’s this function that I found online that’s causing a conflict.

    /* ——————————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——————– */

    It adds a new button on the user activity page and when the Message-Starred button is clicked it takes the user the lists of post page that the above function creates. How can I stop that fro happening. I really want to keep the starred message function and I don’t want to lose the lists of WordPress post in the user Activity page.

    #240265

    In reply to: Username problems

    Henry Wright
    Moderator

    Hi @zenimot

    See 5185 for some background and a discussion on the topic.

    #240264
    mcpeanut
    Participant

    cool he will probs read this when hes online, this is the thing with buddypress, i just didnt understand when i first came to these forums a few years ago even though i had been comming longer without registering, I myself had shared hosting and thought yippee i have found a plugin that i was looking for and installed it, then after messing around with buddypress it dawned on me that shared hosting just was not gonna cut the ice with buddypress let alone wordpress for a serious install.

    I then decided to delve into the world of dedicated/vps servers. I am by no means an expert in this world yet but i believe from my own experience that it is a very daunting task moving to these kind of setups at first, once you get the basics of initial setup and general security right its then time to tweak everything for future proofing and scaling and performance tweaking if your serious about the future of your website, unless your willing to pay ALOT of cash out to people who can do his for you full time.

    This is why i sort of pushed my buddypress websites design back in favour of looking into all this. I think this is one of the biggest points concerning every website build and believe that not enough info is out there to make people understand just how important all this is to succeed with their websites, alot of people see these one click easy installs and adverts off companys telling them to come build your website with us its easy then see wordpress installed and think yippe look at my new website and what it can do, until of course they then get popular crash and burn then fail and give up because they just dont understand the reality involved in pushing forward a scalable environment. This is why i believe people doing a massive project such as buddypress should really be able to share this info with each other from nivice users to experts in this field.

    #240258
    Henry Wright
    Moderator

    Hey @mcpeanut

    Check out the Nginx WordPress article; it may help whilst you’re waiting for a response.

    #240255
    Tom
    Participant

    So I did some tests…
    In a standard WordPress install users can enter spaces in their username.
    No problem.
    E.g. ‘Firstname Surname’ renders as just that, with a space between the words.

    But when I activate BuddyPress (no other plugins) with the Twenty Fifteen theme, suddenly the spaces are removed from the username. Without as much as a single notification or error message.
    E.g. ‘Firstname Surname’ becomes ‘FirstnameSurname’.

    This is a huge problem for users! As they don’t get a message their input has been changed. And the username is not mentioned in the activation e-mail.

    In my opinion there are two solutions:
    1. notify the user of the change during registration;
    2. allow the same username entry specification as WordPress does.

    So far I haven’t found any of these solutions. 🙁

    Need help.

    #240252
    mcpeanut
    Participant

    Hi all been a while

    I have been real busy over the past month or so and just havent had the time to visit these forums much lately but i am just in the midst of setting up a new dedicated server once again that i have purchased, now the question is about nginx specifically, i have allways used apache in the past but ive heard some really great things about using nginx for wordpress installs and believe it is alot faster than a standard apache setup especially when paired with varnish.

    Now i believe there is quite a few additional htaccess rules etc when setting up nginx with wordpress for it to run right and before i dive into it and try it out i was wondering if anyone on these forums have any advice on how you have it set up to run with your buddypress installs.

    any info is greately appreciated and would you advise this as the best way to go for scalability? as i believe nginx makes it easy to add other servers in to the mix further down the line too.

    #240240

    In reply to: Logged in Links

    Bradley Allen
    Participant

    Well, it would be nice to do this without a plugin 🙂

    However, this plugin seems to work fine
    https://wordpress.org/plugins/menu-items-visibility-control/

    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:

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