Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 4,001 through 4,025 (of 32,690 total)
  • Author
    Search Results
  • #271097
    emmanuel1234
    Participant

    wordpress version 4.9.4, buddypress Version 2.1

    Home


    theme: sweetdate

    hello how to change the age limit for a user to register

    hiverizecaro
    Participant

    Hi,

    I followed the Developer Resources → Group Extension API Example trying to create a custom group tab.

    Unfortunately, I get a Fatal error: Call to undefined function bp_is_active() when trying to activate my plugin. (WordPress 4.9.4 buddypress Version 2.9.3)

    What am I missing? I placed the myPlugin.php in a folder …/plugins/myPlugin

    <?php
    /*
    Plugin Name: myPlugin
    Description: lalala.
    Tags: buddypress
    Version: 0.1
    Author: Caro Zett
    License: GPL2
    */
    
    // Exit if accessed directly.
    defined( 'ABSPATH' ) || exit;
    ?>
    <?php
    /* Copyright 2018 Caro Z
    
    This program is free software; ...
    */
    ?>
    
    <?php
    
    /* Only load code that needs BuddyPress to run once BP is loaded and initialized. */
    function my_plugin_init() {
        require( dirname( __FILE__ ) . '/myPlugin.php' );
    }
    add_action( 'bp_include', 'my_plugin_init' );
    
    /**
     * The bp_is_active( 'groups' ) check is recommended, to prevent problems
     * during upgrade or when the Groups component is disabled
     */
    
    if ( bp_is_active( 'groups' ) ) :
    ...
    

    Please feel free to advise on “obvious” stuff as well, this is my first plugin 🙂
    Thanks

    Venutius
    Moderator

    I think the first thing I would try would be to disable the plugin that is creating the member types and see if that works. You can do that by accessing your wordpress file structure using FTP and then changing the name of the member type plugin directory.

    #271087
    sahalkaabi
    Participant

    WordPress Version : 4.9.4
    BuddyPress Version : 2.9.3

    i have installed WP Mail STMP plug in and configure it with Gmail and its working correctly (I receive the test email)

    The problem that whenever a user register they don’t receive the activation email , but at the same time i tried reset password and i received the email for reseting the password..

    – I have tried the repair tool but still not working

    can anyone help me please as i need to solve this issue as soon as possible

    #271081
    Dggerhart
    Participant

    WordPress.com site implementation (most current version) BuddyPress plugin installed.

    Hi,

    We are commencing an effort to establish BuddyPress as the Member management and collaboration platform for an organization of volunteers. This is a large NPO/NGO based in the US with a global footprint. Thousands of street level users. Some basic hierarchy from A single Director to regional reps and subsets of midlevel volunteers that provide operational structure.

    I’d like to know if anyone has this kind of implementation experience? And ESPECIALLY if you’d be willing to advise the project is a very light-weight capacity. We feel like we need service design direction.

    Thanks for your suggestions. All contacts welcome.

    #271073

    In reply to: Buddypress.pot corrupt

    Varun Dubey
    Participant
    #271067
    Varun Dubey
    Participant

    Hi @jonowen2k, Seems like you have enabled jetpack single sign-on and it’s added a login with WordPress.com, you can skip it and login with regular WordPress login page. It’s that’s still confusing you can disable single sign-in from jetpack settings.

    #271066
    jonowen2k
    Participant

    Repost to Installing BuddyPress forum (from How-to & Troubleshooting)

    I’ll preface this with the fact that I’m 100% new to WordPress and BP so I’m hoping this is something I’m just missing. I have searched the forums and didn’t find anything that was close to my problem.

    – Using WordPress.com hosted and BP plugin installed and activated (see rodconnect.com)
    – Using Twenty Twelve (I think)
    – Added BP login widget to right nav.

    When a new person registers the email is sent and they can activate. I can go in to the users menu and see them there along with their email address.

    Once activated, the new users try to log in using the BP plugin using username and pwd. The site redirects to wordpress.com login where it asks for email address. Using the users email address throws a “can’t find” error.

    Using the users uname on the wordpress.com screen gets me to the password screen but errors out on the password being invalid.

    Is it expected behavior of BP to redirect to WP.com? I was expecting (hoping) to obfuscate WP from the site completely and was looking to BP to handle user registration / login.

    If it is expected behavior then how do I get the registration/login working?

    Thank you

    #271060
    jonowen2k
    Participant

    I’ll preface this with the fact that I’m 100% new to WordPress and BP so I’m hoping this is something I’m just missing. I have searched the forums and didn’t find anything that was close to my problem.

    – Using WordPress.com hosted and BP plugin installed and activated (see rodconnect.com)
    – Using Twenty Twelve (I think)
    – Added BP login widget to right nav.

    When a new person registers the email is sent and they can activate. I can go in to the users menu and see them there along with their email address.

    Once activated, the new users try to log in using the BP plugin using username and pwd. The site redirects to wordpress.com login where it asks for email address. Using the users email address throws a “can’t find” error.

    Using the users uname on the wordpress.com screen gets me to the password screen but errors out on the password being invalid.

    Is it expected behavior of BP to redirect to WP.com? I was expecting (hoping) to obfuscate WP from the site completely and was looking to BP to handle user registration / login.

    If it is expected behavior then how do I get the registration/login working?

    Thank you

    #271057
    David Cavins
    Keymaster

    Here’s some untested code that should prevent anyone from visiting the profile of a subscriber user. Roles are not a BP construct, so you’ve got to look to WordPress for that info.

    
    add_action( 'wp', function() {
    	if ( bp_is_profile() ) {
    		$user_meta = get_userdata( bp_displayed_user_id() );
    
    		if ( in_array( 'subscriber', $user_meta->roles; ) ) {
    			wp_redirect( home_url() );
    			exit;
    		}
    	}
    }, 1 );
    
    #271051
    David Cavins
    Keymaster

    Here’s another report of this with a suggested fix: https://buddypress.trac.wordpress.org/ticket/7704

    #271049

    In reply to: User Tag in Profile

    David Cavins
    Keymaster

    Maybe you could use friend relationships for this. If the “friend” terminology doesn’t make sense for your use, there is a plugin that creates one-way relationships called “follows” https://wordpress.org/plugins/buddypress-followers/

    #271048
    David Cavins
    Keymaster

    Hi James, I guess it depends on what a moderator is. (I can only think of Group Mods in BP, not sure what would count as a site-wide moderator.)

    The ability to see private messages is controlled by the check bp_current_user_can( 'bp_moderate' ) which is true for site or network admins.

    You could probably filter that value for some other role, like editor, but it would be a bit complicated to make it work only for private messages. Here’s more information about working with the WP capabilities system: http://mannieschumpert.com/blog/wordpress-capabilities-magic-with-map_meta_cap/

    #271046

    In reply to: email verification

    David Cavins
    Keymaster

    If you are asking about bbPress, try the bbPress forum.

    If you’re asking about removing the BuddyPress email verification step for new accounts, there are several plugins that do that:

    BP Disable Activation Reloaded

    BuddyPress Auto Activate Auto Login

    #271043
    David Cavins
    Keymaster

    There is an issue with hotmail/outlook rejecting activation emails (See the fix here: https://buddypress.trac.wordpress.org/changeset/11862).

    Otherwise, the best way to customize your emails is explained here: https://codex.buddypress.org/emails/

    David Cavins
    Keymaster

    There’s a known issue with hotmail/outlook addresses that will be addressed in the next minor update. You can see the fix here:
    https://buddypress.trac.wordpress.org/changeset/11862

    That may be your issue. If not, please provide more information.

    #271035
    hauge.james
    Participant

    I’m looking for something to let my users ‘React’ to Threads (and Reply’s) in the BuddyPress forum kinda like the facebook like function…

    I’m using wordpress version 4.9.4 and BuddyPress version 2.9.2

    Any help or suggestions would be very welcome!

    (I am willing to work with custom developer)

    #271034
    shanebp
    Moderator

    >How to delete activities before a date

    BP Bulk Delete

    #271022
    jlundy
    Participant

    I’m using WordPress version 4.9.4 and BuddyPress version 2.9.3. I’m having issues with how Instagram is embedded within the activity stream both the front and backend. It either overlaps with other post or appears under a post. I’m at a loss for what is causing the problem. I have used CSS to alleviate the problem by increasing margins on all activity stream post.

    http://www.dramaticsnyc.com/hair-stylist/glamour/

    #271007
    Nik
    Participant

    @pd9soft

    Ah I forgot to report back here but I’ve been discussing elsewhere and the issue has already been reported here –

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

    and a there’s solution by r-a-y here
    https://buddypress.trac.wordpress.org/attachment/ticket/7674/7674.01.patch

    Apparently a fix will be available in next release.

    #271005
    pd9soft
    Participant

    Found the bug tracker & reported here
    https://buddypress.trac.wordpress.org/ticket/7702#ticket

    amandafrench
    Participant

    Never mind! I’ve found a fabulous solution that has gotten me out of SQL query hell. Again, if anyone else is trying to sort a Members Directory, here’s what I did:

    1) Put it in a table, not a list (I had done this anyway, since I wanted a single-page directory that displayed xprofile fields horizontally) — make sure it has a <th> table header row;
    2) Install the plugin Table Sorter https://wordpress.org/plugins/table-sorter/ and add the class “tablesorter” to the table.

    Et voilà! I commented out the sort type dropdown in members/index.php starting with
    <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Members directory secondary navigation', 'buddypress' ); ?>" role="navigation">
    all the way through

    <?php
    /**
     * Fires inside the members directory member order options.
     *
     * @since 1.2.0
     */
    do_action( 'bp_members_directory_order_options' ); ?>
    </select>
    </li>
    </ul>
    </div>

    and I made sure that the default single page list showed all users alphabetically by default in members-loop.php

    <?php if ( bp_get_current_member_type() ) : ?>
    	<p class="current-member-type"><?php bp_current_member_type_message() ?></p>
    <?php endif; ?>
    
    <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) . '&per_page=500' . '&exclude=1,2,3,4,6' . '&type=alphabetical') ) : ?>

    And then all I had to do was add that tablesorter class to the table as required by the tablesorter plugin, and I got a nice dynamic table with sortable columns, which can also be sorted by multiple criteria by holding down the Shift key on the second column. I set the initial sort order with parameters that select the column by number, as described at http://tablesorter.com/docs/example-option-sort-list.html and elsewhere.

    <table id="members-list" class="tablesorter {sortlist:[[4,0], [3,0], [2,0], [1,0], [0,0]]}" aria-live="assertive" aria-relevant="all">

    Yay.

    anunos
    Participant

    Hello There,

    I´m using BuddyPress with the business plan of wordpress.com and suddenly all BuddyPress email notifications stops working. I also have installed WP Mail SMTP plugin to improve email delivery and all other WordPress emails are working fine.

    BuddyPress version installed 2.9.3
    WordPress version (wordpress.com) 4.9.4

    Regards

    #270970
    fatguyonbike
    Participant

    Hi,

    i want to configure buddypress on my own theme. I am looking for a list of functions like https://codex.wordpress.org/Function_Reference just for buddypress. Where can I find this?

    Thank you!

    #270956
    David Cavins
    Keymaster

    Hi I’m not exactly sure what you mean, but if you’re looking to get the profile image associated with a group or user, you can use the avatar-fetching function that BP uses in its templates, bp_core_fetch_avatar():
    https://buddypress.trac.wordpress.org/browser/tags/2.9.3/src/bp-core/bp-core-avatars.php#L99

    As an example, you might use

    bp_core_fetch_avatar( array(
    			'item_id' => $user_id,
    			'type'    => 'thumb',
    			'width'   => false,
    			'height'  => false,
    			'html'    => true,
    			'alt'     => sprintf( __( 'Profile picture of %s', 'buddypress' ), 'user name' )
    ) );
    
Viewing 25 results - 4,001 through 4,025 (of 32,690 total)
Skip to toolbar