Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 59,776 through 59,800 (of 64,420 total)
  • Author
    Search Results
  • #2378
    Cal
    Member

    Hello

    I’m testing out some things and trying to synchronize WordPress, BBPress and Amember Subscription software. I have pretty much everything worked out, but need a little cookie help if it’s out there.

    I’ve read this post, which outlines cookie settings

    http://bbpress.org/forums/topic/wordpressbbpress-single-sign-on?replies=22#post-9010

    The problem is that I don’t want to install the cookie plugin for WP because I already have this in my Wp-config file

    define(‘COOKIEPATH’,’/’);

    define(‘SITECOOKIEPATH’, ‘/’);

    define(‘COOKIEHASH’, md5($_SERVER[HTTP_HOST]));

    I guess my question is, what do I put into my BB config file for cookies?

    I realize this may not be a direct BBPress issue, but I thought maybe one of you had an idea.

    Thanks

    #60536
    ganzua
    Member

    I’m realizing that I have more undefined pages. I have a custom login page here -> http://www.joseperdicion.com/wordpress/wp-login.php , ultimate tag warrior pages, for example this one; http://www.joseperdicion.com/wordpress/index.php?tag=onirica

    Besides, some single pages are not tall enough to put two ads blocks in the sidebar.

    Where did you read how to build ” is_smthing () ” functions? I wonder if I coud build one for is_login, is_tag (I presume this one will be solved in wp 2.3), is_aparticularfolder.

    Is it possible to build a conditional tag for page height?. For example; ” if it is taller than x number of lines then put two ads blocks”.

    #60368
    karaboga
    Participant

    Hi again,

    We couldn’t find any solution for that problem. If that’s a bug; I hope it will be corrected in new versions.

    By the way, I’d said that we’ve integrated our bbPress forum to our WordPress blog. Now, forum users’ data is taken from WordPress’ wp_users table in database. And now, we do not have bb_users table.

    If we want to seperate bbPress from WordPress (cancel the integration); what can we do? If we cancel the integration; does the bb_users table created automatically?

    #60588
    Sam Bauers
    Participant

    > “Client API version 3.23.49” – I think bbPress requires at least version 4.0 MySQL

    That’s definitely the problem here. Just to clarify, your MySQL client library that PHP is using is too old. Adding new extensions to PHP in windows is comparatively easy. Check the PHP manual for info on how to do it, but basically you should have the extension you need somewhere in your PHP folder already. It’s just a matter of moving it to the right place. Perhaps a windows person can help out here?

    #60581
    chrishajer
    Participant

    Is there an .htaccess in the directory one level above? .htaccess rules are additive, I think. So if there is one in the directory one level up, those could be conflicting with the .htaccess you have in the community directory.

    edit: sorry, I just reread all the notes you posted. I don’t understand enough about .htaccess to know what the problem is. SamBauers here has made several posts about .htaccess.

    Here’s one:

    https://bbpress.org/forums/topic/pretty-permalinks-not-working?replies=24#post-7743

    #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.

Viewing 25 results - 59,776 through 59,800 (of 64,420 total)
Skip to toolbar