Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\"'

Viewing 25 results - 23,676 through 23,700 (of 26,590 total)
  • Author
    Search Results
  • #3366
    caddyj
    Member

    I’ve been following the development of MU 1.5.1 (seems pretty nifty so far) and from the looks of things, it’s now locked as an official release to download on the main site.

    I haven’t however, been able to integrate it successfully with BB Press yet, despite applying the usual checklist and a few things besides. I haven’t had much of a problem with previous versions of WordPress, MU and BB Press, although I fully understand that MU 1.5.1 is hot off the press as it were.

    If anyone manages to successfully integrate or knows whether this is currently possible (with 0.9 or above), please would you post your solution… it’d be greatly appreciated. Thanks.

    mdata
    Member

    This is a continuation of the post http://bbpress.org/forums/topic/new-bbpress.

    Next item after an “integrated” bbPress / WordPress upgrade is a login issue. Prior to upgrading to bbPress 0.9.0.2 if I logged in to WordPress (checking “Remember me”) and then went to bbPress and logged in, you could go back and forth with no further need to log in repeatedly. In fact, you could come back in the future and still not need to log in to either section.

    Since the upgrade, if I go to bbPress I must log in. Likewise, I must log in to WordPress. If I go to one of the two sites, I am logged out of the other site and must log in again.

    Just a nuisance thing, but I don’t think this is what the developer’s had in mind.

    Thank you.

    #64920
    gerikg
    Member

    kiaspeed2.com like that?

    #3364

    Topic: php_e() issue

    in forum Troubleshooting
    bilibou
    Member

    Hi ,

    I’m having a problem with the function php_e().

    I use require_once(dirname(dirname(__FILE__)) . ‘/wp-blog-header.php’); to include wordpress functions into bbpress, the problem is, I think , that there is a conflict between php_e() wordpress function and php_e() bbpress function and it is impossible for me to translate my bbpress forum.

    So how can I solve this problem and make bbpress use his own php_e() function and not the wordpress one ??

    Thanks for your help.

    #64919
    mrhoratio
    Member

    IPSource,

    The short answer is you have to convert your WordPress theme to bbPress by hand.

    I’m currently doing the same thing you’re trying to do on my WordPress blog with bbPress also. It pretty much means taking your WordPress theme and going through each file one by one and converting them to bbPress. So you have to strip out the WordPress tags and functions in the theme files and replace them with bbPress versions. There’s no list of equivalent tags, so translating them is just gonna take a lot of trial and error and testing.

    #64918
    ipsource
    Member

    Thanks for getting back to me and I will definitely look into that. But the problem I’m having is putting my forum actually onto my site.

    I just want a button at the top next to “Home” on the navigation bar that says “Forum” and when you click on it, it takes you to my forum. I would prefer to keep the header and footer on it so that it looks like it’s actually in the site still.

    Any suggestions???

    #64917
    bobbyh
    Member

    The easiest way is to find and install an existing theme that exists for both WordPress and bbPress. For instance, K2 for bbPress is similar to the WordPress default theme. Here are some bbPress themes for you to check out.

    #3362
    ipsource
    Member

    Sorry I’m new and I tried to look around for this topic but I guess I’m not wording it right in the search.

    I want to make BBPress a page on my WordPress site. I’ve installed both and they are both sharing information just fine. I just want to integrate it visually into my site.

    So is there anyway that when you click “forum” on my Navigation bar that the forum would just show up in the window below?

    Again, I’m pretty new to this so when I have to go in and start messing with code I get lost easily. I really would appreciate any advice or help you can give. Thank you.

    #64781
    mrhoratio
    Member

    Hey Sam, thanks for making a ticket for this. I was able to query for topics within a date from directly from WordPress as well. Here’s something I wrote to merge “super sticky” bbPress topics into the WordPress loop. It’s a bit of hack, but it brings the “Promote to Front Page” functionality of Drupal into WordPress/bbPress:

    <?php get_header(); ?>

    <?php

    //Put WordPress posts into an array
    $wp_posts = $posts;

    if (!is_single()){

    //Retrieve first post of previous page (we need this post's date to query bbPress topics
    $offset=$paged*$posts_per_page+$posts_per_page;
    $first_post_of_previous_page = get_posts('numberposts=1&offset='.$offset);

    //First set the start and end dates to limit the query to the bbPress table
    $startdate=(date('YmdHis',strtotime($first_post_of_previous_page[0]->post_date_gmt)));

    //If it's the most recent page, set end date to today
    if ($paged){
    $enddate=(date('YmdHis',strtotime($wp_posts[0]->post_date_gmt)));
    } else {
    $enddate=gmdate('YmdHis');
    }

    //Retrieve "Super Sticky" topics from bbPress tables
    //This assumes your bbPress and WordPress tables are in the same database
    $bb_topics = $wpdb->get_results("SELECT * FROM bb_topics WHERE topic_sticky = 2 AND topic_start_time BETWEEN $startdate AND $enddate ORDER BY topic_start_time DESC");

    //Map bbPress topics to WordPress posts structure
    foreach($bb_topics as $bb_topic){
    $bb_first_post = $wpdb->get_results("SELECT post_text FROM bb_posts WHERE post_position = '1' AND topic_id = $bb_topic->topic_id", ARRAY_A);
    $bb_post->ID = "forum_topic_".$bb_topic->topic_id;
    $bb_post->post_author = $bb_topic->topic_poster;
    $bb_post->post_date = $bb_topic->topic_start_time;
    $bb_post->post_content = $bb_first_post[0][post_text];
    $bb_post->post_title = $bb_topic->topic_title;
    $bb_post->post_status = "publish";
    $bb_post->comment_status = "open";
    $bb_post->ping_status = $bb_topic->post_id;
    $bb_post->post_name = "forums/topic/".$bb_topic->topic_slug;
    $bb_post->post_type = "post";
    $bb_post->comment_count = $bb_topic->topic_posts-1;

    //add bbPress topic to WordPress posts array
    $wp_posts[] = $bb_post;

    };

    //Create function to sort array of posts by date
    function compare($x, $y){
    if ( $x->post_date == $y->post_date )
    return 0;
    else if ( $x->post_date < $y->post_date )
    return 1;
    else
    return -1;
    }

    //Sort array
    usort($wp_posts,'compare');
    }

    ?>

    <div id="content-box" class="span-8">

    <div id="content-area" class="clearfix">

    <?php if ($wp_posts): ?>
    <?php foreach ($wp_posts as $post): ?>
    <?php setup_postdata($post); ?>

    <div class="entry">

    <div class="entry-header clearfix">

    <div class="info span-2">
    <a href="<?php the_permalink(); ?>#comments" class="comment-activity"><?php comments_number('<strong>Post comment</strong>', '<strong>1</strong> Comment', '<strong>%</strong> Comments' );?></a>
    </div><!-- end info -->

    <div class="content span-6 last">
    <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    </div><!-- end content -->

    </div><!-- end entry-header -->

    <div class="entry-content clearfix">

    <div class="info span-2 clearfix">
    <p><strong><?php the_author() ?></strong><br />
    <?php the_time('M j, Y'); ?>
    </p>
    <p class="share-this"><?php akst_share_link(); ?></p>

    <p class="post-comment"><a href="<?php the_permalink(); ?>#respond">Comment</a></p>

    </div><!-- end info -->

    <div class="content span-6 last clearfix">

    <?php the_content('Click to continue'); ?>

    <p class="entry-tags"><?php the_tags('<strong>Posted in: </strong>', ', ', ''); ?> </p>

    </div><!-- end content -->

    </div><!-- end entry-content -->

    </div><!-- end entry -->

    <?php endforeach; ?>

    <?php include (TEMPLATEPATH . '/navigation.php'); ?>

    <?php else : ?>

    <h2 class="page_header center">Not Found</h2>
    <div class="entry">
    <p class="center">Sorry, but you are looking for something that isn't here.</p>
    <?php include (TEMPLATEPATH . "/searchform.php"); ?>
    </div>

    <?php endif; ?>

    </div><!-- end content-area-->

    </div><!-- end content-box -->

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    #64910

    In reply to: New bbPress BUGGY!!!

    mdata
    Member

    Let me premise this by stating that I installed an “integrated” version of the upgrade (BTW, the instructions could be a LOT clearer on this process – not everyone is experienced with php).

    I was planning on spending some time on this later, but on this subject (links), my original links were set to “Numeric …/forums/1”. After upgrading, links from my web sites to the bbPress section no longer worked and generated a 404 error. I looked at the links within the bbPress site and they looked fine. For instance, a “sticky” topic I link to from all my web sites is “http://www.masterdata.com/forum/bbpress/topic/62&#8221; (I copied the shortcut with a right click on the link). It looks correct, but it does not work. Not even within the bbPress section and certainly not from the outside coming in.

    So I switched the setting on my “Pretty permalink type” to “None …/forums.php?id=1”. With this setting, everything once again worked. I left it this way, but these are definitely not “pretty” links. The link to the same topic is now “http://www.masterdata.com/forum/bbpress/topic.php?id=62&#8221;. BTW, “Name based …” links do not work either.

    OK, that is the first issue. There are more and I will detail those tomorrow, each one in its own separate topic as suggested above.

    Let me, however, compliment everyone who has been involved in this project and WordPress. Both efforts are truly beyond belief in terms of what you get by simply downloading some code from the internet. ABSOLUTELY EXCELLENT! So good, in fact, you spoil us to the point where we expect everything to be close to perfect at all times. That is a bit irrational and the experience with both programs should be graciously appreciated. Thank you for your work!

    Best

    L. Carhartt

    #64665
    Sam Bauers
    Participant

    @ mykes

    I double checked, the latest stable version of WordPress MU uses the old password hashing and cookie types.

    You can dumb down bbPress to work with that version of WordPress MU by using both of these bbPress plugins.

    https://bbpress.org/plugins/topic/mouldy-old-cookies-for-bbpress/

    https://bbpress.org/plugins/topic/md5-insecurity-for-bbpress/

    #64786
    Sam Bauers
    Participant
    #64907

    In reply to: Theme Editor

    _ck_
    Participant

    Correct me if I am wrong but the “theme editor” in WordPress is simply a remote file editor for templates. Doesn’t do anything special other than let you edit a file directly on your server without having to use FTP (or shell).

    While it seems handy, if I am not mistaken it also requires you to chmod 777 your theme folder which is very dangerous on a shared server.

    I suppose bbPress will get the feature eventually because it’s so very simple. I would guess it could be ported from the WordPress code in probably an hour.

    #64868
    mrhoratio
    Member

    Okay, I think I got it working.

    I was able to fix the redirection issue by modifying the get_user_profile_link() function in the template-functions.php. I added the following line towards the end of the function, right before the last line of code in the function:

    $r = str_replace('forums/profile/' . $user->$column , "profile/" . $user->$column, $r);

    This is the full code:

    function get_user_profile_link( $id = 0, $page = 1 ) {
    $user = bb_get_user( bb_get_user_id( $id ) );
    $rewrite = bb_get_option( 'mod_rewrite' );
    if ( $rewrite ) {
    if ( $rewrite === 'slugs' ) {
    $column = 'user_nicename';
    } else {
    $column = 'ID';
    }
    $r = bb_get_option('uri') . "profile/" . $user->$column . ( 1 < $page ? "/page/$page" : '' );
    } else {
    $r = bb_get_option('uri') . "profile.php?id=$user->ID" . ( 1 < $page ? "&page=$page" : '' );
    }

    $r = str_replace('forums/profile/' . $user->$column , "profile/" . $user->$column, $r);

    return apply_filters( 'get_user_profile_link', $r, $user->ID );
    }

    I noticed that if you did not install bbPress with WordPress cookie integration, then this hack will cause bbPress to always think you are logged out. I think it has something with it not being able to retrieve the cookie because of the path change.

    However, if you have WordPress cookie integration enabled, then everything seems to work. Not exactly sure why. But I think it must be something to with the path that’s being set in the cookie.

    #57728
    Detective
    Member

    If you have a WP profile (like the author archive or some other profile) you can redirect the bbPress profile using this hook:

    //add_action('bb_init', 'profile_redirect');

    function profile_redirect() {
    if (is_bb_profile() && $_GET['tab'] != 'edit' && $_GET['tab'] != 'favorites') {
    $user = bb_get_user($_GET['id']);
    if ($user) wp_redirect("http://www.example.com/member/" . $user->user_nicename);
    }
    }

    I did this using this plugin for WordPress profiles, so even users who don’t have published posts have a profile. It works but you miss the profile edit messages (like “your profile has been updated”).

    #63719
    Detective
    Member

    Hi, i have a plugin that will support this soon :)

    The plugin is named Gaming Codes. It’s for WP, but i have a stripped down version for bbPress. I’ll post it here soon.

    #3360
    bingu
    Member

    I think bbpress should have a theme editor like wordpress.

    #56985
    kmccallum
    Member

    The code he pasted, above, is missing the <?php … ?> tags, so I’m also getting compiler errors.

    #57727
    mrhoratio
    Member

    Perhaps this idea of a single profile page for both WordPress and bbPress will be part of the recently accounted backPress.

    It would great to have a profile link such as:

    http://www.example.com/member/username

    that works for both WordPress and bbPress. Instead of separate ones at:

    http://www.example.com/forums/profile/username or

    `http://www.example.com/author/username

    #3347
    bryan868
    Member

    Is there a version 1.0 development plan anywhere? I’m curious what new features we’ll be seeing in bbPress.

    Additionally, are there plans to update the web site design (like wordpress.org) and add a Codex?

    That “future of bbpress” announcement in January was very exciting, but it doesn’t seem like much as happen since then. Other than the WP 2.5 integration of course, which is great don’t get me wrong.

    #64587
    bryan868
    Member

    I’m having a problem with a fresh install of 0.9.0.2. After last step of installation…

    Referrer is OK, beginning installation…
    >>> Setting up custom user table constants

    Step 1 - Creating database tables
    >>> Create table bb_forums
    >>> Create table bb_posts
    >>> Create table bb_topics
    >>> Create table bb_topicmeta
    >>> Create table bb_tags
    >>> Create table bb_tagged
    >>> Added index wp_users UNIQUE KEY user_nicename (user_nicename)
    >>>
    >>>>>> Duplicate key name 'user_nicename'

    Step 2 - WordPress integration (optional)
    >>> WordPress address (URL): MYURL
    >>> Blog address (URL): MYURL
    >>> WordPress cookie secret key set.
    >>> WordPress database secret set.
    >>> User database table prefix: wp_

    Step 3 - Site settings
    >>> Site name: MYSITENAME
    >>> Site address (URL): MYURL
    >>> From email address: MYEMAIL
    >>> Key master role assigned to existing user
    >>>>>> Username: admin
    >>>>>> Email address: MYEMAIL
    >>>>>> Password: Your existing password
    >>> Description: Just another bbPress community
    >>> Forum could not be created!
    >>> Key master email sent

    There were some errors encountered during installation!

    I should note that I assigned the key master as my admin user in WordPress. When I go to my forum I receive the following error….

    Parse error: syntax error, unexpected T_STRING in /MYPATH/bb-config.php on line 22

    #3356
    hijen
    Member

    I just installed bbpress on my site with a username “jen”. After it was installed, I went into the settings and integrated it with my wordpress user database. However, now I cannot log in — “jen” no longer exists and my “admin” wordpress user doesn’t exist either. What did I do wrong and how can I log back in?

    Thanks.

    #64858
    chilledfresh
    Member

    I was having the exact same problem. This post has been very helpful in resolving the problem: https://bbpress.org/forums/topic/user-intregation-between-wordpress-038-bbpress-not-work?replies=7#post-10428

    #64602
    bryan868
    Member

    I’m having this same problem. Fresh installation using version 0.9.0.2.

    Referrer is OK, beginning installation…
    >>> Setting up custom user table constants

    Step 1 - Creating database tables
    >>> Create table bb_forums
    >>> Create table bb_posts
    >>> Create table bb_topics
    >>> Create table bb_topicmeta
    >>> Create table bb_tags
    >>> Create table bb_tagged
    >>> Added index wp_users UNIQUE KEY user_nicename (user_nicename)
    >>>
    >>>>>> Duplicate key name 'user_nicename'

    Step 2 - WordPress integration (optional)
    >>> WordPress address (URL): MYURL
    >>> Blog address (URL): MYURL
    >>> WordPress cookie secret key set.
    >>> WordPress database secret set.
    >>> User database table prefix: wp_

    Step 3 - Site settings
    >>> Site name: MYSITENAME
    >>> Site address (URL): MYURL
    >>> From email address: MYEMAIL
    >>> Key master role assigned to existing user
    >>>>>> Username: admin
    >>>>>> Email address: MYEMAIL
    >>>>>> Password: Your existing password
    >>> Description: Just another bbPress community
    >>> Forum could not be created!
    >>> Key master email sent

    There were some errors encountered during installation!

    I should note that I assigned the key master as my admin user in WordPress. When I go to my forum I receive the following error….

    Parse error: syntax error, unexpected T_STRING in /MYPATH/bb-config.php on line 22

    #64616
    lmsalgado
    Member

    Just found out:

    My problem was even simpler:

    I instaled MD5 Insecurity and Mouldy Old Cookies on folder bb-plugins when I should had install it on folder my-plugins.

    I change them to the new folder, delete again the line

    $bb->cookiepath = ‘./wordpress’;

    on bb-config.php

    And it is still working.

Viewing 25 results - 23,676 through 23,700 (of 26,590 total)
Skip to toolbar