Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\'

Viewing 25 results - 16,651 through 16,675 (of 26,846 total)
  • Author
    Search Results
  • _ck_
    Participant

    Okay I had never written the special routine for “topics to which each user has replied” so it never even appeared in the last 0.9 although Sam incorporated some of my other improved queries.

    But I sat down and wrote it just for you now :-)

    http://bbshowcase.org/plugins/fast-recount.zip

    Basically the old 0.9 bbPress api loops through each and every user and does a few queries for each one, completely overloading any server and timing out and never finishing.

    ie. 6 queries per user x 1000 users = 6000 queries !!!!

    My version accomplishes the exact same results with only a handful of queries right inside the mysql engine regardless of how many users, so it should always finish in under 30 seconds (unless perhaps it’s millions of users)

    Once you install and activate, under your recount menu you will see (among others)

    FAST RECOUNT topics to which each user has replied

    So check that box and leave the old one unchecked.

    Until I have some time to fix the order in which the boxes appear, you should probably do the fast recount AFTER the other regular counts are done.

    Oh and last but certainly not least, I highly recommend backing up your mysql database for wordpress/bbpress before using this plugin, because it’s experimental and does actually delete old data before creating the new data. Something could go wrong (in theory you could run it a second time to fix the problem but always best to be safe).

    ps. make sure you update bbpress to 0.9.0.6 too

    _ck_
    Participant

    Okay I had never written the special routine for “topics to which each user has replied” so it never even appeared in the last 0.9 although Sam incorporated some of my other improved queries.

    But I sat down and wrote it just for you now :-)

    http://bbshowcase.org/plugins/fast-recount.zip

    Basically the old 0.9 bbPress api loops through each and every user and does a few queries for each one, completely overloading any server and timing out and never finishing.

    ie. 6 queries per user x 1000 users = 6000 queries !!!!

    My version accomplishes the exact same results with only a handful of queries right inside the mysql engine regardless of how many users, so it should always finish in under 30 seconds (unless perhaps it’s millions of users)

    Once you install and activate, under your recount menu you will see (among others)

    FAST RECOUNT topics to which each user has replied

    So check that box and leave the old one unchecked.

    Until I have some time to fix the order in which the boxes appear, you should probably do the fast recount AFTER the other regular counts are done.

    Oh and last but certainly not least, I highly recommend backing up your mysql database for wordpress/bbpress before using this plugin, because it’s experimental and does actually delete old data before creating the new data. Something could go wrong (in theory you could run it a second time to fix the problem but always best to be safe).

    ps. make sure you update bbpress to 0.9.0.6 too

    #37352

    Topic: include bb-load.php

    in forum Themes
    thebreiflabb
    Member

    In the header on my wordpress theme I do

    <?php include_once(ABSPATH."forum/bb-load.php"); ?>

    and it works on the front-page without any errors and I can call the bb functions etc. But on the other wordpress-pages I have it gives an error. And stops all html output where I include the file, the error is:

    Fatal error: Call to a member function suppress_errors() on a non-object in /fakepath/public_html/forum/bb-includes/functions.bb-core.php on line 77

    Anything I can do to fix this?

    #99233
    naviathan
    Member

    I’m curious about this as well. I’d like to theme my bbpress the same as my wordpress, but I’m not entirely sure how to do this. Is there any way to at least get the color schemes over?

    #104333
    naviathan
    Member

    I’m curious about this as well. I’d like to theme my bbpress the same as my wordpress, but I’m not entirely sure how to do this. Is there any way to at least get the color schemes over?

    #99232

    Integrating bbPress & WordPress is a lot easier than before.

    #104332

    Integrating bbPress & WordPress is a lot easier than before.

    #99169
    shawn2
    Member

    I just noticed that If I am logged into wordpress and go to the forum, where I am not logged in, and try to login I am logged out of wordpress.

    If I am not logged into wordpress I still receive this error.

    #104269
    shawn2
    Member

    I just noticed that If I am logged into wordpress and go to the forum, where I am not logged in, and try to login I am logged out of wordpress.

    If I am not logged into wordpress I still receive this error.

    #98997
    jaapmarcus
    Member

    Thats why it is also available on wordpress site

    https://wordpress.org/extend/plugins/bbpress-last-topics/

    #104097
    jaapmarcus
    Member

    Thats why it is also available on wordpress site

    https://wordpress.org/extend/plugins/bbpress-last-topics/

    #37371
    dhcrusoe
    Member

    Greetings all,

    Ok, so conceptually, bbPress seems great. However, I’ve used an older version, and know how tentative it can be.

    As I can’t find any readily-accessible information about this, I’m asking what might be one of the most frequent questions around here.

    Can someone please point out documentation that explains how to integrate WordPress with bbPress? I’m looking to integrate the theme and navigation ONLY – nothing else (since our WP site doesn’t require logins, etc).

    Thanks for any info,

    –Dave

    #98991
    thebreiflabb
    Member

    If your wordpress and bbpress share the same database you can simply edit sidebar.php

    On the top of the file add:

    <?php require_once(ABSPATH."/forum/bb-load.php"); ?>

    This will give you access to the bbpress functions. (Edit to the path of your bbpress installation)

    Then where you are going to output your latest posts add this:

    <?php
    global $wpdb;
    $query = "SELECT * FROM bbp_topics WHERE topic_status='0' ORDER BY topic_time DESC LIMIT 6";
    $topics = $wpdb->get_results($query);
    $counter = 0;
    ?>

    This will find the latest posts, I do it this way so it won’t show the same topic several times if many posts have been made in the same topic. Also edit bbp_ to your bbpress db prefix.

    Finally to output simply add something similar to this:

    <div id="latest-posts" class="border">
    <h2>Latest forum posts</h2>
    <?php foreach($topics as $topic) : ?>
    <div class="<?php echo $counter % 2 ? "gray" : "white"; ?>"><a href="<?php topic_last_post_link($topic->topic_id); ?>"><?php topic_title($post->topic_id); ?></a></div>
    <?php $counter++; ?>
    <?php endforeach; ?>
    </div>

    Edit to your preference on html and css.

    #104091
    thebreiflabb
    Member

    If your wordpress and bbpress share the same database you can simply edit sidebar.php

    On the top of the file add:

    <?php require_once(ABSPATH."/forum/bb-load.php"); ?>

    This will give you access to the bbpress functions. (Edit to the path of your bbpress installation)

    Then where you are going to output your latest posts add this:

    <?php
    global $wpdb;
    $query = "SELECT * FROM bbp_topics WHERE topic_status='0' ORDER BY topic_time DESC LIMIT 6";
    $topics = $wpdb->get_results($query);
    $counter = 0;
    ?>

    This will find the latest posts, I do it this way so it won’t show the same topic several times if many posts have been made in the same topic. Also edit bbp_ to your bbpress db prefix.

    Finally to output simply add something similar to this:

    <div id="latest-posts" class="border">
    <h2>Latest forum posts</h2>
    <?php foreach($topics as $topic) : ?>
    <div class="<?php echo $counter % 2 ? "gray" : "white"; ?>"><a href="<?php topic_last_post_link($topic->topic_id); ?>"><?php topic_title($post->topic_id); ?></a></div>
    <?php $counter++; ?>
    <?php endforeach; ?>
    </div>

    Edit to your preference on html and css.

    #99179

    In reply to: WPMimic V.1

    citizenkeith
    Participant

    In fact, bbPress is becoming a WordPress plugin. There has been a LOT of development in the last 4 months. More info here:

    https://bbpress.org/forums/topic/bbpress-plugin-updates

    #104279

    In reply to: WPMimic V.1

    citizenkeith
    Participant

    In fact, bbPress is becoming a WordPress plugin. There has been a LOT of development in the last 4 months. More info here:

    https://bbpress.org/forums/topic/bbpress-plugin-updates

    #37368
    razy69
    Member

    Hi,

    I add a bbpress forum to my wordpress site, i share account and other, but i want to share wordpress avatar.

    I use this plugin in wordpress “Profile Pic” v.0.9.2

    How can i share it?

    Thanks

    #37367
    jwindhall
    Member

    Seems more than likely that this has been covered over and over, though I can not find an answer.

    I need to install both Buddy press and a full installation of bbpress (not just the push and play version via the WordPress admin panel.) Why? I need more then one catch forum, or subform… Or whatever you’d like to call it. The one big forum doesn’t work for me.

    I’ve been able to get them installed just fine, I just can’t get them to honro each other. the user comes to the home page and logs into buddypress. The bbpress install does not honor this account. How do do this?

    #94905
    Chuck Mac
    Member

    I migrated my WordPress install from my local PC to my development server and am having some issues with the BBPress plugin now. Everything that was there shows up fine… however now I cannot add new topics.

    Adding a new forum works.

    However now when I try to add a new topic to the forum from the frontpage it redirects me to the homepage when I hit submit and I never see it in the database.

    If I do it from the dashboard, it adds the topic in the admin and I can see it there but it doesn’t show up on the topic list under the forum on the frontpage. I can view it directly if I click the view link on it from the dashboard.

    If I look in the db the one that is working has the GUID set with a permalink structure (/forums/topic/topicname) where the one I added after the move doesn’t (?post_type=bbp_forum&p=1161). I have permalinks enabled on the site (and they are working everywhere else)… I’ve tried turning them off and back on as well.

    Hopefully didn’t ramble on too much there, going to try to dig into it some more but not sure if you guys had any ideas.

    SCRichard
    Member

    I have been using WordPress for a while. I was introduced to BB Press but am having a time getting it set up. What in the world is The complete URL of the front page of your bbPress forums? Where do I get itfrom?

    #97807
    Chris Cox
    Member

    I’ve tried deep integration, but I’m running into some problems.

    Loading the WordPress header and footer instead of the bbPress ones work (I want to use my WordPress custom menu on the forum pages as well) but add_custom_background(); does not work on bbPress pages.

    #102907
    Chris Cox
    Member

    I’ve tried deep integration, but I’m running into some problems.

    Loading the WordPress header and footer instead of the bbPress ones work (I want to use my WordPress custom menu on the forum pages as well) but add_custom_background(); does not work on bbPress pages.

    #98989
    jaapmarcus
    Member

    Just commited a new version to the SVN of wordpress plugin.

    Change log:

    + Added Support to show date or freshness.

    + Added Possible to change template

    + Added Possible to change widget title instead using translate function

    – Fixed a small bug in topics fetched from database when fetching with the WP database connection

    – Fixed bug that will show only non deleted topics.

    #104089
    jaapmarcus
    Member

    Just commited a new version to the SVN of wordpress plugin.

    Change log:

    + Added Support to show date or freshness.

    + Added Possible to change template

    + Added Possible to change widget title instead using translate function

    – Fixed a small bug in topics fetched from database when fetching with the WP database connection

    – Fixed bug that will show only non deleted topics.

    #98846
    Raam Dev
    Member

    I had the exact same problem and I tired everything that was suggested, including triple-checking that all my keys matched, the cookie path was set, and the bbPress Integration plugin was installed in WordPress. I still couldn’t get integration working.

    Here’s what I did to fix it: I deleted bbPress, installed a new copy, and during installation entered the same database information as I used for WordPress (same database, same username/password, all of which are available in wp-config.php). I also filled in the various salts and keys as required.

    That allowed full user integration on both a database and cookie level and now everything works perfectly. Single sign-on, one-time registration, etc.

    Hope this helps someone!

Viewing 25 results - 16,651 through 16,675 (of 26,846 total)
Skip to toolbar