Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 28,076 through 28,100 (of 32,462 total)
  • Author
    Search Results
  • #63254
    aabd
    Member

    Thanks. i have the same problem!:)

    #63446
    mettled
    Member

    I just got the same error message on my forum as well. Obviously I was entering different copy, but everything else was the same. I’ve posted on my forum before without any problem. I haven’t changed anything that I can recall, so this was totally unexpected. I’m not a coder so any help would be great. My bbPress is version 0.8.3.1.

    horrorshow
    Member

    nolageek,

    In WPMU, did you put the bbpress-integration.php in the “mu-plugins” directory or the “plugins” directory?

    I want only the site admin to be able to activate the “bbpress Integration” plugin, but it shows up for all users giving them an option to activate the plugin. That’s not good.

    On the bbPress side, I found that the wordpress-integration is not necessary (I’ve asked about this, but no replies so far), and display name plugin requires some code changes to the BBPress code for it to work properly. It causes permission problems, and I had to dig around the forum where it shows you which code to change.. In retrospect, it probably wasn’t worth the trouble. (Gurus, please correct me if I am wrong, as I am new to BBpress)

    If you want me to look for that thread again, let me know.

    To get single sign-on working properly, you need to make code changes on the bbPress side to bb_cookie() and bb_logout() in pluggable.php along with the config changes I mentioned (which you’ve done already).

    function bb_cookie( $name, $value, $expires = 0 ) {
    if ( bb_get_option( 'cookiedomain' ) ){
    setcookie( $name, $value, $expires, bb_get_option( 'cookiepath' ), bb_get_option( 'cookiedomain' ) );
    }else{
    setcookie( $name, $value, $expires, bb_get_option( 'cookiepath' ) );
    }
    }

    function bb_login($login, $password) {
    if ( $user = bb_check_login( $login, $password ) ) {
    bb_cookie( bb_get_option( 'usercookie' ), $user->user_login );
    bb_cookie( bb_get_option( 'passcookie' ), md5( $user->user_pass ) );
    do_action('bb_user_login', (int) $user->ID );
    }
    return $user;
    }

    I hope this helps, and please let me know how it works out.

    #63441
    howtogeek
    Member

    A workaround would be to use feedburner to burn the feed, because it’ll display the friendly page. Would require some theme hacking, I’d think.

    Nola1974
    Participant

    I’m not able to get this working in WPMU/bbpress:

    Using newest versions of both (fresh install 3 days ago)

    Site: http://geekdc.com

    bbpress: http://geekdc.com/forum

    bbpress config.php :

    $bb->wp_table_prefix = 'wp_';  // WordPress table prefix.  Example: 'wp_';
    $bb->wp_home = 'http://geekdc.com'; // WordPress - Options->General: Blog address (URL) // Example: 'http://example.com'
    $bb->wp_siteurl = 'http://geekdc.com'; // WordPress - Options->General: WordPress address (URL) // Example: 'http://example.com'

    //if ( isset( $bb->wp_table_prefix ) ){
    $bb->usercookie = ‘wordpressuser’;
    $bb->passcookie = ‘wordpresspass’;
    $bb->cookiepath = '/';
    $bb->cookiedomain = '.geekdc.com';
    $bb->path='/forum/';
    //}
    /* Stop editing */

    Stock WPMU wp-config.php

    Using the following plugins on WPMU:

    bbpress-integration.php

    https://downloads.wordpress.org/plugin/bbpress-integration.0.74.zip

    Using the following plugins on bbpress:

    wordpress-integration

    https://bbpress.org/plugins/topic/wordpress-integration/

    display name

    https://bbpress.org/plugins/topic/display-name/

    Is there anything else I need to do?

    When I first log in to WPMU I get the following cookies:

    geekdc.com wordpress_test_cookie (content:’ WP+Cookie+check’)

    geekdc.com wordpressuser (content username)

    geekdc.com wordpresspass (content: hash)

    I go to the forum, and I’m not logged in.

    I log into bbpress and I get two more cookies, exactly the same execept for the expiration dates. The WPMU expires at the end of session. The wordpress expires in one week. I do not get another wordpress_test_cookie.

    #63445
    chrishajer
    Participant

    What version bbPress are you using? Looks like mismatched quotes are causing a problem inserting this post into your database. I inserted that text into a post on my installation and it is inserted fine. Of course, I might be missing some of what you tried to insert before it erred out.

    This is what I posted:

    Internet. I've taken to not answering my phone lately, and I like it. And Eh@ the laptop-- it's nice to have, but I don't need it. The internet tho, is a lifeline How would you get on the internet without your laptop?

    Was there something before “Internet”? Can you post a link to a plain text file that contains the whole text of the post? Maybe some characters in there are causing this problem.

    #63440
    chrishajer
    Participant

    If the browser can’t handle the feed, just use one of the feed readers from the dmoz list.

    #63439
    chrishajer
    Participant

    I guess trying to view the RSS feed without a feed reader is kind of like trying to view a HTML page with notepad. You see something other than what’s intended because your client doesn’t support the content coming your way.

    #63438
    howtogeek
    Member

    I’m sure the problem is that McKrazie is still on IE6, which displays RSS feeds as xml documents, since there’s no reader built in.

    Sadly many companies have not upgraded yet.

    #63437
    chrishajer
    Participant
    #63436
    chrishajer
    Participant

    Yes, you need a feed reader. IE7 has one built in, Firefox does too, and you can add RSS feeds to a Google personalized homepage (which is what I took a screenshot of.)

    Autodiscovery works fine for your site. Here’s your latest posts feed: http://www.hooligans-gaming.net/forums/rss.php

    Google Reader is a feed reader as well. Try viewing your feed there.

    http://www.google.com/reader/view/

    Really, I can’t find any place it’s NOT working:

    Google Reader

    http://www.chrishajer.com/bbpress/Hooligans-Google-Reader.png

    Firefox 2

    http://www.chrishajer.com/bbpress/Hooligans-Firefox.png

    IE7

    http://www.chrishajer.com/bbpress/Hooligans-IE7.png

    #63433
    chrishajer
    Participant

    Oddly, all the stuff over there is using the same CSS, which is a little weird. I think I would prefer to have .threadauthor .name, .threadauthor .post_count_plus, .threadauthor .status, .threadauthor .membersince, but that is not there now. If it were, it would be easy to add to style.css and style each item individually. But it’s not.

    So, I just added this to .threadauthor in style.css:

    font: 13px Verdana, Arial, Helvetica, sans-serif;

    So now that block looks like this:

    .threadauthor {
    margin-left: -110px;
    overflow: hidden;
    position: absolute;
    width: 95px;
    font: 13px Verdana, Arial, Helvetica, sans-serif;
    }

    That worked for me. There are probably better ways to do it, by adding the proper classes to the template file or whatever generates that HTML, but barring that, this one line addition worked fine for me. If 13px is too small still, make it a larger number. You might also need to adjust the width after that.

    #63435
    Craig
    Member

    Internet Explorer at my work :(

    So, you can’t just view the rss.php page that is linked in the profiles? You need an external feeder to read it?

    #63434
    chrishajer
    Participant

    Works fine for me with Firefox and my Google homepage. See this after I added your feed:

    http://www.chrishajer.com/bbpress/iGoogle.png

    No problem at all. Where are you trying to view this feed?

    #2985
    Craig
    Member

    Alright, I will fully admit I am a complete newbie to RSS feeds and while I’m trying to learn more… I have a weird error I think.

    When you have an active RSS feed on my forums it just shows a page with a white background and expandable/collasping script.

    Forums: http://forums.hooligans-gaming.net

    Help a brother out!

    #63183
    janellers
    Member

    just don’t belive in my last post :( please help me!

    #63408
    horrorshow
    Member

    Hi beaulebens,

    I like your site!

    Which version of wpmu and bbpress are you running? Which plugins are you using for the integration. (I had to modify some cookie setting code in bbpress to get the single signon working properly: https://bbpress.org/forums/topic/cookies-subtle-bug-single-sign-on-bbpress-and-wordpress)

    BBsync doesn’t work with WPMU, btw.

    What other things have you customized? Thanks for sharing!

    horrorshow
    Member

    I fixed the problem by making changes to the bb_cookie() and bb_logout() since wpmu and bbpress set cookies differently: (the expire times are different). If anyone wants to me to post the code, please let me know.

    Also, I added the “cookiedomain” to the config.php

    Here’s the full list relevant to the integration.

    $bb->wp_table_prefix = 'wp_';
    $bb->wp_home = 'http://achillesblog.com';
    $bb->wp_siteurl = 'http://achillesblog.com';
    $bb->usercookie = 'wordpressuser';
    $bb->passcookie = 'wordpresspass';
    $bb->cookiepath = '/';
    $bb->cookiedomain = '.achillesblog.com';
    $bb->path='/forum/';

    #63284
    itissue
    Member

    That looks like it should work. I have this in my-views.php though

    $my_views_prefered_order=array(
    "latest-discussions","no-replies","untagged","my-topics","my-posts","most-views","most-posts","least-views","least-posts",
    "installed-plugins","available-plugins","installed-themes","available-themes","statistics"
    );

    The problem is, every time I put /view/latest-discussions/ or /view/latest-discussions/page/2 , it redirects me to the index page.

    #63283
    howtogeek
    Member

    You have to make sure that it’s listed in the my-views.php plugin file in this line:

    $my_views['prefered_order']=array(      // force views to list in the order that you desire
    "latest-discussions","no-replies","untagged","my-topics","my-posts","most-views","most-posts","least-views","least-p
    osts",

    Usually the link is something like /forum/view/latest-discussions, for instance mine is here:

    http://www.howtogeek.com/forum/view/latest-discussions

    If you wanted to link directly to the second page, it would be something like this:

    http://www.howtogeek.com/forum/view/latest-discussions/page/2

    horrorshow
    Member

    _ck_, I cleared all the cookies for this domain when doing the test. I also closed all open pages, and started fresh.

    The three cookies that I see generated when doing this test on both BBPress and WPMU are:

    wordpressuser

    wordpresspass

    wordpress_test_cookie

    I’ll look at the code for logging out of wpmu, and also see if anything gets changed in the database. I’ll then compare that to how BBPress logs out and see if it makes any changes in the database too.

    Thanks for the link, but he basically added:

    $bb->usercookie = ‘wordpressuser’;

    $bb->passcookie = ‘wordpresspass’;

    And I’ve already done that.

    #2974
    kernpunt
    Member

    Hopefully you folks can help me. I have a few questions about integration and bbPress. What I have right now is a custom built populated member database with passwords, usernames, emails, etc.

    What I would like to do is get bbPress to “hook” into this database instead of having to have two member/user tables to keep synchronized. Is there a certain way you’d go about doing this, that perhaps isn’t too messy? Or will it require rewriting a lot of code?

    I’ve found a lot of WordPress integration help here, but really not much on integrating with other types of websites (aside from template editing). So any help would be great, even if you just give me a little push in the right direction. Thanks. :)

    horrorshow
    Member

    Hi,

    I don’t mean to post twice, but I realized that I replied this to a thread that had already been resolved.. so I am posting a new topic.

    I am trying to integrate bbpress(0.8.3.1) with wordpress mu (1.3.3), and I am having some issues with cookies for login/logout.

    I’ve tried setting this: (“MD5hash” replaced with my MD5)

    $bb->usercookie = 'wordpressuser_MD5hash';
    $bb->passcookie = 'wordpresspass_MD5hash';

    However, that didn’t seem to allow single sign-on login(meaning, if I am log into wp, go to bbpress and find myself already logged and vice versa)

    Watching the cookies during the login/out process on WP MU, I found that the cookie names that WP MU uses are: “wordpresspass” and “wordpressuser”

    So in config.php for bbpress, I used:

    $bb->usercookie = 'wordpressuser';
    $bb->passcookie = 'wordpresspass';

    This works somewhat, let me explain:

    This scenario works:

    Log into WPMU, refresh bbpress page, I find myself already logged into bbpress.

    Log out of WPMU, refresh bbpress page, I find myself logged out of bbpress.

    Log into BBpress, refresh WPMU, I find myself logged into WPMU

    This doesn’t work:

    Log into BBpress, refresh WPMU (I find myself logged into WPMU) AND THEN when I try to log out from WPMU, I can’t log out.

    I refresh BBpress page, and I am not logged out either.

    If I log out from BBpress at this point, then I am logged out of WPMU as well.

    I have a feeling it might be something with WPMU, but I thought I’d post here first since this is where I found all the information about the integration. Thanks for your help. I am appending my config.php relevant to the integration part.

    $bb->wp_table_prefix = 'wp_';
    $bb->wp_home = 'http://achillesblog.com';
    $bb->wp_siteurl = 'http://achillesblog.com';
    $bb->usercookie = 'wordpressuser';
    $bb->passcookie = 'wordpresspass';
    $bb->cookiepath = '/';

    thanks for your help.

    #63331

    In reply to: Fatal Error?

    chrishajer
    Participant

    No need – just glad it’s working. We’ll call it virtual coffee money :)

    #59100
    horrorshow
    Member

    Hi,

    I am trying to integrate bbpress(0.8.3.1) with wordpress mu (1.3.3), and I am having some issues with cookies for login/logout.

    I’ve tried setting this: (“MD5hash” replaced with my MD5)

    $bb->usercookie = 'wordpressuser_MD5hash';
    $bb->passcookie = 'wordpresspass_MD5hash';

    However, that didn’t seem to synchronize login(meaning, if I am log into wp, go to bbpress and find myself already logged and vice versa)

    Watching the cookies during the login/out process on WP MU, I found that the cookie names that WP MU uses are: “wordpresspass” and “wordpressuser”

    So in config.php for bbpress, I used:

    $bb->usercookie = 'wordpressuser';
    $bb->passcookie = 'wordpresspass';

    This works somewhat, let me explain:

    This scenario works:

    Log into WPMU, refresh bbpress page, I find myself already logged into bbpress.

    Log out of WPMU, refresh bbpress page, I find myself logged out of bbpress.

    Log into BBpress, refresh WPMU, I find myself logged into WPMU

    This doesn’t work:

    Log into BBpress, refresh WPMU (I find myself logged into WPMU) AND THEN when I try to log out from WPMU, I can’t log out.

    I refresh BBpress page, and I am not logged out either.

    If I log out from BBpress at this point, then I am logged out of WPMU as well.

    I have a feeling it might be something with WPMU, but I thought I’d post here first since this is where I found all the information about the integration. Thanks for your help. I am appending my config.php relevant to the integration part.

    $bb->wp_table_prefix = 'wp_';
    $bb->wp_home = 'http://achillesblog.com';
    $bb->wp_siteurl = 'http://achillesblog.com';
    $bb->usercookie = 'wordpressuser';
    $bb->passcookie = 'wordpresspass';
    $bb->cookiepath = '/';

    thanks for your help.

Viewing 25 results - 28,076 through 28,100 (of 32,462 total)
Skip to toolbar