Search Results for 'bbpress'
-
AuthorSearch Results
-
December 14, 2008 at 1:15 pm #70060
In reply to: BlueHost SimpleScripts install
Sam Bauers
ParticipantDecember 14, 2008 at 1:10 pm #69988In reply to: Plugin: bbPress Force Login for Buddypress
Sam Bauers
Participant$_SERVER['REQUEST_URI']can be dodgy, _ck_’s code cleanup is probably a little safer.December 14, 2008 at 1:01 pm #70011In reply to: bbPress Admin
Sam Bauers
ParticipantI’ve started to think that when I get the time I might move towards the 2.7 lookl, but I’d also like to take the time to consider what bbPress needs rather than just doing a straight copy of the exact UI experience.
What gets done in the admin area of bbPress is mostly listing stuff, so it might be more appropriate to focus on really good search and filtering in the admin area rather than menu hierarchies.
Mockups are welcome if you want to contribute ideas. Just attach them to tickets in trac.
December 14, 2008 at 12:56 pm #67492In reply to: admin re-directs to index and unable to post.
Sam Bauers
ParticipantEven if you have integration set up perfectly, if you login from WordPress you will not get the correct cookies set to be able to access the bbPress admin area.
Also, if you are doing what johnjamesjacoby describes above you will get a similar problem as the bbPress roles will get squashed by WordPress.
There is a fix for both of these problems available, but it is only tested with WordPress 2.7
December 14, 2008 at 12:52 pm #70056In reply to: bbPress 1.0-alpha-3 released
Sam Bauers
ParticipantThe problem with synced logins between WordPress and bbPress is now solved in trunk.
Look out for a new download release in the next couple of days.
December 14, 2008 at 12:42 pm #70028In reply to: First pass at a fix for “deep” integration in trunk
Sam Bauers
ParticipantThe login forms don’t pass around nonce values generally, so it should be of no concern.
What happens as of right now is that the role map you setup in the admin area only gets applied to new registrations either when you save the changes on that role map form or when the new WordPress user who is missing the role in bbPress logins in through bbPress.
On your site as it is right now this never occurs because you force all logins through WordPress. Just now in trunk I have changed that so that just visiting the bbPress site with a valid cookie will set your role in bbPress.
I suspect that all the problems with loging out in your case are going to come down to having a bunch of stuff manually set in your wp-config.php and bb-config.php
Here’s what I think you should do…
- Update bbPress to the latest trunk version
- Remove any hardcoded settings in bb-config.php and wp-config.php WRT integration
- Install this brand spanking new plugin (get the trunk version for the moment) http://svn.wp-plugins.org/bbpress-integration/trunk/
- Recheck your integration settings in bbPress – don’t hardcode anyting into bb-settings.php
- Configure that plugin in WordPress
- Copy the wp-settings.php lines specified in that plugin to wp-config.php (probably only one line for you)
Let us know how that goes.
December 14, 2008 at 12:26 pm #70055In reply to: bbPress 1.0-alpha-3 released
the_Wish
MemberUpgrade from A2 to A3 went smoothly for me.
Login Sync still doesn’t work but it solved a delay issue for me when users hit the post/reply button until the message was actually displayed (almost 15 seconds with A2, now almost instantly).
No probs with Plugin’s either.
Looking good, thank you!
December 14, 2008 at 10:33 am #70010In reply to: bbPress Admin
_ck_
ParticipantYou seriously want them to spend what little development time they have on the admin panel?
WordPress has changed it’s panel for the last three versions.
Wait a version it will change again. And again. And again.
Then there will be plugins to change it back to the old version.
Then they will break all the admin plugins again after enough authors adjust.
Matt can’t make up his mind, first he likes top-down style and says people know how to scroll, then he changes his mind 100% and goes linear with an ugly, too narrow, center column. No attempt at supporting a fall back legacy design.
I kinda like how the bbPress 1.0 panel looks.
I can’t find anything quickly or easily under 2.7
December 14, 2008 at 9:58 am #69987In reply to: Plugin: bbPress Force Login for Buddypress
Trent Adams
MemberI will be around more again now
Been a busy year! Thanks for the cleanup code _ck_ and I will test it tomorrow. Hi back to everyone 
Trent
December 14, 2008 at 9:37 am #69986In reply to: Plugin: bbPress Force Login for Buddypress
_ck_
ParticipantUntested code cleanup (just for fun – untested)
function force_login_init() {
if (!bb_is_user_logged_in() && !preg_match("/(bb-login|bb-reset-password|register|xmlrpc).php/s",$_SERVER['REQUEST_URI'])) {
nocache_headers();
header("HTTP/1.1 302 Moved Temporarily");
header("Status: 302 Moved Temporarily");
bb_safe_redirect( bb_get_uri( 'bb-login.php', null, BB_URI_CONTEXT_HEADER + BB_URI_CONTEXT_BB_USER_FORMS ) );
exit;
}
}Good to see you Trent, don’t be a stranger!
December 14, 2008 at 9:10 am #70059In reply to: BlueHost SimpleScripts install
_ck_
ParticipantThere is a host that has bbPress available as an instant install script? Interesting!
If you are sharing the users with WordPress you do NOT want a new database.
When you install bbPress you need to use the database information from WordPress.
December 14, 2008 at 5:52 am #70025In reply to: First pass at a fix for “deep” integration in trunk
John James Jacoby
KeymasterThanks for the response and it clarifies all of my questions.
Regarding nonces, the catch twenty-two with them would be if logging in and logging out of either/or BBP or WP don’t both affect both, or if adequate traps aren’t placed to disallow one or the other.
Example is visible at my live test site http://www.delsolownersclub.com. If you’d like to try this, register yourself and use the invite code “bbpress”. (Registering makes you a WP contributor, and I need to assign your membership role in the BBP admin manually as of right now.)
When you’re in the forums, the logout link won’t work, because the login through WP generates a nonce that BBP doesn’t know and can’t find. Because the nonces are by design different, if I login through WP and try to logout through BBP, WP will pitch a fit without the correct nonce. Make sense or am I off track here?
December 14, 2008 at 4:00 am #70024In reply to: First pass at a fix for “deep” integration in trunk
Sam Bauers
ParticipantOK, this is fixed in trunk now. Just a stupid error on my part in a new function.
I’ll see if it’s possible to re-release the 1.0-alpha-3 or maybe just bump up to 1.0-alpha-4.
Thanks for your investigations. “Deep” integration is just there to allow you to use WP functions inside bbPress, you still need to setup cookie and user database integration separately.
There is no way (that I know of) to get bbPress functions inside WordPress. It may “just work” now because of recent changes, but I’m definitely drawing the line there in terms of what we support. bbPress Live should mature further to provide the display of all manner of bbPress data inside WordPress via XML-RPC.
The idea of bbPress running as a plugin is an interesting one, and I’ve thought about it before. It would be a hefty plugin though. I would be interested in seeing a plugin that kind of loaded bbPress like a library and allowed that sort of level of integration, but again, it would be basically loading all of bbPress inside WordPress. Generally, I think we have a stronger foundation as a stand-alone product rather than a plugin and if we can make integration easier by various means then there shouldn’t be a need for it.
The nonce keys don’t need to be shared thankfully – I almost screamed when I saw those added to WordPress.
December 14, 2008 at 3:51 am #70080In reply to: No topics shows up after installation
JesperA
MemberI went back to BBPress 0.9.0.3, this was a fresh installation, the problem i am having now is that i cant get into the admin panel, it only redirects to the forumpage.
December 14, 2008 at 3:32 am #70054In reply to: bbPress 1.0-alpha-3 released
John James Jacoby
KeymasterAlpha 2 works pretty well but 3 seems a no go until Mr. Bauers finds what’s broken.
Curious Sam if you test this on a live environment yourself, or what the process is?
December 14, 2008 at 3:11 am #70053In reply to: bbPress 1.0-alpha-3 released
Ipstenu (Mika Epstein)
ModeratorOh, irony. Now it’s not working (cleared my cache and purged cookies to test something else).
December 14, 2008 at 2:50 am #70023In reply to: First pass at a fix for “deep” integration in trunk
John James Jacoby
KeymasterNeither alpha3 nor the trunk versions of bbPress seem to create cookies for WordPress. Basically either way fails to generate the others’ cookies.
I might be missing the mark on this one, but is the point of deep integration to have 1 single log in, or to allow use of WP functions inside BBP?
I think the end result we’re mostly looking for, is a unified front from any direction. BBP functions in WP, and WP functions in BBP, with 1 login and registration. Which makes me think that BBP needs to be a WP plugin more than a stand along product to serve this purpose.
I also noticed that the bbPress install doesn’t ask for the nonce key or salt from WordPress. Possible this could be an issue also?
December 14, 2008 at 2:18 am #70052In reply to: bbPress 1.0-alpha-3 released
Sam Bauers
ParticipantThe problem you note will go away if you force logins to occur in bbPress. I am going to write a plguin for WordPress which fixes the problem you currently have.
Sounds reasonable…. backup first!
December 14, 2008 at 12:40 am #70021In reply to: First pass at a fix for “deep” integration in trunk
Ipstenu (Mika Epstein)
ModeratorInteresting… With shallow integration, logging into bbPress logs me (as user and admin) into WordPress as a user but NOT as an admin. For about 20 minutes. Then I tested Deep Integration and now it fails all together.
December 13, 2008 at 11:33 pm #70051In reply to: bbPress 1.0-alpha-3 released
Ipstenu (Mika Epstein)
ModeratorWoah. Whatever the heck changed, I now have integrated login! Minus the admin side (still have to login again to get to WP admin) but …
We’re not worthy!
December 13, 2008 at 10:38 pm #70050In reply to: bbPress 1.0-alpha-3 released
thenokiablog
Memberi currently have an installation of wordpress 2.6.5 integrated with bbpress 1.0a2. I want to update to wordpress 2.7 but I think it will break the integration.
To my understanding, 1.0a3 will integrate with wordpress 2.7?
Is this what I need to do?
Step 1. Update WP from 2.6.5 to 2.7
Step 2. Update BB from 1.0a2 to 1.0a3
December 13, 2008 at 10:25 pm #70020In reply to: First pass at a fix for “deep” integration in trunk
John James Jacoby
KeymasterWell, my first impression of beta 3 without including is that login integration doesn’t work at all.
Without the “deep” integration in the bb-config.php:
- Logging into WordPress leaves me logged out of bbPress.
- Logging into bbPress leaves me logged out of WordPress.
- Logging out of bbPress leaves me logged into WordPress.
- Logging out of WordPress leaves me logged into bbPress.
With the “deep” integration in the bb-config.php:
- Logging into WordPress leaves me logged out of bbPress.
- Logging into bbPress leaves me logged out of WordPress.
- Logging out of bbPress leaves me logged into both bbPress AND WordPress.
- Logging out of WordPress leaves me logged into bbPress.
So, login integration worked better in beta 2 unfortunately.
I haven’t tested the themes or functions yet however.
December 13, 2008 at 8:13 pm #69243In reply to: New installation
beardownarizona
MemberYou’re exactly right!
I added my host (straight from wp-config.php) and it worked…BUT…it didn’t write bb-config.php on it’s own…it gave me some error messages, but it also provided the code for me to make the bb-config.php on my own…
I opened notepad, pasted the code, saved it as bb-config.php, and uploaded it to the bbPress directory. Seems to be working so far, but I’m not quite done with the install. I’ll let you know if it works out…
Thanks Chris!
December 13, 2008 at 7:54 pm #4427Topic: No topics shows up after installation
in forum InstallationJesperA
MemberHi!
I´ve just tested out the bbPress 1.0 and i´ve got a weird problem, the topic is not showing up, i can add and delete forums but if i start a new thread in a forum it doesnt show up.
When i post a new thread i got the message: “This topic has been closed” but the “Topics” counter adds the thread so it is created.
The forum: http://www.speedrevision.se/forum/
Any suggestions?
December 13, 2008 at 6:49 pm #69908In reply to: Getting forum page number
serpentguard1701
MemberI tried the shortcut method, it returned an error: `bbPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ’01:46:48 ORDER BY topic_time DESC’ at line 1]
SELECT count(topic_id) as position FROM tvcforum_topics WHERE forum_id=6 and topic_time<=2008-12-09 01:46:48 ORDER BY topic_time DESC`
Regarding the last bit of code you posted – there’s actually a function already present in one of the bb-includes files that does the same thing –
get_page_number(). -
AuthorSearch Results