Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'updated'

Viewing 25 results - 1,726 through 1,750 (of 2,086 total)
  • Author
    Search Results
  • #74532
    Sam Bauers
    Participant

    The fix on the WordPress side is to remove these defines from wp-config.php:

    define('COOKIEHASH', 'whatever');
    define('SITECOOKIEPATH', '/wp-admin');

    The plugin will be updated soon, but remove those if you are running WordPress standard (i.e. Non-WPMU)

    #14964
    Florian
    Member

    I’m using bbPress RC2 integrated with WPMU 2.7.1 (cookie sharing & user table sharing). I recently updated from RC1 to RC2 and since then I sometimes (not always) get the following error message:

    Fatal error: Call to undefined function: add_option() in /[full path to bbpress]/bb-includes/backpress/class.wp-http.php on line 655

    As soon as I reload the page, the error vanishes. What might be the reason?

    If it helps: I due have the slight suspicion that the error is more likely to appear when there hasn’t been an access to bbpress for some time. But it’s hard to tell…

    #74395

    Where are the settings of “User role map” stored? I think I may have selected it to make WP admins to be a bbP member and it may be a bug? :/

    Wait, is it that User role maps are just updated once when they are asked to do so? Hmm.. Makes sense! So where can be the problem?

    Sam, you there?

    #67815
    pbarry4
    Member

    Thanks chrishajer, essentially I want to merge bbpress into my existing WP theme (same header & footer). Ideally the bbpress would be embedded into a wp page.

    I’ve since found an article which achieves what I’m looking to do. http://www.adityanaik.com/integratepress-part-i/

    I’ll also search this forum for updated threads on the topic.

    Cheers.

    #14951

    As per my post here on my blog : http://blog.ashfame.com/2009/05/integrate-bbpress-forum-wordpress-setup/

    To achieve integration between 0.9.05 & WordPress 2.7.1, I overwrite the bb_capabilities in wp_usermeta for my user by sql query as I don’t have phpmyadmin and I am using custom table prefixes.

    I just followed the instructions again on a setup and got something into different.

    My current password didn’t work. I manually updated it with a sql query from a known setup (I haven’t installed mail sending capabilities yet) and then I got access but now when I try to change the bb_capabilities of my admin user, it gets change, is reflected too but when I refresh the forum page, I still can’t see the link to dashboard. And now if I check the db again, the bbPress seems to have overwritten my entry to “a:1:{s:6:”member”;b:1;}” from “a:1:{s:9:.keymaster.;b:1;}”.

    I am clueless at the point. I can try dropping tables and starting again would get my work done but I am curious that why it is happening.

    #66168
    berberama
    Member

    Please can someone provide a “clean” guide using bbPress .9.x and WordPress 2.7.1?

    Step #1

    Step #2

    .

    .

    .

    …and so on.

    I’ve been trying (very hard) to follow this guide, but there are so many contradictions and then links to external resources that say to do something else.

    Needless to say, I’m ready right now to simply give up on bbPress and move on.

    There needs to be so many edits, changes, fixes (and it still does not work). I truly hope the developers STOP… sit back and re-evaluate this project. In my opinion, it should integrate with WordPress easily as the option should be there during the install. I thought WordPress and bbPress were the same “organization” – As such, integration (I feel) should have been a natural fit! Currently it’s so difficult, that for some it’s become a deterrent to use bbPress. I think that is not good. (I personally know of two people who tried to integrate and after a frustrating period, opted for other solutions. One of them makes a point of telling others to stay away from bbPress, because he was more frustrated than I was – Which I think is not right! It bothers me because if he’s doing that, how many others are?)

    Two things that have added to the confusion are:

    1) Comments from other users, suggesting something else, or contradicting the information.

    2) The guide needs to be updated to use current WordPress code and also to include more instruction. I’m very technically oriented, parts of this guide leave even me hanging in the breeze. Parts of the guide are too generalized.

    I hope some of the developers hear me (and feel the frustration) , but more importantly, stand back and look (really look) at this issue.

    Thanks for letting me have a say, I hope this helps bbPress in some way.

    #74253
    Sam Bauers
    Participant

    Totally possible, we do it on WordPress.com

    Easiest approach is to setup a new virtual host for that subdomain before your WPMU virtualhost in Apache. You can then catch it before it goes to the WPMU install which usually catches all subdomains.

    You can also do it from the same virtualhost for a thrill. That does require some .htaccess hackery. This is how WordPress.com is done.

    NB: these rules are for bbPress 0.9 and are supposed to catch all our localised forum domains – it also may not work for everyone. The important part of the rules to note is the skip (S=30) rule at the start.

    # Skip forum rules if not in *.forums.wordpress.com
    RewriteCond %{HTTP_HOST} !^(.+.)*forums.wordpress.com
    RewriteRule .* -

    # Forum rules
    # If you change the total number of rules, the skip rule above must be updated too
    RewriteRule ^/?$ /bbpress/ [L]
    RewriteRule ^bb-admin$ /bb-admin/ [R,L]
    RewriteRule ^bb-admin/(.*)$ /bbpress/bb-admin/$1 [L,QSA]
    RewriteRule ^bb-images/(.*)$ /bbpress/bb-images/$1 [L,QSA]
    RewriteRule ^bb-includes/js/(.*)$ /bbpress/bb-includes/js/$1 [L,QSA]
    RewriteRule ^([^/]+).php(.*)$ /bbpress/$1.php$2 [L,QSA]
    RewriteRule ^forum/([^/]+)/page/([0-9]+)/?$ /bbpress/forum.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^forum/([^/]+)/?$ /bbpress/forum.php?id=$1 [L,QSA]
    RewriteRule ^forum/?$ /bbpress/ [R,L]
    RewriteRule ^topic/([^/]+)/page/([0-9]+)/?$ /bbpress/topic.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^topic/([^/]+)/?$ /bbpress/topic.php?id=$1 [L,QSA]
    RewriteRule ^topic/?$ /bbpress/ [R,L]
    RewriteRule ^tags/([^/]+)/page/([0-9]+)/?$ /bbpress/tags.php?tag=$1&page=$2 [L,QSA]
    RewriteRule ^tags/([^/]+)/?$ /bbpress/tags.php?tag=$1 [L,QSA]
    RewriteRule ^tags/?$ /bbpress/tags.php [L,QSA]
    RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ /bbpress/profile.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^profile/([^/]+)/([^/]+)/?$ /bbpress/profile.php?id=$1&tab=$2 [L,QSA]
    RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ /bbpress/profile.php?id=$1&tab=$2&page=$3 [L,QSA]
    RewriteRule ^profile/([^/]+)/?$ /bbpress/profile.php?id=$1 [L,QSA]
    RewriteRule ^profile/?$ /bbpress/profile.php [L,QSA]
    RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ /bbpress/view.php?view=$1&page=$2 [L,QSA]
    RewriteRule ^view/([^/]+)/?$ /bbpress/view.php?view=$1 [L,QSA]
    RewriteRule ^rss/?$ /bbpress/rss.php [L,QSA]
    RewriteRule ^rss/topics/?$ /bbpress/rss.php?topics=1 [L,QSA]
    RewriteRule ^rss/forum/([^/]+)/?$ /bbpress/rss.php?forum=$1 [L,QSA]
    RewriteRule ^rss/forum/([^/]+)/topics/?$ /bbpress/rss.php?forum=$1&topics=1 [L,QSA]
    RewriteRule ^rss/topic/([^/]+)/?$ /bbpress/rss.php?topic=$1 [L,QSA]
    RewriteRule ^rss/tags/([^/]+)/?$ /bbpress/rss.php?tag=$1 [L,QSA]
    RewriteRule ^rss/profile/([^/]+)/?$ /bbpress/rss.php?profile=$1 [L,QSA]
    RewriteRule ^rss/view/([^/]+)/?$ /bbpress/rss.php?view=$1 [L,QSA]
    # If you add more forum rules then you must update the skip rule above them as well

    #74239
    madeck
    Member

    I’ve updated. The bug is still there. I got it fixed by putting into comment

    <?php endif; echo "<!--"; do_action('topicmeta'); echo "-->"; ?>

    I did that because I think that was around where the error occured.

    #73742
    Ramoonus
    Member

    Solved somehow

    i`ve updated to WP 2.8 rc 1

    and now it does work!

    #74075
    michael3185
    Member

    Cheers tinskii – I’ll try that right away. Atsutane’s idea worked great, but to have it automatically updated is really neat.

    I’ve read in a lot of places that the Meta HTML tags are ignored by Google and others, but it’s got to be useful if some search engines still use them. Many thanks. I’ll even hack around with the code and see if I can learn anything. Though I think there’s something wrong with bbPress. Whenever I modify anything, it stops working (hehe).

    #74074
    timskii
    Member

    Below is the code I wrote for “SEO”-related tweaks. It tries to fill the description meta with something relevant, and adds keywords based on a combination of tags and site-wide words (added via the admin screen). It’s still rough round the edges. For example, it will produce duplicate descriptions on multi-page topics, and descriptions may not be terribly different from the title tag.

    <?php
    /*
    Plugin Name: SEO Tweaks
    Description: Adds description and keywords meta to the header.
    Author: Tim Howgego
    Author URI: http://timhowgego.com/
    Version: 0.1.rc
    */

    add_action('bb_admin_menu_generator', 'seo_config_menu');
    add_action('bb_admin-header.php', 'seo_config_process');

    add_action('bb_head', 'seo_meta_description');
    add_action('bb_head', 'seo_meta_keywords');

    function seo_meta_description() {

    switch ( bb_get_location() ) {

    case 'topic-page':
    $description = get_topic_title()." - ".bb_get_option( 'description' );
    break;

    case 'forum-page':
    $description = get_forum_description();
    break;

    case 'tag-page':
    if ( is_bb_tag() ) {
    $description = __('Topics tagged')." ".bb_get_tag_name();
    } else {
    $description = __('List of tagged topics.');
    }
    break;

    case 'profile-page':
    $description = __('Profile for')." ".get_user_display_name()." - ".__('includes contact information and posting history.');
    break;

    case 'view-page':
    $description = get_view_name()." - ".bb_get_option( 'description' );
    break;

    default:
    $description = bb_get_option( 'description' );
    break;
    }

    echo '<meta name="description" content="'.attribute_escape( $description ).'" />'."n";

    }

    function seo_meta_keywords() {

    // Includes enhancements by _ck_

    global $tags;
    $keywords = array();

    if ( !empty( $tags ) ) {
    foreach ( $tags as $t ) {
    $keywords[] = $t->raw_tag;
    }
    }

    $default_keywords = bb_get_option( 'seo_keywords' );

    if ( count( $default_keywords ) >0 ) {
    $keywords[] = $default_keywords;
    }

    if ( count( $keywords ) >0 ) {
    echo '<meta name="keywords" content="'.attribute_escape( implode( ", ", $keywords ) ).'" />'."n";
    }
    }

    function seo_config_menu() {
    bb_admin_add_submenu(__('SEO'), 'manage_plugins', 'seo_config_page');
    }

    function seo_config_page() {

    ?>
    <h2><?php _e('SEO Tweaks Configuration'); ?></h2>

    <form class="options" method="post" action="">

    <fieldset>
    <p><strong><label for="seo_keywords"><?php _e('Default keywords') ?></label></strong> (<?php _e('these words will be attached to every page, so only use words that describe the forum's overall content'); ?>):</p>
    <textarea name="seo_keywords" id="seo_keywords" cols="100" rows="4"><?php bb_form_option( 'seo_keywords' ); ?></textarea>
    <p><?php _e('Separate keywords with a comma. No formatting.'); ?></p>
    </fieldset>

    <fieldset>
    <?php bb_nonce_field( 'seo_config' ); ?>
    <input type="hidden" name="action" id="action" value="update_seo_config" />
    <input type="submit" name="submit" id="submit" value="<?php _e('Save Changes &raquo;') ?>" />
    </fieldset>

    </form>
    <?php

    }

    function seo_config_process() {

    if ($_POST['action'] == 'update_seo_config') {

    bb_check_admin_referer( 'seo_config' );

    if ($_POST['seo_keywords']) {
    $value = htmlentities( trim( $_POST['seo_keywords'] ) , ENT_NOQUOTES );
    if ($value) {
    bb_update_option( 'seo_keywords', $value );
    } else {
    bb_delete_option( 'seo_keywords' );
    }
    } else {
    bb_delete_option( 'seo_keywords' );
    }

    $goback = add_query_arg( 'seo_updated', 'true', wp_get_referer() );
    bb_safe_redirect( $goback );
    exit;
    }

    if ($_GET['seo_updated']) {
    bb_admin_notice( __('Changes saved.') );
    }

    }

    ?>

    #74137

    In reply to: Am I a bozo?

    Nah, it’s Akismet acting up again, I suspect. It’s been flagging a LOT of false positives. They just updated it for WP, and I bet that’s related.

    #73502
    Tynan Beatty
    Member

    Yesterday I updated a public site with a relatively inactive and fresh bbP forum from WP2.7.x and bbP1.0alpha-6 with the bbPress Integration 1.0-alpha-4.1 plugin…

    to WP2.8-beta2-11509 and bbP1.0-rc-1 with the bbPress Integration 1.0-rc-2 plugin.

    I haven’t done extensive testing, but the integration worked flawlessly before the upgrade (following Sam’s video tutorial sticky to the letter), and seems to work almost as well now.

    The one scenario I’ve found where it doesn’t work is users logging in from bbP cannot logout from WP. All other bbP/WP login/logout combinations seem to behave as expected; however the only way I could get this to happen was to not add the wp-config.php changes suggested by the bbPress Integration plugin. When I did add those changes it broke at least WP login entirely.

    I did a little bit of testing with different combinations of the definitions the bbPress Integration plugin suggests, and the details can be found in this post.

    peace~

    #14869
    michael3185
    Member

    I updated a thread (http://bbpress.org/forums/topic/new-minimalist-theme-available) as I’d added some files, but can only see the last two posts when I’ve logged-in. Has something gone wrong, or have they been hidden as they’re multi-posts or something? As I said in one, it’d help if we could edit for 24 hours to save double posting. Also, a theme upload link similar to the plugin one would be useful.

    #73832
    michael3185
    Member

    Just updated the theme. Also added a couple of plugins with modified formatting to give a consistent interface on ‘errors’ (eg., user not logged in and can’t access functions like PM).

    http://getfiles.letsdoo.org/bbVanilla.zip

    http://getfiles.letsdoo.org/bbPM_for_bbVanilla.zip

    http://getfiles.letsdoo.org/private-forums_for_bbVanilla.zip

    #67905
    starlucent
    Member

    Thanks, putting that in the bb-config.php file worked for me! And it seems my settings in the admin area were updated with the new url too.

    #73723
    byles
    Member

    I’ve got the exact same problem, and it’s driving me mad.

    I’ve tried to get this working on several fresh installs and it just ain’t happening!

    Update: Oh! Fixed! I went to wp-admin/options.php and changed the salts to something else (button mashed), and updated those in bbpress too, and now it works. Don’t quite understand why nobody mentions this in any of the tutorials… Never mind :)

    :)

    #73722
    Ramoonus
    Member

    i`ve updated the integration plugin

    but it`s still not working

    #69731
    webrulon
    Member

    matiaspunx I am receiving the same error as gavinj77, I tried to download your fix at http://www.mediafire.com/?nmmymgg0z0j but the file was no longer available. Could you kindly repost the updated file?

    Thanks,

    Russell

    #7857
    braddock16
    Member

    Hi guys

    My forum member’s usernames show their email addresses!?

    I did the integration correctly and the forum/wordpress database get’s updated accordingly when new people register.

    But what on earth can I do about the username issue?

    I want it to display their real usernames.

    Regards,

    Brad

    #73368
    Ben L.
    Member

    This seems like a job for the view functions.

    https://bbpress.org/plugins/view/updated is a good example, although I have no idea how to make it happen.

    #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.

Viewing 25 results - 1,726 through 1,750 (of 2,086 total)
Skip to toolbar