Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 24,901 through 24,925 (of 32,432 total)
  • Author
    Search Results
  • #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.

    #73506
    frooyo
    Member

    @Sam

    Any new updates on bbPres 1.0 Release Candidates?

    It’s been 4 weeks and I’ve noticed a ton of code check-ins during that time (https://trac.bbpress.org/timeline)

    Curious to know when RC2 can be expected.

    Thanks man, keep up the awesome work!

    #73505
    pbarry4
    Member

    Just successfully integrated WP2.7 and bbpress RC1 but have a quick question regarding the cookie integration process. The cookie integration only works when I first login to my bbpress instance, ans as expected when I visit the wp directory I’m logged in. However logging in to my WP first and refreshing my bbpress DOES NOT log me in :(

    Not a big issue to be honest, I’ll just replace the wp login form with the bbpress one and bingo :)

    Any one experience this before?

    -p

    #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

    rareexample
    Member

    Hi All,

    I’m wondering if someone can point me in the right direction, note I’m not very good with php/code.

    I’m trying to implement a live chat shoutbox with bbpress using Ajax Chat. My goal is to get users logged in to bbpress, automatically log in with their BBpress credentials into the Chat.

    In the Ajax chat wiki, it seems simple enough as they state:

    If you want to reuse an existing session cookie set from another application just adjust the following setting in lib/config.php:

    // Session handling:

    $config = ‘PHPSESSID’;

    Change PHPSESSID to the name of the session cookie you want to use.

    I guess my question is, what is BBpress’s PHPSESSID and how can I make this work?

    Thanks in advance!

    Cheers

    Wiki over at : http://ajax-chat.wiki.sourceforge.net/Reuse+existing+session+cookie

    #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…

    Hi chrishajer,

    Thanks for the quik support and response.

    I have tried this and its working , but the problem is about email sending automatically when the user forgot the password and if he/she requests the pwd using the email id which is unique.

    So , Now my only problem is email is not being sent from my local machine which is connected with internet etc.

    Please help me :)

    Thanks,

    -Vikram.

    #74222
    swaymedia
    Member

    Well im ready to help you guys out. Im intensly theme developing.

    #74221
    Sam Bauers
    Participant

    The Codex is coming…

    Will be after 1.0 release though. Probably sometime next wek.

    #74251
    Sam Bauers
    Participant

    did you set the WP_AUTH_COOKIE_VERSION ?

    For WP 2.7 it needs to be…

    define('WP_AUTH_COOKIE_VERSION', 1);

    #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

    #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

    #74247
    chrishajer
    Participant

    It appears your domain is hosted at 1&1 Internet. If so, you might need to add this to the

    top of your .htaccess file:

    Options -MultiViews

    Dropping “MultiViews” support?

    I have domains with 1&1 and I needed to do that to make the rewrite rules work for me.

    #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.

    #74239
    madeck
    Member

    I’ve updated. The bug is still there. I got it fixed by putting into comment

    <?php endif; echo "<!--"; do_action('topicmeta'); echo "-->"; ?>

    I did that because I think that was around where the error occured.

    #74249

    You already have a post for this: Registration Email setup – To User along with Password

    You don’t need to make multiple posts, that’s spamming :)

    You probably don’t have email capabilities as a ‘server’ on your local machine. Have you ever installed websoftware that sends emails from localhost before?

    #74238

    I’d upgrade to 0.9.0.5 personally but you could try that too :)

    #74237
    madeck
    Member

    bbPress version 0.9.0.4

    PHP version 5.2.6

    MySQL vesrion 5.0.67-community-log

    Someone told me to change :

    $this->rows_affected = mysql_affected_rows();

    for :

    $this->rows_affected = mysql_affected_rows($this->dbh);

    #14937
    stereopoly
    Member

    Hey guys,

    as many topics in this forum, this is another one concerning permalinks. I have read the FAQ here: http://bbpress.org/documentation/faq/#pretty-permalinks and I have tried both, using Options +MultiViews and also using the code generated by /bb-admin/rewrite-rules.php but I cannot seem to get my permalinks working.

    http://www.mitstil.com/community is the link to my forums.

    The bbpress installation will use pretty permalinks but my host calls it a 404! Please help!

    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~

    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 :)

    #74210
    exchequer598
    Member

    Hey thanks Ipstenu. I just tried removing this line:

    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file= [L]

    And the installer is running. I guess this error is resolved (Though now I’m having trouble with Step 3 of the installation, which means I’m running over to another topic).

    Thanks a lot :-)

    #74209
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file= [L]

    What’s that for? It’s the only thing I don’t recognize.

Viewing 25 results - 24,901 through 24,925 (of 32,432 total)
Skip to toolbar