Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 25,201 through 25,225 (of 26,680 total)
  • Author
    Search Results
  • #59092
    Andrew
    Member

    Next step will be this…

    I also went a step further and routed all the login links on bbpress back to the wordpress login box since it has a few extra features. I use the redirect_to option to bring them back to bbpress.

    I’ll search the forum but any guidance is appreciated.

    #59091
    Andrew
    Member

    OK, feeling pretty stupid now.

    I used the first suggestion:

    $bb->usercookie = ‘wordpressuser_full.hash.number’;

    $bb->passcookie = ‘wordpresspass_full.hash.number’;

    Except this time I replaced it with my actual MD5. DUH!!!

    $bb->usercookie = ‘wordpressuser_ed93838a3c2677b2a3d53669c26b039b’;

    $bb->passcookie = ‘wordpresspass_ed93838a3c2677b2a3d53669c26b039b’;

    Things working smoothly now. Thank you for your help and I hope this thread helps someone else.

    #59090
    Andrew
    Member

    Everything _ck_ mentions is what I want to do.

    #59089
    Trent Adams
    Member

    I think we should write up a massive thread on all the things to do for proper integration since there are bits and pieces that work for most people all over this forum.

    Trent

    #59088
    _ck_
    Participant

    Remember that many users will already have the “remember me” set for their cookie on wordpress and that doesn’t expire for a year. This means their bbpress login will mysteriously fail. They’ll either give up or re-register a new nickname.

    You also need the space and period plugin fix for names. WordPress allows them, bbpress doesn’t by default. So anyone with a space or period in their nickname will fail logging into bbPress. Not knowing such things can drive you mad.

    I also went a step further and routed all the login links on bbpress back to the wordpress login box since it has a few extra features. I use the redirect_to option to bring them back to bbpress.

    ps. another good integration thread for a future integration sub-forum

    #59087
    Trent Adams
    Member

    Most just work with defining the wordpress part of the config.php and some need to play around. As well, there is always defining the cookie domain from https://bbpress.org/forums/topic/cookie-domain-settings?replies=4

    Trent

    #59086
    Andrew
    Member

    I still have the cookiepath variable set… can I remove that?

    #59085
    Andrew
    Member

    Now I can’t log in to BBPress. Changing the config.php back.

    Is there something atypical about my install that is creating the problem. How can I just conform to the norm?

    #59084
    Trent Adams
    Member

    Darn copy and paste….;)

    Trent

    #59083
    Andrew
    Member

    I assume you mean….

    $bb->usercookie = ‘wordpressuser_full.hash.number’;

    $bb->passcookie = ‘wordpresspass_full.hash.number’;

    double quotes at end changed to single. Trying now.

    #59082
    Trent Adams
    Member

    Try adding the following to your bbPress config.php:

    $bb->usercookie = 'wordpressuser_full.hash.number";
    $bb->passcookie = 'wordpresspass_full.hash.number";

    Trent

    #2109

    Topic: Can we do includes?

    in forum Themes
    silverwing
    Member

    Is there a way to add an include in a bbpress theme? I want to add some content in the pages that will change, and I just want to change one file instead of multiple ones.

    Something like this <?php include (TEMPLATEPATH . '/featured.php'); ?> from my wordpress theme. But have featured.php in my bbpress theme folder.

    #59081
    Andrew
    Member

    I think I see the problem now. BBPress is setting a different MD5 hash than wordpress. This must have to do with the fact it is installed in the subdirectory. Why is my install generating the wrong hash…

    My config.php is set up as above. Ive pasted it below. I included the full URL coding where as you used only the http://www.xxxx.xxxx – I can’t imagine that makes a difference.

    $bb->wp_table_prefix = ‘wp_’; // WordPress table prefix. Example: ‘wp_’;

    $bb->wp_home = ‘http://www.nyquistcapital.com/&#8217;; // WordPress – Options->General: Blog address (URL) // Example: ‘http://example.com&#8217;

    $bb->wp_siteurl = ‘http://www.nyquistcapital.com/&#8217;; // WordPress – Options->General: WordPress address (URL) // Example: ‘http://example.com&#8217;

    $bb->cookiepath = ‘/’; // Added per BBPress Forum Suggestion to ensure WordPress user sharing


    wordpressuser_ed93838a3c2677b2a3d53669c26b039b

    Path: /

    Content:admin

    wordpresspass_ed93838a3c2677b2a3d53669c26b039b

    Path:/

    Content:<HASH>

    And for BBPress

    wordpressuser_34c5633735768bf923be82cd0042b16a

    Path: /

    Content:admin

    wordpresspass_34c5633735768bf923be82cd0042b16a

    Path:/

    Content:<HASH>

    #59080
    fel64
    Member

    Expected behaviour is that signing into one will sign you into the other.

    Can you please do the following:

    Clear your cookies.

    Log into wordpress and record what cookies are set, including domain and path (properties of each cookie).

    Clear your cookies again.

    Log into bb. Again record the cookies set. Are you logged into wp?

    Tell us the cookies set from each case.

    #59079
    Andrew
    Member

    I did the original install as Trent specified above. I also added in fel64’s suggestion. I didn’t see any changes in the behavior as a result.

    Let me reiterate. BBPress and WOrdpress are sharing a user database now. I can sign into BBPress using the name/pw combo of any existing WordPress user.

    What I expected though, is that a user already signed into WordPress would transition into BBPress (for the first time, as a new user) and automatically be logged in. Currently, they need to relogin using the same WordPress username and password.

    Which behavior should be expected? I am looking for a seamless addition of forums for my existing client base….

    Thanks for the great help.

    Trent Adams
    Member

    Right off the cuff, I would do the following until you have it installed correctly:

    1) Remove:

    $bb->WP_BB = true;
    require_once( 'public_html/wp-blog-header.php' );

    2) Change to false:

    $bb->mod_rewrite = false;

    Once you have bbPress installed and integrated with wordpress (logins), then play around with the permalinks and the including bbPRess functions with WP.

    Trent

    I have spent three hours trying to figure out what I’m doing – can someone tell me if this config.php is correct?

    I have placed xxx’s in place of password, etc..

    <?php

    $bb->WP_BB = true;

    require_once( ‘public_html/wp-blog-header.php’ );

    // ** MySQL settings ** //

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

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

    define(‘BBDB_PASSWORD’, ‘xxxxxxxx’); // …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!

    // The full URL of your bbPress install

    $bb->uri = ‘http://teachtheboss.com/forums/&#8217;;

    // What are you going to call me?

    $bb->name = ‘Teach The Boss Forums’;

    // This must be set before you run the install script.

    $bb->admin_email = ‘ronaldp423xxxxx.com’;

    // Set to true if you want pretty permalinks, set to ‘slugs’ if you want to use slug based 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 = -5;

    // 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 = ‘xxxxxxxx’; // Example: ‘0123456789ab’

    // The rest is only useful if you are integrating bbPress with WordPress.

    // If you’re not, just leave it as it is.

    $bb->wp_table_prefix = ‘wp_’; // WordPress table prefix. Example: ‘wp_’;

    $bb->wp_home = ‘http://teachtheboss.com&#8217;; // WordPress – Options->General: Blog address (URL) // Example: ‘http://example.com&#8217;

    $bb->wp_siteurl = ‘http://teachtheboss.com&#8217;; // WordPress – Options->General: WordPress address (URL) // Example: ‘http://example.com&#8217;

    /* Stop editing */

    if ( !defined(‘BBPATH’) )

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

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

    ?>

    #59078
    fel64
    Member

    You may have to add

    $bb->cookiepath = '/';

    to your config.php if it doesn’t work straight away.

    #59077
    Trent Adams
    Member

    If you have the same domain so it should be simple. Keep in mind that bbPress will use the WP users after doing this and both programs have to be installed in the same database:

    // 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 = www.nyquistcapital.com'; // WordPress - Options->General: Blog address (URL) // No trailing slash. Example: 'http://example.com'
    $bb->wp_siteurl = 'www.nyquistcapital.com'; // WordPress - Options->General: WordPress address (URL) // No trailing slash. Example: 'http://example.com'

    Trent

    #2105
    Inquirer
    Member

    I just installed bbPress.

    Now, I need to learn how to customize the forum’s appearance.

    Apparently, a lot of customization done through plugins.

    I found the following:

    Using Plugins

    To use a plugin, simply create a directory in your main bbPress directory called my-plugins and put the plugin file in it. bbpress does not currently have a plugin activation/deactivation interface like WordPress’. Any .php file in your /my-plugins directory will be run.

    Looking for plugins? Try our plugin browser http://bbpress.org/plugins/

    I like adding the ‘This topic is one of your favorites’ feature.

    How would I find if this is an available plugin?

    If so how would I find where to download it?

    #59076
    Andrew
    Member
    #59008
    Inquirer
    Member

    I dropped the bbPress tables in my database and did a reinstall.

    The installation went fine.

    I discovered my original installation falied because of a typo

    I had entered ‘http://mywebsite.com/forums/&#8217;;

    I should have entered ‘http://mywebsite.com/forum/&#8217;;

    On this install I didn’t want to integrate with the WordPress database.

    Now I need to learn how to customize the forum’s appearance.

    Is there a way to change the forum name within Administration or will I have to edit the config.php file and FTP it?

    Is a lot of customization done through plugins and php templates?

    I found this online.

    [The best way to start off is to create a new directory inside the root folder of the bbpress install called “my-templates”. Any php templates place in this folder with the same name as in “bb-templates” will override the original files. For example, if you modify front-page.php and upload it to “my-templates”, bbpress will pull the customized front-page.php file.]

    Fore instance I like adding the ‘This topic is one of your favorites’ feature.

    #59075
    fel64
    Member

    Should be. If they are on the same domain, it is certainly possible. In a small set of cases you will need to add two simple lines of code to your bbpress config.php. What URLs do you (want to) have bbpress and wp at? Tell us and we can tell you what code to add.

    #2104
    fel64
    Member

    Changing the width of the theme is easy; all it takes is a single change in a CSS file. If they hard-coded the width into the HTML, they deserve the extra work. :P

    I think that if you use they backticks on an inline basis the overflow is hidden, but if you use it for paragraphs (specifically: backtick is in line above your code, I think) the overflow remains.

    For example, a really long path like var/www.mywebsite.com/htdocs/wordpress/bbpress/bb-includes/template-functions.php or whatever will be cut off. If there had been spaces, it should wrap.

    But a paragraph of code will have the scrollbar.

    <?php
    /*
    Plugin Name: o/
    */
    function withareallylongnamethatjustneverstopsandthefunctiondoesn'tevendoanythinguseful() {
    return true;
    }

Viewing 25 results - 25,201 through 25,225 (of 26,680 total)
Skip to toolbar