Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 54,976 through 55,000 (of 64,430 total)
  • Author
    Search Results
  • #68886
    lstelie
    Member

    Thaks,

    I’ll try this way for next time, in the meantime I ended using PhpMyAdmin to delete post and tipic with status=1

    I hope this fucntionality will make its way in the core because it can become a real problem.

    I had a problematic user, I first deleted all his messages (deleted, but not really deleted as BBPress don’t really delete) then I deleted his account.

    A few hours later he recreated his accoun and suddently all supposedly deleted messages appeared with “anonymous” has author…. very strange.

    Using phpMyAdmin the problem is gone :)

    How to use your script ?

    Thanks again

    #68636
    johnhiler
    Member

    The bbPress I’m using is on 0.83… upgrading to 0.9.0.2 on a test server, and then testing the integration with WordPress and Mediawiki.

    Once everything is looking good, we’ll migrate the live site to use bbPress 0.9.0.2. Then I’ll install this plugin – excited!

    Yah Mediawiki is tricky stuff. The worst part is that the cookies don’t truly integrate! I used a plugin to get both software reading off of the same bbPress users table… so that works. But you have to re-sign in manually as you click from the blog/boards to the wiki… alas.

    Will keep you posted on the plugin!!

    #66118
    Gregg
    Member

    ok update as ive been messing with thing maybe too much.

    if i include the wp-blog-header.php to use WP functions i am never recognized as logged in on BB side even though using the bb form gets me logged in on wp side. everything redirects me to the forum homepage when trying to go to admin or profile. weird.

    with the include not there I can login and be shown logged in on bbpress side, but i cannot logout! omg it doesnt end. maybe its because i have had 5 hours of sleep the past two nights but any help on this would rock!

    #66117
    Gregg
    Member

    Im integrating my second wp and bb site and this time around it seems there are some easier steps only I cant get this setup to work. I can login to the WP side fine. But when i login from bb side it just redirects to the forum homepage. It will login the person on the wp side but not let them do a thing on the bb side.

    I dont have admin access until wipe out the theme and clear the cookies. its very strange.

    I followed all steps correctly in the writeup. any help would be much appreciated.

    here is what my bb-config file looks like

    require_once('/path/to/blog/wp-blog-header.php');

    // ** MySQL settings ** //

    define(‘BBDB_NAME’, ‘db’); // The name of the database

    define(‘BBDB_USER’, ‘user’); // Your MySQL username

    define(‘BBDB_PASSWORD’, ‘pswd’); // …and password

    define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change these last few

    define(‘BBDB_CHARSET’, ‘utf8’); // If you are *upgrading*, and your old bb-config.php does

    define(‘BBDB_COLLATE’, ”); // not have these two contstants in them, DO NOT define them

    // If you are installing for the first time, leave them here

    define(‘COOKIEPATH’, ‘/’ );

    define(‘SITECOOKIEPATH’, ‘/’);

    // Change BB_SECRET_KEY to a unique phrase. You won’t have to remember it later,

    // so make it long and complicated. You can visit https://www.grc.com/passwords.htm

    // to get a phrase generated for you, or just make something up.

    // If you are integrating logins with WordPress, you will need to match the value

    // of the “SECRET_KEY” in the WordPress file wp-config.php

    define(‘BB_SECRET_KEY’, ‘secretkeydotcom’); // Change this to a unique phrase.

    // If you are running multiple bbPress installations in a single database,

    // you will probably want to change this.

    $bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!

    // Change this to localize bbPress. A corresponding MO file for the

    // chosen language must be installed to bb-includes/languages.

    // For example, install de.mo to bb-includes/languages and set BB_LANG to ‘de’

    // to enable German language support.

    define(‘BB_LANG’, ”);

    /* Stop editing */

    if ( !defined(‘BB_PATH’) )

    define(‘BB_PATH’, dirname(__FILE__) . ‘/’ );

    require_once( BB_PATH . ‘bb-settings.php’ );

    $bb->wp_siteurl = ‘http://www.site.com/blog/’;

    // that’s your WordPress URL, not bbPress

    $bb->wp_home = ‘http://www.site.com/blog/’;

    // almost always the same as siteurl unless you tinker

    $bb->wp_table_prefix = ‘wp_’;

    // should almost always be wp_ unless you tinkered

    $bb->user_bbdb_name = ‘db’;

    // this is the MYSQL database name for *WordPress*

    // you can copy it right out of WordPress !

    $bb->user_bbdb_user = ‘user’;

    // this is the MYSQL user name for *WordPress*

    // you can copy it right out of WordPress !

    $bb->user_bbdb_password = ‘pswd’;

    // this is the MYSQL password for *WordPress*

    // you can copy it right out of WordPress !

    $bb->user_bbdb_host = ‘localhost’;

    // 99.9% of the time it’s going to be localhost, unless you are on DreamHost or some other weird ISP

    $bb->custom_user_table = ‘wp_users’;

    // 99.9% of the time it’s going to be wp_users

    $bb->custom_user_meta_table = ‘wp_usermeta’;

    // 99.9% of the time it’s going to be wp_usermeta

    $bb->authcookie = ‘wordpress_randomnumbers’;

    // in theory you should be able to leave this out

    // but this is going to be copied from WordPress cookie

    // this *must* match the WordPress setting

    // do NOT use the 1234567 part, use your own cookiehash from WordPress – see the note at the very bottom

    $bb->cookiedomain = ‘.site.com’;

    // note the leading DOT – this is important

    // this *must* match the WordPress setting

    $bb->cookiepath = ‘/’;

    // I *highly* recommend you set the cookie path to /

    // this *must* match the WordPress setting

    $bb->sitecookiepath = ‘/’;

    // I *highly* recommend you set the cookie path to /

    // this *must* match the WordPress setting

    //tried this – doesnt work with or without…ugh

    $bb->usercookie = ‘wordpressuser_randomnumbers’;

    $bb->passcookie = ‘wordpresspass_randomnumbers’;

    #68885
    wiseacre
    Member
    #68928
    _ck_
    Participant

    You want Forum Categories.

    It’s built in on 1.0

    If you are using 0.9 you need this plugin:

    https://bbpress.org/plugins/topic/forum-is-category/

    #4260
    jorma
    Member

    I have installed BBpress on my website and everything is working good.

    But I want to have several divisions in the forum. On this forum (BBpress.org/forum) there is one division called “Main Theme”. I want to have more than one “Main Theme”, and I also want to change the name on these divions.

    Is this possible? And how do I fix this?

    /Martin, Sweden

    #68867
    andyaties
    Member

    Replying to myself: I installed on our live site and didn’t have the same problems, by copying the files onto a root with a non-bbpress name, and several levels down; maybe just a local server problem. I think the lesson is: install really basic, and play. Make up your mind what everything is going to be called and where it will go, and then start all over fresh.

    At least now we don’t see bb-press named folders except in admin. But I agree, it would be neater to have all the bb-press functional stuff in a common place, called by as many installations as required, but I guess there is a single database / table registration in there.

    Pretty neat though; I like it. Only problem is IE 6 messes it up in places (positioning, not showing all user tags etc.)

    #68904
    _ck_
    Participant

    Unfortunately there’s little bbPress documentation right for developers. It’s very much like WordPress however, just different hooks (do_action, do_filter).

    There’s no official list of functions but some people have generated xrefs for it, example:

    http://phpxref.ftwr.co.uk/bbpress/nav.html?index.html

    (unofficial)

    I keep a database reference here:

    http://bbshowcase.org/reference/

    but it’s a little out of date for 1.0 alpha

    To upload your plugin into the extend area, first you have to request a “slot” under Extend->add your plugin

    https://bbpress.org/plugins/requests/

    Then you’ll get an email when it’s approved in a few days (mdawaffe is distracted these days, it can take 1-5 days on average) Then you need to learn how to use SVN to upload your files into the system.

    The steps are the same as for WordPress and here’s a good guide:

    http://www.binarymoon.co.uk/2008/01/wordpress-plugin-subversion-guide/

    only the svn url is different

    https://plugins-svn.bbpress.org/

    #68877
    _ck_
    Participant

    Any guide that is for WordPress plugins should work for bbPress, it’s just that bbPress’s “hooks” (do_action, do_filter) will be named differently.

    bbPress is unfortunately too young to have decent documentation yet. WordPress itself didn’t really “take off” until 2.0 beta came out.

    This is essentially the plugin framework you need:

    <?php
    /*
    Plugin Name: My Tag Sort
    */
    remove_filter('sort_tag_heat_map', 'bb_sort_tag_heat_map');
    add_filter('sort_tag_heat_map', 'my_sort_tag_heat_map');

    function my_sort_tag_heat_map( &$tag_counts ) {
    // put your replacement code here
    }
    ?>

    Save it as my-tag-sort.php, put it into the bbpress/my-plugins folder, activate and you’re in business (well after you figure out the sort method).

    Typically you’d have to do a return $tag_counts; at the end of a filter but that & on the &$tag_counts means it’s “passed by refererence” which is a fancy way of using the original array directly without making a copy, so the original is changed at the source when you modify it. It’s a much faster way to move large amounts of info around.

    #68876
    myu
    Member

    Thank you.

    I will look for those guides. (And re-do all the “hack”s if possible..)

    Should’ve thought about looking for WordPress guides instead of bbPress ones.

    #68866
    andyaties
    Member

    I have a similar query: I can install into “/bbpress” on my web root, but the installation just won’t complete if install to deeper folders, eg: /network/members/bbpress where there is .ht access security.

    Also, I’d rather it was all in /forum rather than /bbpress. Unless all hrefs, includes etc. are purely relative, that would require trawling all bbpress files for this reference to change it (?)

    No – you can’t just rename the root after installation and return to reconfigure the install root setting: it all gets lost in itself.

    #68875
    _ck_
    Participant

    bbPress uses the same concept as WordPress with add_filter and add_action so there are many guides out there as to how it works.

    Essentially it’s a “hook” that allows you to intercept the process or results. The first part of the add_action/add_filter is the process name or trigger, the second part the the name of the function you want to process at that moment.

    If there are existing filters/actions in place you can unhook them with remove_action or remove_filter.

    #68634
    johnhiler
    Member

    Ran into a little trouble installing it… I’ll upgrade my bbpress version this weekend!

    It’s a little tricky since we’ve integrated our bbPress with a WordPress and a MediaWiki installation… plus dozens of bbPRess plugins. But we’ll get it working soon, and I’ll send that donation off!

    #52356
    eslavin83
    Member

    i’m also getting this warning message:

    Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/public_html/bbs08/phpbb2bbpress.php on line 922

    #52355
    eslavin83
    Member

    can anyone answer the question regarding the “39816” error? i get up to step 8 and then that string of numbers shows up. i checked the new database and nothing has been pushed into it.

    #68897
    irr1449
    Member

    Ok so I’m not sure if this is the best way, but I turned on WordPress integration but without sharing database tables. Now I can access the cookies on any page that I include bb-load!

    #68895
    chrishajer
    Participant

    What version are you using? For older version, the bbPress plugin bbSync does what you want. For the newer alpha versions, there is bbPress live, a WordPress plugin.

    https://bbpress.org/plugins/topic/bbsync/

    https://wordpress.org/extend/plugins/bbpress-live/

    #4255
    irr1449
    Member

    I’m integrating a bbpress forum into a website and I need access to the bbpress user info and functions.

    at the top of my php page i’ve done

    require(“/path/to/forum/bb-load.php”);

    This works great so far, I can load the forum, display topics etc. The only problem is that I can not maintain a user log in when I go from the forum to my new page. I’ve dumped the $_COOKIE var from my new page and the bbpress cookie is not present. If I dump $_COOKIE from a bbpress page its present.

    Any idea?

    Is there any way I can make the bbpress cookie available in my new page?

    #4254
    feastoffools
    Member

    I’m wondering if this is possible-

    We have our wordpress blog Feast of Fools tied together with bbPress forums, and I was wondering if there was a way for bbPress to treat the comments on a blog entry as a topic in the forums.

    This way, popular blog entries would “float” to the top in the same way that bbpress forum entries do.

    Any ideas? It this already a function we don’t know about?

    #68865
    _ck_
    Participant

    I believe 1.0 specifically has some abilities to address such a desire but I am unfamiliar with them. Sam might know.

    #68214
    lostdeviant
    Member

    I started a thread of several issues I’m having with Alpha-2. I hope they’ll be fixed in Alpha-3.

    #68487

    In reply to: Customizing gravatars

    Okay, having tested it a bunch of different ways, I can’t get it to work.

    I want to make my own image the ‘default’ for the non-gravatard people (which works fine on WordPress).

    In WordPress it’s this:

    <?php echo get_avatar(get_comment_author_email(),50,'http://www.foo.com/gravatar.png');?>

    For bbpress we have this post_author_avatar(); on post.php. Passing the URL into that, either on it’s own or as $default doesn’t work.

    Using echo bb_get_avatar( bb_get_user_email(post_author()), 48, 'http://www.foo.com/gravatar.png' ); didn’t work.

    I’m gonna keep tossing stuff up against the wall for now.

    #68213

    @sc0ttbeard: Hey Scott, take a look at a previous post of mine to hopefully jump-start your audit. I wonder if it’s a simple server config issue wrt cookie domain path… I’m going to RTFM.

    #66116

    @complex I think you’re mistaken. WP2.6.2 – WP2.6.3 did not have cookie-related modifications.

    WP2.6.3 did not fix ‘cookie-related issues’. The edict still stands for bbPress 0.9x.

    As I understand it, it is the move to bbPress 1.0 that uses the ‘new’ WP2.6x cookies.

    If you find ‘old’ options they’re probably there to permit backwards-compatibility with plugins etc that have not been upgraded yet.

Viewing 25 results - 54,976 through 55,000 (of 64,430 total)
Skip to toolbar