Sam Bauers (@sambauers)

Forum Replies Created

Viewing 25 replies - 576 through 600 (of 1,069 total)
  • @sambauers

    Participant

    The problem is definitely the lack of a WordPress table prefix.

    The path of least resistance is to rename the WordPress tables adding a prefix, and change your configs to reflect the new table names.

    In reply to: Prblem upgrading

    @sambauers

    Participant

    Sorry, that should have been:

    $bb->wp_table_prefix = 'wp_';

    @sambauers

    Participant

    Just set up the “user role map” in the “WordPress integration” section of the bbPress admin area.

    @sambauers

    Participant
    In reply to: Plugin problem

    @sambauers

    Participant

    Wow, as I read your description of the problem initially I thought to myself, “sounds like a caching issue”.

    A good note for the future. I assume you are loading WordPress inside bbPress then?

    In reply to: Prblem upgrading

    @sambauers

    Participant

    If bbPress and WordPress are in the same database then hopefully all you should have to do is add this line to your bb-config.php after the database definitions:

    $wp_table_prefix = 'wp_';

    In reply to: bbOrg?

    @sambauers

    Participant

    @sambauers

    Participant

    OK, so it looks like you have matched the domains and paths correctly. Have you matched the bbPress “BB_SECRET_KEY” in bb-config.php to the WordPress “SECRET_KEY” in wp-config.php?

    Do the secrets stored in each database match?

    In bbPress it is the “secret” meta_key for topic “0” in bb_topicmeta.

    In WordPress it is the “secret” meta_key in the wp_options table.

    (Keep in mind that the cookie contents aren’t meant to be the same as they are hashed against the login time.)

    @sambauers

    Participant

    @sambauers

    Participant

    You should skip step 2 unless you are specifically integrating your bbPress installation with a WordPress installation.

    If you don’t know what a blog address is, then you don’t have one. There are lots of notes in the installer telling you exactly what the options are.

    @sambauers

    Participant

    It’s native and built-in to the default Kakumei themes. Other themes can be quite easily adapted to use them too.

    @sambauers

    Participant

    I notice a long expiration date, so I assume you checked the “remember me” option in both instances. Does it happen when you don’t check “remember me”?

    @sambauers

    Participant

    Thanks so1o, that’s the quick an dirty fix. That code uses jQuery methods, and jQuery is not available in topic pages.

    It didn’t get picked up because that code falls back to non-ajax requests when it fails.

    We are half way through removing all prototype in favour of jQuery, and this snuck under the radar.

    @sambauers

    Participant

    Were you getting an error message when it didn’t work? It would be useful to know it if you did.

    In reply to: WP-mu and bbPress 0.9

    @sambauers

    Participant

    User role mapping may not work. I’m not entirely sure of similarity differences between WP and WPMU roles.

    In reply to: WP-mu and bbPress 0.9

    @sambauers

    Participant

    It should work. But I haven’t tested it. Database integration should be fine. Cookie integration will almost certainly work if you only have one domain that you run wpmu on. e.g. WPMU main site = example.org, WPMU blogs = *.example.org

    @sambauers

    Participant

    Is the file there? Does it have permissions that allow the webserver to read it?

    @sambauers

    Participant

    Looks like you got the $bb_table_prefix wrong when you installed, it should have been different to the wordpress prefix.

    Change $bb_table_prefix from “wp_” to “bb_” in bb-config.php then rename you bbPress tables thusly:

    wp_forums -> bb_forums
    wp_tagged -> bb_tagged
    wp_tags -> bb_tags
    wp_topicmeta -> bb_topicmeta
    wp_topics -> bb_topics

    .

    Do not rename wp_posts, wp_users or wp_usermeta!

    This will still leave you without a bb_posts table. So if you have a way to browse your database (e.g. phpMyAdmin) then go into the bb_topicmeta table and look for the row with a meta_key of bb_db_version. Change the meta_value of that row from 1234 to 1233. Login to your bbPress (hopefully it works) then go to the admin section. You will be asked to upgrade, do so and check the log. You should see a log entry where your bb_posts table is created.

    That should do it.

    In reply to: Installation Troubles

    @sambauers

    Participant

    We don’t overwrite tables if they are there already, so the wp_user/meta tables should still be there.

    It’s really hard to tell what’s going on for you. Perhaps you should try and do a non-integrated install first just as a test.

    @sambauers

    Participant

    If someone writes a plugin, and that plugin is popular enough, we might add it to core. But it would have to have a bazillion downloads or something.

    The fact that nobody has written the plugin yet is telling though.

    @sambauers

    Participant

    WordPress.org forum is about 500Mb of data.

    @sambauers

    Participant

    Using one server will only ever get you so far no matter how lean the application you are running is.

    Massive query caches are no use if you don’t have the data to fill them. WordPress.com forums (all languages) doesn’t amount to more than 200Mb of data. So even a 1Gb query cache would be mostly empty or stale. WordPress.org wouldn’t be much bigger (and may be smaller). I don’t actually know what the query cache size is on the servers by the way. Query caching is great. Massive query caches aren’t anything special IMHO.

    @sambauers

    Participant

    Answer to the first question is that you need to add a SECRET to your wp-config file.

    https://codex.wordpress.org/Editing_wp-config.php#Secret_key_for_salting_password

    @sambauers

    Participant

    If only it were that simple.

    There are more variables than just the URL, the solution you describe only covers the simplest integration scenarios.

    We are only starting to bring integration out into a more user friendly space, so there a bound to be a few things which need to be re-addressed based on user experience, but a certain amount of an integration setup is always going to be manual.

    I appreciate far-reaching and big ideas, but right now I think we need more of an idea of what is a problem with what we have now. If it isn’t simple yet, then let’s fix and tune what we have. At the moment we need to remain realistic about how much we can achieve in this area. There has been a considerable amount of time spent to achieve the current solution and with limited community resources we simply don’t have time to devote to a complete rewrite (of something that was just completely rewritten).

    I did consider your suggestion as a possibility when I started to bring integration into the install process, but the amount of time I would have spent writing routines to detect exceptional cases could not have justified the perceived benefit. Don’t get me wrong, I appreciate your input, but I would have liked that sort of input when I started rebuilding the installer (a process which was publicised in the dev channels) and perhaps a hand to make it a reality at the same time.

    I hope I don’t sound too defensive by the way. I honestly like to hear feedback, I just want to give you an honest response and reasoning behind the decisions that were made with regards to the new installer.

    @sambauers

    Participant

    You need to create the Secret Key in your WordPress config.

    Read the WordPress Codex for more info.

    https://codex.wordpress.org/Editing_wp-config.php#Secret_key_for_salting_password

Viewing 25 replies - 576 through 600 (of 1,069 total)