Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress"'

Viewing 25 results - 25,351 through 25,375 (of 26,836 total)
  • Author
    Search Results
  • #57847
    _ck_
    Participant

    I don’t think wordpress allows “@” does it?

    You shouldn’t allow email addresses as usernames on a forum.

    Very bad idea.

    However that said, this same routine could be used to override that.

    #53738

    In reply to: Plugin: Admin add User

    Andrew
    Member

    Great plugin, perfect for what I needed. Only thing missing is an email to notify the new user the account has been created.

    I noticed that creating a user account in WordPress does not notify the user via email, so perhaps the current behavior is correct. Thoughts?

    #59094
    Andrew
    Member

    Yes, but users reading the above… make sure to replace the MD5 hash with the one from your site. Do not simply cut and paste.

    #2111
    _ck_
    Participant

    I would like to suggest this forum would seriously benefit from:

    1. “Tips and Tricks”

    2. “Integration with WordPress”

    as two new sub-forums

    #59093
    _ck_
    Participant

    There is an obscure cookie control plugin for wordpress that I found somewhere around here I think:

    http://www.2diabolos.com/blog/plugins-pour-wordpress/setcookieparams/

    the bbpress config options you want are like this:

    $bb->wp_table_prefix = 'wp_';  // WordPress table prefix.  Example: 'wp_';
    $bb->wp_home = 'http://example.com/blog'; // WordPress - Options->General: Blog address (URL) // Example: 'http://example.com'
    $bb->wp_siteurl = 'http://example.com'; // WordPress - Options->General: WordPress address (URL) // Example: 'http://example.com'

    $bb->usercookie = 'wordpressuser_ab1b1c8b2de0ca2b381c25a6b6e812a1';
    $bb->passcookie = 'wordpresspass_ab1b1c8b2de0ca2b381c25a6b6e812a1';
    $bb->cookiedomain = 'example.com';
    $bb->cookiepath = '/';

    you also obviously want this plugin:

    https://bbpress.org/plugins/topic/2?replies=3

    and less obviously this one is a must for WP integration:

    https://bbpress.org/forums/topic/usernames-with-spaces-do-not-work?replies=24#post-7904

    unfortunately it’s not setup here as a formal plugin but it should be – see my dot fix at the end

    #59017

    In reply to: Punbb -> BBPress

    _ck_
    Participant

    I guess part of my concern is how casually it’s either told or assumed that BB integrates with WP, and that BB is ready for primetime. There’s good reason why it’s set at a pre-1.0 version number.

    Many people here are integrating micro-forums with a handful of members, never more than a few people on at the same time. If there’s a problem, it can wait as it’s not an active website.

    But my experience with BB was that tried integrating BB with several hundred members on a WP site. I eventually had to take it offline a week later. Here’s why:

    First it took a day or two to find the plugin to fix spaces with usernames. Eventually I found out spaces were not the only problem, dots were not covered so I had to patch that.

    Then I found out that many people had their cookies set to “remember me” which means even when you fix the cookie path so it off the root, it’s useless because the old cookie will never delete. Had to deal with dozens of emails and complaints and give them all individual instructions. Then there’s the problem of hundreds of people making hundreds of posts without any mods.

    Unlike WordPress, the bbpress moderation tools are non-existant. It’s a non-issue for a micro-forum because you’ve literally got a 1 to 10 mod to user ratio. But now multiply that by 700-800 very active members. You’d then need 70 to 80 mods since every message posted has to be read by hand, by going into the thread and dealing with each one!

    The ideal ratio is maybe one mod to 100 users or higher would be better, but you can’t do that without the right tools. There’s no way to browse through all posts at once and moderate immediately or setup some kind of automation process.

    There’s no working badwords filter, there’s no way to limit posts that are too short or too long, there’s no post merging tool, there’s no adjustable posting rate per user, there’s no way to keep in touch with moderators. All this has to be added in with plugins, many not fully debugged yet or working correctly with 0.8.2.1 Some of them were not improved until just recently after I made feature requests after trying to use them.

    It was exhausting and depressing so I took bbpress offline. But I am trying to help improve bbpress, not just complain. I think it’s about to hit critical mass with the growing number of people using it and more powerful plugins available and it has a lot of potential.

    If I had a commercial forum with ads and made money off it, I’d go buy vbulletin as it’s the king and has years of trial and error and getting it right. But most people who use bbpress won’t be doing it for commercial reasons.

    So that’s why I’m curious when I read that someone walked away from another forum program and switched to bbpress…

    #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

Viewing 25 results - 25,351 through 25,375 (of 26,836 total)
Skip to toolbar