Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 15,501 through 15,525 (of 32,690 total)
  • Author
    Search Results
  • #150174
    magichew
    Participant

    Sorry but I have just created another ticket for this too.

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

    I have been running 1.7 on the site I’m testing for weeks and it seems like it hasn’t been a problem for the whole life of 1.7 as some users are fine and other users haven’t been able to activate at a later date.

    Unfortunately I don’t know how to find out any sort of timeline for when this broke.

    #150151
    lwaltzer
    Participant

    Oops. Trying again:

    /**
    * In WP 3.5+, get_blogs_of_user() is much slower than in previous versions. As
    * a result, if you have a certain number of blogs, running get_blogs_of_user()
    * will create a memory timeout. This is a particular problem because
    * get_blogs_of_user() is called on every page, because of the toolbar.
    *
    * Ideally, there would be a way to short-circuit get_blogs_of_user(), or even
    * to prevent WordPress from calling get_blogs_of_user() while loading the
    * toolbar. But there is not. As a workaround, this function intercepts a key
    * step in get_blogs_of_user() – the get_user_meta() call that gets all of a
    * user’s metadata. If we determine that this request is coming from
    * get_blogs_of_user() (which we do by examining the debug_backtrace(), a truly
    * awful technique), AND that it’s one of the generic meta queries used by
    * get_blogs_of_user(), AND that the current user has more than 75 blogs, THEN
    * we strip all of the blog capability keys from the array of metadata,
    * tricking get_blogs_of_user() into thinking that the current user has no
    * blogs at all.
    */
    function bbg_admin_bar_hack( $check, $object_id, $meta_key, $single ) {
    // Only fire when looking at get_user_meta() with no params
    if ( ! $meta_key ) {

    // check to see whether this came from get_blogs_of_user()
    $db = debug_backtrace();
    $is_get_blogs_of_user = false;
    foreach ( $db as $dbk => $dbv ) {
    if ( ‘get_blogs_of_user’ == $dbv[‘function’] ) {
    $is_get_blogs_of_user = true;
    break;
    }
    }

    if ( $is_get_blogs_of_user ) {
    // Get the real metadata, but don’t recurse
    remove_filter( ‘get_user_metadata’, ‘bbg_admin_bar_hack’, 10, 4 );
    $meta = get_user_meta( $object_id );
    add_filter( ‘get_user_metadata’, ‘bbg_admin_bar_hack’, 10, 4 );

    // How many blogs does this user have?
    static $blog_count_of_user;
    if ( ! isset( $blog_count_of_user ) && is_user_logged_in() ) {
    $blog_count_of_user = 0;
    foreach ( $meta as $mk => $mv ) {
    if ( ‘capabilities’ === substr( $mk, -12 ) ) {
    $blog_count_of_user++;
    }
    }
    }

    // We only care about those with counts > 75
    if ( $blog_count_of_user > 75 ) {
    static $clean_keys;
    if ( isset( $clean_keys ) ) {
    return $clean_keys;
    } else {
    foreach ( $meta as $mk => $mv ) {
    if ( ‘capabilities’ === substr( $mk, -12 ) ) {
    unset( $meta[ $mk ] );
    }
    }

    $clean_keys = $meta;
    return $meta;
    }
    }
    }

    }

    return $check;
    }
    add_filter( ‘get_user_metadata’, ‘bbg_admin_bar_hack’, 10, 4 );

    #150141
    modemlooper
    Moderator
    camcollins
    Participant

    I am running WP 3.5, BP 1.6.2 and BP Share It 1.2.1. I have the Twitter, Facebook and G+ buttons activated in the BP Share It plugin. All of them work except Facebook IF AND ONLY IF the activity text (div class = “activity-inner”) contains special characters like quotes or an exclamation point. If just plain text is posted without any extraneous characters (e.g. only a-z, A-Z, 0-9) in the activity stream the Facebook share works just fine.

    Its as if the activity string needs to be “sanitized” or something to remove certain characters. Is there a WordPress API function that does this?

    tamimadam
    Participant

    Hello, I just installed buddypress but one option I didn’t find out. That is I want to import all profile fields with previously stored users profile information from Default wordpress (wp-admin/profile.php) profile page to buddypress profile.

    How can I do this?

    I am using Latest WordPress and buddypress

    adamlawson
    Participant

    Hello all,

    My Name is Adam and I am very new to the WordPress/Buddypress scene. My experience with it has been outstanding. Its ease of use and many features makes this a valuable resource. I have some questions regarding WordPress and Buddypress integration. Once installed I will be running the latest version of both.

    Allow me to paint my scenario then asks my questions. Please respond to all that you can. I can also be contacted directly via email at admcalvin@yahoo.com

    Thank you in advanced!

    I am creating a website that will be generating content (mostly articles) for specific categories. For sensitive reasons I will use bogus examples here. Some examples are Fashion, Design, Hair, Modeling etc… I want to integrate these articles with the social abilities of Buddypress. Providing the end user the ability to comment, post, share, re-post etc…

    The site home page will consist of a custom page (not posts) where users will see an aesthetically pleasing overview of the categories. Once they click on the category to read further detail they will be asked to create a profile. This is where the Buddypress integration comes in.

    The end user clicks on a category, and begins to fill out the profile questionnaire. Some questions would be, Age, Gender, Categories interested in etc… Once they fill this out they would be redirected to the page that they were originally interested in. At the bottom of the article will be a button for “My Dashboard”.

    What I would like to do is to create a sort of Dashboard for the user that would provide the articles/posts per the answers that they filled out in the Profile Questionnaire. Hence if I chose Fashion and Hair, I could click “My Dashboard” and view those articles. I would like the end user to be able to change this content whenever they want. Remove/add cotegories etc…

    In the broad sense of Buddypress I still want to use the Profile and Activity Streams. The end user could see new posts or other friends or groups activity, comments etc…

    So with that my questions would be this:

    1. Create a custom profile questionnaire

    2. Setup the redirection once the questionnaire has been filled out

    3. Create a Dashboard with content generated from the questionnaire

    4. Setup notifications to notify the user that their profile is not complete. For example “Profile Setup” like add more categories or invite friends, add profile photo etc…

    Again please answer all that you can. Who knows maybe there are plugins that manage these sorts of things.

    Thanks again, I greatly appreciate the input.

    #150109
    Ben Hansen
    Participant
    #150092
    danbpfr
    Participant
    #150084
    mrjarbenne
    Participant

    Unlike CSS, which a child theme will override the parent theme files, a child theme will utilize both functions.php files.

    See the WordPress Codex: https://codex.wordpress.org/Child_Themes#Using_functions.php
    And the Buddypress Codex: https://codex.buddypress.org/legacy/building-a-buddypress-child-theme/

    So don’t copy it over. The functions are being applied in your child theme already. If there are additional functions you want to add in your child theme, add them to the child theme functions.php file.

    #150075
    Tim Hyde
    Participant

    We have just set up a multisite with BuddyPress and have each sub-site as the different languages. At present we just have French and English but the there will be more to come. (See it in action at http://artgrove.com/)

    Enable WordPress in network directory mode. You will create a site for each language required. In the settings for each site you can choose a language.

    For BuddyPress to work in this environment, you need to add the following line to wp-config:

    define( ‘BP_ENABLE_MULTIBLOG’, true);

    This makes the same single BuddyPress run across the whole wordpress network.

    We also used Multilingual press (https://wordpress.org/extend/plugins/multilingual-press/) to help with the switching between languages and for syncing translated content.

    The Codestyling Localization plugin is also very useful for translating plugins, themes and core components into target languages (https://wordpress.org/extend/plugins/codestyling-localization/).

    Of course BuddyPress user generated content will always be in the language they input in. So as pointed out above, you may wish to set up groups/forums that are targeted to specifc languages.

    #150067
    benji.ijneb
    Participant

    I’m looking for a way to include a form in my WordPress site which allows me to take a morning register of site users – ie it will automatically add every registered user to the form and next to each name give the option to enter information / check a box etc. How would be best to go about doing this?

    #150062
    mrjarbenne
    Participant

    If you want to block them entirely, you could use something like this:

    https://wordpress.org/extend/plugins/buddypress-block-activity-stream-types/

    #150060
    mrjarbenne
    Participant

    Probably WP related, but to check, deactivate BP and BBP and try again. If it’s still an issue, redirect your questions to the wordpress.org forum. BP and bbp don’t have native media upload functionality (beyond avatars), so you are probably posting in the wrong locale. Hope you find a solution.

    #150058
    mrjarbenne
    Participant

    That would be the default behaviour of that particular URL, as you’ll see from the test BP site: http://testbp.org/members

    If you aren’t seeing that, perhaps something isn’t set up correctly. In the Buddypress Admin page, have you associated all of the components with WordPress pages?

    #150057
    mrjarbenne
    Participant

    That seems very odd. What are you using to re-route to gmail. Have you tried something like this: https://wordpress.org/extend/plugins/wp-mail-smtp/

    #150054
    yidamweb
    Participant

    Hello Ben,

    Documentation for the plugin may be read here: https://wordpress.org/extend/plugins/bp-registration-options/.

    Thanks.

    #150049
    modemlooper
    Moderator

    If you are serious about running your own hosted site then you will need to have a local install to do all your hacking/testing. If a plugin has not been updated to your install version DO NOT USE it unless you can code and fix problems. WordPress and BuddyPress works together OOTB but when you start adding in unknown code it can and will break.

    Why do you think ning charges? They host it and make sure the features work. That’s the price. WordPress.com same thing. You pay a small fee to not have to deal with hosting and features breaking.

    BuddyPress currently has no hosted solution so my comment about having a local test environment is they way to make sure new features/plugins wont kill your site.

    Also, you need to protect user data and having bad plugins that could leak user data is a site killer. They will loose trust, delete and never return.

    #150025
    danbpfr
    Participant

    Hi,

    try the plugin group email notification subscription
    https://wordpress.org/extend/plugins/buddypress-group-email-subscription/

    Ben Hansen
    Participant

    you have to make it yourself, don’t worry it’s pretty easy:

    https://codex.wordpress.org/Child_Themes

    #150015
    Baconbits
    Participant

    @modemlooper I ditched as many of the option tables as I could find, it didn’t solve the problem. I was wrong about it being a database problem it seems. Thank you — I found a solution for me; hopefully it hepls other users

    @valuser – I figured out a very simple solution that completely saved my website this morning, try it out: on the sidebar where buddypress came with the built in login widget (top right of your sidebar), you’ll notice “Please create an account to get started”.. For me, this link takes you to yoursite.com/register-2/

      register-2 being the slug for my registration page

    .. If you try to sign up in here there are 0 issues across the board.

    So I went into my wordpress – settings – reading and removed “registration” from my homepage and instead made a static homepage “start” which contains a brief about my website, a link (Sign Up Here) that takes you to yoursite.com/register-2. and the shortcode for login

    (I found the login shortcode can be found here http://justintadlock.com/archives/2011/08/30/adding-a-login-form-to-a-page).

    You don’t have to go about it the same route I did, but short and sweet do not use the registration page you created for buddypress as your home page.. add the SLUG to your website url.. yoursite.com/slug (probably register or registration). problem solved.

    Let me know how that goes.

    zzuegg
    Participant

    Hello bp community. I have to say that i am very new to wordpress. I was used to Type3 but unfortunately the forum plugin is not as good a buddypress, and wordpress in general has better plugin support.

    So basically i am currently getting used to wordpress and it’s do’s and don’ts.

    Up to now everything went fine, installation of WP and BP works like a charm, even the theme integration was kind of straightforward.

    But now i am facing a problem which i cannot solve.

    Here you find my site with the problem.
    http://when-money-makes-money.com/forums/forum/indicators-2/

    As you can see the avatar pictures should be very small, but unfortunately the are not. The tag has correct height=14 width=14 it doesn’t get applyed.

    Any solutions or hints? I have already checked the css but i have not found some command which might override..

    Thank you very much in advance
    Michael

    #150007
    aces
    Participant

    You could try putting the following in you child theme functions.php file
    `function bbg_enqueue_styles() {
    remove_theme_support( ‘bp-default-responsive’ );
    }
    add_action( ‘wp_enqueue_scripts’, ‘bbg_enqueue_styles’, 5 );`

    For more info see: https://buddypress.trac.wordpress.org/ticket/3881#comment:2

    aces
    Participant

    You could try putting the following in you child theme functions.php file
    `function bbg_enqueue_styles() {
    remove_theme_support( ‘bp-default-responsive’ );
    }
    add_action( ‘wp_enqueue_scripts’, ‘bbg_enqueue_styles’, 5 );`

    For more info see: https://buddypress.trac.wordpress.org/ticket/3881#comment:2

    #150004

    In reply to: Removing database info

    modemlooper
    Moderator

    `
    [import_export] => 1
    [manage_options] => 1
    [manage_themes] => 1
    [manage_plugins] => 1
    [edit_users] => 1
    [manage_tags] => 1
    `
    these are WordPress options.

Viewing 25 results - 15,501 through 15,525 (of 32,690 total)
Skip to toolbar