Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\'

Viewing 25 results - 22,601 through 22,625 (of 26,837 total)
  • Author
    Search Results
  • #69053

    @elwagar: Conversely, once they are registered you can assign them a role by going to the bbPress admin, WordPress Integration, and remapping. I feel like a plug-in could help this registration laziness along, but I also think this should just work correctly right away.

    I actually had a similar issue years ago integrating phpBB 2.x and osCommerce together, trying to get one to work inside the other with cookies and what-not was a really big problem, one that I never really did get working 100% correctly.

    I have no experience with bbPress Live, but it might be worth looking into. CK posted a really nice SQL example on how to grab information without a plug-in, so if you can’t get that to work, you could always put in a little manual labor. ;)

    #69512
    dchase
    Member

    Sorry,

    Wordpress 2.51 installed in the root directory

    bbPress 0.9.0.2 installed in /forums

    I am using the same computer and logging in and out but I have been clearing all session, domain and path cookies each time.

    #69511

    Which versions of bbPress and WordPress are you using?

    Are you doing all of this logging in and out on the same computer?

    Have you tried manually deleting cookies and logging in again?

    What folders are WordPress and bbPress located in, relative to each other?

    #4364
    #69050

    Have you tried logging in and out of both your WordPress and bbPress installations and accessing both admin panels? I mean each combination each way.

    1. Log into WordPress; Check admin panel access and cookies; Log out of WordPress
    2. Log into bbPress; Check admin panel access and cookies; Log out of bbPress
    3. Log into WordPress; Check admin panel access and cookies; Log out of bbPress
    4. Log into bbPress; Check admin panel access and cookies; Log out of WordPress

    That is where the problem lies, and I have been running the most updated trunks of both bbPress and WordPress the entire time. :/

    #69049
    eliwagar
    Member

    Hi, I just upgraded WordPress to RC1 and used the newest trunk pf bbpress yesterday, and everything worked out fine…just as described during installation.

    #69491
    chrishajer
    Participant

    There is Revolution for both bbPress and WordPress:

    http://www.revolutiontheme.com/magazine/bbpress/

    I think if you look around you will find people who have released bbPress themes to match WordPress themes.

    https://bbpress.org/forums/topic/new-bbpress-theme-peacemaker

    http://bbshowcase.org/forums/forum/bbpress-templates

    #69048

    Short term, I was able to make this work by modifying 1 core WordPress file. This only allows for integration of the theme, but still does not allow access to the bbPress admin panel without changing the bb-config.php file back to original.

    It’s essentially a quick fix to get the theme working with all capabilities playing nicely.

    Basically I’m hard-coding the capability check from bbPress into WordPress. There should be a filter for this, but I’m not sure how to hook into it correctly without a mod or plug-in on the WordPress side.

    ~My fix is in no way a permanent solution. Auto-updating your WordPress installation will overwrite this fix.~


    In FILE wp-includes/capabilities.php:

    In the meta_map_cap function:

    Around Line 906:

    AFTER break;

    BEFORE default

    INSERT:

    /*
    
    */
    case 'write_post':
    $caps[] = 'write_posts';
    break;
    case 'edit_post':
    // edit_posts, edit_others_posts, edit_deleted, edit_closed, ignore_edit_lock
    if ( !$bb_post = bb_get_post( $args[0] ) ) {
    $caps[] = 'magically_provide_data_given_bad_input';
    return $caps;
    }
    if ( $user_id == $bb_post->poster_id )
    $caps[] = 'edit_posts';
    else
    $caps[] = 'edit_others_posts';
    if ( $bb_post->post_status == '1' )
    $caps[] = 'edit_deleted';
    if ( !topic_is_open( $bb_post->topic_id ) )
    $caps[] = 'edit_closed';
    $post_time = bb_gmtstrtotime( $bb_post->post_time );
    $curr_time = time() + 1;
    $edit_lock = bb_get_option( 'edit_lock' );
    if ( $edit_lock >= 0 && $curr_time - $post_time > $edit_lock * 60 )
    $caps[] = 'ignore_edit_lock';
    break;
    case 'delete_post' :
    // edit_deleted, delete_posts
    if ( !$bb_post = bb_get_post( $args[0] ) ) {
    $caps[] = 'magically_provide_data_given_bad_input';
    return $caps;
    }
    if ( 0 != $bb_post->post_status )
    $caps[] = 'edit_deleted';
    // NO BREAK
    case 'manage_posts' : // back compat
    $caps[] = 'delete_posts';
    break;
    case 'write_topic':
    $caps[] = 'write_topics';
    break;
    case 'edit_topic':
    // edit_closed, edit_deleted, edit_topics, edit_others_topics
    if ( !$topic = get_topic( $args[0] ) ) {
    $caps[] = 'magically_provide_data_given_bad_input';
    return $caps;
    }
    if ( !topic_is_open( $args[0]) )
    $caps[] = 'edit_closed';
    if ( '1' == $topic->topic_status )
    $caps[] = 'edit_deleted';
    if ( $user_id == $topic->topic_poster )
    $caps[] = 'edit_topics';
    else
    $caps[] = 'edit_others_topics';
    break;
    case 'move_topic' :
    $caps[] = 'move_topics';
    break;
    case 'stick_topic' :
    $caps[] = 'stick_topics';
    break;
    case 'close_topic' :
    $caps[] = 'close_topics';
    break;
    case 'delete_topic' :
    $caps[] = 'delete_topics';
    add_filter( 'get_topic_where', 'no_where', 9999 );
    if ( !$topic = get_topic( $args[0] ) ) {
    $caps[] = 'magically_provide_data_given_bad_input';
    return $caps;
    }
    if ( 0 != $topic->topic_status )
    $caps[] = 'edit_deleted';
    remove_filter( 'get_topic_where', 'no_where', 9999 );
    break;
    case 'manage_topics' :
    // back compat
    $caps[] = 'move_topics';
    $caps[] = 'stick_topics';
    $caps[] = 'close_topics';
    $caps[] = 'delete_topics';
    break;
    case 'add_tag_to':
    // edit_closed, edit_deleted, edit_tags;
    if ( !$topic = get_topic( $args[0] ) ) {
    $caps[] = 'magically_provide_data_given_bad_input';
    return $caps;
    }
    if ( !topic_is_open( $topic->topic_id ) )
    $caps[] = 'edit_closed';
    if ( '1' == $topic->topic_status )
    $caps[] = 'edit_deleted';
    $caps[] = 'edit_tags';
    break;
    case 'edit_tag_by_on':
    // edit_closed, edit_deleted, edit_tags, edit_others_tags
    if ( !$topic = get_topic( $args[1] ) ) {
    $caps[] = 'magically_provide_data_given_bad_input';
    return $caps;
    }
    if ( !topic_is_open( $topic->topic_id ) )
    $caps[] = 'edit_closed';
    if ( '1' == $topic->topic_status )
    $caps[] = 'edit_deleted';
    if ( $user_id == $args[0] )
    $caps[] = 'edit_tags';
    else
    $caps[] = 'edit_others_tags';
    break;
    case 'edit_user':
    // edit_profile, edit_users;
    if ( $user_id == $args[0] )
    $caps[] = 'edit_profile';
    else
    $caps[] = 'edit_users';
    break;
    case 'edit_favorites_of':
    // edit_favorites, edit_others_favorites;
    if ( $user_id == $args[0] )
    $caps[] = 'edit_favorites';
    else
    $caps[] = 'edit_others_favorites';
    break;
    case 'delete_forum':
    $caps[] = 'delete_forums';
    break;
    case 'change_user_password':
    // change_password, edit_users
    $caps[] = 'change_password';
    if ( $user_id != $args[0] )
    $caps[] = 'edit_users';
    break;
    /*
    */

    #4358
    amagab
    Member

    Does anyone know of a designer or company that offers identical themes for both WordPress and bbPress?

    I am asking this to avoid the troubles of integration.

    Thanks!

    #69445
    _ck_
    Participant

    Eh don’t defend bbPress – it’s the same problem with WordPress. They’ve never had a good search because writing a good search is hard and takes time from other needed things.

    I haven’t released the search because after working on it for a week it became so overly complex that debugging parts of it was taking way too much time. When that happens I get mad and then usually re-write things from scratch.

    I think my biggest mistake was I tried to make the layout template-able, so you could move stuff around. That added way too much code and logic problems. And then there was the wordpress awareness, more code.

    I might just make a simpler version of it. I may just copy some of the vbulletion search layout since it’s very logical. Maybe I’ll have something by the end of the coming weekend if I have enough time.

    #69475
    chrishajer
    Participant

    If your server supports mod_rewrite and .htaccess, you can make pretty permalinks work (if they work for WordPress, they can work for bbPress). You just need to follow the instructions.

    And if bbPress is in a sub-directory of WordPress (collectibles-talk), then you will have two .htaccess files, or possibly all the rules in the WordPress-level .htaccess. The .htaccess you posted is the default WordPress one. You need more rules for bbPress.

    Here is something about that:

    https://bbpress.org/forums/topic/pretty-permalinks-not-working?replies=24#post-7743

    #69461

    Firstly, have you checked to make sure that your site paths are correct in both bbPress and WordPress? Since you shifted directories, the paths to those new directories need to be adjusted in the database.

    Secondly, are there normal user tables to go along with those weird empty ones? Part of the integration process is telling bbPress which tables to find your users in. Is it possible that you added an extra “_” on accident, and bbPress created those tables while it was looking for the real ones?

    #69488

    We’re all experiencing the same issue.

    Integration appears to be a little broken still.

    If you need to use the WP functions in your bbPress, that will break it further by not allowing you to access your bbPress admin panel at all.

    The problem looks like the bb_map_meta_cap filter is ignored when the WordPress functions are loaded in place of the bbPress ones.

    Some users have been able to resolve this by using a .htaccess file to redirect to the bbPress login and register page whenever an attempt to register or login is made through WordPress. That is the best fix at the moment if you do not require access to the WP functions.

    If you do require that access, then you will need to wait until a fix comes out for the issue I mentioned above. That’s where I am. :(

    #69047

    It seems like there are several issues here, and I’m not sure which is really the issue or which is a bug…

    Firstly, when integrated, bbPress wants to use the WordPress classes and functions where possible. Namely, the problem with capabilities lies currently with the difference in the WP_User->has_cap function.

    On the WordPress side of it, it is missing the global $wp_roles; and the corresponding check of those roles against the current capability to check.

    $caps = call_user_func_array( array(&$wp_roles, 'map_meta_cap'), $args );

    So I’m not sure if this is just a case of bbPress not keeping up with the WordPress user/role classes, or if this is WordPress not properly carrying over bbPress capabilities.

    Ugh…

    #69472
    peuter
    Member

    Thanks for trying to help on this Chris. Here is what my htaccess file looks like at the moment:

    Options +MultiViews

    # BEGIN WordPress

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule . /index.php [L]

    </IfModule>

    # END WordPress

    Keep in mind this is in my root directory. (so both WP and BBpress are both using it?)

    Am I supposed to have a seperate htaccess file in the bbpress directory too?

    I got access to the code you sent me. Do I delete the above code and replace it with this code you sent?

    #69471
    chrishajer
    Participant

    Looks like your host does not allow Options +MultiViews, or it conflicts with another .htaccess file, maybe the WordPress one?

    Can you remove that line from your .htaccess and try adding explicit rules by accessing this URL for your site, then pasting those results into your .htaccess?

    http://collectibleswow.com/collectibles-talk/bb-admin/rewrite-rules.php

    (I think you need to be logged in as keymaster for that to work.)

    #69339
    cfreview
    Member

    That’s an interesting idea ck, and that might get me where I want to go.

    Have you seen anyone do something like through bbshowcase?

    #69338
    _ck_
    Participant

    The approach Digg uses is very simple and would not need such an advanced plugin like “promote to front page”.

    All you need to mimic Digg is allow voting on topics and then replace the part of your front page that shows the latest-discussions with the list of topics by highest rank.

    In fact there is already a topic voting plugin that does that, you’d just have to edit your front-page layout. You could then go further like Digg does and restrict highest rated by date – 24 hours / 7 days / 30 days / all time

    #69442
    _ck_
    Participant

    bbPress’s search is horrible (also in WordPress).

    There essentially is no advanced search at all.

    I have a Super-Search plugin that I’ve never finished and may go back one day to look at it when I have some time.

    http://img183.imageshack.us/img183/7600/supersearchwl4.png

    #4354

    Topic: del Sol Owners Club

    in forum Showcase

    del Sol Owners Club Forums

    Just finished some integration for a website I run. Added a few of ck’s awesome plug-ins. :tip of the hat:

    Still need to smooth the bugs out of the registration/login process before I will be 100% happy. I need to use a specific registration plug-in on the WordPress side that bbPress doesn’t play nice with.

    #69348

    I noticed this happening here and over at the WordPress.org forums, so there may have been some kind of a delay.

    lauryn77
    Member

    Hi!

    That’s the error I get during integration/installation, someone can help me?:

    Duplicate key name ‘user_nicename’

    >>> User tables will already exist when performing a database integrated installation.

    Forum could not be created!

    here is installation log:

    Referrer is OK, beginning installation…

    >>> Setting up custom user table constants

    Step 1 – Creating database tables

    >>> Create table bb_forums

    >>> Create table bb_posts

    >>> Create table bb_topics

    >>> Create table bb_topicmeta

    >>> Create table bb_tags

    >>> Create table bb_tagged

    >>> Added index wp_users UNIQUE KEY user_nicename (user_nicename)

    >>>

    >>>>>> Duplicate key name ‘user_nicename’

    Step 2 – WordPress integration (optional)

    >>> WordPress address (URL): http://www.italianwebdesign.it/

    >>> Blog address (URL): http://www.italianwebdesign.it/

    >>> WordPress cookie secret key set.

    >>> Fetching WordPress database secret.

    >>>>>> WordPress database secret set.

    >>> User database table prefix: wp_

    Step 3 – Site settings

    >>> Site name: Italianwebdesign forum

    >>> Site address (URL): http://www.italianwebdesign.it/forum/

    >>> From email address: laura@lauryn.it

    >>> Key master role assigned to existing user

    >>>>>> Username: admin

    >>>>>> Email address: laura@lauryn.it

    >>>>>> Password: Your existing password

    >>> Description: Just another bbPress community

    >>> Forum could not be created!

    >>> Key master email sent

    There were some errors encountered during installation!

    #61694
    webstar
    Member

    Thanks for your post electroniques, it helps for my problem.

    Looks good enough to me, although I haven’t checked the source to see exactly how you did it.

    #69337
    cfreview
    Member

    i like the idea ck. Why not take it one step further and allow voting to promote it to the front page, ala digg.

    I want people to be able to post to the front page without any approval. Kinda a no holds bar approach.

Viewing 25 results - 22,601 through 22,625 (of 26,837 total)
Skip to toolbar