There may be some trickery you could do using iFrames to get the two different domains sending cookies at the same time on login. It wouldn’t be pretty though, and you would have to really test your code for vulnerabilities.
I think it will be something like this
<?php echo '<a href="'.get_profile_tab_link( bb_get_current_user_info( 'id' ), "edit" ).'">edit your profile</a>' ?>
(untested) the “edit” part is just a guess…
get_user_profile_link(bb_get_current_user_info( 'id' ))
will get the profile link for general stuff, not the edit tab.
When I type this in the body:
I’m postin’ a test.
I get this:
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 ‘m postin’ a test.
‘,’2008-03-11 07:01:23’, ‘24.22.18.14’, ‘0’, 1)’ at line 4]
INSERT INTO bb_posts (forum_id, topic_id, poster_id, post_text, post_time, poster_ip, post_status, post_position) VALUES (’18’, ‘7’, ‘2’, ‘
I’m postin’ a test.
‘,’2008-03-11 07:01:23’, ‘24.22.18.14’, ‘0’, 1)
Warning: Cannot modify header information – headers already sent by (output started at /home/13057/domains/tudorarmspdx.com/html/hoa_forum/bb-includes/db.php:86) in /home/13057/domains/tudorarmspdx.com/html/hoa_forum/bb-includes/pluggable.php on line 164
When I post this in the body:
I’m postin’ a test.
Everything goes through without an error.
I’m trying to delete some posts. When I hit “delete” the post turns red. When I refresh the forum, I find that the posts are still there. They do not show up in the Admin panel of Deleted posts. I was able to delete before… the last one was about a week ago. I haven’t done anything to the forum since then. The last change I made was adding the Report Post plugin, but that was BEFORE I deleted my last post (2/25/08).
I’m running the latest released version of bbPress, which is integrated with WP 2.3.
Here are the plugins that I am currently running in bbPress:
Use Display Name 0.7.2
BBCode for bbPress 0.1
Quote 0.2
Show Post Count .73a
Page Links 1.0.3
Indicate New Posts 0.8
Simple Onlinelist 1.5
Move It 0.14
Censor 0.1
Page >> 0.7
Unread Topics 0.4
Comment Quicktags for bbPress 1.1
bbPress Polls 0.27
bbEmoticons 0.72
Enhanced Registration 0.1.0.1
Report Post 0.12
bb-benchmark 0.17
Actually, this was fixed and tested when Gravatars was implemented in core. I’ve further refined the fixes today and tested across numerous browsers.
Maybe your CSS was cached? Another reason to be running with a CSS version in the stylesheet link uri perhaps?
I’ve noticed there is a serious problem with the way the CSS works for the default Kakumei theme (and any other theme based on it).
As you add information to the post author field on the left, it will start to vertically overflow and start to overlap the next post. This is because the designer unfortunately decided to use a shortcut via position:absolute
making it impossible to clear:both
columns.
Here’s how to easily fix it by appending two simple lines to the very bottom of the style.css
and no need to search for and edit/replace other lines.
.threadauthor {position:relative; float:left; margin:0 -110px 0 0; right:110px; }
.poststuff {clear:both;}
If you don’t want to edit any core files, simply put this into a plugin (make a new one or any existing one)
function fix_kakumei_css() { echo '<style type="text/css">.threadauthor {position:relative; float:left; margin:0 -110px 0 0; right:110px; } .poststuff {clear:both;} </style>';}
add_action('bb_head', 'fix_kakumei_css');
Tested working in Internet Explorer, Firefox, Opera and Safari for Windows. Would appreciate MAC browser feedback?
(I will attempt to automatically include this hack in my plugins to help avoid edits since it’s usually my plugins that add so much info to the left but the new gravatar in 0.9 will also cause the overflow)
Should actually be a core fix now that I think about it.
Wonder why it doesn’t error out here with either quote? Can someone please provide the full text of a post entry that causes this problem, BEFORE it’s inserted, so it can be tested on other platforms?
I’m not able to get this working in WPMU/bbpress:
Using newest versions of both (fresh install 3 days ago)
Site: http://geekdc.com
bbpress: http://geekdc.com/forum
bbpress config.php :
$bb->wp_table_prefix = 'wp_'; // WordPress table prefix. Example: 'wp_';
$bb->wp_home = 'http://geekdc.com'; // WordPress - Options->General: Blog address (URL) // Example: 'http://example.com'
$bb->wp_siteurl = 'http://geekdc.com'; // WordPress - Options->General: WordPress address (URL) // Example: 'http://example.com'
//if ( isset( $bb->wp_table_prefix ) ){
$bb->usercookie = ‘wordpressuser’;
$bb->passcookie = ‘wordpresspass’;
$bb->cookiepath = '/';
$bb->cookiedomain = '.geekdc.com';
$bb->path='/forum/';
//}
/* Stop editing */
Stock WPMU wp-config.php
Using the following plugins on WPMU:
bbpress-integration.php
https://downloads.wordpress.org/plugin/bbpress-integration.0.74.zip
Using the following plugins on bbpress:
wordpress-integration
https://bbpress.org/plugins/topic/wordpress-integration/
display name
https://bbpress.org/plugins/topic/display-name/
Is there anything else I need to do?
When I first log in to WPMU I get the following cookies:
geekdc.com wordpress_test_cookie (content:’ WP+Cookie+check’)
geekdc.com wordpressuser (content username)
geekdc.com wordpresspass (content: hash)
I go to the forum, and I’m not logged in.
I log into bbpress and I get two more cookies, exactly the same execept for the expiration dates. The WPMU expires at the end of session. The wordpress expires in one week. I do not get another wordpress_test_cookie.
Yes, you need a feed reader. IE7 has one built in, Firefox does too, and you can add RSS feeds to a Google personalized homepage (which is what I took a screenshot of.)
Autodiscovery works fine for your site. Here’s your latest posts feed: http://www.hooligans-gaming.net/forums/rss.php
Google Reader is a feed reader as well. Try viewing your feed there.
http://www.google.com/reader/view/
Really, I can’t find any place it’s NOT working:
Google Reader
http://www.chrishajer.com/bbpress/Hooligans-Google-Reader.png
Firefox 2
http://www.chrishajer.com/bbpress/Hooligans-Firefox.png
IE7
http://www.chrishajer.com/bbpress/Hooligans-IE7.png
I figured out how to get the Latest Discussions view. Thanks. You were right. It was in the My Views plugin. I just had to activate “Topics I’ve started/ Topics I’ve Participated In”. Thanks again for all your help.
That latest discussions plugin is for wordpress… I’ve been talking about the latest discussions view in bbpress that is part of the My Views plugin.
Thanks. Would you need to have WordPress in order to use the Latest Discussions plugin? You have WordPress and bbPress integrated together, and the plugin’s page said that the plugin will generates Latest Discussion list from your bbpress forum into your WordPress. I’m not using WordPress on my forum.
I’m using whatever the current release is…
My Views actually extends the latest discussions and makes a view out of it.. maybe _ck_ can help answer why yours isn’t working.
Oh. I didn’t know there was a Latest Discussions plugin. But it seems to work only up to .8 and I have version .83. I tried the latest version of My Views, but it didn’t include a Latest Discussions file. What bbPress version do you use?
I think my avatars are an okay size. Thanks for joining my forum by the way.
Ah, the problem appears to be that the latest discussions plugin isn’t installed, or it would show up in the list… I think it’s in a separate file.
If you downloaded the MyViews plugin a while ago, there was a bug in the svn system where some of the files weren’t getting included. You might want to grab the latest version.
ps.. your avatars are a weird size.
latest-discussions is nowhere to be found. Could it be anything else?
That looks like it should work. I have this in my-views.php though
$my_views_prefered_order=array(
"latest-discussions","no-replies","untagged","my-topics","my-posts","most-views","most-posts","least-views","least-posts",
"installed-plugins","available-plugins","installed-themes","available-themes","statistics"
);
The problem is, every time I put /view/latest-discussions/ or /view/latest-discussions/page/2 , it redirects me to the index page.
You have to make sure that it’s listed in the my-views.php plugin file in this line:
$my_views['prefered_order']=array( // force views to list in the order that you desire
"latest-discussions","no-replies","untagged","my-topics","my-posts","most-views","most-posts","least-views","least-p
osts",
Usually the link is something like /forum/view/latest-discussions, for instance mine is here:
http://www.howtogeek.com/forum/view/latest-discussions
If you wanted to link directly to the second page, it would be something like this:
http://www.howtogeek.com/forum/view/latest-discussions/page/2
_ck_, I cleared all the cookies for this domain when doing the test. I also closed all open pages, and started fresh.
The three cookies that I see generated when doing this test on both BBPress and WPMU are:
wordpressuser
wordpresspass
wordpress_test_cookie
I’ll look at the code for logging out of wpmu, and also see if anything gets changed in the database. I’ll then compare that to how BBPress logs out and see if it makes any changes in the database too.
Thanks for the link, but he basically added:
‘
$bb->usercookie = ‘wordpressuser’;
$bb->passcookie = ‘wordpresspass’;
‘
And I’ve already done that.
Thanks HowToGee. I actually have the MyViews plugin already, but I didn’t know there was a page to the latest discussions view. How do I link to that, like what’s the URL for it?
@itissue
I’d recommend installing the MyViews plugin by _ck_, which has a “latest discussions” view that has pages… it doesn’t actually give you paging on the front page, but you could make a link called “More…” or something at the bottom of the latest discussions box that links to the latest discussions view.
I am not sure _ck_ but Sambauers wrote the plugin to take the password hash back to the old method. I am testing it with 2.3.3 and WPMU tomorrow and will let you know if it works or not 
Trent
[Update: this release will now be version 0.9 instead of 0.8.4]
bbPress 0.9 will be released on the 10th of March, 2008 to coincide with the release of WordPress 2.5
A full blog post on the bbPress blog will outline all the changes in the near future.
In the meantime if anyone wants to give the latest 0.9 beta a test run, simply download a zip package of the current version of the “0.8 branch” at the bottom of this page.
If you find any problems then please login to the bbPress Trac site and create a new ticket to report it as a bug. Alternatively, you can see if either sambauers or mdawaffe is in the #bbPress IRC channel on irc.freenode.net and report the problem directly to them.
I can personally attest to the helpfulness of _ck_
Between the great plugins and the good advice, he’s helped me grow a successful forum. (or she, whatever)
OK – I still don’t see those actual line numbers in that release (in fact bb_settings.php has only 209 lines.) So, can you open up /home/www/web316/html/ps-t/bb-settings.php
and post line 294 (maybe a couple before and after as well) and /home/www/web316/html/ps-t/bb-includes/pluggable.php
and post lines 193 and 231. The code on those lines will help point the way to solving these problems.
My hunch is this is related to the glob issue and there being no underscore plugins in a bb-plugins directory. Because there are no plugins that begin with an underscore, and due to problems with the way the glob function is tested for, an error like this can occur.
You can try installing this plugin to see if it fixes your error, even though the line numbers and messages really don’t match up:
https://bbpress.org/plugins/topic/bb-benchmark/
I think you can also just create a bb-plugins directory in your installation root, then in it create a file called something like _nothing.php
– I think that also causes this block of code to NOT fail, so you wouldn’t see these warnings.