Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress"'

Viewing 25 results - 23,351 through 23,375 (of 26,830 total)
  • Author
    Search Results
  • #66040
    csseur3
    Member

    hi,

    for the wp-config.php file in wordpress, it is:

    define(‘COOKIE_DOMAIN’, ‘.website.org’);

    or

    define(‘COOKIE_DOMAIN’, ‘website.org’);

    ?

    thanks ;)

    Fred

    #66039
    bh
    Member

    I just did the installation, and things went quite smoothly.

    Just one issue so far…

    If you log into wordpress, you are logged into bbpress. Great!

    But, if you log into wordress, you are not logged into bbpress. Not great.

    I made sure the settings were correct, but I could not find a reference to secure_auth_salt in WordPress.

    Also, how would one go about creating a single login for both sites that isn’t either wordpress or bbpress specific?

    Lastly, is there any type of theme integration, or any tips on creating a unified design?

    BBpress 1.0 alpha 1

    Wordpress 2.6.1 beta 2

    #66324
    thion
    Member

    I agree with _ck_ – the point behind bbPress is to make the easiest and simplest forum script ever – personaly, I see no need for members list, really. It’s not very useful on huge forums like WordPress support, and there’s no point for that on small forums where everyone know each other.

    #66323
    csseur3
    Member

    And I think you are missing the people who will say “oh, we need a plugin for just that! I can’t imagine the others! “

    I have already twenty plugins activated, some of which, as memberlist, which does not change of code (or very little) and they can be integrated safely by default.

    In place of a plugin, a checkbox in the options natives would be better, no?

    As WordPress 2.7 perhaps we should integrate the most simple and the most popular plugins by default, no?

    I thought about it to ensure the development of bbPress and enable it to compete with others. And if there is more interested users = more visitors for the sites of the plugins creators on their “donate” link lol: p

    Please, think at the question^ ^ or create a “plugin integration poll” :p

    Bug fixes are good. New features, too. :)

    #3786
    flywitness
    Member

    i’m new to all this wordpress stuff so forgive me if this is too hackish.

    i installed wp2.6 and bbp1 alpha. they almost integrate. i had a problem getting the admin link to work when i had logged in via wordpress (no problem logging in via bbpress). on investigation i discovered wp login was setting cookies only for itself, whereas bbpress was setting cookies for itself and wordpress.

    my solution tells wordpress to be as polite as bbpress:

    insert the following into wp-config.php replacing {bbpath} with your bbpath:

    define(‘BB_ADMIN_COOKIE_PATH’, ‘/{bbpath}/bb-admin/’);

    define(‘BB_PLUGINS_COOKIE_PATH’, /{bbpath}/bb-plugins/’);

    define(‘BB_MYPLUGINS_COOKIE_PATH’, ‘/{bbpath}/my-plugins/’);

    open wp-includes/pluggable.php and find where the cookies are set – these lines:

    setcookie($auth_cookie_name, $auth_cookie, $expire, PLUGINS_COOKIE_PATH, COOKIE_DOMAIN, $secure);

    setcookie($auth_cookie_name, $auth_cookie, $expire, ADMIN_COOKIE_PATH, COOKIE_DOMAIN, $secure);

    insert the following immediatley after:

    setcookie($auth_cookie_name, $auth_cookie, $expire, BB_ADMIN_COOKIE_PATH, COOKIE_DOMAIN, $secure);

    setcookie($auth_cookie_name, $auth_cookie, $expire, BB_PLUGINS_COOKIE_PATH, COOKIE_DOMAIN, $secure);

    setcookie($auth_cookie_name, $auth_cookie, $expire, BB_MYPLUGINS_COOKIE_PATH, COOKIE_DOMAIN, $secure);

    now wordpress will set the same cookies as bbpress thus allowing full access averywhere.

    like i say, i’m fairly new to this so please correct me if i’m wrong or if this approach has security implications.

    #66038

    IT IS WORKING!!!!! Thanks for all your help!

    chrishajer
    Participant

    I don’t know about a complete solution, but I’ve been able to get this one working.

    Email Authentication Issue

    If it becomes a large enough issue, I imagine someone will create a plugin for it. Until then, this is a work around.

    Integrating something like this does not affect WordPress integration as far as I know. It’s just the email function. I imagine WordPress would have the same issue sending out emails unless you use a plugin like this there as well.

    chrissydunno
    Member

    has anyone seen a complete solution for this issue? many hosts do not allow php mail() function because it doesn’t support smtp authentication

    i’ve seen several posts about swiftmailer, phpmailer alternatives, but none offer a step by step instructions?

    interested in modifying files only from the latest verion bbpress-0.9.0.2.zip

    also, are any of these solutions integrated with wordpress? or when you use them you lose the bbpress user = wp user integration?

    any kind of complete solution would be appreciated by many

    #66037
    mytriniphone
    Member

    ok so what would be the best way to upgrade?

    thanks in advance

    Aaron

    #66036

    I now have a good working intgration between WordPress 2.6 and bbPress 1.0.

    So… errrm… YAY!

    #66035

    ah! ok, thanks

    #64023
    chrishajer
    Participant

    Instead of this WordPress function:

    <?php wp_register(); ?> 

    You would have a link to bb-login.php. Then bb-login handles the whole thing. In the login form, you would add that hidden form field to redirect then after login, as explained here.

    https://bbpress.org/forums/topic/heres-a-trick-to-redirect-user-back-to-topic-after-login#post-14268

    #66288
    chrishajer
    Participant

    I agree on the search. It’s too “in your face now.” I think it should have been in the template files and commented out. People could uncomment it to get the functionality. We’ll never be happy. At least with it there now, people can see it, remove it or style it however they want. This is probably better than there being nothing in the template at all before. That’s typically how WordPress themes are: they have a bunch of useless cr*p in them that I just remove or comment out. It’s easier to remove or modify something that you can see than trying to figure out how to add something you don’t know exists.

    Not sure yet on the bb_meta table. I haven’t looked at the DB schema yet.

    #3779

    Topic: Theme directory

    in forum Themes
    csseur3
    Member

    Hello,

    like the theme directory of wordpress.org, it is possible to have a theme directory in bbpress.org ? :)

    Bye,

    Fred

    #66687

    In reply to: bbPress 1.0 alpha

    _ck_
    Participant

    bbPress should not tamper with your WordPress tables.

    The user data is kept separate.

    #66034
    _ck_
    Participant

    Ah, I guess it’s important to point out that just like bbPress 0.9 is not compatible with WordPress 2.6, it’s also that bbPress 1.0 is not comptible with WordPress 2.5

    Major cookie changes.

    WordPress 2.5.x <-> bbPress 0.9

    WordPress 2.6.x <-> bbPress 1.0

    #66033

    I’m getting a funky error:

    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    I’m trying to integrate WP 2.5.1 and BB 1.0

    It only started when I edited the bb_config file bbpress was working smoothly as a stand-alone… I think

    #64020

    You can just change the register links in the wordpress template to point to the bbpress login and registration forms… that’s easy enough (you can even copy the login form code into the template directly and it seems to work).

    The problem is, how to get users back to the URL they came from after they login (by default they seem to get bounced to the forum home page instead)… any ideas?

    #66651
    keress
    Member

    Thanks so much for the help. You helped me spot that I had inadvertently uploaded the root’s index.php to the blog index.php folder. I had a feeling it was something simple and dumb.

    #66784
    chrishajer
    Participant

    If it’s this site http://famousbeats.net/ it’s 2.5.1:

    <meta name="generator" content="WordPress 2.5.1" />

    #66650
    chrishajer
    Participant

    Turns out the main index.php WordPress template had been overwritten with a static page, and that was being served instead of templated content being served from the database. It had nothing to do with bbPress integration.

    #65980
    _ck_
    Participant

    This plugin is meant as a temporarily workaround until the bug can be fixed in WordPress – it will replace “anonymous” with the user login.

    Install it on the WordPress side:

    <?php
    /*
    Plugin Name: changes anonymous to member's login if display name missing (plugin for WordPress)
    */
    function no_anonymous_members($author) { // this is a WORDPRESS plugin, not bbPress
    global $comment;
    if (empty($comment->comment_author) && !empty($comment->user_id)) {$user=get_userdata($comment->user_id); $author=$user->user_login;}
    return $author;
    } add_filter('get_comment_author', 'no_anonymous_members');

    if ( !function_exists('get_userdata') ) :
    function get_userdata( $user_id ) {
    global $wpdb;

    $user_id = absint($user_id);
    if ( $user_id == 0 )
    return false;

    $user = wp_cache_get($user_id, 'users');

    if ( $user ) {
    if (empty($user->display_name)) {$user->display_name=$user->user_login;}
    return $user;
    }
    if ( !$user = $wpdb->get_row($wpdb->prepare("SELECT * FROM $wpdb->users WHERE ID = %d LIMIT 1", $user_id)) ) {
    return false;
    }
    _fill_user($user);
    if (empty($user->display_name)) {$user->display_name=$user->user_login;}
    return $user;
    }
    endif;
    ?>

    (The real answer of course is to insert the user_login when the comment is posted, however I cannot find a suitable hook in WordPress’s comment-template.php so I am doing it by completely replacing the get_userdata function in pluggable.php)

    #65979
    _ck_
    Participant

    I guess I can create some code to fix the display name issue in existing databases. Give me a few minutes.

    update: actually it’s as simple as this in phpMyAdmin:

    UPDATE wp_users SET display_name=user_login WHERE display_name=''

    or via a mini-plugin:

    <?php
    /*
    Plugin Name: Fix Anonymous Members
    */
    function fix_anonymous() {global $bbdb;
    $bbdb->query("UPDATE $bbdb->users SET display_name=user_login WHERE display_name='' ");
    } add_action('bb_init','fix_anonymous');
    ?>

    save as _fix-anonymous.php (with leading underscore)

    you only need to upload and run bbpress once with it loaded (no activation required) and then delete the plugin or it will slow down bbPress.

    I am now writing a WordPress plugin to fix this without having to duplicate all the names in the table which is a horrendous waste of space.

    #65978
    _ck_
    Participant

    Well we know what causes “anonymous” to show up, it’s because bbPress is not creating the display name for the user when the user registers on the bbPress side and then goes to use WordPress.

    The question is, why is this suddenly happening when bbPress is supposed to create it already. This might be a question for Sam – but I hope he can reproduce the problem.

    Did you add the above code to insert the display name?

    I hope I didn’t lead you wrong by implying you should try 2.6 because that will be incompatible with bbPress 0.9

    2.6 has compatibility with bbPress 1.0 alpha but a few plugins won’t work with the alpha yet (like bb-topic-views)

    Oh and the display name persists in 1.0 alpha and is on line 487 in pluggable. I’ve filed a trac report:

    https://trac.bbpress.org/ticket/922

    #66783
    _ck_
    Participant

    Are you running WordPress 2.5 or 2.6 ?

    I’m betting it’s 2.6 since the cookies are incompatible.

    Delete your site’s cookies and you’ll be able to get into WP again.

Viewing 25 results - 23,351 through 23,375 (of 26,830 total)
Skip to toolbar