Search Results for 'bbpress'
-
Search Results
-
Topic: Persistent Login Session
I’m attempting to upgrade a website I run for a group to both WordPress and BBPress. I have integrated the two and the user accounts are in sync. Everything is working fine, except…
When a user logs in from the WordPress index page, it doesn’t log them in for BBPress. This is a problem, because I want to have administration links for accounts on the homepage of my website. I want a user to login and be able to click on ‘Settings’ and go to their BBPress settings page. Also, I want them to be able to click on “Messages” and go to their BBPress messages.
So, my question is – when a user logs in to the WordPress homepage, how can I make sure they are logged into the BBPress forums as well, without requiring them to log in a second time when they go to the forums?
Thanks for your help!
Hi,
I’ve successfully integrated WordPress 2.5.1 with bbPress 0.9.2, but I’ve encountered some issues with registering (display_name, multiple sign-ups with same email, etc.).
What I’m trying to do now is redirect all registration to the WordPress register page. My main questions are:
(1) how/where do I change the bbPress code to point to the WordPress register page.
(2) is there a way for the system to know where a user came from (forums or blog) and redirect the user appropriately after sign-up?
Thanks.
Hello,
I’ve recently set up a BBPress forum for non-profit Bike Pittsburgh and their host, Pair Networks, shut down their database because of the load BBPress was putting on the server. Pair has since reinstated the db, but I was wondering if anyone could offer any insight as to how I might trim down the size of the queries that BBPress is putting through. A little background:
- I used this method to convert a WordPress XDForum into BBPress. I know the author of that post mentions that the method he uses might not be the most efficient, however at this point (after the conversion), I wouldn’t think that BBPress is using any of this info any more, correct?
- We’re running BBPress v. 0.9.0.2
- We’re using the following plugins: Akismet, Use Display Name, BBPress Private Messaging, Post Count Plus, Forum Last Poster, and Images Allowed
The information from the host was this:
With that said, we wanted to provide a follow up in terms of the nature of the problem itself. The problem is that the database is running some very inefficient queries, trying to sort through 2.5 million rows and are returning very few to no results. These queries take a long time to run and are called “slow queries”. As you gain in traffic, the more of these slow queries that are run, the higher the load on the server, and therefore the more affect you have on other customers.
I’ve included some examples of these queries below for your review:
# Time: 080930 20:55:01
# User@Host: bikepgh[bikepgh] @ [209.68.4.180]
# Query_time: 54 Lock_time: 0 Rows_sent: 10 Rows_examined: 2469001
SELECT forum_id, topic_id FROM bb_topics WHERE topic_last_post_id IN
(SELECT MAX
(topic_last_post_id) FROM bb_topics WHERE topic_status=0 GROUP BY
forum_id);
# Time: 080930 20:56:05
# User@Host: bikepgh[bikepgh] @ [209.68.4.180]
# Query_time: 71 Lock_time: 0 Rows_sent: 10 Rows_examined: 2469001
SELECT forum_id, topic_id FROM bb_topics WHERE topic_last_post_id IN
(SELECT MAX
(topic_last_post_id) FROM bb_topics WHERE topic_status=0 GROUP BY
forum_id);
# Time: 080930 20:56:43
# User@Host: bikepgh[bikepgh] @ [209.68.4.180]
# Query_time: 67 Lock_time: 0 Rows_sent: 10 Rows_examined: 2469001
SELECT forum_id, topic_id FROM bb_topics WHERE topic_last_post_id IN
(SELECT MAX
(topic_last_post_id) FROM bb_topics WHERE topic_status=0 GROUP BY
forum_id);
# Time: 080930 20:57:38
# User@Host: bikepgh[bikepgh] @ [209.68.4.180]
# Query_time: 52 Lock_time: 0 Rows_sent: 10 Rows_examined: 2469001
SELECT forum_id, topic_id FROM bb_topics WHERE topic_last_post_id IN
(SELECT MAX
(topic_last_post_id) FROM bb_topics WHERE topic_status=0 GROUP BY
forum_id);
# Time: 080930 21:20:46
# User@Host: bikepgh[bikepgh] @ [209.68.4.180]
# Query_time: 263 Lock_time: 0 Rows_sent: 10 Rows_examined: 2469001
SELECT forum_id, topic_id FROM bb_topics WHERE topic_last_post_id IN
(SELECT MAX
(topic_last_post_id) FROM bb_topics WHERE topic_status=0 GROUP BY
forum_id);
# Time: 080930 21:22:35
# User@Host: bikepgh[bikepgh] @ [209.68.4.180]
# Query_time: 281 Lock_time: 0 Rows_sent: 0 Rows_examined: 1952752
SELECT forum_id, topic_id FROM bb_topics WHERE topic_last_post_id IN
(SELECT MAX
(topic_last_post_id) FROM bb_topics WHERE topic_status=0 GROUP BY
forum_id);
As you can see, these queries are taking almost 300 seconds to complete
(query_time). This is an extremely high time, as a query on a shared server
should take under 10 seconds to complete.
I hope this helps provide some needed details for you. If we can be of any
further assistance, please do not hesitate to ask.
Any help as to what I might do in PHPMyAdmin or otherwise to help lower the load on the db would be VERY MUCH appreciated!
Topic: bb_forums loop twice
I’m editing current Theme for the bbPress Alpha 1.0 Release… I have created a Side bar that appears on almost all the pages with forums listed. Just like WP category. (site: http://howtoreachmygoals.com/ask/). Now, I’m facing some problem with Looping through the Forums (bb_forums()).
My side bar is executed before main contents. so when main contents require to loop the forums again, like Category listing page / Forum on posting (selecting dropdown box). its returning NULL / empty.
I wanted to find-out is there any way that i can Reset the bb_forums( ) loop and make it available again for next time?
many thanks!
I installed bbPress 0.9.0.2 and tried to integrate with WP 2.5 site. The two are at http://www.my-site/forum and http://www.mysite/blog under the root directory. I have two issues:
First is with permalinks set to the default (/forum.php?id=1), no problem, I can view profiles and posts within bbPress. However if I use either of the other settings for a permalink, when I click on any profile or post topic within admin control panel or site view, I only get a blank page, no error. Example: the post should be at “forum/post-name”, which is exactly where the link takes me but a blank page exists. However I can view the user profiles registered at bbPress within the WP admin area, so I believe the two are at least partially integrated.
The host is GoDaddy and there are no problems with WP permalinks. I have tried the using the following htaccess code with the /forum directory:
# BEGIN bbPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /forum/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /forum/index.php [L]
</IfModule>
Also just having one line:
Options +MultiViews
Also the exact code generated at bb-admin/rewrite-rules.php
Second issue is after login to bbPress, a simple link to the WP admin requests me to login again. Does this take more than a simple link to “…/blog/wp-admin/”? I have checked the cookies and both look identical.
Thanks for any help