Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 59,876 through 59,900 (of 64,515 total)
  • Author
    Search Results
  • #60580
    mpm
    Member

    I have .htaccess in my community directory for permalinks that says:

    <ifmodule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /community/

    RewriteRule ^community/([0-9]+)/page/([0-9]+)$ /community/forum.php?id=$1&page=$2 [L,QSA]

    RewriteRule ^community/([0-9]+)$ /community/forum.php?id=$1 [L,QSA]

    RewriteRule ^topic/([0-9]+)/page/([0-9]+)$ /community/topic.php?id=$1&page=$2 [L,QSA]

    RewriteRule ^topic/([0-9]+)$ /community/topic.php?id=$1 [L,QSA]

    RewriteRule ^tags/(.+)/page/([0-9]+)$ /community/tags.php?tag=$1&page=$2 [L,QSA]

    RewriteRule ^tags/(.+)/?$ /community/tags.php?tag=$1 [L,QSA]

    RewriteRule ^tags/?$ /community/tags.php [L,QSA]

    RewriteRule ^profile/([0-9]+)/page/([0-9]+)$ /community/profile.php?id=$1&page=$2 [L,QSA]

    RewriteRule ^profile/([0-9]+)/([a-z]+)$ /community/profile.php?id=$1&tab=$2 [L,QSA]

    RewriteRule ^profile/([0-9]+)/([a-z]+)/page/([0-9]+)$ /community/profile.php?id=$1&tab=$2&page=$3 [L,QSA]

    RewriteRule ^profile/([0-9]+)$ /community/profile.php?id=$1 [L,QSA]

    RewriteRule ^view/([a-z-]+)/page/([0-9]+)$ /community/view.php?view=$1&page=$2 [L,QSA]

    RewriteRule ^view/([a-z-]+)$ /community/view.php?view=$1 [L,QSA]

    RewriteRule ^rss/$ /community/rss.php [L,QSA]

    RewriteRule ^rss/community/([0-9]+)$ /community/rss.php?community=$1 [L,QSA]

    RewriteRule ^rss/topic/([0-9]+)$ /community/rss.php?topic=$1 [L,QSA]

    RewriteRule ^rss/tags/([a-z]+)$ /community/rss.php?tag=$1 [L,QSA]

    RewriteRule ^rss/profile/([0-9]+)$ /community/rss.php?profile=$1 [L,QSA]

    </ifmodule>

    I have .htaccess in my root that says:

    RewriteEngine On

    RewriteBase /

    #uploaded files

    RewriteRule ^(.*/)?files/$ index.php [L]

    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]

    RewriteCond %{REQUEST_FILENAME} -d

    RewriteRule . – [L]

    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]

    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]

    RewriteRule . index.php [L]

    and .htaccess.dist in root that says

    RewriteEngine On

    RewriteBase BASE/

    #uploaded files

    RewriteRule ^(.*/)?files/$ index.php [L]

    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]

    RewriteCond %{REQUEST_FILENAME} -d

    RewriteRule . – [L]

    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]

    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]

    RewriteRule . index.php [L]

    #60596
    chrishajer
    Participant

    Not for the bbPress forum as far as I know. There are lots of picture galleries available for blogs like WordPress:

    http://www.google.com/search?q=wordpress+photo+gallery+plugin

    (which integrates nicely with bbPress) and even standalone photo galleries:

    http://www.google.com/search?q=php+photo+gallery

    I don’t know of a plugin for bbPress so I think you’ll be integrating something else into your website.

    #60587
    chrishajer
    Participant

    1. I know nothing about hosting bbPress on a Windows server.

    2. The one thing that stands out to me is “Client API version 3.23.49” – I think bbPress requires at least version 4.0 MySQL. The Client API version is not always the same as the MySQL version installed, but maybe the problem is due to an old MySQL version?

    Do you have access to a control panel or a shell where you can access something like phpMyAdmin to check the actual MySQL version installed?

    #60585
    chrishajer
    Participant

    Can you post the output from phpinfo? That error message comes up when the installation cannot find either the mysql or mysqli extensions. It’s possible PHP was configured without those extensions.

    Create a file (maybe name it info.php or anything.php) and put this into it:

    <?php
    phpinfo();
    ?>

    Go to the location of that file with a web browser (like http://www.yourserver.com/info.php) and that will echo a whole bunch of data back about the PHP installation.

    http://www.php.net/phpinfo

    That would be the first step, seeing if your PHP was compiled with the proper modules for MySQL.

    #56556

    In reply to: Strut Your bbPress!

    stevepowell
    Member

    My bbPress :)

    Computer Help Forum

    #2375
    aiitee
    Member

    Hey,

    well, i ve got this msg: Your PHP installation appears to be missing the MySQL which is required for bbPress.

    And well, i have the config.php in the host already, with all the Database info on it. its alright, i checked more than twice, the file is on the correct folder (the only thing i did was change the dorectory name), but since i have 2 databases: one is version 4.x of MYSQL and the other 5.x i already tried with both Databases and i cannot make this happen…

    What should i do?

    Thanks!

    #60579
    benbeltran
    Member

    It seems to be an .htaccess conflict … check your rules.

    #60583
    benbeltran
    Member

    Well, you’d have to edit bbpress’s theme so it suits your website.

    #2374
    dejongsplaza
    Member

    We are looking for a nice forum, so bbPress is an obvious and nice indeed solution. But, how can we integrate bbPress with or into WordPress? I mean, not datebase, cookies etc. (http://bbpress.org/documentation/integration-with-wordpress/), but visual, in our WordPress site?

    #2373
    mpm
    Member

    login between my wpmu installation and my bbpress seem to work okay but when I click on a topic link on the frontpage I get a page not found error from my wpmu installation…

    WPMU: http://www.mpm.org.au (blog signup disabled but you can sign up as a user)

    BBPress: http://www.mpm.org.au/community/

    Previously I did have it all working but only with WP single not MU.

    Any help would be much appreciated!

    This is my config file:

    <?php

    // ** MySQL settings ** //

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

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

    define(‘BBDB_PASSWORD’, ‘xxxx’); // …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.mpm.org.au&#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 = ‘/community/’; // Example: ‘/forums/’

    // What are you going to call me?

    $bb->name = ‘MakePeace Media LTD’;

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

    $bb->admin_email = ‘myemail’;

    // Set to true if you want pretty permalinks.

    $bb->mod_rewrite = true;

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

    $bb->page_topics = 15;

    // 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 = ‘xxxx’; // Example: ‘xxxx’

    // 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.mpm.org.au&#8217;; // WordPress – Options->General: Blog address (URL) // No trailing slash. Example: ‘http://example.com&#8217;

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

    if ( isset( $bb->wp_table_prefix ) ){

    $bb->usercookie = “wordpressuser”;

    $bb->passcookie = “wordpresspass”;

    }

    /* Stop editing */

    if ( !defined(‘BBPATH’) )

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

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

    ?>

    #60535
    ganzua
    Member

    thanks a lot for the explanation fel64!

    #60577
    kannued
    Participant

    Yes, it was!!!

    #60576
    kannued
    Participant

    Wait, wait, it might be my htaccess file that is causing the problem…..

    #60575
    kannued
    Participant

    And it also says I have 5 users when I only have 2 listed. Those users must be pulled over from bbpress/b also.

    #60574
    kannued
    Participant

    All installs are using the same database. In the config, the table prefix is different for each install. I do not want one profile for all three different forums. They need to use different usernames and logins for each forum. The reason being that two out of my three forums are very restricted where I add them, whereas the other one is for very general use.

    I am also getting on my bbpress/c a post from my bbpress/b which I had never posted to bbpress/c.

    #60573
    chrishajer
    Participant

    Are all the installs using the same database, or in the config, is the table prefix different for each install? Should users be able to use one profile for all 3 different forums, or should they need different usernames and logins for each forum?

    Just curious.

    #2371
    kannued
    Participant

    Hello

    I have three bbpress installs on my website, for three very different forums, example: bbpress/a

    bbpress/b

    bbpress/c

    I am just installing the third one, all are on 8.2.1. I noticed a problem when setting up a test profile. On the third forum, bbpress/c, the profile ID was 2. It took the Profile ID from bbpress/b, the second forum, which has nothing to do with third forum. Now, I am afraid of deleting profile ID 2 from bbpress/c because it may delete profile ID 2 from bbpress/b. So now it appears that even with different names for my installs with different names within the config.php files, that the profile IDS are not differentiantiated. This is a major problem.

    #2370
    kannued
    Participant

    I don’t want my subforums to showup on frontpage as in http://bbpress.org/forums/topic/subforums-and-markup?replies=12

    I tried fel64’s recommendation:

    <?php foreach( $forums as $forum ) : ?>

    //blaaaaah HTML

    <?php endforeach; ?>

    to this sort of thing:

    <?php foreach( $forums as $forum ) :

    if( !$forum->forum_parent ) { ?>

    //blaaaaaah HTML

    <?php }

    enforeach; ?>

    I get an error on line 60,

    Parse error: syntax error, unexpected T_ELSE in front-page.php on line 60

    Line 60 writes

    <?php endif; else : // $forums ?>

    #60534
    fel64
    Member

    && and || are just two different things. && means both things have to be true for the entire result to be true, || means just one needs to be true for the entire result to be true.

    On a german keyboard I think it’s the capital letter on button just left of backspace. On a spanish layout it should be the one two left of enter, the one that also gives you ^ and [ (if I’m looking at the diagrams right). :)

    #60498

    In reply to: Unread Topics

    fel64
    Member

    There is one thing you can do – there’s a generic query filter that executes every time bbdb makes a query. You could use a regex to get the thread numbers from that. (If you don’t know regexes that well I could write it.)

    Probably no design decision behind that, just an oversight. Go to trac, log in using your details here and create a new ticket requesting this (marking it as an enhancement not bug). Mdawaffle (^^) is busy with wp or something at the moment but when he sees it he’ll probably either implement or discuss at least.

    #60537

    In reply to: User ID bug

    chrishajer
    Participant

    I don’t know the answer to the BIGINT and 32 bit signed stuff, but I do know this has happened before, sort of. Maybe this will help you sort it out. Basically, you need to reset the auto_increment user id to something sane. In the past, it happened on conversion from phpBB I think.

    https://bbpress.org/forums/topic/user-id-999999999

    #60533
    ganzua
    Member

    Thanks for the explanation, do you have to put && insted of ||

    “By the way, the backtick ` that indicates code is on the top left button on most English and European characters. :)

    -> sorry for that because I have it quite difficult, I’m using a german keyboard and OS is in Spanish :s

    #60532
    fel64
    Member

    No problem. :)

    Option #3 was a throwaway possibility, not really meant for actual use as it’s rather silly.

    whatever && !is_bbpress() means, literally, that whatever has to be true AND is_bbpress() is not true. The ! operator inverts the boolean meaning, so true becomes false and vice versa. If is_bbpress() is true, ! makes it read as false. If false, it makes it read as true.

    By the way, the backtick ` that indicates code is on the top left button on most English and European characters. :)

    #60531
    ganzua
    Member

    I uploaded to my web so anyone else interested can check.

    Thanks for your help fel64!

    #60530
    ganzua
    Member

    oops! sorry, I didn’t define what happens whe is_bbpress(), I just exclude it.

    now it is working;

    <?php if (

    is_page()

    )

    { ?>

    <!– one ad block –>

    <?php } elseif (

    is_single()

    && !is_bbpress()

    )

    { ?>

    <!– two ad blocks –>

    <?php } elseif (is_bbpress()

    )

    { ?>

    <!– half ad block –>

    <?php } else

    { ?>

    <!– no ads –>

    <?php } ?>

Viewing 25 results - 59,876 through 59,900 (of 64,515 total)
Skip to toolbar