Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\'

Viewing 25 results - 21,176 through 21,200 (of 26,846 total)
  • Author
    Search Results
  • #74348
    Tynan Beatty
    Member

    Sam, I’ve tried about 50 different changes and no matter what I do with the config files, the Integration plugin settings, or the bbPress WordPress Integration settings, nothing seems to change the fact that I cannot logout from WordPress if I have logged in from bbPress (that means I cannot logout period, I click logout there and can still go into either of the admins because the cookies are not removed). Everything else works fine. I could always redirect all my bbP login forms to wp-login.php I suppose, but it seems like that should be unnecessary. Could it be because my wordpress is in a subfolder of my site like /public_html/yawp/ ?

    It seems when I login from bbP I get 2 wordpress_logged_in_* cookies, with identical values except that the ‘Path:’ of one is ‘/yawp/’ and the ‘Path:’ of the other is ‘/yawp’. When I login from WP I only get 1 wordpress_logged_in_* cookie, and it has a ‘Path:’ of ‘/yawp/’. I feel like this might be part of the problem.

    I figured the integration speedup line $bb->sitecookiepath = '/yawp'; in bb-config.php might be to blame and added only that line, but changed it to $bb->sitecookiepath = '/yawp/';, cleared cache, deleted cookies, but still I get both logged_in cookies when logging in from bbP. That’s among trying a bunch of other different config changes to get that wp_login_* cookie unified.

    Since you said in the RC-1 thread that I should be able to have this work if I just play with the cookie paths, have you any suggestions?

    #67815
    pbarry4
    Member

    Thanks chrishajer, essentially I want to merge bbpress into my existing WP theme (same header & footer). Ideally the bbpress would be embedded into a wp page.

    I’ve since found an article which achieves what I’m looking to do. http://www.adityanaik.com/integratepress-part-i/

    I’ll also search this forum for updated threads on the topic.

    Cheers.

    #67814
    chrishajer
    Participant

    pbarry4 – please post what you’re looking to do exactly. Since this post was made other posts have been made that explain how to do this as well.

    #67813
    pbarry4
    Member

    @zappoman Any chance you can share the wealth and make the plugin available? :) Cheers

    #68278
    chrishajer
    Participant

    No the prefixes should NOT be the same for integration. Use a different table prefix for bbPress tables, and when it comes to integration, the installer asks for your WordPress table prefix so it can use those tables for user data only.

    Start a new topic for your new problem please.

    #14951

    As per my post here on my blog : http://blog.ashfame.com/2009/05/integrate-bbpress-forum-wordpress-setup/

    To achieve integration between 0.9.05 & WordPress 2.7.1, I overwrite the bb_capabilities in wp_usermeta for my user by sql query as I don’t have phpmyadmin and I am using custom table prefixes.

    I just followed the instructions again on a setup and got something into different.

    My current password didn’t work. I manually updated it with a sql query from a known setup (I haven’t installed mail sending capabilities yet) and then I got access but now when I try to change the bb_capabilities of my admin user, it gets change, is reflected too but when I refresh the forum page, I still can’t see the link to dashboard. And now if I check the db again, the bbPress seems to have overwritten my entry to “a:1:{s:6:”member”;b:1;}” from “a:1:{s:9:.keymaster.;b:1;}”.

    I am clueless at the point. I can try dropping tables and starting again would get my work done but I am curious that why it is happening.

    #74223
    johnhiler
    Member

    Cookies

    We should probably have a general writeup of how Cookies work in both WordPress and bbPress, across versions… how the WordPress cookie was changed in versions 2.5 and 2.6, and how the bbPress cookie was changed from 0.9 to 1.0 (and any other changes that you can think of!)

    Of particular note would be which versions integrate well with each other (e.g. how bbPress 0.9 doesn’t have native support to integrate with the latest WordPress versions… so for a number of months, the only way to upgrade WordPress was to upgrade to the alpha 1.0).

    Also, ck’s bbPress cookie upgrade plugin… and Superann’s WordPress cookie downgrade plugin (to allow 0.9 to talk to the latest WordPress cookies).

    Anyone enough of a Cookie guru to draft a general writeup of how cookies work, and the general cookie compatibility issues we’ve seen? I think we can do better than the WordPress Codex, which seems really vague:

    https://codex.wordpress.org/WordPress_Cookies

    Integration

    Might be worth sharing links to people who have integrated bbPress with non *Press user logins:

    https://bbpress.org/forums/topic/bbpress-integration-2

    Maybe also a writeup on “deep” *Press integration versus other more “shallow” forms of integration (shared login)… some useful links on that:

    https://bbpress.org/forums/topic/first-pass-at-a-fix-for-deep-integration-in-trunk

    Any other links on deep versus shallow integration?

    #67076
    amit1234
    Member

    I am installing bb press and wordpress mu in same database I install it successfully but when I am trying to login in admin panel of wordpress-mu I redirect to page I am not able to control my addmin panel cuold you help in that

    #74339

    When I try to have access to WordPress functions (including that line said on documentation) I get this error:

    Fatal error: Cannot redeclare _mb_substr() (previously declared in /home/aedi/public_html/wp-includes/compat.php:86) in /home/aedi/public_html/bbpress/bb-includes/backpress/functions.compat.php on line 108

    When I get to line 108, that’s what I see:

    if ( !function_exists( ‘_mb_strcut’ ) ) {

    function _mb_substr

    _mb_strcut??? Shouldn’t be _mb_substr?

    alvarix
    Member

    I am attempting to integrate bbpress rc-1 into a wp blog (2.7.1) so it utilizes the same header and footer, but I don’t need db or login integration.

    I only need to load wordpress so I can call get_header() and get_footer(). When I add this to the top of bb-config.php require_once('/path/to/wp-blog-header.php'); it seems to destroy the ability to login. I am simply routed to another page (Add New Topic), without actually having been logged in. If I try to access bb-admin.php, it spits me back onto the index page.

    Any guides suggestions?

    #14948
    Sam Bauers
    Participant

    See the blog post.

    Lots of testing would be greatly appreciated.

    A note for anyone integrating cookies with WordPress less than version 2.8, you need to add this to your bb-config.php file…

    define('WP_AUTH_COOKIE_VERSION', 1);

    When you upgrade WordPress to 2.8 that line will have to be removed.

    #14945
    niravdave
    Member

    Hi,

    I have searched on the internet and here. I have been unable to find a script/code which can display latest discussions on my homepage which is not wordpress a wordpress site.

    help much appreciated.

    dave

    #66168
    berberama
    Member

    Please can someone provide a “clean” guide using bbPress .9.x and WordPress 2.7.1?

    Step #1

    Step #2

    .

    .

    .

    …and so on.

    I’ve been trying (very hard) to follow this guide, but there are so many contradictions and then links to external resources that say to do something else.

    Needless to say, I’m ready right now to simply give up on bbPress and move on.

    There needs to be so many edits, changes, fixes (and it still does not work). I truly hope the developers STOP… sit back and re-evaluate this project. In my opinion, it should integrate with WordPress easily as the option should be there during the install. I thought WordPress and bbPress were the same “organization” – As such, integration (I feel) should have been a natural fit! Currently it’s so difficult, that for some it’s become a deterrent to use bbPress. I think that is not good. (I personally know of two people who tried to integrate and after a frustrating period, opted for other solutions. One of them makes a point of telling others to stay away from bbPress, because he was more frustrated than I was – Which I think is not right! It bothers me because if he’s doing that, how many others are?)

    Two things that have added to the confusion are:

    1) Comments from other users, suggesting something else, or contradicting the information.

    2) The guide needs to be updated to use current WordPress code and also to include more instruction. I’m very technically oriented, parts of this guide leave even me hanging in the breeze. Parts of the guide are too generalized.

    I hope some of the developers hear me (and feel the frustration) , but more importantly, stand back and look (really look) at this issue.

    Thanks for letting me have a say, I hope this helps bbPress in some way.

    #71651
    Florian
    Member

    I think I almost solved it now. For some reason I had $bb->authcookie and $bb->logged_in_cookie set to ‘wordpress_logged_in_’. Probably due to some debugging oddysee. I removed the autcookie-setting and now cookie sharing and admin access are working. Yay! :)

    The only downside is that I can not access the admin area when I used WPMU to log in. But when I login over bbPress it works, so I guess that is an acceptable loss, since it affects only the admin and not all users…

    mparker12345
    Member

    Hi, I have just integrated BBPress with WordPress, but cannot delete posts or topics, and I also cannot access the bb-admin page.

    I have two ways of logging in, one is through the main wordpress site, and the other is through the forum’s login section. It seems there is no problem when I log in through the forum directly, but the problem comes when I log in through the site and then access the forum (which is how the forum will be accessed).

    Any help will be appreciated.

    Thanks

    #74253
    Sam Bauers
    Participant

    Totally possible, we do it on WordPress.com

    Easiest approach is to setup a new virtual host for that subdomain before your WPMU virtualhost in Apache. You can then catch it before it goes to the WPMU install which usually catches all subdomains.

    You can also do it from the same virtualhost for a thrill. That does require some .htaccess hackery. This is how WordPress.com is done.

    NB: these rules are for bbPress 0.9 and are supposed to catch all our localised forum domains – it also may not work for everyone. The important part of the rules to note is the skip (S=30) rule at the start.

    # Skip forum rules if not in *.forums.wordpress.com
    RewriteCond %{HTTP_HOST} !^(.+.)*forums.wordpress.com
    RewriteRule .* -

    # Forum rules
    # If you change the total number of rules, the skip rule above must be updated too
    RewriteRule ^/?$ /bbpress/ [L]
    RewriteRule ^bb-admin$ /bb-admin/ [R,L]
    RewriteRule ^bb-admin/(.*)$ /bbpress/bb-admin/$1 [L,QSA]
    RewriteRule ^bb-images/(.*)$ /bbpress/bb-images/$1 [L,QSA]
    RewriteRule ^bb-includes/js/(.*)$ /bbpress/bb-includes/js/$1 [L,QSA]
    RewriteRule ^([^/]+).php(.*)$ /bbpress/$1.php$2 [L,QSA]
    RewriteRule ^forum/([^/]+)/page/([0-9]+)/?$ /bbpress/forum.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^forum/([^/]+)/?$ /bbpress/forum.php?id=$1 [L,QSA]
    RewriteRule ^forum/?$ /bbpress/ [R,L]
    RewriteRule ^topic/([^/]+)/page/([0-9]+)/?$ /bbpress/topic.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^topic/([^/]+)/?$ /bbpress/topic.php?id=$1 [L,QSA]
    RewriteRule ^topic/?$ /bbpress/ [R,L]
    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/([^/]+)/page/([0-9]+)/?$ /bbpress/profile.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^profile/([^/]+)/([^/]+)/?$ /bbpress/profile.php?id=$1&tab=$2 [L,QSA]
    RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ /bbpress/profile.php?id=$1&tab=$2&page=$3 [L,QSA]
    RewriteRule ^profile/([^/]+)/?$ /bbpress/profile.php?id=$1 [L,QSA]
    RewriteRule ^profile/?$ /bbpress/profile.php [L,QSA]
    RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ /bbpress/view.php?view=$1&page=$2 [L,QSA]
    RewriteRule ^view/([^/]+)/?$ /bbpress/view.php?view=$1 [L,QSA]
    RewriteRule ^rss/?$ /bbpress/rss.php [L,QSA]
    RewriteRule ^rss/topics/?$ /bbpress/rss.php?topics=1 [L,QSA]
    RewriteRule ^rss/forum/([^/]+)/?$ /bbpress/rss.php?forum=$1 [L,QSA]
    RewriteRule ^rss/forum/([^/]+)/topics/?$ /bbpress/rss.php?forum=$1&topics=1 [L,QSA]
    RewriteRule ^rss/topic/([^/]+)/?$ /bbpress/rss.php?topic=$1 [L,QSA]
    RewriteRule ^rss/tags/([^/]+)/?$ /bbpress/rss.php?tag=$1 [L,QSA]
    RewriteRule ^rss/profile/([^/]+)/?$ /bbpress/rss.php?profile=$1 [L,QSA]
    RewriteRule ^rss/view/([^/]+)/?$ /bbpress/rss.php?view=$1 [L,QSA]
    # If you add more forum rules then you must update the skip rule above them as well

    #74194

    Chrishajer,

    Once bbPress goes 1.0, I’ve got a write-up in the queue that will go on buddypress.org and I’ll give to Sam also to put here. I’m going to do a walk-through and probably put it on wordpress.tv also. Trent and I had talked about joining our efforts together a few weeks back, but I think we’re both waiting for bbPress1.0 to drop.

    The only reason I haven’t put anything official out there yet is the process has changed 3 times in the past 3 months and I’d prefer not to add any more info to the mix that will potentially be out-dated before it’s even cited as a valuable reference.

    Half the reason there are the questions there are, is because there are 10 different ways to do it, and none of them are correct for every installation/version of each application.

    I’ll try to talk to Sam tomorrow on IRC and see if there are any cookie/login/session changes due for bbPress before 1.0, and if not I’ll set something up ASAP.

    #71358

    In reply to: WordPress Functions

    alvarix
    Member

    I am having a similair problem.

    I am requiring once wp-blog-header.php into bb-config as well, so I can call the headers and footers of my wp site. It is killing the ability to login.

    #57465
    alvarix
    Member

    After reading some more posts on login difficulties, I found that removing require_once('../wp-blog-header.php'); allows me to login. But I need that, to get my header and footer.

    #57464
    alvarix
    Member

    I was able to perform an integration (not db just a seamless design) using Kenzor’s method:

    ...in the header I have only:
    <?php get_header(); ?>
    In the footer I have only:
    <?php get_footer(); ?>

    However I am not able to login. It takes me to the Add New Topic page without having logged me in.

    This is what I added to my bb-config file, apart from it’s own db config

    if (file_exists('../wp-blog-header.php'))
    require_once('../wp-blog-header.php');
    else
    if (file_exists('../../wp-blog-header.php'))
    require_once('../../wp-blog-header.php');

    Any advice greatly appreciated,

    alvar

    #71650
    Florian
    Member

    Nope, didn’t help.

    I narrowed the problem down a bit further, though. As soon as I add the following line to my bb-config, cookie integration works but bbpress-admin-access breaks:

    $bb->logged_in_cookie = ‘wordpress_logged_in_’;

    Any suggestions?

    #74241

    In reply to: Fatal Error

    chrishajer
    Participant

    The bbpress directory does not go inside the WordPress plugins directory. You probably want it here /home/ironogre/public_html/worldsworkshop/bbpress/ and you will access it at http://www.worldsworkshop.com/bbpress/ . See if that works for you. Also, you can rename the bbpress directory to something else, like forums or community or something. That part of the URL is visible to the public, so make it meaningful to you.

    Tynan Beatty
    Member

    There’s no secret to it. All the info you need is in these forums. You mostly need to make sure that the […] in the following:

    define('AUTH_KEY'[...] matches define('BB_AUTH_KEY'[...]

    define('SECURE_AUTH_KEY'[...] matches define('BB_SECURE_AUTH_KEY'[...]

    define('LOGGED_IN_KEY'[...] matches define('BB_LOGGED_IN_KEY'[...]

    and define('NONCE_KEY'[...] matches define('BB_NONCE_KEY'[...]

    between your wp-config.php and bb-config.php.

    Make sure you use different table prefixes for WP and bbP.

    bb-config.php shouldn’t have anything extra defined in it past that, if you had left in WP2.8. Since you downgraded to 2.7 your bb-config.php needs to have define('WP_AUTH_COOKIE_VERSION', 1); until you upgrade back to 2.8, at which point you need to remove that line again.

    Your wp-config.php needs to have define('COOKIEPATH', '/wordpress/'); where ‘wordpress’ is the path to wherever you installed WP, or define('COOKIEPATH', '/'); if WP is in your site’s base folder.

    Visit the WP administration settings and fill out the bbPress Integration Plugin settings (but mind what I said above, you probably shouldn’t add what it suggests adding to your wp-config.php file).

    Visit the bbP administration settings and fill out the WordPress Integration settings there as well.

    As I said in the posts I linked earlier, everything works fine for me with WP2.8-RC1 or any of the betas, and bbP1.0-RC1, except that if users log in from bbP, they can’t log out from WP (which seems a somewhat trivial issue since I doubt many users will need to do that).

    Hope you can get it working.

    peace~

    #74240

    In reply to: Fatal Error

    johnhiler
    Member

    This came up once before here:

    https://bbpress.org/forums/topic/install-issue-fatal-error-line-72

    Is it possible you attempted to install bbPress as a plugin inside of your WordPress install?

    It’s a separate program and should be installed separately…

    Atsutane
    Member

    Nothing secret. My forum is on subdomain while my blog is on main domain.

    All i need to do is define define('COOKIE_DOMAIN', '.atsutane.net'); and define('COOKIEPATH', '/'); inside wp-config.php

    And if you are using Bbpress 1.0 RC1 with WP 2.7.1, you need to defind this define('WP_AUTH_COOKIE_VERSION', 1); inside bb-config.php.

    Another thing is, i let bbpress handle all registration and log in/log out process.

    Hope this will help you :)

Viewing 25 results - 21,176 through 21,200 (of 26,846 total)
Skip to toolbar