Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 24,401 through 24,425 (of 32,468 total)
  • Author
    Search Results
  • If you have the WP environment loaded, then you can use the regular WP functions. You need to put some more light on the subject so that we can brainstorm. ;)

    #75531

    In reply to: bbPress Codex

    Geezerjim
    Participant

    I’m “pressing” on, if only for the bbPress (and MediaWiki) knowledge I’ll gain. I’ve been starting with the information here.

    #75939

    Its always hard to track what you missed as compared to a fresh procedure. If you are doing fresh installations of both then I would want you to take a look at my tutorial that I wrote yesterday : http://blog.ashfame.com/2009/07/integrate-bbpress-10-with-wordpress-28/

    and if they already hold data, then we will try to trace the cause and get it fixed.

    Hope that helps! :)

    #75950
    Gautam
    Member

    :O

    This shouldn’t be the case. However, check the topic.php of your theme and see if there is the currect loop. It should look like this:

    <?php foreach ($posts as $bb_post) : $del_class = post_del_class(); ?>
    <li id="post-<?php post_id(); ?>"<?php alt_class('post', $del_class); ?>>
    <?php bb_post_template(); ?>
    </li>
    <?php endforeach; ?>

    And did you follow the steps to upgrade written here – https://bbpress.org/documentation/upgrading/

    #15277
    n8kindt
    Member

    when on the user page in the admin section i checked ‘bozos only’ and clicked filter and got this error msg:

    Warning: array_intersect() [function.array-intersect]: Argument #1 is not an array in /home/gurrlieg/public_html/gurrliegirl.info/html/bbpress/bb-plugins/bozo.php on line 348

    this occurred with an empty search field and the role selection box left at ‘role’

    #75934
    Gautam
    Member

    As you have bbpress installed in forum directory, thats why its showing one more forum

    if you have installed it in example.com, then only one forum would be shown

    (though you already know this)

    To fix this, you might do this (NOTE: I have not tested it, nor do I know if it might have a side effect on anything else, and this change will also be vanished when you upgrade bbpress):

    Open bb-includes/functions.bb-template.php

    Go to line number 711

    This would be written there:

    $link = bb_get_uri('forum/' . $forum->$column . $page, null, $context);

    Change forum/ to category/ or anything you want.

    #75924

    Hm, thats what I thought. I was hoping they would have added in a plugin where users could change their own name like in 1.0 of bbPress. I think I installed that one you linked me, but it didnt do anything. :)

    #75890

    In reply to: BuddyBar in bbPress

    _ck_
    Participant

    As long as it’s not my server you are crashing by using too many resources, go for it ;-)

    (won’t go over so well for users on shared hosts however)

    swaymedia
    Member

    i guess ill have to make my template really minimilastic, so that not much changes will occur once i upgrade.

    oh well. thanks for everything anyway

    _ck_
    Participant

    Actually, you do not want bbPress development to stop. It must continue to survive.

    Even if it was feature frozen today I would not be addressing the problems for at least a month or two as bbPress does not pay the bills (there have only been 4 donations this year despite thousands of users of my plugins).

    Simply keep using 0.9 for a few months, it’s very stable and reliable.

    swaymedia
    Member

    Please stop changing core code so CK can get all 60+ plugins to be compatible with the new version, please.

    It is very frustration, now that WE have to wait till December (when ck updates he/shes plugins)..

    this effectively renders the new version useless as the plugins are what makes bbpress.

    thanks for your time and godbless xoxox

    #70364
    crios
    Member

    I integrated 2.8 & 1.0.1 and it seems to be working beautifully.

    I created a walk through for myself (based off of the screencast), you can see it here. I thought I would post it here for anybody else that might want a set of typed instructions. Maybe this topic should be sticky or put a similar set of instructions on the documentation page?

    1. Install WP 2.8 on domain, in this case http://example.com (I’m going to skip the WP install. I know how to do this.)

    * database: exampledb

    2. Open wp-config.php in a text editor.

    3. Go to https://api.wordpress.org/secret-key/1.1/ and copy the provided keys (the entire text).

    4. Paste the copied keys into wp-config.php above the text “/* Stop editing */.”

    5. Save wp-config.php to web host.

    6. Install bbPress files into a subdirectory. In this case http://example.com/forum. (I’m going to skip the bbPress install. I know how to do this.)

    7. Fill in step 1 of bbPress setup.

    * database: exampledb (use same database as WP install.)

    8. Step 2 of the bbPress install.

    9. Check “Add integration settings.”

    10. Check “Add cookie integration settings.”

    11. Open wp-config.php again and copy and paste “AUTH_KEY” , “SECURE_AUTH_KEY” and “LOGGED_IN_KEY” (just the long string of letter, numbers and symbols in between the quotes) into the appropriate fields in the bbPress Step 2 page.

    12. Go to http://example.com/wp-admin/options.php (there should be a link in the ? section of the salt fields)

    13. Find the appropriate salts and copy and paste them into the appropriate fields in the bbPress Step 2 page.

    * If there is no secure_auth_salt leave it blank.

    14. Check “Add user database integration settings.”

    15. Look in wp-config.php again and copy the “table_prefix” into the appropriate field on the integration page. (in my case it was not just wp_ , it was wp_xxxxxx_ (the x being other numbers and letters.).)

    16. Click the save button and you should see “Your WordPress integration cookie and database settings have been successfully validated. etc…”

    17. Click the Step 3 button.

    18. Fill in the Site name: Example Forum.

    19. Check the URL (should be http://example.com/forum/).

    20. Select a Key Master (if integration was successful the WP admin should show up here and can be selected).

    21. Fill “First forum name” (First Forum).

    22. Click “Save.”

    23. Click “Complete Installation.”

    24. Go to the brand new forum.

    25. I was already logged in to WP so when I went to bbPress, again I was already logged in.

    26. Click on “Admin”

    * It shouldn’t work.

    27. Click “Log Out.”

    28. Log back in to bbPress as the admin.

    29. Click on “Admin.”

    30. You should be able to enter the Admin page of bbPress now.

    31. Go to “Settings” / “WordPress Integration.”

    32. Setup the “User Role Map”.

    * WP Admin: Keymaster

    * WP Editor: Moderator

    * Everybody else is a member.

    33. Click Save.

    34. Go to the WP install (http://example.com)

    35. Install bbPress Integration (WP Plugin): 1.0

    36. Activate the integration plugin.

    37. Go to “Settings” / “bbPress Integration.”

    38. Check the “bbPress URL.”

    39. Leave “plugins URL” alone.

    40. Check WordPress type.

    41. Click Save.

    42. Scroll down to “Manual Cookie Settings” and copy the code in the grey box.

    43. Open wp-config.php and paste the copied code above the text “/* Stop editing */.”

    44. Save wp-config.php to the web host.

    45. Voila everything should be set up!

    46. log in and log out of WP and bbPress and move back and forth between the two to make sure that the integration is working.

    #15259

    I’m trying to protect page on another subdomain… but unfortunately bbPress is not authenticating the cookie. (they are set for .domainabc.net)

    for test.domainabc.net:
    Cookie: bbpress_logged_in_00aa30280fe74d40ca269b5b2efffba3=rich%7C1247421898%7Cfbd785e0974af74814b56550af9c49dc

    for forums.domainabc.net
    Cookie: bbpress_logged_in_00aa30280fe74d40ca269b5b2efffba3=rich%7C1247421898%7Cfbd785e0974af74814b56550af9c49dc

    on test.domainabc.net i have something like this:

    require_once ('../forums.domainabc.net/bb-load.php');

    function add_allowed_redirect_hosts() {
    $allowed_redirects = array('test.domainabc.net');
    return $allowed_redirects;
    }
    add_filter('allowed_redirect_hosts', 'add_allowed_redirect_hosts');

    bb_auth( 'auth' );

    It will properly redirect to the login page, enter info, redirect back to test.domainabc.net – but then it will issue another 302 redirect back to forums.domainabc.net.

    and if i place a die statement within this bb_auth else on test.domainabc.net it will echo

    if ( 'auth' === $scheme && !bb_is_user_logged_in() ) {
    //redirects fine to login page the first time...
    } else {
    //echo - this happens when returning a 2nd time
    }

    BUT… if i return to forums.domainabc.net i’m logged in… and everything works.

    #75831
    citizenkeith
    Participant

    I have switched off all plugins except the following:

    Allow Images 0.7.1

    BBCode Buttons Toolbar 0.0.9

    BBCode Lite 1.0.3

    bbPress Smilies 0.0.8

    Human Test 0.9.2

    I haven’t had a problem for 24 hours. Will slowly switch on plugins until I do.

    #15256
    sms1962
    Member

    Hi,

    I did not see information on how to upgrade from 1.0-alpha-x to 1.01. Are there any problems? Someone already did this?

    I’ve bbPress 1.0-alpha-2 with WP integration (v. 2.8)

    SMS

    #75742
    Ohna
    Member

    Curiously if I write the code in “functions.php” that break my login/logout/edit profile page and display a blank page. I have moved the code in “my-plugins” and no issue now.

    Thank you for your information and your patience _ck_, I will try to solve my last problem by my self.

    Edit: solved with :

    foreach ($results as $result){$list.=" ".bb_get_avatar($result->ID, 20, $default)."<a href='".bb_get_option('uri')."profile/".$result->user_login."'>".$result->user_login." </a>";}

    #75868

    Which version of bbPress are you using?

    If you have phpMyAdmin access, then open the usermeta table (should be bb_capabilities if you are not using shared user tables and should be wp_capabilities if you are using shared tables) and change the value of bb_capabilities to a:1:{s:9:"keymaster";b:1;} for your user.

    Hope that helps.

    P.S. – Change the default table prefixes as your case may be.

    @toosalty & @navjotjsingh

    WordPress 2.8 integrates easily with bbPress 1.0

    I just wrote a post today : http://blog.ashfame.com/2009/07/integrate-bbpress-10-with-wordpress-28/

    I will also be writing a post on how to upgrade existing integrated installations (most probably tomorrow morning). Let me know if you are facing any issue, I will try to help.

    P.S. – No plugin is now needed for integration. ;)

    #15253

    Fistly excuse my english ….

    Hi, i have integrated bbpress inside my wordpress installing on the same database.

    The problem is that i have made all the integration except the user relation, so now i can logon like admin user on bbpress but i can’t change nothing :-( it seems to be a normal user

    Can i do manually (changing the database) to assign admin user as administrator ????

    #75697
    Ohna
    Member

    Hi, bb-gian

    If you want this in “front-page” latest topic you can try this:

    <a href="<?php forum_link($topic->forum_id); ?>"><?php forum_name($topic->forum_id); ?></a>

    or if you just want show all categories:

    <a href="<?php forum_link(); ?>"><?php forum_name(); ?></a>

    #75372

    In reply to: bbPress 1.0 released

    grassrootspa
    Member

    Loving the addition of Voices into the core. Just figured out how to display them :)

    #75859
    deadlyhifi
    Participant

    I may have to start doing it manually, then either adapt an existing plugin, or get my head around it myself at a later stage. They’re really banging on about it at work right now :( as a must have ASAP feature. It’s all about the monies!

    #75786
    deadlyhifi
    Participant

    ooh, that’s good to know. That’s not the explanation then. oh well. Maybe it will all blow over :)

    #75784
    deadlyhifi
    Participant

    mmm, just noticed that cookies with _utma, _utmb etc. state they come from

    .MYWEBSITE.com

    whereas the “wordpress_logged_in_NUMBER” states it’s website as

    www.MYWEBSITE.com (without the http this forum is auto adding it)

    could the fact that it has www at the start be the issue?

    My test site, on a subdomain, shares the same source – but then because its a subdomain it doesn’t have the www at the start.

    thanks for your continued replies ck.

    #75782
    deadlyhifi
    Participant

    They definitely have a different name.

    wordpress_logged_in_TWOdifferentVALUES

    tried to do the clear cookies thing in a function but, even though it’s running correctly, the cookie reset is getting ignored. Can’t figure out why :(

Viewing 25 results - 24,401 through 24,425 (of 32,468 total)
Skip to toolbar