Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 24,926 through 24,950 (of 32,468 total)
  • Author
    Search Results
  • #74415
    chrishajer
    Participant

    Ahh. You want to extend the registration form then.

    This plugins do something similar, maybe you could use one as a starting point?

    https://bbpress.org/plugins/topic/bbsocialize/

    https://bbpress.org/plugins/topic/gaming-codes/

    https://bbpress.org/forums/topic/plugin-allow-additional-or-custom-profile-fields

    Also, there has been some discussion recently in these forums of just how to do this, but I can’t find it right now.

    #74347

    After upgrading to WP 2.8, remember to REMOVE define('WP_AUTH_COOKIE_VERSION', 1); from your bb-config.php file.

    Also I had to dump all my cookies and cache to get back into the bb-admin side, but for a regular user perspective, everything was hunky dory :)

    #67813
    pbarry4
    Member

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

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

    #74288
    Atsutane
    Member

    $sql="SELECT * FROM bb_posts WHERE post_topic='' ORDER BY post_id DESC LIMIT 8";

    It seem like you telling the script to look for post with empty topic. Try change it to this:

    $sql="SELECT * FROM bb_posts ORDER BY post_id DESC LIMIT 8";

    #68277
    exchequer598
    Member

    Shouldn’t the prefixes too be the same for integration? But guess what, I just uploaded bbPress 1.0 RC2 and somehow the problem is fixed!! But now when I login to bbPress admin page, I cannot see the link for the Plugins page. Also, if I type /bb-admin/plugins.php, I get redirected to the forum’s homepage! Please help :-)

    #74340
    wiseacre
    Member

    Final RC 2 and stable 1.0 plans?

    Hallelujah

    :-)

    #74287
    niravdave
    Member

    Hi John,

    Thanks for the input. I am already aware about this.

    I was looking for another solution. I tried my hands on this code but it doesnt work.

    Can some1 help me on this?

    help much appreciated.

    <?

    mysql_connect(“localhost”, “username_db_forum”, “password”);

    mysql_select_db(“database_name_forum”);

    $sql=”SELECT * FROM bb_posts WHERE post_topic=” ORDER BY post_id DESC LIMIT 8″;

    $risultati=mysql_query($sql);

    while($riga=mysql_fetch_array($risultati)) {

    $target=$riga[“post_topic”];

    $target1=$riga[“post_id”];

    echo”<img src=”images/bullet.gif” align=”absmiddle”>$target

    “;

    }

    ?>

    #74336

    Cool. Otherwise, I don’t see any issues yet. I’ll let my users bang around and come up with something, I’m sure ;)

    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?

    #74333

    Sam, is there any plan to fix up the admin side CSS before go-live? It’s still seriously unformatted.

    http://yfrog.com/7hadminnp

    Also #1076 is still open. Pretty permalinks seems to kill pagination for User Roles :/

    #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

Viewing 25 results - 24,926 through 24,950 (of 32,468 total)
Skip to toolbar