Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 58,051 through 58,075 (of 64,394 total)
  • Author
    Search Results
  • #63648
    testosteron
    Member

    Please help me!

    I need the help or i cant finish making my new project!

    The login menu must be in the “wordpress section” and in the “bbpress section” of my homepage!.

    Thanks for the help

    #63655
    chrishajer
    Participant
    #63652
    cmaujean
    Member

    Most of this code was taken directly from the bbsync plugin (I’ve attempted to remove need for configuration, and some of the bbsync functionality/flexibility).

    There are really truly NO errors logged anywhere for this.

    here is my plugin in it’s entirety:

    define('CRBBFORUMID', 1);

    function cr_post($post_id) {
    global $bbdb, $wpdb, $current_user;

    require (dirname(__FILE__) . '/../../bbpress/config.php');
    // get the post
    $post = wp_get_single_post( $post_id );

    if(!$current_user) {
    return;
    }
    bb_set_current_user($current_user->ID);

    $post_title = $bbdb->escape($post->post_title);

    $bb_topic_arr = get_post_meta($post_id, 'bb_topic', $true);
    $bb_topic_id = $bb_topic_arr[0];

    // if bb has this post already, update the topic
    $topic_exists = false;
    if ($bb_topic_id) {
    if(bb_update_topic($post_title, $bb_topic_id)) {
    $topic_exists = true;
    }
    $reply = bb_get_first_post($bb_topic_id);
    bb_update_post($post_text, $reply->post_id, $bb_topic_id);
    }

    // if not, create a new topic
    if (!$topic_exists) {
    $topic_id = bb_new_topic($post_title, CRBBFORUMID, $tags);
    $reply_id = bb_new_post($bb_topic_id, $post_text);

    $r = false;
    if ($topic_id && $reply_id) {
    bb_update_topicmeta($bb_topic_id, 'wp_post', $post_id);
    if (!update_post_meta($post_id, 'bb_topic', $topic_id)) {
    add_post_meta($post_id, 'bb_topic', $topic_id, true);
    $r = true;
    }
    }
    $oldcoms = get_approved_comments($post_id);
    if($oldcoms) {
    foreach($oldcoms AS $oldcom) {
    if($user = bb_get_user($oldcom->comment_author)) {
    $time = strtotime($oldcom->comment_date);
    $text = '<em><strong>This comment was originally posted at ' . date('G:i', $time) . ' on ' . date('jS F Y', $time) . ".</strong></em>nn" . $oldcom->comment_content;
    bb_set_current_user($user->ID);
    bb_new_post($topic_id, mysql_real_escape_string($text));
    }
    }
    }
    }
    return $r;
    }

    function cr_comment($comment_id, $approval_status) {
    global $bbdb, $wpdb;
    require_once(dirname(__FILE__) . '/../../bbpress/bb-load.php');

    $comment = get_comment($comment_id);

    $topic_id = get_post_meta($comment->comment_post_ID, 'bb_topic', $true);
    if(($topic_id) && ($approval_status == 1) && ($comment->user_id) && bb_set_current_user($comment->user_id)) {
    //topic linked, genuine comment, actual user, bb likes user
    bb_new_post($topic_id, $comment->comment_content);
    return true;
    } else {
    return false;
    }
    }

    add_action('publish_post', 'cr_post');
    add_action('comment_post', 'cr_comment');

    crazlunatic
    Member

    Thank you for the help. So what I did was take my original WordPress template and put it in the templates folder and it gave me this:

    http://vistarewired.com/test2/wp-content/bbpress/

    This is what I want except I want to center it, add some grey boxes behind it and that is pretty much it. How do I do this? Because I’m using the same CSS I used for my original blog template which is at http://vistarewired.com

    cmaujean
    Member

    Howdy,

    WordPress 2.3.3

    bbPress latest from yesterday

    Wordpress Integration

    I’ve created a very simple wordpress plugin to attempt to allow wordpress posts and comments to also be put in a bbPress forum.

    When I make a post and my plugin attempts to:

    require_once(dirname(__FILE__) . '/../../bbpress/bb-load.php');

    I get a blank page, and the post/comment does not get sent to bbpress. I’ve have traced this to the point where bb-settings.php calls this line:

    require( BBPATH . BBINC . 'template-functions.php');

    but no matter what I put in template-functions.php (even writing to a file), I get the blank page.

    I’ve checked all my error logs, and there are no errors being logged, not even a 500 error. I’m at my wits end, and late on this project, please help.

    Thanks,

    Christopher

    #3038
    testosteron
    Member

    Hi

    Can i add the bbpress login menu un my wordpress theme?

    The login is in the header of my wordpress blog.

    Thanks!

    and please tell me how!

    #63646
    chrishajer
    Participant

    Did you see this post by sambauers?

    https://bbpress.org/forums/topic/beta-problem#post-14516

    #3036
    Mister
    Member

    When running the install script, after only changing the config.php I encounter the following:

    
    Warning: Cannot modify header information - headers already sent by (output started at /home/ucstudents.nl/public_html/bbpress/config.php:1) in /home/ucstudents.nl/public_html/bbpress/bb-admin/install.php on line 10

    Warning: Cannot modify header information - headers already sent by (output started at /home/ucstudents.nl/public_html/bbpress/config.php:1) in /home/ucstudents.nl/public_html/bbpress/bb-includes/functions.php on line 1910

    I can complete the installation but every page I visit starts with 

    and other errors sometimes occur.

    What is causing this, and how can it be fixed?

    #54962
    chrishajer
    Participant

    I think if you wait until bbPress 0.9 is released and integrate it with WordPress 2.5, things will be a lot easier.

    https://bbpress.org/forums/topic/cookies-subtle-bug-single-sign-on-bbpress-and-wordpress#post-14373

    #63627
    chrishajer
    Participant

    I think if you wait until bbPress 0.9 comes out, integration with WordPress 2.5 will be much easier, according to sambauers.

    #3033
    testosteron
    Member

    Hi!

    I want to integrate bbpress into my wordpress blog complete!

    that means :

    • When you login into wordpress you have to be logged in in bbpress the same time! (for write threads and wp comments with one login)
    • I want that wordpress an bbpress look like one theme. So is it possible to show the normal wordpress sidebar in bbpress? and how?
    • wich login menue i should use? (I want to integrate the login menue in the header of both themes )

    I read a lot of things here with set cookie path etc but in PHP I’mnot “the best”! :D

    The structure is like this.

    The domain for the wordpress blog is http://www.example.com/blog/

    and the Domain for the Forum is http://www.forum.example.com/

    I think this thread is needed to make one real documentation for integration so the next with the problem don’t have to read 100 threads :D

    // Sorry for my english! Im from germany ;)

    chrishajer
    Participant

    I was checking my Google sitemap stats and saw this recently for my bbPress sitemap:

    URLs not followed

    When we tested a sample of the URLs from your

    Sitemap, we found that some URLs were not accessible

    to Googlebot because they contained too many redirects.

    Please change the URLs in your Sitemap that redirect

    and replace them with the destination URL (the redirect

    target). All valid URLs will still be submitted.

    Further reading led to this:

    http://www.google.com/support/webmasters/bin/answer.py?answer=48551&hl=en

    So my questions are:

    1. What is the reason this is a 302 header (temporary redirect) vs a 301 header (permanent redirect)?

    2. Can it be changed in the code or with a plugin to generate a 301 header so Google will follow the URLs?

    3. If this is not possible, what would the proper permanent URL be for a tag URL like http://www.example.com/forum/tags.php?tag%3Dghosts

    BTW, I am using the Sitemap plugin for bbPress by Richard Boakes. http://boakes.org/talk/topic/31

    I can modify that to write the proper permanent URLs to the sitemap if that’s the easiest way to go about it. Or, maybe tags URLs should not even be in the sitemap (they are just pointers to content that exists elsewhere anyway.)

    Thanks.

    #63616

    In reply to: Gap in images in table

    chrishajer
    Participant

    Which gaps are you talking about specifically? I see just one between the header and the forums, maybe. Then maybe between the top and those side images as well.

    1. Don’t use tables for layout, use divs if you can.

    2. Validate your layout CSS and HTML and fix those problems first.

    http://validator.w3.org/ (XHTML needs some work)

    http://jigsaw.w3.org/css-validator/ (CSS is OK)

    3. Looks like there was some cutting and pasting going on. The main problem, I think, is that there are tags for two tables there, but the top table (with this image gregjamesforum_01.jpg) is not really marked up as a table. There are no row and table data tags. So, that’s invalid. Then, a new table is started below. That’s why there’s a gap.

    I would fix the improper markup and then put everything in one table (if you are going to continue using tables) so there is no gap between the two tables. That’s why there’s a gap beneath that top image right now.

    Also, there is nothing in your problem that is specific to bbPress, so you can seek support at any CSS/HTML forum as well if there’s not enough help forthcoming here.

    #63241

    In reply to: Integration questions

    mikem1000
    Member

    Hi guys,

    I am currently looking into deploying a site powered by WordPress. I have a phpBB3 forum (with no users) which I would like to keep. I have seen the wp-united plugin for phpBB3, but it isn’t currently being supported. The option of using bbPress seems good to me, but I would like a seamless and fully functional integration with both WordPress and WordPress MU.

    If I have to ditch the phpBB3 for the functionality I desire I will do it. I know what my potential userbase will want (post count, ranks, avatars, signatures, embed pics/vids in post, search, PM, etc). For the view, I would like a topic and post count, last post, and a description of each forum. Also subforums would be nice too.

    Right now I only have a rudimentary understanding of PHP, but I know HTML and CSS, so I could style the forum myself.

    I am a big fan of open source software. I only feel that there isn’t enough cooperation in the open source world. It would be awesome to see some of the best open source projects come together to create a mega kickass platform. My ideal would be (Drupal – please don’t flame me for this one -,Wordpress, and phpBB3). Drupal for the management of pages and function, WordPress for the content publishing, and phpBB3 for the forum.

    When I achieve proficiency with PHP I will try to develop a universal user/session platform where the login and session is unified with whatever software you decide to install on top of it. This would be an internal database, not an openly accessible one. I have heard of OpenID, but don’t know anything about it.

    WordPress appears to be the best content publishing engine out there, hopefully they become the best forum out there too.

    I too am jazzed about the prospects of a WordPress powered forum.

    Any opinions, best way to learn PHP, etc?

    BTW, this thread is starting to sound like the beginnings of a development group. Mods, plugins, and software to follow soon.

    I have found this discussion very stimulating, and would like to participate in future developments. I could deploy a site to use as a testbed.

    #63605
    missbossy
    Member

    I checked the logs and it indicated a problem with my wp theme functions.php.

    It’s bizarre because I didn’t touch that file and don’t know how it could have got borked as the date of the file on the server was the same as rest of the theme install which was weeks ago.

    Anyway, I uploaded a new version and I’m back in business. Perhaps the timing with the bbpress install was coincidental. Still… I’m perplexed.

    #63603
    chrishajer
    Participant

    Did you accidentally upload the bbPress files to the WordPress directory, then change it to a subdirectory later? I can’t think of why WordPress would be messed up after installing bbPress into a subdirectory.

    What versions of WordPress and bbPress are you using?

    #63602
    missbossy
    Member

    I haven’t changed the .htaccess file at the wp root.

    At the bbpress root the .htaccess file has one line:

    “Options +MultiViews”

    By plugins I mean wp plugins… basically any form action in wp admin ends at a blank page. The form action seems to be properly executed but then before returning to the right page, it stalls and I get a blank page. The name of that page depends on the form submitted.

    #63601
    chrishajer
    Participant

    Did you modify the root .htaccess file that would apply to WordPress?

    Also, what at the other form errors you are getting when activating/deactivating plugins (and do you mean WordPress or bbPress plugins?)

    3ring
    Member

    PS:

    – I have tried putting the script: “Option +Multiview” into .htaccess

    – reinstalling bbPress

    …nothing works.

    #3029
    missbossy
    Member

    Since I installed bbpress I’m having problems with posting in WordPress.

    I can post but afterwards am taken to a blank page. Eg instead of returning to /wp-admin/edit.php I’m taken to /wp-admin/post.php which is blank.

    Likewise when working with pages, instead of ending up at wp-admin/edit-pages.php I end up at wp-admin/page.php – also blank.

    I get other form errors when activating/deactivating plugins.

    Since the bbpress install I haven’t added any new plugins.

    BBpress seems to work fine.

    FYI: It’s in a subdirectory of my blog (/forums).

    #61278
    mciarlo
    Member

    Any update on why the Private Forum plugin will revert to ‘Open For All.’

    I consider this a large issue and can not believe bbpress does not have a proper configuration for this. Nevertheless, I am willing to wait and appreciate the effort going into bbpress. If I knew php I would try and fix this myself.

    #49502
    Amaury Balmer
    Participant

    Hello all,

    You can find the latest french translation on

    http://bbpress.fr/

    and i publish a french pack for 0.8.3.1 and soon 0.9 !

    I search voluntary for write french documentation and post on blog ;)

    Contact me !

    #53034
    Amaury Balmer
    Participant

    Hello all,

    You can find the latest french translation on

    http://bbpress.fr/

    and i publish a french pack for 0.8.3.1 and soon 0.9 !

    I search voluntary for write french documentation and post on blog ;)

    Contact me !

    #63574

    I found the solution!

    I merged the two language files into one (using gettext msgcat GNU utility)

    I load the new merged language file in WordPress wp-config

    I don’t load any language file in bbPress config

    It works! everything is translated in WordPress + bbPress

    #63573

    Same problem here: latest versions of WP and bbPress, FR_fr .mo gives same error message (Cannot redeclare class cachedfilereader).

    If I get rid of the FR language setting everything works fine.

    Maybe it is because WP and bbPress use the same localization routines…

    I think one solution would be to merge the .mo files of both apps into one so we have to load only one language file. Because apparently if I load only the WordPress FR localization I see that common terms in bbPress are translated.

    I don’t know much about .mo files, does anyone have a clue on how to do that?

Viewing 25 results - 58,051 through 58,075 (of 64,394 total)
Skip to toolbar