Search Results for 'bbpress'
-
AuthorSearch Results
-
December 17, 2008 at 9:47 am #70139
In reply to: bbPress 1.0-alpha-4 released
lorenzocoffee
Memberhi chrishajer
I do use the ltest stable WP -2.7- in a sandbox modified theme and the 1.0.4 (the one from the .tar)of BBpress
thanks.
December 17, 2008 at 9:45 am #70138In reply to: bbPress 1.0-alpha-4 released
Sam Bauers
ParticipantThere was a problem with the 1.0-alpha-4 version of the bbPress integration plugin. Please try the slightly newer plugin version 1.0-alpha-4.1
December 17, 2008 at 8:50 am #70071In reply to: PLEASE Create 2 Versions of bbpress!
John James Jacoby
KeymasterFirstly, while there’s two ways to skin a cat, david’s method kills the kitty in the process. My advice is not to do it that way. If you need to get the absolute path of a directory I made a quick file to do it…
Put this code in a php file, I named mine “abs.php”
<?php
$p = getcwd();
echo $p;
?>Then upload that file to the directory you want to find the path to, and visit it in a web browser. It will echo the absolute path for you. Copy the output. Delete the file. Done!
Duplicating the themes is really the best way to do this, and I promise that once you’ve included WordPress into bbPress properly, it’s a really straightforward and rewarding process.
Firstly, download Notepad++. It’s free, and it rules.
Firstly.5, make copies of your WordPress header.php/footer.php files, and save them someplace safe. We will be modifying these files and don’t want to ruin the actual working WordPress ones.
Secondly, open the header.php/footer.php files for both the stock bbPress theme, and the copied ones I just mentioned. In Notepad++ you should now have 4 files open.
We’re basically working from the outside in.
Thirdly, take all of the relevant bbPress PHP code from it’s header.php/footer.php files, and start copy and pasting them to the equivalent places in the WP copy header.php/footer.php files. Like in mine, I actually have:
<?php
bb_feed_head();
wp_get_archives('type=monthly&format=link');
wp_head();
bb_head();
?>Which loads all of the WP and BBP head related functions inside my BBP forums. Because I want links to my feeds and what-not…
Fourthly, once you’re done with this, then you start poking around the other BBP theme files, and modify all of those files to work within the same construct as your WP theme does, with the same DIV classes and names and what-not.
Because we’ve included the WordPress functions inside bbPress, and because we’re using the same original WP theme header.php file, all of the same style-sheets and JS from that theme are already coded and loaded, even though you’re looking at bbPress. The rest is just tweaking all of the files to look how you want them to.
This is the process I used at http://www.delsolownersclub.com, and I think it’s worked really super well.
December 17, 2008 at 8:35 am #70137In reply to: bbPress 1.0-alpha-4 released
John James Jacoby
KeymasterIf you wanted to, it is possible to write a “clear all cookies” plug-in/function that would just be a link that would delete the cookies for a user entirely. I can verify that as long as you’re using WP2.7 and BBP1.0a4, that integration works and works really well. I’ve fully tested it on two different platforms now and both times it’s worked without a hitch.
December 17, 2008 at 6:28 am #70136In reply to: bbPress 1.0-alpha-4 released
gogoplata
MemberSam – If you could explain setting the cookie names/COOKIEHASH for WPMU in more detail that’d be greatly appreciated. I’m working on integrating with WPMU and BuddyPress and can’t get cookies to sync so any details you can offer would be greatly appreciated.
December 17, 2008 at 5:23 am #70135In reply to: bbPress 1.0-alpha-4 released
lstelie
MemberHello,
I’m sorry to screw the happy mood but my experience is not good at all.
I’m a very happy WP (nearly from the very first 0.x release) and bbpress user.
I use the last versions of both WP and bbpress (I use svn for this)
Until now (WP-RCx) and bbpress 1.0 alpha <4 things were far from perfect.
When I was loged both on the weblog and the forum I couldn’t access anymore bbpress admin part.
But from a user perspective it worked (they were logged in the blog and in the forum)
Since bbpress 1.0 alpha 4 nothing works any more. When I log to one… I’m logged out of the other (as an admin) and some of my users can’t any more access their loging in the forum (logging in WP is no problem).
I suspect it could be solved by deleting cookies but I can’t ask my user to do this (most of them would even don’t know what I’m talking about).
I ended deactivating WP integration plug in and commenting COOKIEPATH in wp config, hopping this integration problem will be solved one for once in 1.0 final.
Luc
December 17, 2008 at 5:06 am #70134In reply to: bbPress 1.0-alpha-4 released
Sam Bauers
ParticipantThere are a couple more things you have to do to integrate WPMU. It’s a different thing to the standard WordPress in a few ways, so requires some extra setup.
You need to set the SALTs as well as the KEYs in your wp-config.php for a start. You also need to set the cookie names individually or just set the COOKIEHASH as well.
One day I’ll document it all, but right now we are just trying to sort out standard installs first.
December 17, 2008 at 5:03 am #70133In reply to: bbPress 1.0-alpha-4 released
Sam Bauers
ParticipantTopic renaming fixed in trunk.
We also now have a nightly builds system courtesy of Barry at Automattic. If there is a change during the day, then a new nightly will be created and made available here:
December 17, 2008 at 4:53 am #69946In reply to: bbpress is slow like godaddy says?
vannak
Membermy site is getting slower and having more error after raising this topic. ok i need to stop posting now and do a backup fast in case i’ll lose everything
December 17, 2008 at 4:51 am #70132In reply to: bbPress 1.0-alpha-4 released
Sam Bauers
ParticipantYou could use the bbPress Live plugin which uses the new XML-RPC functions to grab that data and put it in a widget. Probably the cleanest way to do it.
December 17, 2008 at 4:44 am #70070In reply to: PLEASE Create 2 Versions of bbpress!
lolos
MemberSam,
When I tried the “deep integration,” I kept getting several errors that I would rather keep them apart for now until the operation of integrating them together is more seamless and free of bugs.
As you can tell, I am a total newbie and there are ton of information to grasp! Can you point me to the right direction on how to make bbPress theme look like wordpress theme?
Here is the one I am using:
Thanks again!
December 17, 2008 at 4:36 am #70069In reply to: PLEASE Create 2 Versions of bbpress!
lolos
MemberFirst of all, thank you so much, especially David and Sam. I really appreciate your help and input.
David, I followed your steps and I think your explanation is very straight forward and detailed. However, it gives me this error:
“Warning: main(/wp-load.php) [function.main]: failed to open stream: No such file or directory in /…/…/…/…/…/www/root folder/forum/bb-config.php on line 4.
Warning: main(/wp-blog-header.php) [function.main]: failed to open stream: No such file or directory in /…/…/…/…/…/www/root folder/forum/bb-config.php on line 7.”
It gave me the error above no matter how I write down the “full path:”
if ( !defined( 'ABSPATH' ) ) {
include_once( '/Full/Path/To/wp-load.php' );
}
require_once('/Full/Path/To/wp-blog-header.php');I translated the /Full/Path/To/wp-load.php –> /wp-load.php and /www/root folder/wp-load.php
December 17, 2008 at 4:14 am #70259In reply to: Integration with WordPress 2.7
Sam Bauers
ParticipantThe only forum solution that will actually reside in your WordPress installation is Simple:Press.
bbPress (the 1.0-alpha at least) uses different methods for sharing data with WordPress.
December 17, 2008 at 4:12 am #70068In reply to: PLEASE Create 2 Versions of bbpress!
Sam Bauers
ParticipantOK, so davidbaldwin opens a can of worms with his advice here.
I don’t recommend doing it this way, my advice is to create two separate themes for WordPress and bbPress that look alike and if you enable “deep” integration, then carefully pick the functions you want to use from WordPress and insert them into the bbPress template.
Throwing in the whole WordPress header is potentially problematic. It’s possible to do it cleanly with a lot of work, but most people won’t have the knowledge or the time to do that.
December 17, 2008 at 4:06 am #69945In reply to: bbpress is slow like godaddy says?
Sam Bauers
ParticipantJust a note, the load options trick only applies to 0.9 it is default behaviour in 1.0
December 17, 2008 at 3:44 am #70271In reply to: latest discussions: only new since last login
Trent Adams
MemberI am not sure if this version works on latest release, but give it a try.
https://bbpress.org/plugins/topic/limit-latest-discussions/
Trent
December 17, 2008 at 3:34 am #4452Topic: latest discussions: only new since last login
in forum Requests & Feedbackkashbah
MemberI have been looking everywhere, but couldn’t find anything related.
BBpress has a standart number of 30 “Latest Discussions” topics shown in the front page. There’s also a plugin that allow admins to set this number to whatever they wish.
But I would rather have a dynamic list only with new topics or topics with new replies since a user’s last login, listed in “latest discussions”. Currently I have the “new topics” plugin, but I feel its not quite what users want.
Any ideas how this could be done or where to start coding it?
December 17, 2008 at 3:11 am #4449Topic: Is There A BBPress Guru For Hire?
in forum Installationonewake
MemberI have a site that I would like bbpress integrated into the current page layout, and I’m interested in
paying someone well for their time to do it. If you’re interested and have a really good working knowledge
of the program, would you email me: onewake @ gmail.com
Thanks so much!
December 17, 2008 at 3:11 am #70067In reply to: PLEASE Create 2 Versions of bbpress!
davidbaldwin
Memberlolos,
first of all, if you are doing this with WordPress 2.6 or newer, you have to run 1.0-alpha. If you are running an older version of wordpress you can use the stable version. I attempted to roll back to an older version of wordpress, but i was unsuccessful, so this method is for 1.0-alpha users.
I found the intigration information at:
https://bbpress.org/documentation/integration-with-wordpress/
https://bbpress.org/forums/topic/first-pass-at-a-fix-for-deep-integration-in-trunk#post-21572
you need to add the following to the bb-config.php file, after <?php
if ( !defined( 'ABSPATH' ) ) {
include_once( '/Full/Path/To/wp-load.php' );
}
require_once('/Full/Path/To/wp-blog-header.php');the full paths have to be absolute paths on the servers, not the domain paths.
this will load wordpress when bbpress is loaded.
and then you need to add this line to the very top of every page that has this line: <?php bb_get_header(); ?>
<?php get_header(); ?>please note that the line above has to be line #1 in every page that already calls the bb header, if it does not call the bb header, do not add this, the final result should look like this:
<?php get_header(); ?>
<?php bb_get_header(); ?>this will load the wordpress header when the bbpress header is called. you can edit the bbpress header to remove all the unnecessary code. (like the title, etc.)
and then you need to add this line to the very bottom of every page that has this line: <?php bb_get_footer(); ?>
<?php get_footer(); ?>please note that the line above has to be the last line in every page that already calls the bb footer, if it does not call the bb footer, do not add this, the final result should look like this:
<?php bb_get_footer(); ?>
<?php get_footer(); ?>this will load the wordpress footer when the bbpress footer is called. you can edit the bbpress footer to remove all the unnecessary code. (like the title, etc.)
I hope this helps. if you have any questions, please feel free to ask!
david
December 17, 2008 at 2:12 am #70131In reply to: bbPress 1.0-alpha-4 released
Ipstenu (Mika Epstein)
Moderatortomwi – Two easy options.
1) Use the build in RSS sidebar widget in wordpress.
2) Add the PHP Widget plugin and then toss in something like this:
<?php require_once (ABSPATH . WPINC . '/rss-functions.php');
$today = current_time('mysql', 1);
// insert the feed URL here
$rss = @fetch_rss('http://domain.net/forums/rss');
if ( isset($rss->items) && 0 != count($rss->items) ) {
echo '<ul>';
// set the number of items from the feed to display (5)
$rss->items = array_slice($rss->items, 0, 5);
foreach ($rss->items as $item ) {
echo '<li><a href="';
echo wp_filter_kses($item['link']);
echo '">';
echo wp_specialchars($item['title']);
echo '</a></li>';
}
echo '</ul>';
}; ?>December 17, 2008 at 1:49 am #70130In reply to: bbPress 1.0-alpha-4 released
tomwi
Memberthis is great! i had downgraded to 2.5.1 for integration.
i am using bb latest discussions to show latest bbpress posts in wordpress which I could not get to work with alpha 2. i want to move back to 2.7 and alpha 4…… does anyone know of a plugin that works in bbpress alpha wp 2.7 to pull latest bbpress posts to wordpress/wordpress sidebar?
December 17, 2008 at 1:11 am #69944In reply to: bbpress is slow like godaddy says?
Trent Adams
MemberNice tip _ck_ that I should use myself.
Trent
December 17, 2008 at 1:10 am #69943In reply to: bbpress is slow like godaddy says?
vannak
Memberhi _ck_ i did add this ‘$bb->load_options = true;’ into bb-config.php but i wonder that there is no functions.php in my template folder. it is strange isn’t it? anyway, thank for your help so far. maybe hostmonster is a better choice.
December 17, 2008 at 12:24 am #70066In reply to: PLEASE Create 2 Versions of bbpress!
lolos
Memberbut then wont they be two separate identical themes that is not connected in anyway? I want to be able to use my wordpress theme as the parent theme, in the same time I can access the bbpress forum within wordpress parent frame.
If I duplicate the theme, how will I make wordpress links work in bbpress lookalike theme?
December 17, 2008 at 12:22 am #70128In reply to: bbPress 1.0-alpha-4 released
Ipstenu (Mika Epstein)
ModeratorI concur – Can’t rename topics.
#1009 opened, I updated it.
-
AuthorSearch Results