Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress"'

Viewing 25 results - 26,076 through 26,100 (of 26,677 total)
  • Author
    Search Results
  • #54032
    kineda
    Member

    I added the two lines to the top of the file:

    define(‘WP_BB’, true);

    require_once( ‘/httpdocs/wp-config.php’);

    Still only 1 user showing in the wp_users table.

    #54031
    so1o
    Participant

    on the top of config.php add

    define('WP_BB', true);

    and

    require_once( '/absolute/path/to/wordpress/ config/file/wp-config.php');

    #1336
    kineda
    Member

    I’m trying to integrate WordPress 2.07 and bbpress 0.75, but I’m not having any luck! :(

    I’ve followed the instructions found here:

    http://bbpress.org/documentation/integration-with-wordpress/

    The following is a copy of my bbPress config.php file.

    <?php

    // ** MySQL settings ** //

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

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

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

    define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    // Change the prefix if you want to have multiple forums in a single database.

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

    // If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.

    // Adjust the domain and path to suit your actual URL.

    // Just the domain name; no directories or path. There should be no trailing slash here.

    $bb->domain = ‘http://www.kineda.com&#8217;; // Example: ‘http://bbpress.example.com&#8217;

    // There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.

    $bb->path = ‘/hype/’; // Example: ‘/forums/’

    // What are you going to call me?

    $bb->name = ‘Hype’;

    // This must be set before running the install script.

    $bb->admin_email = ”;

    // Set to true if you want pretty permalinks.

    $bb->mod_rewrite = true;

    // The number of topics that show on each page.

    $bb->page_topics = 30;

    // A user can edit a post for this many minutes after submitting.

    $bb->edit_lock = 60;

    // Your timezone offset. Example: -7 for Pacific Daylight Time.

    $bb->gmt_offset = 0;

    // 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 BBLANG to ‘de’

    // to enable German language support.

    define(‘BBLANG’, ”);

    // Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage

    // of Akismet’s powerful spam blocking, you’ll need one. You can get an Akismet key at

    // http://wordpress.com/api-keys/

    $bb->akismet_key = ‘e9a77fed10be’; // Example: ”

    // The rest is only useful if you are integrating bbPress with WordPress.

    // If you’re not, just leave the rest as it is.

    $bb->wp_table_prefix = ‘wp_’; // WordPress table prefix. Example: ‘wp_’;

    $bb->wp_home = ‘http://www.kineda.com&#8217;; // WordPress – Options->General: Blog address (URL) // No trailing slash. Example: ‘http://example.com&#8217;

    $bb->wp_siteurl = ‘http://www.kineda.com&#8217;; // WordPress – Options->General: WordPress address (URL) // No trailing slash. Example: ‘http://example.com&#8217;

    /* Stop editing */

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

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

    ?>

    After setting the config file, I went through the install process for bbPress. Then I downloaded the following plugins: wordpress-integration.php (placed in my-plugins) and bbpress-integration (activated in WordPress and set table prefix to bb_)

    The only account that works through both logins is the admin account. When I check the tables for the bbPress database I see this:

    bb_forums

    bb_posts

    bb_tagged

    bb_tags

    bb_topicmeta

    bb_topics

    wp_usermeta

    wp_users

    I checked wp_users and there is only 1 user in the database.

    This is driving me nuts!!! Any help would be appreciated.

    #49555
    kineda
    Member

    Pilkster – were you ever able to get it working?

    #1335
    ralphdagza
    Member

    Someone told me that this might work..

    <?

    get_header();

    /* HTML Stuff here, if you need to */

    include "bbpress.here";

    get_sidebar();

    get_footer();

    ?>

    can someone PLEASE explain this to me.

    what should i put here? >> “bbpress.here”

    and another question, where is the place to install bbpress?

    subfolder? or subdomain?

    thanks

    #51966
    ccmve
    Member

    Is it true that the ‘standard’ thing to do is install WP and BBP in the same database? If so, I’m going to take bbolman’s recommendation and copy my BBP tables into my WP database. Is it safe to copy these directly, or are the some alterations that need to be made first?

    #54021
    mozey
    Member

    ? so,,,,,,,,,,,, you want the first post to be the blog post itself, and all the replies to be comments?. it is doable, but why?

    It sounds that playing with a cool DB migration tool would be woth your while.

    #54020
    bbolman
    Participant

    Uh…converting forum posts to wordpress posts sort of defeats the purpose of bbPress I think. Plus, if you have much of any posts it will eat up your database. Why exactly do you want to do this?

    #53154
    baptiste
    Member

    Basically the part causing problems is using the require of wp-config. THis gets you the wordpress API in bbPress. I use this to have my widget sidebar in my bbPress pages. When you do this, bbPress uses the kses.php library from WordPress instead of bbPress. It makes sense – the library is generic. Why load it twice (plus the function names would conflict)

    But something with kses 0.2.2 is stripping out attribute lists. I’ve been debugging it all morning and I can’t figure out why. I get so far as to see in wp_kses_attr that after checking for allowed protocols, no attributes come back. Still digging.

    #53153
    chrishajer
    Participant

    baptiste said: “The point of using a href is to hide the URL itself and have a clickable phrase. a is listed as an allowed tag and in kses it appears to be allowed. I can’t understand why it’s being stripped out of the post. It should not be”

    Good point. I forgot I can do that with mine and it works fine. I am not using any WordPress integration plugin for mine – just user registrations are integrated. What integration plugins are you using and what does it get you?

    I used the instructions here but stopped short of the cookies. I think all that is ‘integrated’ in mine are user accounts. Maybe I didn’t complete the integration and that’s why mine is acting different than yours.

    Hrm…..

    (edit: the link to “here” works exactly like you want it to in your install, but it does not. I grok your problem now. )

    #53486
    baptiste
    Member

    This is bizarre. If bbPress integrated is using the WordPress version of kses, you’d think the same problem with href disappearing would happen in WordPress too, but it doesn’t. I’m still digging, but this is really puzzling.

    I have confirmed, however, that ALL attributes are being stripped that should be allowed. href, rel, cite in blockquote, etc.

    #1260
    baptiste
    Member

    All,

    I’ve posted a few things on the forums about odd behavior I’ve seen – href attributes in a tags getting stripped, slashes not getting stripped, etc.

    I’ve confirmed that these problems are due to the WordPress integration. I am running WordPress 2.1 and bbPress 0.75 and followed the documentation to do the integration.

    When I stop loading wp-config in my bbPress config, the slashes get removed and href attributes stay in posts.

    I’m still digging, but part of this problem is overlap between WordPress and bbPress. The docs talk about a constant WP_BB that tells the code there are possibly conflicting APIs out there. Setting it causes bbPress to use the kses code from WordPress instead. WordPress 2.1 uses kses v0.2.2 while bbPress ships with v0.2.1. My guess is something changed between the two that bbPress doesn’t handle.

    As for the slashes in front of apostrophes, it MAY be part of it – I’m not sure yet if kses is used to strip slashes. I didn’t think kses got called except during posting, not during viewing. There is another library from WordPress that bbPress uses in integration mode (l10n) for localization – not sure if this is involved in anyway (doubt it)

    So if you’re seeing weird behavior – it may very well be intergation. But the good news is it doesn’t seem to be overly difficult to fix. Still digging to find the ‘right’ way (though as a hack for the slash problem, you can include a stripslashes call in template-functions:

    function get_post_text() {

    global $bb_post;

    // Hack to strip slashes until WordPress integration is fixed

    return stripslashes($bb_post->post_text);

    }

    Anyway – just an FYI. I’ll dig more into the kses href issue and post if I find anything.

    #53152
    baptiste
    Member

    I’m thinking this problem may be due to the WordPress integration stuff. Same thing with the slashes being included in the posts. I may mess around with the integration plugin a bit and see if including the wordpress APIs is the root cause and why.

    #50383
    baptiste
    Member

    Easy fix (hack) in bb-includes/template-functions.php, update this function to look like this:

    function get_post_text() {

    global $bb_post;

    return stripslashes($bb_post->post_text);

    }

    May be an artifact of the wordpress integration – not sure.

    #51965

    lo all, I have the same problem as Staffan, when I use this fine plugin, I get no name name displayed, I have just installed the 0.75 of BBPress, and I do not have any option in my profile to enter a nicename at all, hence why the assigned database entry (‘user_nicename’) doesn’t hold a Nicename 😮

    Well I could enter a Nicename via phpMyAdmin, but that’s surely not the way to work that out, because tbh I am way too lazy, to do that for every future user registering with the forum ;)

    ==edit==

    Nevermind my post above, just sorted it out, it works, IF you install BBP with the database tables from WP in the config.php, but NOT IF you install BBP without these information ;)

    So the nicename from the WP user-table is being used, also means, users have to enter their WP profile to change that, as this is NOT possible via BBP profile

    Thx anyways :D

    ==end edit==

    Anyhow, a pretty nice plugin, keep up the good work Atsutane :)

    #1332
    ateale
    Member

    Hey guys,

    I recently used a cool script I found on here somewhere to convert our phpbb2 forums’ database over to bbpress.

    Anyone know if it would be possible to convert this new database over to a wordpress DB? So all the forum posts become posts in a wordpress blog – under categories?

    Sorry probably the wrong place to post this!

    Adam

    #53955

    In reply to: Flooding user accounts

    bbPress should already be filtering new registrations thorugh Akismet; if you have Akismet set up, it should mark as “bozo” any new registrations.

    There may, of course, be bugs particularly if you’re loading both bbPress and WordPress at the same time.

    #53703

    WordPress sends Content-Type headers. I guess bbPress should too.

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

    #51964
    bbolman
    Participant

    I think the easiest thing to do would be to just move over your bbpress install into the same database as your blog. I’m sure somebody here could probably help you modifying that plugin, but I feel like just moving would be much simpler.

    #51963
    ccmve
    Member

    That’s right Trent — I’m using 2 databases. I’ve been looking for a way to modify this plugin to get it look in the bbpress database, but I’m afraid my PHP skills aren’t quite up to it. Do you know of any other workarounds?

    #51962
    Trent Adams
    Member

    I think the plugin is designed to work when you have both wordpress and bbPress in the same database. You are using 2 different databases I would imagine then? If that is the case, then this plugin will not work for you.

    Trent

    #51961
    ccmve
    Member

    I’m getting this error in WP2.1:


    WordPress database error: [Table ‘wordpress.bb_topics’ doesn’t exist]

    SELECT * FROM bb_topics WHERE topic_status = 0 ORDER BY topic_time DESC LIMIT 10

    —-

    The table wordpress.bb_topics doesn’t exist because my bbpress database is named bbpress. So the proper database place to look would be bbpress.bb_topics

    Any way to fix this issue?

    #53862

    In reply to: Bozo problem

    Trent Adams
    Member

    Sorry, wrong location. Search database bb_usermeta table for is_bozo and you will find your bozo information in there. If you are integrated with WordPress, it will be the wp_usermeta table (as in my case). Here is an example of one of the entries in the database for a bozo:

    umeta_id user_id meta_key meta_value

    696 106 is_bozo b:1;

    Trent

    #53952

    In reply to: Display name plugin

    frenadoll
    Member

    I see, and this plugin in instance, where do I set it? either in wordpress or bbpress?

    #1324

    Topic: Display name plugin

    in forum Plugins
    frenadoll
    Member

    Hello, I’m trying to get working display_name plugin in my forums but after installing the plugin it doesn’t work, it’s still showing “Admin” but in wordpress is showing my “name” correctly.

    Another question, maybe related with the previous… Here I see people saying, “put it in your my-plugins folder”, but if bbpress has not plugins or has it? pardon my confunsion :S

    Thanks in advance

Viewing 25 results - 26,076 through 26,100 (of 26,677 total)
Skip to toolbar