I see, I am using it now, but it doesn’t work fully on 1.01 at least.
I find that very odd. As it’s working perfectly well for me. Did you put function filter_front_page_topics($where)
in a plugin and activate it?
Ive seen some forums have special links coming up on a topic when there is some new post that a member didnt read, and the link will take you to the last unread post instead of the last post.
Is this something that can be done in BBpress?
I just installed bbPM and it works perfectly using the latest install of BBPress.
to display login, pass from BBPress in WP.
one solution is to use something like this (directly where you want to see it)
<iframe src=”mylogin.php” style=”width: 600px; height: 60px”
scrolling=”no” marginwidth=”0″ marginheight=”0″ frameborder=”0″ vspace=”0″ hspace=”0″>
</iframe>
login.php :
<?php
require_once(‘/home2/bulbpark/public_html/autograph/test/bbp/bb-load.php’);
if ( !in_array( bb_get_location(), array( ‘login-page’, ‘register-page’ ) ) ) login_form();
?>
Enjoy
Deep Integration is working fine for me. I have it running on several different sites, each with the latest versions. Here is one: http://wpmu.zyrot.com/forums/
You could email me at rohan [at] rohan-kapoor.com and I could help you.
Hi Guys,
I am new to bb and wp. Just installed the latest version of WP and BB. Database and cookie integration works great. Now i have a couple a questions about template/themes integration.
1. i want to use bbpress login system on both WP and BB (i.e. want to display login pass on WP).
here what i’ve tried to do:
a) in wp_config.php added require_once(‘address/bb-load.php’);
b) in the header.php (in themes) added
<div class=”login_bg”>
<?php if ( !in_array( bb_get_location(), array( ‘login-page’, ‘register-page’ ) ) ) login_form(); ?>
</div>
so it did the job, i was happy until i went to wp-admin and found out that it is messed up…
any suggestions?
2. What would you suggest for themes integration (to get the same feel and look)?
Thanks.
Has anyone actually got this working yet?
I’m running bbpress 1.0.2 and the latest WordPress 2.8.2. User and cookie integration is working perfectly, but I’ve been trying to do a “deep integration” so that I can use WordPress’s templates.
Whenever I try to include “wp-blog-header.php” in the config file like in past installations of bbpress, my forum spews a blank white page at me. I *know* that it’s finding the header file, because if I purposely change it to the wrong path, it’ll spew out an error at me.
Just to try it, I’ve also attempted to include wp-load.php, wp-config.php, as well and have ended up with the same blank page every time. At first I suspected it may be a permalinks issue, but even after disabling that the blank page persisted.
I’m putting bbpress inside a custom header, but I’m changing very little about the set up. But my problem is that all of the links in the header and footer are all leading back to the blog homepage, and I have no idea why.
My test site: http://heroicdreams.com/wpmu/bbpress/
I have no idea what’s going on. They are just simple links, but for some reason clicking on them always sends them to the homepage. If i’m in the forums and type the same link in the address bar it takes me there no problem… Can anyone help? have a clue what’s going on??
Rohan, I think orizine wants the BuddyPress forum theme, which isn’t available.
orizine, the current bbPress.org forum theme, bbOrg, which Rohan was talking about, is available through bbShowcase:
http://bbshowcase.org/forums/view/available-themes
Keep in mind that that theme probably isn’t updated with the latest bbPress v1.0 theme changes, but it should be easy to make those changes.
It’s possible I broke something in the new bb_safe_redirect
however I have tested it working and I have not seen any other complaints (and there have been several registrations on my site).
Actually I just noticed you said it doesn’t work with 0.9.0.5 which didn’t have my change.
Have you tried deactivating your plugins temporarily to see if any interfere?
Let’s look at what changed from 0.9.0.4 to 0.9.0.5
https://trac.bbpress.org/changeset?old_path=%2Ftags%2F0.9.0.4&old=1898&new_path=%2Ftags%2F0.9.0.5&new=2131
nice to be able to help. Got any other question (like thread maker profile link) then I know the code for that too.
You should flag this topic as resolved.
How about the “Topics per page” plugin?
https://bbpress.org/plugins/topic/front-page-topics/
It lets you set the number of topics to be returned for many bbPress pages/views.
Using include is fine and fastest. Remember to try to load the sidebar AFTER your content if you care about things like SEO where content should come first. This would imply doing the include in the footer and floating the main content left and the sidebar right (or visa versa).
Nice work on your theme, seamlessly integrated.
anandasama, you are my hero! Thanks…this one works!!!
Friendly bump.
I know it’s summer & times are slow. I cannot use Firefox to view the local copy of my website when I am making changes. If I am using Firefox, I have to make my changes locally, upload them to the host, and then I can test the changes. This is a lot slower than doing everything locally — just from the increased number of steps.
Thanks
Somehow both of your codes doesnt work.
In WordPress you need to Rewind posts for faking multiple loops but it doesn’t exist in BbPress?
@tom thanks for the core hack. I will try it, and then write a custom query for forum 17 with no pagination.
Not sure I’m changing both the cookie keys, but I am making sure they match. BTW…I’m using WPMU. Latest versions of both products.
That is navigation for the front page, not topics.
My topics navigation works fine with permalinks but I also have the same problem with permalinks on the latest discussion (like on endrant.org).
I use Plugin: “Topics Per Page” .. I Added the replace in htaccess with no luck.
Using bbpress 1.0.1
Is there any other plugin or built in function that do the same trick for latest discussions?
Seems bbpress.org works with permalink / latest discussion pagination.
How do their code look like?
I’m beginning to experience an issue where-by when a certain arbitrary number of posts (or pages it seems) is reached, bbpress stops a) going to the latest page/post and brings you to the last full page. When you post a new post, it gets posted, but there is no way view this post unless you manually change the url to /[pagenumber]
if you go to our forum and follow the following link (which is the link from the mainpage to the most recent post) http://www.aethereverywhere.com/discuss/topic/what-are-you-listening-to-right-now/page/8#post-736 you’ll see that it takes you to page 8, and to the bottom of that page – but in fact there are more pages than 8 as if you change the url manually to http://www.aethereverywhere.com/discuss/topic/what-are-you-listening-to-right-now/page/9
you’ll be taken to the actual latest post.
I’m completely lost. I noticed that if i change the number of posts to display per page, it sort of resets the forum and lets you view the last posts, but once it reaches the next arbitrary page number, once again you top being able to view pages and posts after that.
If anyone can please help i would be so grateful i’m afraid this is beyond my area of expertise. PS. i do know for a fact that posts and posters are not getting moderated, though it may be related to askimet somehow.
Have a look here on how to exclude a forum from the front page loop, whilst keeping the post limit intact.
limit forums included in latest discussions
Note the core hack required to keep the paging numbers correct.
Maybe you then need to write another small custom query to bring out just forum 17, as I’m not sure you if you can have two loops. (perhaps the WP multiple loop info would give some insight into this: https://codex.wordpress.org/The_Loop#Multiple_Loops)
Just looking at your code, it looks like you’re ending your “if” statement a little early.
Try this:
//Show latest discussions with all forums except id 17
<?php if ( $topics ) : foreach ( $topics as $topic ) : if( $topic->forum_id != 17 ) : ?>
<!-- your output stuff here -->
<?php endif; endforeach; endif; // $topics ?>
//Show latest discussions but only forum 17
<?php if ( $topics ) : foreach ( $topics as $topic ) : if( $topic->forum_id == 17 ) : ?>
<!-- your output stuff here -->
<?php endif; endforeach; endif; // $topics ?>
Not sure if that’s causing your problems… but try it out and see what happens.
Forgive me if this topic has been brought up before but I searched and couldn’t find anything.
What I would like is to have a section for “latest comments”. I would appreciate any help with this. Thanks in advance.