Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\'

Viewing 25 results - 26,301 through 26,325 (of 26,703 total)
  • Author
    Search Results
  • #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

    #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

    #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

    #49535
    Trent Adams
    Member

    Could you describe what steps you took to integrate, what you are seeing when you move between the two programs and possibly post an edited (no password, username info) config.php to compare against.

    Trent

    #52158
    andrabr
    Member

    RESOLVED.

    I am not sure what I did to fix it:

    1) i renamed my config.php to config1.php (to get it out of the way);

    2) copied config-sample.php to config.php

    3) re-entered all the vaues, differences from the first time:

    • I put in the API key
    • I did not put in the time zone
    • I put the quotation marks around wordpress URLs

    #49534
    pilkster
    Member

    I have done a fresh install of the latest WP (2.0.5) and latest bbPress (0.73) earlier today and installed the WordPress plugin as described. I have also added the code described above to bbPress’s config.php.

    Wordpress is installed on my root domain, and bbPress in a folder named /forums/

    User registration integration is not working, is there something I have missed?

    Thanks – pilks (AWSpress.com)

    #1052
    arrariv
    Member

    Hi there all,

    I have to moderate posts!

    Is it possible to do in bbPress, I have no idea. I found out that vBulletin does that, but I use WordPress on my blog, don’t need any other php script interfere with my blog. I just add a simple forum in it. Not a shiny thing!

    =)

    Anything will be too helpful.

    Thanks in Advance!

    #51877

    In reply to: Problem with my Domain

    benebomber
    Member

    Thanks a lot, Trent!

    But I did it like You told me, loaded it up once again with another table prefix and when I tried to start the install, there was an empty page.

    Do You have an idea what I did wrong?

    Here’s my config.php:

    `<?php

    // ** MySQL settings ** //

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

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

    define(‘BBDB_PASSWORD’, ‘xxxxxxx’); // …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 = ‘pfeilfor_’; // 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.fh-augsburg.de/~steinle/Pfeil&#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 = ‘/Forum/’; // Example: ‘/forums/’

    // What are you going to call me?

    $bb->name = ‘Das Forum zum Pfeil’;

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

    $bb->admin_email = ‘benedikt.steinle@fh-augsburg.de’;

    // Set to true if you want pretty permalinks.

    $bb->mod_rewrite = false;

    // 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 = +1;

    // 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 = 40b50b4582b5;

    // 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 = pfeil_; // WordPress table prefix. Example: ‘wp_’;

    $bb->wp_home = ‘http://www.fh-augsburg.de/~steinle/Pfeil&#8217;; // WordPress – Options->General: Blog address (URL) // No trailing slash

    $bb->wp_siteurl = ‘http://www.fh-augsburg.de/~steinle/Pfeil&#8217;; // WordPress – Options->General: WordPress address (URL) // No trailing slash

    /* Stop editing */

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

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

    ?>

    … I’ve got no idea what’s going wrong.

    Thanks.

    Bene

    #50949
    Jakey
    Member

    I believe he’s referring to themes as in separate forums within the forum. Not template or CSS themes like wordpress themes. Kind of a silly naming convention if you ask me.

    #50642

    In reply to: rawurlencode() Error

    plognark
    Member

    Well, I came up with an ugly fix, especially since I don’t actually know what I’m doing.

    I’ve been trying to integrate the BBpress forum right inside my WP theme, which is what I imagine you were trying to do.

    To fix it I added this switch right at the top of my bbpress template header:

    $bbpressswitch = 1;

    unset($_SERVER);

    Then I went into classes.php for wordpress and put an if/else ‘switch’, basically:

    The first line there is 1645 in my file

    function build_query_string() {

    $this->query_string = ”;

    foreach ($this->public_query_vars as $wpvar) {

    if (isset($this->query_vars[$wpvar]) && ” != $this->query_vars[$wpvar]) {

    $this->query_string .= (strlen($this->query_string) < 1) ? ” : ‘&’;

    // bug fix for BBpress integration

    if ($bbpressswitch == 1) {

    // $this->query_string .= $wpvar . ‘=’ . rawurlencode($this->query_vars[$wpvar]);

    // if the url is being accessed from a page outside of WP that is using the header

    // or other data, turn off this URL encoding.

    } else {

    $this->query_string .= $wpvar . ‘=’ . rawurlencode($this->query_vars[$wpvar]);

    }

    // end of bug fix

    }

    }

    It’s ugly, and I’m a n00b at this stuff, but it does seem to have cleaned up my error. I guess the bbpress URL’s don’t work so good when sent through the WP URLencode setup, so turning them off when going into a BBpress page seemed like it might work.

    I don’t know if there are any other repurcussions from this change, but again, it turned off the error, and I haven’t seen any fallout…yet.

    There are other sites online that seem to offer a fix for the same issue, like this:

    http://forum.j-prosolution.com/openwp-bugreport/2637-warning-rawurlencode-expects-parameter-1-string.html

    But the fix they suggest kills all of your static pages or category links and always sends you to the main blog page.

    #1056
    nickbouton
    Member

    Hey all,

    I just started using bbPress yesterday, and as a WordPress and longtime phpBB user I’m pretty happy with it.

    The only drawback I see as a critical flaw right now is the lack of any kind of security / role-based restrictions on specific forums. I’d like to be able to pull over a phpBB2-based forum that I run, and using the phpbb2bbpress migration script another poster wrote, I was able to migrate all of the content over perfectly. However, I had at least a couple of private forums that are access-restricted based on user permissions, and I can’t really complete the migration until I can lock those forums down.

    Has anyone written a plugin (or does anyone know if this feature is coming soon?) that will allow role-based access to a specific number of forums in a bbPress installation? I don’t want to lock down the whole app (which I’ve seen a couple of threads about), just a couple of forums within the install.

    Thanks in advance-

    #52040
    Trent Adams
    Member

    It can be done, because wordpress, bbpress and wordpress MU all use the same user table because you can login to all 3 sites with the same information and user table (3 different bbpress installs).

    Trent

    #52039
    Trent Adams
    Member

    What I would try is getting bbpress site 2 using the WP 1 users directly. Try using the cookie information from the docs:

    If bbPress is not installed in a subdirectory of your WordPress install, you’ll probably need to adjust both bbPress’ and WordPress’ cookies to meet your specific requirements. Below is a brief outline of the variables and constants that control the cookie behavior in the two programs.

    PHP bbPress WordPress

    name $bb->usercookie USER_COOKIE

    name $bb->passcookie PASS_COOKIE

    path $bb->cookiepath COOKIEPATH

    path $bb->sitecookiepath SITECOOKIEPATH

    domain $bb->cookiedomain COOKIE_DOMAIN

    Trent

    #1053
    papercuts3
    Member

    My situation is this: I have two WP installations both oıf which require BBPRESS. So I installed bbpress_1 on WP_1 and did the integration. Everything works fine. My second WordPress installation WP_2 takes its users from WP_1. So in the config.php file for bbpress_2 I gave the info for WP_1. I installed the integration plugin to WP_2. But the integration does not work with bbpress_2.

    My guess about what’s going on is this. WP_2 bbpress integration uses the user table from WP_2 as well (as could be expected) But since WP_2 uses the table from WP_1, its own user table which bbpress_2 uses to integrate is empty, hence no integration.

    Could this be the problem and how do I get around it?

    #1051
    Trent Adams
    Member

    It would be great if I could stop “bozos” that register in my bbPress forum from being moved over to WordPress when using the bbpress-integration plugin located at:

    http://trac.bbpress.org/ticket/438

    Anyone have an idea how to put a check in for Bozo users not being added?

    Trent

    #1046
    M
    Member

    I’m trying to add custom fields to my bbPress profile page, like deviantArt username, real name, etc. How would I go about doing this?

    I was checking out some WordPress custom meta plugins, but they weren’t really cutting it.

    I’m running bbPress alongside WordPress, and I’ve got the integration running just fine.

    My guess is that there’s an easy way of doing this. I was picking through the bbPress functions, and there’s all kinds of good stuff available.

    Thank you in advance… I must run, I have class to get to.

    #51985
    Trent Adams
    Member

    I haven’t had a problem because I delete users in WP since the integration. Are you integrated? If yes, does the error disappear if you delete the user in WordPress. If not, do you mean the error is on the users page of the admin area or certain places on the main site?

    Trent

Viewing 25 results - 26,301 through 26,325 (of 26,703 total)
Skip to toolbar