Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 62,951 through 62,975 (of 69,054 total)
  • Author
    Search Results
  • #51469

    In reply to: Import existing user

    peterverkooijen
    Participant

    I really do appreciate all your hard work, Jeff Sayre!

    I don’t only post to beg for solutions. A lot of my posts are reminders for myself what I’m doing, what I have already tried and what issues I still need to solve.

    I imagine other regular web developers using Buddypress will run into many of the same issues I run into. Hopefully my threads and posts will be useful resources to them.

    The solution to this users import time-out issue is now available within the Buddypress forum. One more thing you hopefully don’t have to answer again in the future.

    My experience even put an approximate number on it. I think on the second attempt I’ll just split my list in half, import them as two batches of 300.

    #51467

    In reply to: Import existing user

    peterverkooijen
    Participant

    I’ve noticed the imported users have also been added to the mailing list via my bp-custom.php function.

    So the plugin actually “runs” the regular registration processes, including wpmu_activate_user? Whatever member registration custom code or plugin you have inbetween, this plugin takes it into account?

    That is pretty cool. :-)

    #51462
    nicolagreco
    Participant

    I replied you here -> https://buddypress.org/forums/topic/listmessenger-or-phplist-integration-plugin?replies=6#post-22429

    it’s better using built-in functions

    $uid = get_userdata($user_id);

    $uid->user_email;

    #51461

    In reply to: Problems in Spanish

    nicolagreco
    Participant

    you shoud open a ticket in the trac here:

    https://trac.buddypress.org/

    #51460

    In reply to: Import existing user

    peterverkooijen
    Participant

    Jeff Sayre, I already google a lot of things. I don’t think it’s off-topic to point out that this essential Buddypress plugin – that should be a built-in BP feature… – runs into this time-out when you use it with over 490 users.

    All my issues may be very boring, annoying and off-topic to you, but I’m just a regular web developer (html, css, a bit of js and php) running into lots of basic issues that aren’t solved. I had no intention learning PHP, but Buddypress has lots of loose ends.

    I hope by posting here the programmers at Automattic become aware of issues and that other developers on this forum can benefit from solutions I or others come up with.

    nicolagreco
    Participant

    I think that plugin will not work with buddypress 1.1

    #51456

    In reply to: Import existing user

    Jeff Sayre
    Participant

    Fatal error: Maximum execution time of 30 seconds exceeded in /serverpath/wp-includes/class-phpass.php on line 60

    This error has nothing to do with Manoj’s plugin, BuddyPress, of WPMU code. It is a standard server error that occurs when any PHP script exceeds a preset execution time limit. The default is usually set to 30 seconds.

    If you have access to changing your php.ini file, then make the alterations there. If not, then you can make them in your .htaccess file (php_value max_execution_time 200).

    I realize that you are working through WPMU and BP, learning as you go. That is great! But, a little googling can answer a lot of issues you will come across while learning the ins and outs of PHP programming, database management, server operation and optimization, etc.

    http://lmgtfy.com/?q=Maximum+execution+time

    #51454

    In reply to: Import existing user

    peterverkooijen
    Participant

    Trying to use Manoj Kumar’s Buddypress Users Import plugin. I get this error:

    Fatal error: Maximum execution time of 30 seconds exceeded in /serverpath/wp-includes/class-phpass.php on line 60

    I don’t recognize anything in that line:

    function get_random_bytes($count)
    {
    $output = '';
    if (($fh = @fopen('/dev/urandom', 'rb'))) {
    $output = fread($fh, $count);
    fclose($fh);
    }

    Can I just temporarily delete it? Would that solve the problem? Other solutions?

    I’m trying to import 600+ members, so I’m not surprised it times out.

    EDIT: 490 members were actually imported quite nicely! :-)

    EDIT2: Not as nicely as I first thought… Username and full name didn’t make it over, only email addresses. Should I have added labels to the top line?

    EDIT3: There is no fast way to delete 490 users…?

    EDIT4: Does this plugin also update firstname + username in wp_usermeta. If not, I have to add it.

    #51453
    peterverkooijen
    Participant

    Thanks r-a-y!

    I like jQuery. I already use it for several other things, so this looks like a good solution.

    I hope a more built-in solution will be added to coming versions of Buddypress.

    #51451

    In reply to: Show xprofile data?

    peterverkooijen
    Participant

    Thanks Treblamah!

    Wow, that is horribly unusable again… :-(

    This spits out all the xprofile data:

    <?php bp_get_profile_header() ?>
    <?php bp_the_avatar() ?>
    <?php if ( function_exists('xprofile_get_profile') ) : ?>
    <?php xprofile_get_profile() ?>
    <?php else : ?>
    <?php bp_core_get_wp_profile() ?>
    <?php endif; ?>

    And I guess I have to add parameters to make it more selective. Or copy that xprofile_get_profile function and customize it.

    I’ll look into that later…

    #51449

    In reply to: Show xprofile data?

    Treblamah
    Participant

    This should help:

    https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-profile-data-loop-bp_has_profile/

    I had to separate the fields by group to pull only one field at a time that preserved the formatting. The other ways I found to pull individual field data produced text without line breaks.

    #51448
    Rohan Kapoor
    Participant

    Thanks a lot JEFF! Using your link and this post: https://buddypress.org/forums/topic/avatar-upload-problems#post-5481 solved my problem!

    Thanks again!

    #51447
    Jeff Sayre
    Participant

    Rohan-

    Read this post and the various links within it and see if that helps.

    #51446
    peterverkooijen
    Participant

    This works:

    function synchro_mailinglist($user_id, $password, $meta) {
    global $bp, $wpdb;

    $email = $wpdb->get_var("SELECT user_email FROM $wpdb->users WHERE ID='$user_id'");

    $fullname = $meta[field_1];
    $space = strpos( $fullname, ' ' );

    $company = $meta[field_2];

    if ( false === $space ) {
    $firstname = $fullname;
    $lastname = '';
    } else {
    $firstname = substr( $fullname, 0, $space );
    $lastname = trim( substr( $fullname, $space, strlen($fullname) ) );
    }

    $firstname = nameize($firstname);
    $lastname = nameize($lastname);

    ...

    $wpdb->query("INSERT mailingusers SET users_id='$user_id', group_id='1', signup_date= UNIX_TIMESTAMP(), firstname= '$firstname', lastname= '$lastname', email_address = '$email' ");
    $wpdb->query("INSERT mailingcdata SET cdata_id=NULL, user_id='$user_id', cfield_id='1', value='$company'");

    }
    add_action( 'wpmu_activate_user', 'synchro_mailinglist', 10, 3);

    I used it as part of this function. This should work other mailinglist scripts as well, just change the table and field names.

    I don’t understand why $user_email didn’t work. I had to pull the user_email from the database. Is there a cleaner way?

    #51444
    David Mazza
    Participant

    I need to do something similar. I have two domains (sunysb.net and sbulife.com) where sunysb.net is the domain I use for buddypress, and sbulife.com redirects to it. Normally, I would park sbulife.com on sunysb.net and the end user wouldn’t know the difference, but with the subdomain rewrite rules, it really screws up wordpress mu.

    Rohan Kapoor
    Participant

    Take a look at the buddybar in bbpress plugin: https://buddypress.org/forums/topic/buddybar-for-bbpress/page/5#post-20914

    That post has the solution to the problem.

    #51439

    In reply to: Problems in Spanish

    pietro28
    Participant

    I think it is a bug becouse …

    If I write something with accents in bbpress works fine,

    If I write something with accents in other sites in buddypress (blog, groups, etc …) works fine,

    But if I write somethining in buddypress forums with accents I get this error but only in the content, not in the title topic …

    see this example http://profesionales.net/groups/profesionales-de-la-informatica/forum/topic/5

    #51438
    Mohit Kumar
    Participant

    I am on a shared hosting….Probably i must wait for Buddypress 1.1..The groups forum are much better.Testing it on localhost …seems fine..still scared to use it…

    Thanks all

    #51435
    r-a-y
    Keymaster

    blackarbor originally wrote:

    not really texet, the wire is more like Facebook’s wall :).

    status updates are personal updates about w/e you want. you can only have 1 update in the status place and when you want to update, it deletes your previous status.

    I’m still trying to wrap my head around status updates… couldn’t you just use your latest wire post with an expiry date of a week? By “expiry”, I mean the wire post won’t be shown underneath your name, but will be archived in the wire). Functionality-wise, they’re both the same… the only difference I see is segregating data and labels. But maybe I’m just daft and slow on the uptake!

    #51433

    In reply to: IE6 and 7 problem

    arezki
    Participant

    Hi Jeff- sorry for the missed information. Apologies! I agree I don’t think it’s buddypress issue but I thought someone in the forum would be aware of similar problem whereby a form won’t work under IE6/7.

    I have installed the latest version of MU (WordPress MU 2.8.4) and the latest version of Buddypress. I also admit I have many plugins. wp-greet works fine with all the variations of WP/WPMU/Buddypress… seen them in action but for whatever reason IE6/7 just wont do it on my end. Thanks.

    #51429

    In reply to: IE6 and 7 problem

    Jeff Sayre
    Participant

    First of all, we do not have sufficient information to offer the best resolution to your issue.

    We have no idea what versions of WPMU and BuddyPress you’re running. Are you running WPMU or single-user WordPress? What other plugins do you have installed?

    The plugin does not indicated that it works with WPMU and it is only updated to WP 2.7.1. Perhaps that is part of the problem.

    I’m setting this to “not a support question” as this seems more like a WP issue and not a BuddyPress issue. Also, I’m moving it to the proper forum, “Third Party Components & Plugins”.

    #51428

    In reply to: Problems in Spanish

    pietro28
    Participant

    Hi Nicola, bbPress XML-RPC is enabled

    if I write “más” in buddypress forum’s group the buddypress show “m�s” and the bbpress forum show “m/amp/aacute;s”

    http://www.profesionales.net/foro/topic/nuevos-profesionales-y-empresarios-de-la-construccion

    #51425
    nicolagreco
    Participant

    YourMembers plugin with some hacks worked.

    #51424
    nicolagreco
    Participant

    If you update to BP 1.1 the status component is in BuddyPress and does exactly what you’re looking for

    #51421
    nicolagreco
    Participant

    I think you’ve some plugins that breake something, this error happen when ‘bp_adminbar_blogs_menu’ is not declared.

    Try to deactivate all plugins and reactive BuddyPress, and update us!

    Nicola

Viewing 25 results - 62,951 through 62,975 (of 69,054 total)
Skip to toolbar