Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 45,151 through 45,175 (of 64,487 total)
  • Author
    Search Results
  • #86019
    johnhiler
    Member

    When I integrate a WordPress and a bbPress install, I use a single database to hold both installs… that way, they can share the same users table.

    Is your WordPress and bbPress data stored within the same database? One quick way to check that is to compare the config files for both: do they refer to the same database name/username/pw?

    #86017
    cloner
    Participant

    I have a valid dbname, dbusername, dbpassword, and dblocation in the bb-config.php file in the directory of the bbPress install. That seems to be correct, as bbpress now displays all of the posts from that database. Go to http://www.mh900e.org/parlare to see for yourself what I mean.

    However, there is another database, used by WordPress, that I believe has all of the user info in it that is shared by both bbPress and WordPress. Does bbPress store information on the WordPress database somewhere so that it can retrieve user information and credentials? If not, how does it go to that database to get the user info? I think the “link” between bbPress and the user information in the WordPress database is what’s damaged or missing.

    Any thoughts?

    #86015
    johnhiler
    Member

    The MySQL database name/username/password is at the top of the bb-config file:

    http://svn.automattic.com/bbpress/trunk/bb-config-sample.php

    What DB name/username/password do you have in the current bb-config.php file? (I’m not asking for the actual info – please don’t post that, as that pose a security issue!)

    #86014
    cloner
    Participant

    I’ve changed both keys to a much simpler phrase and things still don’t work.

    Anyone know where bbPress gets it’s keys to query the WordPress database?

    #86013
    cloner
    Participant

    Moving along with my understanding of this system, I hope.

    If I understand this correctly, somewhere in bbPress there is an area where the information for the WordPress database is stored so that bbPress can get the user table from it. Where is it stored?

    I believe the password for the WordPress database changed and I need to change it where ever it is. I thought maybe it was in bb-config or bb-settings, but I don’t see the correct db name and username there anywhere.

    Does anyone know where bbPress stores WordPress database info?

    #86012
    chrishajer
    Participant

    Make the keys the same, whatever you have to do to make it work. Remove any “special” characters because bbPress did not handle those correctly for a while, while WordPress did. So, I would remove single and double quotes and slashes and make them both identical. The actual key does not matter too much, and changing keys just invalidates existing login cookies. It’s more important to make sure they’re identical.

    #86011
    cloner
    Participant

    OK…..in bb-config.php, there is a line that reads:

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

    define(‘BB_SECRET_KEY’, ‘6koHWRD9d{XOEQ-S5+T[Or|TK[at.G8Qo~s,Z$]n:Yt:Ts%+uVpO.]MI3$’); // Change this to a unique phrase.

    Then, in wp-config.php, there’s a line that reads:

    define(‘LOGGED_IN_KEY’, ‘6koHWRD9d{XOEQ-S5+T[Or|TK[at.G8Qo~s,Z$]n:Yt:Ts%+uVpO.]MI3$’|P]tL’);

    Notice the line in bbpress is missing the characters: ‘|P]tL’

    I don’t know if the ‘ between and | is the end of the phrase and the P[tl is code, or if the whole ‘|P]tL should be added, but it seems odd that they don’t match EXACTLY.

    Reckon this is an issue? I don’t know why it would have changed, but something’s askew.

    1onely
    Member

    Hello chrishajer

    I want this style : http://www.bbpressthemes.net/black-letterhead

    But Link does not work , I can not download ( Error 404 – Not Found )

    Please i want this style , I want to link works

    #86057

    In reply to: Hidden posts

    guarda-faro
    Member

    I already know that plugin. In fact I found the operative version of the same and I proved it. It has some deficiencies that I did not like. I rejected to use it. I do not understand the reason bbPress does not include the use of static pages. He is not so complicated. On the other hand, I prefer not to use plugins, if I can avoid it. For that reason I prefer to find another form through some function that I can incorporate to the code of my template.

    Thank you

    berwalsh
    Member

    Does anyone currently use bbPress for parent communication at a school? Trying to find the right combination for security, ease of use, and low maintenance.

    #86003
    cloner
    Participant

    John,

    It’s rather an odd situation, as I just took over administration of this board, so I’m not really familiar with the interactions of bbPress and WordPress. The WordPress installation had only one user (the original admin), and as part of the transition we intended to upgrade both utilities to their latest, greatest versions to leave me with a “clean slate” to work from. Our intended first step was to upgrade WordPress, which the original admin hadn’t updated in some time. I had, and still have, no credentials in WordPress.

    Our intent was to simply delete the original install of WordPress and install the latest version. I took care of the file end, but upon install the program told me that there was already an installation in place that had to be deleted first. The previous admin then wiped the WP database. I believe this began our problem. Upon installing the latest verison of bbP, I discovered that bbP stores it’s user info in the WP database, so I think that killed us. I think that if the orignial admin restores that db we should be able to salvage our installs.

    I don’t know the release of the original WP install, but if you’ll tell me where to look I have a local backup of the original site on my harddrive. Ditto bbP, though I think it was 0.8.3.

    Yes, http://www.mh900e.org

    The discussion forums (the only really relevant part of the site, to my way of thinking) is at http://www.mh900e.org/parlare. I’ve installed 1.1.11 at the root (I was thinking about removing WP, anyway) and put up a single message telling users that we’re working on resolving other issues.

    #86056

    In reply to: Hidden posts

    johnhiler
    Member

    You could always create a plugin which “hides” certain posts from the forum front-page/forum pages. I don’t think there’s anything available that does that now… the closest I’ve seen is this bb-Pages plugin:

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

    It was broken for a while, but it looks like someone posted a working version a few months ago:

    https://bbpress.org/plugins/topic/bbpages/#post-4768

    Good luck!

    #85996

    Update: I seem to have gotten it working, by inserting the following code directly to function bb_safe_redirect within functions.bb-pluggable.php, right before the line checking against $allowed_hosts:

    $allowed_redirects = array();

    $allowed_redirects[] = 'offsite-feedback-forum.com';

    $allowed_redirects[] = 'base-blog-url.com';

    $allowed_redirects[] = 'base-blog-url.com/wordpress-installed-directory';

    add_filter('allowed_redirect_hosts', 'add_allowed_redirect_hosts');

    I originally tried to do this from a plugin, as the code above is copied from a handy WordPress plugin, but I was not able to get it to work without sticking it right within the pluggable.php file. If anybody has a better suggestion, I’d love to avoid editing the core files if possible!

    #86002
    johnhiler
    Member

    Three quick questions to help scope out the situation. :-)

    1) Which versions of bbPress and WordPress did you have working together?

    2) What version of WordPress did you upgrade to?

    3) Where did your users disappear – just in bbPress, or also in WordPress?

    Also – is this your forum?

    http://www.mh900e.org/

    #33795
    #85973

    In reply to: WP and bbp integration

    gerikg
    Member

    Chrishajer, do you think they should update this page: https://bbpress.org/documentation/integration-with-wordpress/

    #33800
    H
    Participant

    I am working on an ajax function, and currently I write a plugin which gives the last post of the logged-in user.

    The post should be displayed using the post.php template of the current theme.

    I try to get the last post from the DB as an object, and give it to the bb_post_template() function, like written below, but that doesn’t work.

    What should I do?

    I have $user = 2 as an example.

    $lastpost = $bbdb->get_results("SELECT * FROM bbpress_posts WHERE poster_id = ".$user." ORDER BY post_time desc LIMIT 0, 1");

    foreach ($lastpost as $bb_post)
    {
    $id = $bb_post->post_id;
    $post = bb_get_post($id);
    if($post)
    {
    bb_post_template();
    }
    }

    #33796
    jwr38
    Member

    I would like to move my forums from ikonboard to bbpress. I am using wordpress so you can understand the reasons, that and ikonboard is no longer supported.

    I did a search in google and it said it could be done. what do i need to do to this?

    #85994
    frhong
    Member

    Excellent! This is exactly what I want. I will try this out as we speak…

    #85993
    chrishajer
    Participant
    #85971

    In reply to: WP and bbp integration

    chrishajer
    Participant
    #85964
    chrishajer
    Participant
    #85990
    chrishajer
    Participant

    You change the setting in bbPress: did you also change the name of the folder where it’s installed? They need to be the same (the folder name part anyway.)

    Wait, you deleted everything? So where is it now? What URL or folder?

    Also, to reinstall completely, you need to drop the database tables and then reinstall. The database is what lets the installer know if you’re already installed or not. So, drop the bbPress tables and try the installation again (assuming there’s no important data in the database yet.)

    #84906
    chrishajer
    Participant

    anyone can find me at chrishajer [at]/ gmail [dot]/ com

    #33794
    frhong
    Member

    Hi, I’m building a community website and planning to export the topic list, including the “number of post, last post user, time” column into my WordPress main page.

    An example screenshot will look like this :

    http://i43.tinypic.com/286tr7m.jpg

    Please let me know if you know how to do it, or is there any documents that I can refer to. Many thanks

Viewing 25 results - 45,151 through 45,175 (of 64,487 total)
Skip to toolbar