Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'updated'

Viewing 25 results - 1,751 through 1,775 (of 2,090 total)
  • Author
    Search Results
  • #73341

    In reply to: Problem with Smileys

    brad_langdon
    Member

    Crap…My client as been using this for almost a year now and I don’t see him being happy with taking it off.

    It is now a major part of their online community.

    Is there an updated or new version?

    #7842
    doublebuser
    Member

    Need to change number of recent updated posts in Latest Discussions. Where can I change that number in the code or settings?

    Thanks.

    #72896
    deadlyhifi
    Participant

    The updated plugin has been working ok except it has major flaws :)

    1 – The user displayname is not being put into the database – therefore all new users appear as a blank when they post.

    2 – registration error messages aren’t displayed. (e.g. Invalid email)

    The fix was straightforward. The bb_new_user function needed updating as so:

    if (!function_exists('bb_new_user')) :
    function bb_new_user( $user_login, $user_email, $user_url, $user_status = 0 ) {
    global $wp_users_object, $bbdb;

    // is_email check + dns
    if ( !$user_email = bb_verify_email( $user_email ) )
    return new WP_Error( 'user_email', __( 'Invalid email address' ), $user_email );

    if ( !$user_login = sanitize_user( $user_login, true ) )
    return new WP_Error( 'user_login', __( 'Invalid username' ), $user_login );

    // user_status = 1 means the user has not yet been verified
    $user_status = is_numeric($user_status) ? (int) $user_status : 0;

    $user_nicename = $_user_nicename = bb_user_nicename_sanitize( $user_login );
    if ( strlen( $_user_nicename ) < 1 )
    return new WP_Error( 'user_login', __( 'Invalid username' ), $user_login );

    while ( is_numeric($user_nicename) || $existing_user = bb_get_user_by_nicename( $user_nicename ) )
    $user_nicename = bb_slug_increment($_user_nicename, $existing_user->user_nicename, 50);

    $user_url = bb_fix_link( $user_url );
    $user_registered = bb_current_time('mysql');
    $password = wp_generate_password();
    $user_pass = wp_hash_password( $password );

    $user = $wp_users_object->new_user( compact( 'user_login', 'user_email', 'user_url', 'user_nicename', 'user_status', 'user_pass' ) );

    if ( is_wp_error($user) ) {
    if ( 'user_nicename' == $user->get_error_code() )
    return new WP_Error( 'user_login', $user->get_error_message() );
    return $user;
    }

    $user_id = $bbdb->insert_id;
    $options = bb_get_option('approve_user_registration_options');
    bb_update_usermeta( $user_id, $bbdb->prefix . 'capabilities', array('waitingapproval' => true, 'member' => true) );
    approve_user_registration_send_pass( $user_id, $password );

    do_action('bb_new_user', $user['ID'], $user['plain_pass']);
    return $user['ID'];
    }
    endif;

    although I am using a fairly hacked together install with some bleeding edge stuff in there so you may need to experiment a little.

    #6631
    Clicknathan
    Participant

    Does anyone know how I might display viewed threads differently from unviewed?

    For example, if I’m a user visiting my forum and I view a thread, maybe the link would then be a different color. I can do this with CSS obviously, but it’d be great if the thread was updated (ie, a new reply posted), that then the thread would change back.

    Any ideas? I’m just looking for an indicator to show people what they’ve read or what’s new.

    #73028
    sa05admin
    Member

    How upto date is the half a million posts and 100,000 users on the WordPress Support forums as described in the About pages – Can you give that statistic a date in time or keep it updated with a time of last update or even a pretty graph, please, pretty please.

    hruser
    Member

    Hi All,

    Havnt seen any tutorials before doing integration, i guess thats the blunder i did..hence this problem.

    Problem: Cant login to bbpress admin, after WP integration, get message that User doesnt exist. However i CAN login to my WP admin without problems.

    Versions

    WP :2.7.1

    BBpress :0.9.0.4

    What i did: from bbpress integrate wordpress section i filled out following only, nothing esle

    1. Gave my WP url

    2. Gave my WP blog url

    3. Gave my WP secret key

    4. Gave the WP table prefix as: wp –

    thats all dint do anything else. and i UPDATED these details.

    Immediately got logged out. and now cannot login to forum.mysite.com/bb-login.php (bbpress forum is in subdomain)

    What else i did: i generated new password thinking its a password issue. No luck

    Also installed Fix Admin plugin in Plugin folder of WP from Cpanel, as soon as i installed it took me to login page of BBPress, and i tried logging in, No Luck. User doesnt exist message.

    Error seen on left hand TOP side of bbpress login page when login fails:

    bbPress database error: [Table ‘saphruse_bbp01.wp_users’ doesn’t exist]

    SELECT ID FROM wp_users WHERE user_login = ‘admin’

    bbPress database error: [Table ‘saphruse_bbp01.wp_users’ doesn’t exist]

    SELECT * FROM wp_users WHERE user_login = ‘admin’

    Please help.

    Thanks a mill.

    #73051

    Thanks for the reply!

    Alpha 6

    Here are some variables that might help…

    – I updated recently from 0.9.0.4 (although I also updated my other site and it’s fine)

    – I integrated cookies with WordPress

    – not limited to Keymaster accounts

    – works fine with Safari but not with the latest Firefox

    I hadn’t integrated the database yet as I am running three installations on one site and was looking for the best way to do so (I’ve since decided that I’m going to keep them seperate).

    My site is new so I’m not too bothered by the thought of starting the database over unless there is a quick fix for this…

    #72842
    _ck_
    Participant

    bbPress doesn’t yet have the ease of use that WordPress has

    but it can be customized in pretty much the same way.

    The problem is bbPress is much younger than WordPress so there is virtually no documentation and it’s also evolving so any changes you make today may have to be updated somewhat in a few months.

    The best bet is to study existing plugins and themes however if you are not a coder that may be problematic.

    You got this far though, I dare say you probably have the required determination to get it done.

    #72764
    kahnoya
    Member

    SOLVED!

    After troubleshooting this problem for the last 24 hours, I noticed in the screencast that sambauers installed WordPress 2.7.0 and not 2.7.1 the most updated version to this date. So I did a fresh install with WP 2.7.0 and bbPress 1.06 Alpha exactly the way he said. AND IT WORKED ON THE FIRST TRY!

    #72756
    DTI
    Member

    Thanks for help.

    After I followed this info in /plugins/topic/instant-password/

    I have updated the password at ‘user_pass’ with new one and changed user status using 1 at ‘user_status’ in table ‘bb_users’.

    When I user new password, I still can’t login that show me “incorrect password”.

    #64905

    In reply to: can’t log in anymore

    bforeste
    Member

    I was able to resolve my problem.

    Apparently, when I reset what I thought was an irrelevant password on my ISP – my ‘mySQL’ user password changed as well.

    I reset my password, and updated my bb-config.php file with the new info – and all of my bbPress users are now back again.

    Now – does anyone know how I can encrypt my password again in the file?

    #62263

    You know, there’s no good way to say this…

    But wouldn’t that sort of table (and i think it’s a great idea) be classed as documentation?

    And if so, does anyone expect to see it on the BBpress website? Heck the BBpulp.org wiki that Sam set up a year ago so that we’d have documentation hasn’t been updated for the last 8 releases…

    #72619
    Null
    Member

    Update:

    Tested some stuff. I have this now:

    function bbport_location() {
    if (substr($_SERVER["REQUEST_URI"],strrpos($_SERVER["REQUEST_URI"],"/")+1) == "view.php?view=port"):
    return "port-page";
    endif;
    }

    add_filter( 'get_bb_location', 'bbport_location' );

    The problem is that it doesn’t return port-page. If I echo get_bb_location tis will still show: view-page instead of port-page. So why isn”t it updated? Why isn’t it returned?

    #51706
    copperblade
    Participant

    bbPress

    I really really wish he would put it in bbPress subversion. Would be a lot easier for me to make sure the plugin is updated.

    #72630

    A functions.php should be like this:

    <?php

    function bb_nonce_ays( $action ) {
    $title = __( 'bbPress Failure Notice' );
    $html .= "t<div id='message' class='updated fade'>nt<p>" . wp_specialchars( bb_explain_nonce( $action ) ) . "</p>nt<p>";
    if ( wp_get_referer() )
    $html .= "" . __( 'Please try again.' ) . "";
    $html .= "</p>nt</div>n";
    $html .= "</body>n</html>";
    bb_die( $html, $title );
    }

    ?>

    #5054
    wpitn2shape
    Member

    I haven’t edited anything, before even installing I get the unexpected t string error and this

    bb-includes/functions.php on line 2256

    It’s a blank line, here’s what’s above it:

    function bb_nonce_ays( $action ) {

    $title = __( ‘bbPress Failure Notice’ );

    $html .= “t<div id=’message’ class=’updated fade’>nt<p>” . wp_specialchars( bb_explain_nonce( $action ) ) . “</p>nt<p>”;

    if ( wp_get_referer() )

    $html .= “” . __( ‘Please try again.’ ) . ““;

    $html .= “</p>nt</div>n”;

    $html .= “</body>n</html>”;

    bb_die( $html, $title );

    }

    #72357

    In reply to: Bulgarian translation

    wiseacre
    Member

    I have a general question. How updated language files can be uploaded to

    http://svn.automattic.com/bbpress-i18n/

    ?

    #72447
    johnhiler
    Member

    Hey biodrama – you may want to check that you have the latest version of Human Test!. Some spammers found a workaround to an older version, but an updated version has proved more resilient… once I dl’d the latest version, the spammers disappeared!

    #72404

    Txanny, it’s hard to say as you’re talking about 6 months down the line, but if it was me i’d leave BBpress until the end of your development cycle. We’ve no idea what the 1.0 alpha is going to look like in 6 months, as the next release is going to break 2/3 of all plugins and none are being updated for some time, and _ck_ herself has stated she’s not fixing any of hers until 1.1 .

    Given that 1.0alpha came out in September 16th last year and isn’t anywhere close to being out of alpha just now (some 6 months later), I’d suggest not making a decision on which BBpress version for quite some time yet, at least until 1.0alpha7 and we can see what the plugin fall out is.

    If it was me though, i’d go with 0.9. it works well, the plugins work, development on it can continue, and it’s stable.

    #4984

    Topic: Amended Profile page

    in forum Themes
    deadlyhifi
    Participant

    (profile.php in theme folder)

    My users were asking for the ability to jump to the last post on the ‘User Activity’ area within their profile page. So I amended the page to use tables like the favorites listings do with two columns >

    TOPIC > DETAILS

    topic name > You replied 2 weeks ago. No replies since.

    <?php bb_get_header(); ?>

    <h3 class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> &raquo; <?php _e('Profile') ?></h3>

    <div class="vcard">

    <?php if ( $avatar = bb_get_avatar( $user->ID ) ) : ?>
    <div id="useravatar"><?php echo $avatar; ?></div>
    <?php unset($avatar); endif; ?>
    <h2 id="userlogin"><span class="fn"><?php echo get_user_display_name( $user->ID ); ?></span> <small>(<span class="nickname"><?php echo get_user_name( $user->ID ); ?></span>)</small></h2>

    <?php if ( $updated ) : ?>
    <div class="notice">
    <p><?php _e('Profile updated'); ?>. <a href="<?php profile_tab_link( $user_id, 'edit' ); ?>"><?php _e('Edit again &raquo;'); ?></a></p>
    </div>
    <?php elseif ( $user_id == bb_get_current_user_info( 'id' ) ) : ?>
    <p>
    <?php _e('This is how your profile appears to a logged in member.'); ?>

    <?php if (bb_current_user_can( 'edit_user', $user->ID )) : ?>
    <?php printf(__('You may <a href="%1$s">edit this information</a>.'), attribute_escape( get_profile_tab_link( $user_id, 'edit' ) ) ); ?>
    <?php endif; ?>
    </p>

    <?php if (bb_current_user_can( 'edit_favorites_of', $user->ID )) : ?>
    <p><?php printf(__('You can also <a href="%1$s">manage your favorites</a> and subscribe to your favorites’ <a href="%2$s"><abbr title="Really Simple Syndication">RSS</abbr> feed</a>.'), attribute_escape( get_favorites_link() ), attribute_escape( get_favorites_rss_link() )); ?></p>
    <?php endif; ?>
    <?php endif; ?>

    <?php bb_profile_data(); ?>

    </div>

    <h3 id="useractivity"><?php _e('User Activity') ?></h3>

    <div id="user-replies" class="user-recent">
    <h4><?php _e('Recent Replies'); ?></h4>

    <?php if ( $posts ) : ?>

    <table id="favorites">
    <tr>
    <th><?php _e('Topic'); ?></th>
    <th><?php _e('Details'); ?></th>
    </tr>

    <?php foreach ($posts as $bb_post) : $topic = get_topic( $bb_post->topic_id ) ?>
    <tr<?php alt_class('replies'); ?>>
    <td><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></td>
    <td class="num">
    <a href="<?php topic_last_post_link(); ?>">
    <?php if ( $user->ID == bb_get_current_user_info( 'id' ) ) printf(__('You replied %s ago.'), bb_get_post_time()); else printf(__('Latest reply %s ago.'), bb_get_post_time()); ?>
    <span class="freshness"><?php
    if ( bb_get_post_time( 'timestamp' ) < get_topic_time( 'timestamp' ) )
    printf(__('Latest reply %s ago'), get_topic_time());
    else
    _e('No replies since.');
    ?></span>
    </a>
    </td>
    </tr>
    <?php endforeach; ?>
    </table>

    <?php else : if ( $page ) : ?>
    <p><?php _e('No more replies.') ?></p>
    <?php else : ?>
    <p><?php _e('No replies yet.') ?></p>
    <?php endif; endif; ?>

    </div>

    <div id="user-threads" class="user-recent">

    <h4><?php _e('Topics Started') ?></h4>
    <?php if ( $topics ) : ?>

    <table id="favorites">
    <tr>
    <th><?php _e('Topic'); ?></th>
    <th><?php _e('Details'); ?></th>
    </tr>

    <?php foreach ($topics as $topic) : ?>
    <tr<?php alt_class('topics'); ?>>
    <td><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></td>
    <td class="num">
    <a href="<?php topic_last_post_link(); ?>">
    <?php printf(__('Started: %s ago.'), get_topic_start_time()); ?>
    <span class="freshness"><?php
    if ( get_topic_start_time( 'timestamp' ) < get_topic_time( 'timestamp' ) )
    printf(__('Recent reply: %s ago.'), get_topic_time());
    else
    _e('No replies.');
    ?></span>
    </a>
    </td>
    </tr>
    <?php endforeach; ?>
    </table>

    <?php else : if ( $page ) : ?>
    <p><?php _e('No more topics posted.') ?></p>
    <?php else : ?>
    <p><?php _e('No topics posted yet.') ?></p>
    <?php endif; endif;?>
    </div>

    <div class="nav">
    <?php profile_pages(); ?>
    </div>

    <?php bb_get_footer(); ?>

    #66139
    _ck_
    Participant

    andyimages, to use WP 2.7 with bbPress 0.9 you need one of the two plugin solutions now updated in the first post. Changing the cookie path is not enough, you have to change the cookie method entirely.

    #72182
    _ck_
    Participant

    Technically the plugin has been abandoned by the original author.

    I don’t think the download can be disabled but Sam or Michael might be able to move it on the SVN from the trunk directory to a tag where the extend section would make a link that would fail to download so that would prevent people from blindly installing it.

    The plugin was written after bbPress .7 had just updated to .8 so there were few other plugins available for the author to model some security against. It’s design is a little dated and spread out across several files makes it hard to maintain (a similar problem that the avatar upload plugin shares).

    #72181
    johnhiler
    Member

    I just noticed that the unpatched PM plugin is still available in the plugins section, where it’s listed as one of the most popular downloads.

    Is it possible to disable the download for now, until the code is updated with the security patch?

    #66136
    _ck_
    Participant

    First post updated to reflect the two new plugins available to allow WP 2.6, 2.7 or 2.8 to work with bbPress 0.9

    #72100
    clyk
    Member

    the author of the plugin helped me and updated the plugin so you will see the post in the notification!

    thanks a lot!

Viewing 25 results - 1,751 through 1,775 (of 2,090 total)
Skip to toolbar