Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\'

Viewing 25 results - 22,876 through 22,900 (of 26,836 total)
  • Author
    Search Results
  • #68507

    In reply to: Mass user delete

    _ck_
    Participant

    If you are integrated with wordpress, I believe you can mass edit users on that side (either natively or via plugin). With 1.0 using backpress, they will hopefully port over some of the user functions into the admin panel – ie. create new user and mass edit.

    Keep in mind bbPress (and I don’t even thing WordPress) actually deletes users entirely from the db, it just disables them.

    If you find a WP plugin that does what you want, it should be fairly straightforward to port to bbPress.

    #67238
    eagano
    Member

    @ctsttom – In order for a user that was registered in WordPress to have any authority in bbPress, they need to have the option ‘bb_capabilities’ in their user metadata. This does not have anything to do with the role maps in bbPress. Those role maps only affect users that are registered within bbPress that need to have capabilities inside WordPress. I think you are having the same problem that I had – you need to go the other direction. You need a default capability in bbPress for a new user registration in WPMU.

    There are two ways to do this:

    1) go to your bbPress admin panel, drill into each new user that was registered in WordPress, edit their profile, and assign them a ‘User Type’

    2) use my shiny new WordPress plugin that creates a default capability of ‘member’ in bbPress for users that are registered in WordPress

    https://bbpress.org/plugins/topic/wpmu-enable-bbpress-capabilities/

    I would be interested in any feedback you have. There are two caveats to this plugin:

    1) it does not handle any users registered in WordPress that existed before the plugin was activated, you’ll have to do that manually (but you get the idea and could handle this with a mass SQL)

    2) there is no logic to determine which bbPress User Type to use, I just start with ‘member’ and assume that I’ll manually set admins/moderators, and further that everyone with a login should be able to post.

    Let me know what you think!

    #68460

    Did some research. Short answer: If it fixes your site, then no, no black hole is created.

    Mod_security is a weird beasty. You may want to ask your ISP/Host why it’s set up such that it butchers ajax, though.

    Did you have any issues with your wordpress setup that made you fiddle with the security?

    #66109
    keress
    Member

    Okay, I tried using the settings that the setCookieParams seems to be recommending.

    PathcookiePath: /

    Cookie domain: blank

    Cookie hash: 84bdfc54a51c9a8b123e73fe41df39a3

    No change in bbpress/blog behavior. When I use the bookmark to show cookie settings, they are unchanged since yesterday. It doesn’t appear the setCookieParams worked.

    Another question, the 2Diabolos site has two setCookieParams on the page. Is there one that should be used over the other?

    #66108
    keress
    Member

    I found more info on the setCookieparam plug in.

    http://www.2diabolos.com/blog/?s=cookie

    What threw me was that the download given here is in an ‘upload’ subdirectory, but needs to be uploaded to the plugins folder and implement the usual way. It can then be accessed through the ‘settings.’ But, I’m still confused. The instructions here say that it can be used to check the cookie settings, but all I see is the ability to set the cookies. If I am to set them, should I just follow the suggestions given with the plugin?

    #66107
    keress
    Member

    I’ve checked and double checked all the steps to coodinating wp-config.php with bb-config.php but no-go. I can only log into bbpress if I’ve already logged into wp, but even then it doesn’t let me into the admin.

    One possible area of confusion, I couldn’t figure out how to get the .zip file that would display cookies to work. How is it supposed to be implemented?

    I got the bookmark cookie check to work, but it gave a number of different sets of numbers.

    /r__utmc=162181740

    __utma=162181740.1942902695.1222437978.1224615332.1224620799.21

    __utmz=162181740.1222437978.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)

    __utmb=162181740

    wordpress_test_cookie=WP+Cookie+check

    Which string is relevant?

    #68436
    eagano
    Member

    Ooops – please see my conversation with Donncha in the ticket above.

    The short story: defining COOOKIEHASH as md5(get_option(‘site_url’)) will work for the main blog but not any other blogs if you are using VHOST (subdomains).

    There is a fix/hack: calculate the md5 hash of your domain, and use that value to define COOKIEHASH.

    define('COOKIEHASH', md5('http://yourdomain.com');

    No subdomains, no trailing slashes, will work fine.

    You can also get this value from bbPress speedup settings, found at Settings, WordPress Integration, and the bottom of the page.

    $bb->authcookie = 'wordpress_biglonghashvalue';
    $bb->secure_auth_cookie = 'wordpress_sec_biglonghashvalue';
    $bb->logged_in_cookie = 'wordpress_logged_in_biglonghashvalue';

    In your wp-settings.php,

    define('COOKIEHASH', 'biglonghashvalue');

    #4174

    I’m about this close to making my new forums live. I’ve got WP 2.6 and bbPress alpha tied in together pretty well, but they recently announced the lockdown on 2.7, which means that may come out by years end.

    Has anyone started testing with 2.7 yet? I’m not asking if I should not go forward and get my forums started, just wanted to know what kettle of worms I was opening ;)

    #68435
    eagano
    Member

    I have entered a ticket for WPMU:

    https://trac.mu.wordpress.org/ticket/775

    #68433
    eagano
    Member

    musnake –

    I think this must be a big source of the problem for MU and getting it to work with bbPress. And why some get integration to work (standalone) and other can’t (wpmu).

    In the WP standalone install, it does indeed appear to be there (is that where you got the code above?).

    In WPMU 2.6.2 (https://mu.wordpress.org/latest.zip) wp-settings.php, line 317:

    // Used to guarantee unique hash cookies
    $cookiehash = '';
    /**
    * Used to guarantee unique hash cookies
    * @since 1.5
    */
    define('COOKIEHASH', '' );

    $wpdb->hide_errors();
    if( defined( 'MUPLUGINDIR' ) == false )
    define( 'MUPLUGINDIR', 'wp-content/mu-plugins' );

    if( is_dir( ABSPATH . MUPLUGINDIR ) ) {
    if( $dh = opendir( ABSPATH . MUPLUGINDIR ) ) {
    while( ( $plugin = readdir( $dh ) ) !== false ) {
    if( substr( $plugin, -4 ) == '.php' ) {
    include_once( ABSPATH . MUPLUGINDIR . '/' . $plugin );
    }
    }
    }
    }

    Want to know the funny part? I actually debugged it instead of going to the source in WP standalone. At least I came to the same conclusion. This should probably be reported as an MU bug – I’ll let Donncha know.

    #68449

    Ok, I just reinstalled using seperate db’s this time (+WP integration). The installation process is very, very smooth with good feedback at every stage.

    Again, I believe the install was successful.

    Cache cleared etc. but numb ‘Add Forum’ button issue persists.

    I am using the same filebase (with no PHP errors in logs) though.

    The only blank spot I have in the install is:

    >>>>>> WordPress "secure auth" cookie salt not set. which appears to be an acceptable state based on the doc’s.

    The 6 session cookies are all suffixed with COOKIEHASH.

    I am unable to create new fora as keymaster or Admin.

    Can I provide any useful data?

    #68448

    Caught wearing my underwear on the outside. It doesn’t make me immune to cosmic cookie rays?

    This was a cherry install so I didn’t have any experience with bbPress and its issues etc. The ‘add forum’ button issue existed before I added the quick fix…I found it on my first pass through the support forums trying to see how other WP2.6 success stories started out…

    Did I mention that I have the bbPress files located in a subdomain called ‘forum’ i.e. mydomain.org/forum/ ?

    I’ve just gone through the phpbbb vs SMF review again, just so I can get something going while these small things get cooked off, but I think I’ll stry bbPress as a stand-alone in its own db and integrate later…Do you see any drama with that path?

    I just noticed that I didn’t add the SECRET_KEY value from wp-config.php (sic) to wp-settings.php as per a comment in that file…but it turns out that’s an artifact. Strike that.

    These are some of the cookies that FireBug reports:

    wordpress_logged_in_f004625b18565e7c579076261d01b3a5
    myDomain.org 105 B /forum/ Session

    wordpress_f004625b18565e7c579076261d01b3a5
    myDomain.org 95 B /wp-content/plugins Session

    wordpress_f004625b18565e7c579076261d01b3a5
    myDomain.org 95 B /wp-admin Session

    wordpress_f004625b18565e7c579076261d01b3a5
    myDomain.org 95 B /forum/my-plugins Session

    wordpress_f004625b18565e7c579076261d01b3a5
    myDomain.org 95 B /forum/bb-plugins Session

    wordpress_f004625b18565e7c579076261d01b3a5
    myDomain.org 95 B /forum/bb-admin Session

    wordpress_test_cookie
    myDomain.org 36 B / Session

    I’m checking…

    #68464
    chrishajer
    Participant

    Have you read this?

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

    That allows you to use WordPress functions (like get_sidebar, get_header) inside bbPress.

    There’s no way I know of to load bbPress in a WordPress page, or anything like that. It’s not a WordPress plugin.

    #4173

    Hey,

    Is it possible to load bbpress inside wordpress ?

    I am using bbpress (latest from trunk) + wp2.6.2

    I have designed a theme for wp2.6.2. And my wp2.6.2 has a lot of plugins. I wish to load bbpress into wordpress. Is it possible ?

    #68380
    slaapkamer
    Member

    Nice layout, but isn’t it possible to change the URL structure? It would look a lot cleaner if it was rewritten.

    #68379
    nekita
    Member

    Nice concept.

    I’m away from WoW for 2 years now but it’s interesting to see that people still raid Naxxramas. ;)

    #68378
    xyhn
    Member

    I’m using WP 2.5.1 and bbPress 0.9. I wasn’t able to get the logins to sync either, and so decided to revert to the more stable versions until that bug is worked out.

    #68397
    chrishajer
    Participant

    If you’re not trying to integrate then the WordPress version does not matter.

    I installed 0.9.0.2 a while back and did not have that problem. Glad you got 1.0-Alpha working.

    #68396
    mojorob
    Member

    I’m not trying to have integrated users & logins between wordpress & bbpress.

    Following my approach from above, I have been able to get bbpress 1.0-Alpha working without doing anything different than I did with 0.9.0.2

    #68395
    chrishajer
    Participant

    WordPress 2.6.2 and bbPress 0.9.0.2 are not compatible with cookies and logins. But I don’t think that would create this problem. Are you trying to have integrated users and logins between WordPress and bbPress?

    Also, re: bb-config-sample.php, the web installer can take care of modifying the sample file and creating a bb-config.php. It didn’t used to do that, but it can take care of it now.

    #4162
    catequil
    Member

    Hi,

    Newbie setting up bbpress with integration to wordpress but coming across a problem.

    Inatalled latest version of WordPress on Wednesday and BBpress yesterday but BBpress gives the following error when starting:

    Parse error: syntax error, unexpected T_STRING in /websites/LinuxPackage03/xp/er/ie/xperiences.co.uk/public_html/xperiencesforum/bb-config.php on line 28

    Line 28 of my bb-config.php file is:

    $bb_table_prefix = ‘bb_xpe’; // Only letters, numbers and underscores please!

    My forum site is:

    http://www.xperiences.co.uk/xperiencesforum/

    Any help resolving this would be welcome.

    Many thanks

    Catequil

    #68386
    Bharat Karavadra
    Participant

    Thanks Chris.

    I’m really not too fussed whtehe or not there are spaces as they work.

    The spaces probably activated my raticular activating system and impulsed me to write this topic

    #4160
    mojorob
    Member

    I’ve followed the installation instructions, including saving bb-config-sample.php as bb-config.php with the correct values (although it doesn’t say to do this in the bbpress installation instructions). When I go to the intended URL of the bbpress site I get the following error:

    Fatal error: Call to undefined function: wp_kses_no_null() in /homepages/45/d144276697/htdocs/mysite.net/news/forum/bb-includes/pluggable.php on line 240

    I have a wordpress installation in /news/ of the domain, and attempting to put bbpress into /news/forum/

    WordPress: 2.6.2

    bbPress: 0.9.0.2

    Any thoughts?

    #68385
    chrishajer
    Participant

    I say “why restrict the characters in the login?” I would vote to leave them in. Most people won’t use them, especially if they’ve been around for a while and are used to no spaces in usernames. But why arbitrarily limit the characters in the username?

Viewing 25 results - 22,876 through 22,900 (of 26,836 total)
Skip to toolbar