Is Sam’s code in the plug-in library, or do I just copy it and insert it into my right sidebar file?
Also, does this code modify *all* links in a given page?
Thanks.
But you don’t need a plugin to add the code to open in target="_blank", you are already doing it, which is what’s causing the validation problem. That is deprecated and invalid, so, you need to stop using it, or use Sam’s javascript method.
Thanks for the reply, Chris. I’d be only too happy to disregard validation errors, except for two factors:
1. I’m still relatively new to all this html/css/php stuff, so I do learn from reading the validation reports.
2. I lean heavily on support from a variety of forums, some of which don’t share your casual attitude toward validation. I try to keep my code “clean” to appease them.
I looked at the second link you posted above. Does this plugin actually reside in the plugin library? I did a couple of searches and couldn’t find it. Or, do I just cut the code and put it in a file, and upload it as a plugin?
Thanks again.
was hoping to bypass having to edit everyone’s posts. thanks though; will see if i can get everyone to do it 
if its possible to edit code to automatically make all topics sticky, that would be awesome as well.
I use stickys for important announcements with a specific icon, and don’t see being able to get all my users on board with making every single topic a sticky. aaaah well, worth a shot
@Gautam: yeah sorry, I suggested that because I’m testing with no users db sharing, so I’ve to use bb_is_user_logged_in() instead of WP’s function.
Hi. I’m new to bbpress, and I seem to be having the same problem. The theme folders in my-templates do not show up on the Appearance page of my bb-admin. I’ve tried the 755 fix to no avail. Only the two default themes show up
You can use is_user_logged_in() WordPress function for that, like:
<?php
if ( is_user_logged_in() ) {
// Logged in HTML here
} else {
// Login form HTML here
}
?>
The solution suggested by Pelle would work, but would add a lot of load on your blog.
Before calling the bbPress function just add:
<?php require_once ABSPATH .'/forum/bb-load.php'; ?>
Not sure which two errors you received, but here are the two I received:
Line 31, Column 12: there is no attribute "clear"
That’s true. It needs to be <br style="clear:both;" /> to be valid.
Line 93, Column 50: there is no attribute "target"
That’s true as well, but who cares? It brings me to one of my favorite _ck_ quotes of all time: “throw off your shackles of validation”
http://www.google.com/search?q=%22throw+off+your+shackles+of+validation%22
Open Links in new window
There are a couple of solutions there.
1. drop the attribute altogether (let the visitor determine where they want the link to open)
2. use Sam’s javascript solution
3. use _ck_’s route and just run with it. Who cares if it validates? It works just fine and has no negative affect on anything
…on my site.
http://www.scopedin.com/bbpress/
Both errors point to code that looks right to this novice. The generated source has an interesting occurrence (a couple, actually) of the » in my head section; in fact, the code there doesn’t seem to match up with what’s in my header.php file.
Can someone shed some light on this for me? Thanks.
Here’s the link to the validation I ran, if you’re interested in that:
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.scopedin.com%2Fbbpress%2F
I am using bbPress 1.0.2 and WordPress 2.9.2.
I originally did hardcode the menu items however the dropdown menu did not seem to work when hardcoded so I went back to including the header.
I will give hardcoding another try.
Thanks,
David
What version of bbPress are you using ?
What version of WordPress are you using?
Are you using “deep integration”?
That said, I’d hardcode them if I were you. Given that you know you’re going to be on your forum page, and therefore dont need to having anything dynamic or highlighted, you can just hardcode it to work.
Not an ideal solution, but its one that you can control completely 
Good Luck
Thanks for that Chris, v helpful.
Your text seems a tad bigger than mine but I think i might have found some of the issues.
1) The stylesheet specifies “Lucida Grande,Tahoma,’Bitstream Vera Sans’,Arial,sans-serif” and I’m not sure it was tested on all of those fonts.
There’s quite a large difference between the way Lucia Grande and Tahoma look on windows (and people with Safari on Windows can now have Lucia Grande; but its not there by default), and at 12px and above Tahoma and Arial start to look differently too…
2) In comparing what I can see on the forums and your screenshot, I’m getting 2extra words per line.
Either way, it’s a drop in text size of a considerable amount. And a drop in the amount of space that the text is given in comparison to the old theme (not that an increased avatar doesn’t help the conversation but…)
3) On the forum listing, since last week, some of the text has been of a bigger size than others. Specifically:
#bborg-discussions table td div {
font-size:14px;
}
Edit: I have no extrnal css stuff going on, which i put down to laziness
Hi All,
I am in the process of getting at WP theme applied to bbpress and so far have had some luck..The headers and Footers are visible to the most part.
However the menu items are not coming across from the WP menu system.
Site: http://www.cloudosity.com
bbpress: http://www.cloudosity.com/forum
I get the two hard coded menu items but it looks like none of the WP variables can be called from the bbpress page. I am using get_header(); to pull in the header but the WP header code such as <?php echo $page_menu; ?> does not appear to work.
Can anyone tell me if this is possible to resolve?
Thanks,
David
Please paste the first 8-10 lines of your theme’s style.css here.
OK thanks. I have unmodified the config file. The phpbb folder is directly above it. 
So if I go 2 directories deep for setup, can I specify the URL of bbpress once it is installed?
You can’t break it with that ‘link’. But you can change the call:
bb_tag_heat_map( 9, 38, 'pt', 80 );
in tags.php and write a simple javascript that filter away X in the generated <p class="frontpageheatmap">.
The error
Warning: require_once(includes/admin.php) [function.require-once]: failed to open stream: Not a directory in /homepages/0/d188981313/htdocs/.org/wordpress/forum/my-plugins/after-the-deadline/after-the-deadline.php on line 68
Fatal error: require_once() [function.require]: Failed opening required 'includes/admin.php' (include_path='.:/usr/lib/php5') in /homepages/0/d188981313/htdocs/.org/wordpress/forum/my-plugins/after-the-deadline/after-the-deadline.php on line 68
I know I don’t have an “includes” folder
/**
* Require Admin/Public/AJAX File
*/
if ( defined( 'DOING_AJAX' ) && DOING_AJAX == true && in_array( 'ignorealways', (array) $atd_plugopts['enableuser'] ) ) /* Load Ignore Phrase file as we are doing AJAX */
require_once( 'includes/ajax-ignore.php' );
elseif ( bb_is_admin() ) /* Load admin.php file if it is the admin area */
require_once( 'includes/admin.php' );
else /* Else load public.php file as it is the public area */
require_once( 'includes/public.php' );
Updated to 0.9.1
profile page: can’t use anything but text or checkbox, so I used 2 checkboxes, but would have preferred select, or radio. (yes you can add a single radio button, but a single one is of no use!)
utilised the query, thanks.
decided that if number of deleted posts is greater than number of valid posts then they should be checked. Though it might be better to add in a bit of math there.. thoughts? validposts / 4 perhaps.
also if spam posts are greater than 1 they get checked as well.
But that part may actually be redundant because they are being checked anyway at that point, or do I have the flow wrong?
Once they hit the required number of posts they the always trust flag is set.
Commented the code, which is a first for me…
and hopefully it still works.
1 question – is there an uninstall hook to clear things from the database? I wouldn’t want to do it on deactivation – hate plugins that lose settings because of that.
Wasn’t BBXF abandoned _ck_ ?
I’m going on memory rather than fact here (so am happy to be wrong), but wasn’t the last bbxf bit of code added before or around the time that bbPress0.9 came out?
It may still work (fingers crossed), but I’ve not seen anyone mention it here in a good 18 months.
Your code is very decent so keep writing 
You have the status right.
WordPress finally has an admin menu generator? Good to hear.
Sadly I’ve lost touch with the WP codebase since 2.5 or so, I was getting really turned off by the bloat.
The problem is every website has different needs.
Some have only 10 visitors a day but the site operator wants every feature including the kitchen sink. They don’t care if it takes several seconds for their page to render as long a they have every fancy feature available and they can just use wp-super-cache to deal with the load.
But other sites have thousands of visitors a day and when a page takes too much cpu time or mysql time to render, then you multiply that by hundreds of simultaneous connections. Then you fail and your host kicks you off or you have to buy a bigger server.
WordPress started lean and mean, 1.5 was good, 2.0-2.1 was a great product. Then they started throwing in the kitchen sink. Then with every next release started breaking compatibility with every release, changing cookies, changing admin structure. 3.0 is a scary creature indeed.
There is no doubt in my mind that a bbPress plugin under WordPress is going to require 1 megabyte of code executing per instance with plugins in a realistic environment. The site operator with 10 visitors per day won’t care because they have every feature the could want in one package. The operator with an active, growing user based is going to have to constantly upgrade their server to handle the problem.
Active forums don’t deal well with caching, unlike blogs.
Blogs are write once, read many times.
Forums are write many times, read many times.
Different environment, different needs.
But performance should always be designed into software.