Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 63,451 through 63,475 (of 64,411 total)
  • Author
    Search Results
  • #52067

    In reply to: Simply doesn’t work

    Trent Adams
    Member

    Ok….try this as it must be in main .htaccess and not seperate.

    get rid of the .htaccess in bbpress directory and try this in .htaccess for wordpress.

    # BEGIN WordPress

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule . /index.php [L]

    # END WordPress

    RewriteBase /bbpress/

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    </IfModule>

    Trent

    #52065

    In reply to: Simply doesn’t work

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /bbpress/

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    </IfModule>

    OK the above code is what I placed in HTACCESS, and I did as you suggested by uploading this file to my bbpress folder.

    I then logged back into my site and I am still getting the 404 errors

    Here is the actual error:

    The page you tried to access does not exist on this server. This page may not exist due to the following reasons:

    You are the owner of this web site and you have not uploaded (or incorrectly uploaded) your web site. For information on uploading your web site using FTP client software or web design software, click here for FTP Upload Information.

    The URL that you have entered in your browser is incorrect. Please re-enter the URL and try again.

    The Link that you clicked on incorrectly points to this page. Please contact the owner of this web site to inform them of this situation.

    #49543
    pilkster
    Member

    Trent,

    I changes the cookie domain as you recommended removing the period, then deactivated the plugin, deleted it from the server, refreshed my plugins page to ensure that it had gone, uploaded it again, activated it and set the bb_ prefix.

    I’m still not having any luck with registering on either one & the account carrying to the other. Did you register both on WP and bb? because I can log into either with my admin username and the cookie carries as you say. I cannot, however, log out whilst on the bbPress dashboard.

    Yours confusedly, Simon (or pilks, sorry for switching names halfway through a thread)

    #49542
    Trent Adams
    Member

    Simon,

    I would change the cookie domain to be just awspress.com (without the period before it).

    That should get the logout link on bbPress working better. I was not able to login as TrentAdams and come back to WP with an account created in bbPress, but when I created an account Trent with WP and then went back to bbPress, the user worked and so did the integration. It didn’t matter which program I logged in Trent with, it worked going back and forth.

    That seems to me that the wordpress-integration plugin in bbPress is working and the bbpress-integration plugin in WP is not. I would uninstall that plugin and reinstall it after updating the cookie information in the config.php file for bbPress.

    Let me know how you make out and I can test it some more.

    Trent

    #49541
    pilkster
    Member

    I have the following tables in my bb_ database:

    bb_forums

    bb_posts

    bb_tagged

    bb_tags

    bb_topicmeta

    bb_topics

    wp_usermeta

    wp_users

    wp_users has 8 users, none of which coincide with the 3 users in my wp_users table in wordpress.

    I am using wp2.05.

    I can now log in/out of bbpress with no problem, maybe I was seeing things before, sorry!

    Cheers – Simon

    #52063

    In reply to: Simply doesn’t work

    Trent Adams
    Member

    That link is the way that that it comes up. Just look at the URL of this post for instance. It seems to me that you have the .htaccess just in your main root of http://totalphysiqueonline.com right? You need the one for wordpress there and a completely seperate .htaccess file in the bbpress folder containing the bbpress part. Each system needs their own.

    Try that.

    Trent

    #52062

    In reply to: Simply doesn’t work

    I tried the mod rewrite and it did not work for me.

    I have this in my htaccess

    # BEGIN WordPress

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule . /index.php [L]

    </IfModule>

    # END WordPress

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /bbpress/

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    </IfModule>

    I still get 404 errors no matter what link I click in my blog.

    Installed fine. Dashboard and all that stuff in place.

    Can go to admin. and all the other places, I just cannot get links to work.

    I know in my config file I made sure pretty links was enabled but it doesn’t look like it worked

    Here is the default first post link

    http://totalphysiqueonline.com/bbpress/topic/1?replies=1

    Doesn’t look like a pretty link, does it?

    #49540
    Trent Adams
    Member

    I have no trouble logging in and out of bbPress, just not integrated with the wp_users table. You are using Wp 2.05 as well?

    Trent

    #49539
    Trent Adams
    Member

    I would imagine that you need to check the database and see if bbpress has it’s own bb_users table or if it doesn’t exist. I created a user in bbPress and it didn’t move over to WP. That would mean that the cookies are not moving right and the plugin isn’t working. If it was working, WP would know that I exist. When I went to ‘forgot password’ in WP, the user didn’t even exist. That would mean that users are being created in bbPress.

    I would check the database and see what tables exist for bbPress and report back.

    Trent

    #49538
    pilkster
    Member

    Hi Trent

    I tried this, one additonal problem is that the logout function on the forums doesn’t work now, I have to log out from a WP page. Other than that, nothing has changed! Would it be easier if I were to delete the account from my server and try again, or do you enjoy the challenge?

    <?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!

    $bb->cookiedomain = ‘.awspress.com’; // Thanks Trent! https://bbpress.org/forums/topic/12?replies=10

    $bb->cookiepath = ‘/’; // Thanks Trent! https://bbpress.org/forums/topic/12?replies=10

    // 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://awspress.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 = ‘/forums/’; // Example: ‘/forums/’

    // What are you going to call me?

    $bb->name = ‘Amazon plugin for WordPress’;

    // 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 = ”;

    // 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://awspress.com&#8217;; // WordPress – Options->General: Blog address (URL) // No trailing slash

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

    /* Stop editing */

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

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

    ?>

    #51467

    In reply to: Integration problems

    Trent Adams
    Member

    The plugins, especially bbpress-integration (goes in WP plugins and has option page once installed to choose bb_ as database prefix), tells bbPress to use the WordPress users. Therefore, if you login to each program (either/or), it uses the WP users. All registrations in bbPress make users in WP users. It is simple.

    As for the login working in both, the settings in config.php in bbPress tells bbPress to use the WP cookies so they share the same one. Therefore, both programs know to use the same user without having to login again.

    Trent

    #52127

    In reply to: Private Forums Plugin

    Trent Adams
    Member

    You need the complete TRAC version of bbPress:

    Found HERE

    Trent

    #51465

    In reply to: Integration problems

    M
    Member

    You just create a folder titled my-plugins in your bbpress directory and upload a plugin into it. There is no activation for them as in WP, they are active automatically once they’re in the folder.

    #52126

    In reply to: Private Forums Plugin

    skowwi
    Member

    that IS the problem

    i downloaded and installed bbpress today (i think this is the newest version) and then downloaded the 3 files from https://trac.bbpress.org/changeset/555/trunk?old_path=%2F&format=zip

    but then: Fatal error: Call to undefined function: is_serialized() in [..] bb-includes/functions.php on line 364

    #52125

    In reply to: Private Forums Plugin

    ardentfrost
    Member

    You need to update to the newest version of bbpress I think.

    #51462

    In reply to: Integration problems

    Trent Adams
    Member

    There have been quite a few issues lately getting this to work. maybe take a look at the following post:

    https://bbpress.org/forums/topic/389?replies=10

    As well, click on the ‘integration’ tag at the top of main page, as there are many different things to try to get it going

    Trent

    #51140
    spencerp
    Member

    Yeah, any word on this being “Updated”, or..? Just was curious.. ;) :)

    spencerp

    #49537
    Trent Adams
    Member

    Pilks,

    Just looking through the config file, everything looks good. I may try adding some cookie information into config.php

    $bb->cookiedomain = '.awspress.com';

    $bb->cookiepath = '/';

    As well, if you are not trying to load WP functions in bbPress, you probably can do without the:

    define('WP_BB', true);

    require_once('/home/xxxxxxx/public_html/wp-config.php');

    Maybe take it out and see if you can get it going and then add it in later. Let’s try it at the lowest common denominator….

    Trent

    #49536
    pilkster
    Member

    Hi Trent, thanks for the response :)

    After installing WP (via fantastico) I uploaded the bbpress files to /forums/, set up database&user, ran the bbpress install script.

    I then added the WP plugin as described above, activated it and configured it with bb_ (taken from my config.php).

    I added a directory /forums/my-plugins/ and put the described bbpress plugin in there (although I probably didnt need to as it is a fresh install)

    Below is my config.php that I edited as described (maybe I misunderstood somthing here?)

    Thanks again for your help…

    code

    <?php

    // ** MySQL settings ** //

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

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

    define(‘BBDB_PASSWORD’, ‘xxxxx’); // …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://awspress.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 = ‘/forums/’; // Example: ‘/forums/’

    // What are you going to call me?

    $bb->name = ‘Amazon plugin for WordPress’;

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

    $bb->admin_email = ‘simon@xxxx.com’;

    // 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 = ‘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://awspress.com&#8217;; // WordPress – Options->General: Blog address (URL) // No trailing slash

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

    define(‘WP_BB’, true);

    require_once(‘/home/xxxxxxx/public_html/wp-config.php’);

    /* Stop editing */

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

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

    ?>

    /code

    #50953
    Trent Adams
    Member

    We hope to have a template system (like WordPress) in future versions, but until then we have to make changes using the system described in previous posts. This is something that may help out:

    https://bbpress.org/documentation/customization/

    As well, here is my little workaround for themes.

    1) If you change templates files out of bb-templates/ folder, make sure you save the changes into the my-templates folder. That way, you can delete the file in the my-templates folder and bbPress will go back to working with the original file out of the bb-templates folder.

    2) If you are not sure what style tags are being used on a page, I like to look at the ‘source’ of the page in my browser. Gives great clues on what you should be looking for when later editing the global stylesheet.

    3) header.php includes all the information for calling meta information, CSS sheets, javascript scripts, etc.

    4) footer.php has the information for credits, ending style tags from above, etc.

    5) front-page.php is where the bulk of information that is produced on the main page is. This is where you can arrange what information is shown and where

    6) style.css is the main stylesheet for how bbPress looks on every single page. It is actually layed out pretty well in terms of how each page is in bbPress

    7) post.php is for individual posts and reply forms for those posts.

    When we have a better and easier template system, it will be much simple for the end users, but please be patient as we try and get it working for you!

    Trent

    #51232

    In reply to: Anonymous post

    Trent Adams
    Member

    Currently, bbPress is built so that all users must be registered to post. I have heard talk of a plugin for anonymous posting, but nothing in development to my understanding.

    So far, registration on the bbPress side is wide open, but if you are integrated with WordPress there are hacks in WordPress to have admin approval for registration, but only if you change all registration for the forums to the WordPress side versus bbPress.

    Trent

    #52084
    Trent Adams
    Member

    In terms of integrating completely with WordPress, you need a couple more plugins and information. You should find everything that you need in the following post Ron. If you have any questions about it, please let me know.

    https://bbpress.org/forums/topic/12?replies=12

    Trent

    #52157
    Trent Adams
    Member

    Matt I am glad you got this going. Installing bbPress inside of WordPress makes the cookie sharing easier, but the link I provided above for integration with WordPress out of the bbPress documentation. It has great information on cookie domains and WP sharing.

    Trent

    #52156
    intellivision
    Participant

    Success. I redid everything, dropped the db’s bb_ tables, started over, and it worked.

    This time I put the forum folder inside the WP folder. (I tried to log in with another browser, so make sure it wasn’t just my WP “admin” cookie getting me in, and the other browser worked.)

    That by itself shouldn’t necessarily have provided a magic fix, only share cookies, right?

    So what was it? I don’t know for sure… maybe the my-plugins folder didn’t have the correct permissions, or the bbPress plugin inside it, and re-doing everything helped.

    I wish I could be of more help here to those who can’t get it working. Maybe just being a real example of a person who had a no-login issue and resolved it is enough motivation. My advice: start over.

    Thanks to Trent for your assistance offer!

    Matt

    #52155
    Trent Adams
    Member

    Take a look at a post like:

    https://bbpress.org/forums/topic/345?replies=4

    As well, make sure you have the plugins for integration loaded. One in WordPress and the other in bbPress.

    Also, it integrates well if you have bbpress in a subdirectory of your blog. If it resides somewhere else on the server, you might have to also take a look at:

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

    Start there and if you have more issues, please post more details on what you have and have not tried because there are many different things that could have went wrong for you.

    Trent

Viewing 25 results - 63,451 through 63,475 (of 64,411 total)
Skip to toolbar