Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 50,376 through 50,400 (of 64,394 total)
  • Author
    Search Results
  • #69737
    Josh Leuze
    Member

    Andrew, I just converted a test install of phpBB 3.05 to bbPress 1.0.1 without any problems.

    #75409
    michael3185
    Member

    “Weigh in”? Geez, putting your own opinion forward doesn’t turn life into a wrestling match.

    I could have explained better. The woman in question doesn’t understand the concept of the Gravatar being in one place and therefore easy to change. As far as she’s aware, sites you give your email to have access to that email, and things virtually attached to it. As an example, I have people who think you can’t use the same name with a different email service provider because once used they think their name is ‘taken’ on the entire Internet. They see ‘Bob Jones’ refused in Hotmail, and are offered ‘Bob Jones482’ and take it, then think ‘Bob Jones482’ can’t be used elsewhere.

    We all have varying opinions on the Gravatar/Core issue and others, but it’s no big deal in the end, is it? After all, if it comes to the point where 0.9 doesn’t do what somebody wants me to do for them, then there are many other options. We’re all very happy with 0.9 right now though, so all’s smiles. :)

    #15229
    Kar-l
    Member

    I run a forum (bbPress 1.01, thanks!) were I’d like to motivate visitors to register.

    Could someone please let me know how could I limit the number of posts visible to guests (not logged users) to, say, 5 and end it with “There is more posts here, if you want to see them, please login/register”

    #15224
    arpit.tambi.in
    Participant

    I have successfully integrated the two platforms and the setup works well. But I would really want to resolve the following issues :

    a) While bbPress is super fast, the forums on BuddyPress site aren’t that responsive. Is it normal and is it due to the XML-RPC mechanism? Any solution?

    b) Also the bbPress forums on BuddyPress don’t offer options like “EDIT” or “DELETE” etc. How can I have these options on BuddyPress side?

    Any help would be appreciated…

    #73743
    nielowait
    Member

    I struggled with this beast until I hacked it into submission.

    Have a look here to see what I did:

    http://nielo.info/2009/07/08/wpmu-buddypress-bbpress-integration/

    Hope it helps someone!

    #75723

    That works too, @buddha trance :) There’s no ‘upgrade’ with 1.0.1 so you’re not missing anything.

    #15228
    deadlyhifi
    Participant

    For WordPress:

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); echo '?' . filemtime( get_stylesheet_directory() . '/style.css'); ?>" type="text/css" media="screen, projection" />

    For bbPress:

    <link rel="stylesheet" href="<?php bb_stylesheet_uri(); echo '?' . filemtime( bb_get_active_theme_directory() . '/style.css'); ?>" type="text/css" media="screen, projection" />

    Creates a unique number (based on time) after the filename which is automatically updated if make a change to your stylesheet.

    mlantz
    Member

    Hey all,

    I have noticed since I installed bbpress, the topic-tags are pushed down below the topic-info section when the topic title is long. This is certainly a simple CSS issue, but I am wondering if that is the desired functionality or just a bug.

    Example here: http://www.insideredbox.com/community/topic/sms-offer-text-fit-to-414141-for-a-free-redbox-code

    Thanks,

    Mike

    #75751
    Sam Bauers
    Participant
    #75369

    In reply to: bbPress 1.0 released

    Sam Bauers
    Participant

    Localisation files are available now…

    http://svn.automattic.com/bbpress-i18n/pot/tags/1.0.1/

    #75504
    Sam Bauers
    Participant
    #75722
    Caesar
    Member

    @_ck_:

    See https://codex.wordpress.org/Version_2.7#WordPress_Upgrader – “All file operations are performed as the user that owns the files, not as the web server’s user. All files are set to 0644 and all directories are set to 0755, and writable by only the user and readable by everyone else, including the web server.”

    Regarding the phoning home “with all your install info” – according to the docs, the only info sent is your version and locale. I haven’t checked this myself.

    Most WordPress users find the “automatic” upgrade very useful, and most bbPress users would too. The sooner it’s available the better, in my opinion, though I don’t know how much work is required to port it from WordPress.

    #15226
    taboo
    Member

    The localization for bbPress front end is available. The admin panel/installation remains in English. It features correct plurals + correct month namings.

    Get it @ http://vulvodynia.pl/wp-content/upload/var/tlumaczenie.html

    There probably are still some mistakes, so use with care. The user noun “użytkownik” is changed to (female) “użytkowniczka” so it could be used primarly for women forums.

    #75721

    Ipstenu, currently when I upgrade, I skip the part where I have to recreate the bb-config file through the installer, and just keep the old one. It seems to work fine that way, or am I missing something that a new installation would do?

    Basically, this is what I do:

    1 – Deactivate all plugins

    2 – Keep ‘my templates’, ‘my plugins’, bb-config.php, .htaccess

    3 – Delete everything else and replace with the new files

    4 – Go to admin dashboard and reactivate all plugins.

    Seems to work fine.

    #75689
    grassrootspa
    Member

    This is wonderful. It was such a shame to hear the old page was taken down.

    #75408
    grassrootspa
    Member

    Thanks for taking the time to weigh in Sam.

    Sounds like a plugin with ‘Edit Profile Page’ directions on how to get a Gravtar and would be helpful to the community. I will try and figure out how to make one.

    #75720

    Yep, still works.

    #75681

    Sure… but be forewarned. i’m not familiar with php whatsoever and the bbPress structure. (so i’m sure i violated something) this is on 1.0. Not sure if this can be made into a plug-in or not, I have yet to read up on how to create those and the filter/hook stuff.

    (i have a small community ~1000 when all said and done – but some are savvy with firebug would just edit the form fields if disabled)

    profile-edit.php in the main root – everything labeled CHANGED

    // Instantiate the error object

    $errors = new WP_Error;

    if ( ‘post’ == strtolower($_SERVER) ) {

    $_POST = stripslashes_deep( $_POST );

    bb_check_admin_referer( ‘edit-profile_’ . $user_id );

    // Fix the URL before sanitizing it

    $user_url = bb_fix_link( $_POST );

    // Sanitize the profile info keys and check for missing required data

    foreach ( $profile_info_keys as $key => $label ) {

    $$key = apply_filters( ‘sanitize_profile_info’, $_POST[$key], $key, $_POST[$key] );

    if ( !$$key && $label[0] == 1 ) {

    $errors->add( $key, sprintf( __( ‘%s is required.’ ), esc_html( $label[1] ) ) );

    $$key = false;

    }

    }

    // Find out if we have a valid email address

    if ( isset( $user_email ) && !$user_email = is_email( $user_email ) ) {

    $errors->add( ‘user_email’, __( ‘Invalid email address’ ), array( ‘data’ => $_POST ) );

    }

    //CHANGED – added for duplicate email check on profile update

    if (isset( $user_email )) {

    if(changed_no_duplicate_email_update_user($user_email, $user->ID)) {

    $bad_input = true;

    $$key = false;

    $errors->add( ‘user_email’, __( ‘Email address already in use’ ), array( ‘data’ => $_POST ) );

    }

    }

    //ENDCHANGED

    // Deal with errors for users who can edit others data

    if ( bb_current_user_can(‘edit_users’) ) {

    // If we are deleting just do it and redirect

    if ( isset($_POST) && $_POST && $bb_current_id != $user->ID ) {

    bb_delete_user( $user->ID );

    wp_redirect( bb_get_uri(null, null, BB_URI_CONTEXT_HEADER) );

    exit;

    }

    // Get the user object

    $user_obj = new BP_User( $user->ID );

    // Store the new role

    $role = $_POST;

    // Deal with errors with the role

    if ( !isset($wp_roles->role_objects[$role]) ) {

    $errors->add( ‘role’, __( ‘Invalid Role’ ) );

    } elseif ( !bb_current_user_can( ‘keep_gate’ ) && ( ‘keymaster’ == $role || ‘keymaster’ == $user_obj->roles[0] ) ) {

    $errors->add( ‘role’, __( ‘You are not the Gate Keeper.’ ) );

    } elseif ( ‘keymaster’ == $user_obj->roles[0] && ‘keymaster’ != $role && $bb_current_id == $user->ID ) {

    $errors->add( ‘role’, __( ‘You are Keymaster, so you may not demote yourself.’ ) );

    }

    // Sanitize the profile admin keys and check for missing required data

    foreach ( $profile_admin_keys as $key => $label ) {

    if ( isset( $$key ) )

    continue;

    $$key = apply_filters( ‘sanitize_profile_admin’, $_POST[$key], $key, $_POST[$key] );

    if ( !$$key && $label[0] == 1 ) {

    $errors->add( $key, sprintf( __( ‘%s is required.’ ), esc_html( $label[1] ) ) );

    $$key = false;

    }

    }

    // Create variable for the requested roles

    foreach ( $assignable_caps as $cap => $label ) {

    if ( isset($$cap) )

    continue;

    $$cap = ( isset($_POST[$cap]) && $_POST[$cap] ) ? 1 : 0;

    }

    }

    // Deal with errors generated from the password form

    if ( bb_current_user_can( ‘change_user_password’, $user->ID ) ) {

    if ( ( !empty($_POST) || !empty($_POST) ) && $_POST !== $_POST ) {

    $errors->add( ‘pass’, __( ‘You must enter the same password twice.’ ) );

    } elseif( !empty($_POST) && !bb_current_user_can( ‘change_user_password’, $user->ID ) ) {

    $errors->add( ‘pass’, __( “You are not allowed to change this user’s password.” ) );

    }

    }

    // If there are no errors then update the records

    if ( !$errors->get_error_codes() ) {

    do_action(‘before_profile_edited’, $user->ID);

    //CHANGED – did we reset the email?

    $changed_do_email_reset = false;

    //ENDCHANGED

    if ( bb_current_user_can( ‘edit_user’, $user->ID ) ) {

    //CHANGED- if user updates email address – generate new password and email

    if ($user->user_email != $user_email) {

    $changed_do_email_reset = true;

    $changed_old_email = $user->user_email;

    }

    //ENDCHANGED

    // All these are always set at this point

    bb_update_user( $user->ID, $user_email, $user_url, $display_name );

    // Add user meta data

    foreach( $profile_info_keys as $key => $label ) {

    if ( ‘display_name’ == $key || ‘ID’ == $key || strpos($key, ‘user_’) === 0 )

    continue;

    if ( $$key != ” || isset($user->$key) )

    bb_update_usermeta( $user->ID, $key, $$key );

    }

    }

    if ( bb_current_user_can( ‘edit_users’ ) ) {

    if ( !array_key_exists($role, $user->capabilities) ) {

    $user_obj->set_role($role); // Only support one role for now

    if ( ‘blocked’ == $role && ‘blocked’ != $old_role )

    bb_break_password( $user->ID );

    elseif ( ‘blocked’ != $role && ‘blocked’ == $old_role )

    bb_fix_password( $user->ID );

    }

    foreach( $profile_admin_keys as $key => $label )

    if ( $$key != ” || isset($user->$key) )

    bb_update_usermeta( $user->ID, $key, $$key );

    foreach( $assignable_caps as $cap => $label ) {

    if ( ( !$already = array_key_exists($cap, $user->capabilities) ) && $$cap) {

    $user_obj->add_cap($cap);

    } elseif ( !$$cap && $already ) {

    $user_obj->remove_cap($cap);

    }

    }

    }

    //CHANGED – send confirmation emails, log them out

    if ($changed_do_email_reset) {

    $send_key_result = bb_reset_email( $user->user_login );

    if ( is_wp_error( $send_key_result ) )

    $error = $send_key_result->get_error_message();

    if ($changed_old_email) {

    $mail_result = bb_mail( $changed_old_email, bb_get_option(‘name’) . ‘: ‘ . __(‘Email Address Updated’), “Your email address has been updated and a confirmation message has been sent. Thanks!” );

    if (!$mail_result) {

    new WP_Error(‘sending_mail_failed’, __(‘The email notifying an email address change could not be sent.’));

    }

    }

    //kill their current session and break the password so they can’t log in until a reset.

    if ( bb_get_current_user_info( ‘ID’ ) == $user->ID ) {

    changed_break_password( $user->ID );

    bb_clear_auth_cookie();

    }

    //ENDCHANGED

    } else if ( bb_current_user_can( ‘change_user_password’, $user->ID ) && !empty($_POST) ) {

    $_POST = addslashes($_POST);

    bb_update_user_password( $user->ID, $_POST );

    if ( bb_get_current_user_info( ‘ID’ ) == $user->ID ) {

    bb_clear_auth_cookie();

    bb_set_auth_cookie( $user->ID );

    }

    }

    do_action(‘profile_edited’, $user->ID);

    //CHANGED – lets fire off a message on the template page to explain what we did

    if ($changed_do_email_reset) {

    wp_redirect( add_query_arg( ’emailupdated’, ‘true’, get_user_profile_link( $user->ID ) ) );

    //ENDCHANGED

    } else {

    wp_redirect( add_query_arg( ‘updated’, ‘true’, get_user_profile_link( $user->ID ) ) );

    }

    exit;

    }

    }

    then two helper functions

    function changed_no_duplicate_email_update_user($email, $id) {

    if ($email && $id) {

    global $bbdb;

    if ($bbdb->get_row($bbdb->prepare("SELECT ID FROM $bbdb->users WHERE user_email = %s AND ID <> %d ", $email, $id))) {

    return true;

    } else {

    return false;

    }

    }

    }

    function changed_break_password( $user_id ) {

    global $bbdb;

    $user_id = (int) $user_id;

    if ( !$user = bb_get_user( $user_id ) )

    return false;

    $secret = substr(bb_hash( ‘changed_break_password’ ), 0, 13);

    if ( false === strpos( $user->user_pass, ‘—‘ ) )

    return $bbdb->query( $bbdb->prepare(“UPDATE $bbdb->users SET user_pass = CONCAT(user_pass, ‘changed’, %s) WHERE ID = %d”, $secret, $user_id) );

    else

    return true;

    }

    #75407
    Sam Bauers
    Participant

    “her worries would have continued for some time if she did have [a Gravatar]. She’d have been desperately trying to remember every single site she’d put her email on to see whether her picture appeared there”

    Actually, if all the sites where her avatar appeared used Gravatar, she would only have to worry about changing one image on gravatar.com and the new avatar (or lack thereof) would then be used on all those sites. Gravatar helps alleviate the situation you describe, not make it worse.

    In any case I think it would be wrong to pimp Gravatar in the actual default theme. As it exists right now, having Gravatar in the core actually helps people who want to add their own avatar solution by supplying the core replaceable function and the calls to it in the rest of the code. By replacing that one function, a plugin author can remove Gravatar altogether and replace it with something else. Another bonus for me and everyone who volunteers support time is that by using Gravatar we avoid all the issues associated with supporting file uploads in the core.

    I still believe that Gravatar should be supported by default in the core, but I think it would be inappropriate to push what is effectively advertising for the service to the front end (in the default theme) and force people to make modifications to remove it. That’s not the idea of having it there at all.

    #75719
    intimez
    Participant

    https://bbpress.org/documentation/upgrading/

    These instructions cover upgrading to version 0.9.0.2

    Does the upgrade instruction still apply for 1.0.1 or only up to stated version?

    TIA

    #75406

    Actually, it’d almost be nice to be able to tie Gravatar into your board so that when someone goes to change their avatar, it backends the whole deal to Gravatar. Imagine: Changing your gravatar from any enabled site, without having to login. And being able to pick which gravatar for which site…

    Of course there’s a raft of security crap with that, but it’s an amusing thought.

    #15222
    litchi
    Member

    Where can I find the document about bbpress with memcached?

    I tried to use the object-cache.php for wordpress but it seems does not work.

    Can anybody help me?

    Thanks in advance.

    #15221
    ademmler
    Member

    hi,

    i have downloaded the actual bugfixes, I put it on my server – but where does it have to be, that bbPress is noticing the package?

    Or what do I have to do to get the update running? unzipping, copying, calling bb-admin upgrade . . . .

    help would be greate

    Alex

    #75688

    Nice Article CK , Thanks for sharing the link.

    #75405
    michael3185
    Member

    @grassrootspa; So are you suggesting that just because Automattic run the Gravatar service, and decided to put it into the core of 1.0, that we should all be forced to use Gravatars?

    If I upgrade to 1.0 I’d still have to use a plugin to allow my users – who don’t know or care about Gravatars and their ‘web presence’ – to have a profile image? Or does 1.0 allow users to select and upload an image like the excellent avatar-upload plugin I use on 0.9?

    Come to that, if bbPress is advertised (and rightly so) as being so flexible and powerful, why can’t I upload a profile image on these forums? I personally, along with my forum users, don’t care if next year you can have your Gravatar beamed into deep space. Like many users, I prefer the quickest and simplest functionality, and functionality I control in any place on the web I visit, not having to be set in some central place and then appearing anywhere I add my email address, etc.

    I don’t like this, “You’ll never have to upload your image again” idea. It takes control away from individuals, who should never be asked or required to identify themselves in a central image bank (even if it is with only an icon). I speak with some experience, as one of the female staff on a forum I built was stalked for some time by a very nasty guy. He didn’t see her Gravatar because she didn’t have one, but her worries would have continued for some time if she did have one. She’d have been desperately trying to remember every single site she’d put her email on to see whether her picture appeared there, in fear that the same thing could happen again with another head case.

    0.9 makes a lot of sense in so many ways, but the more I hear about 1.0 and where it’s heading, the more I see, “Simple, fast, elegant” turning into, “Not so simple, not quite as fast, and elegant is debatable”.

Viewing 25 results - 50,376 through 50,400 (of 64,394 total)
Skip to toolbar