Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 61,051 through 61,075 (of 64,518 total)
  • Author
    Search Results
  • #58535
    fel64
    Member

    Yes, it will. WordPress has (what is usually) wp_posts and bbPress has (ditto) bb_posts, with a different table structure, so there’d be issues.

    What are the dis/advantages of putting tables in the same database, does anyone know?

    #58469

    In reply to: bbPress 0.8.2

    karaboga
    Participant

    karaboga, permalinks should be permanent. Perhaps we can work on redirecting old permalinks to the new ones. Better yet, that’d be a great plugin :)

    mdawaffe, do you mean that “after upgrading and changing the permalink structure of a forum; the old permalinks does not redirect to the new one” ? In this forum, for example we if write

    https://bbpress.org/forums/topic/100

    it is redirected to the 100th topic with the new permalink structure.

    Yes, permalinks should be permanent. But, in WordPress we can change the post slug, and then the permalink of the post is changed. Why cannot we do so in bbPress? :)

    #58051

    In reply to: bbSync

    sneakym
    Member

    Sorry fel but that piece of code isnt in there. This is what it looks like

    ‘<?php

    function felblogtotopicid( $felpostID ) {

    global $table_prefix, $wpdb;

    $posts_table = $table_prefix . “bbpress_post_posts”;

    $topic_id = $wpdb->get_var(“SELECT topic_id FROM $posts_table WHERE post_id = $felpostID LIMIT 1;”);

    return $topic_id;

    }

    global $post, $wpdb;

    if( $forumtopic = felblogtotopicid( $post->ID ) ) {

    $bbprefix = get_option( ‘wpbb_bbprefix’ );

    $replies = $wpdb->get_results( ‘

    SELECT poster_id, post_text, post_time

    FROM ‘ . $bbprefix . ‘posts

    WHERE topic_id = ‘ . $forumtopic

    );’

    I think it has something to do with ‘$table_prefix, $wpdb;’ and ‘$posts_table = $table_prefix . “bbpress_post_posts”;’. My table prefix is not wpdb (where wpdb = database name) it is just wp. Plus that ‘.’ in there is throwing it off as well as the error reads:

    [Table ‘databasename.posts’ doesn’t exist]

    SELECT poster_id, post_text, post_time FROM posts WHERE topic_id = 6

    “.posts” That ‘.’ is getting into the code and appending itself to the db name…

    I think…

    You are the master though….

    #56048
    ganzua
    Member

    “But after what I’ve integrated both of api’s: the wordpress and bbpress; this resulted in the following error:

    Fatal error: Cannot redeclare class streamreader in /var/www/pm/forum/bb-includes/streams.php on line 26″

    -> same error here

    #1982
    drift82
    Member

    Before I break things, I wanted to know if I can use the same table prefix for both BBPress and WordPress? The reason I ask is because I have several sites in the same database and I’d like to pick a convention. Anyone know if this will cause any problems?

    #58468

    In reply to: bbPress 0.8.2

    peter-b
    Member

    Think our posts crossed! Solution implemented but thank you!

    #58467

    In reply to: bbPress 0.8.2

    peter-b, there are a number of things that depend on the table prefix being non-empty.

    The best solution would be to use a table prefix and rename all your tables.

    #58494

    Is there a file in bbPress’ main directory called .htaccess? Depending on how you’re accessing your server and because that file starts with a period, you may have to ensure that you are viewing hidden files when looking for that file.

    If you find that file, paste its contents to a pastebin.

    If you don’t, create a file with that name and put into it the text generated when you visit http://www.bqtrademark.com/bbpress/bb-admin/rewrite-rules.php

    #58429
    kehlers
    Member

    Well, your guess was correct! Your tip got me to thinking about cookies – I’m a little rusty on my setcookie() syntax! Anyhow, I decided to install WordPress, even though I don’t need it just now, because if I could get that to integrate across directories, then I could surely do what I’m hoping for with the gallery.php page.

    That helped me to understand the interactions of the cookies and directories and domains. All that to say, I was able to get it to work using the following in config.php:

    $bb_cookiepath = "/";
    $bb_cookiedomain = ".mydomain.com" ;

    I believe that if cookie domain is not specified, then it will default to be the root of the directory in which the script is running, i.e. mydomain.com/forums/, making it unavailable to any other directory, including parent directories. You probably already knew that, but just putting it out there in case someone else has the same issue. ;)

    #58466

    In reply to: bbPress 0.8.2

    peter-b
    Member

    I’m getting this error message

    You must specify a table prefix in your config.php file

    This is using the same Config.php file I used for 0.8.1, the enty in the config.php is

    $bb_table_prefix = ”; // Only letters, numbers and underscores please!

    (I don’t use table prefixes)

    Edit

    OK the workaround – use PHPmyadmin to rename all the tables with a prefix (I used the default bb_) and then update the config.php file.

    #58465

    In reply to: bbPress 0.8.2

    Null
    Member

    – Fantasy mode on –

    How about an “upgrade me” button in the admin area?

    This button is only clickable when there is an upgrade. Clicking it will upgrade you bbpress (downloading and installing the nessecairy files) :)

    – Fantasy mode off –

    #56047
    c00l2sv
    Member
    #58515
    c00l2sv
    Member

    I had the same problem:

    https://bbpress.org/forums/topic/latest-wordpress-038-bbpress-in-another-language?replies=3

    But I solved that differently:

    https://wordpress.org/support/topic/111411?replies=9

    It is easier than making raw database calls…

    Cheers!

    #58428
    fel64
    Member

    My guess was that the cookies were set for the forum but not for folders higher up, but if that didn’t fix it I don’t know if that’s right.

    #58464

    In reply to: bbPress 0.8.2

    fel64
    Member

    I think that instead of “Fourth, sit back and relax; you’re done!”, you also need to go to bb-admin and click the upgrade link. But then you’re done.

    #58463

    In reply to: bbPress 0.8.2

    karaboga, permalinks should be permanent. Perhaps we can work on redirecting old permalinks to the new ones. Better yet, that’d be a great plugin :)

    #58516

    Can you try using pretty permalinks with rewrite rules instead (step 3 here)?

    #1978
    karaboga
    Participant

    Hi,

    In our forum, we can see the topics filed under any tag. But if we open the all tags page (wordpress-tr.com/forum/tags/, we cannot see the tags, and we see the error message, “No input file specified.” What can be the problem?

    A similar problem was discussed here, we use pretty permalinks and Options +MultiViews works, but still has that problem.

    #58512

    You can change some of the views (untagged, no-replies, …) with a plugin filtering on bb_views.

    For the rest, you’ll have to use rewrite rules. You’ll also have write a plugin that filters on get_topic_link, get_forum_link, and so on or bbPress will end up in an infinite redirect loop.

    #58488

    I really do need to know what your .htaccess file looks like in order to help you.

    Also, there may be some issue with your bbPress running on http://www.bqtrademark.com and your WordPress running on bqtrademark.com

    #58406
    Kahil
    Member

    by looking at the code for the “upload avatar” plugin I found this…

    strtolower($user->user_identity);

    This is what I have now, but nothing displays for the filename, just yourkahil.com/forum/avatars/.jpg

    <?php

    /*

    Plugin Name: WP Avatars

    */

    function wp_aud( $felID ) {

    $avatar = strtolower($user->user_identity);

    $bburl = ‘http://yourkahil.com/forum&#8217;;

    echo ‘<img alt=”avatar” src=”‘ . $bburl . ‘/avatars/’ . $avatar . ‘.jpg” class=”avatar” />’;

    }

    ?>

    karaboga
    Participant

    Hi, my request will be useful especially for people using non-English bbPress versions.

    There are some permalinks which are not translateable or changeable in bbPress. For example, in WordPress, we can change the slug of the permalinks for “category”.

    I think it will be very appropriate if that kind of property is added to bbPress. These are some of that slugs:

    topic, profile, forum, view, no-replies, untagged, tags, replies

    (By the way, can we change these slugs by any hack?)

    #58462

    In reply to: bbPress 0.8.2

    karaboga
    Participant

    “Slug” based permalinks is really nice. But, if we change the subject of the topic, the slug is not changeable now.

    citizenkeit, have you looked the documentation in bbPress.org?

    https://bbpress.org/documentation/

    #58405
    Kahil
    Member

    Ok, so I’ve figured out some more info to share…

    First, the code posted above needs to reference the file type (.jpg, .jpeg, .gif, or .png). Right now the code only points to the avatars folder.

    Next, I’ve figured out that the “avatar upload” plugin for bbpress does rename the images to the user’s username, but makes it all lowercase letters if there are any caps.

    Hope that helps.

    Thank you!!

    #58487
    quigley05
    Participant

    yeah i read that but what seems to be the problem is that some links forget the /bbpress/ and it ends up broken. other links do it fine.

Viewing 25 results - 61,051 through 61,075 (of 64,518 total)
Skip to toolbar