Published on July 12th, 2007 by oledole
If anyone is having problems with RSS feeds in firefox and other browsers, like e.g. like below:
XML Parsing Error: xml declaration not at start of external entity
Location: http://mysite/rss.php?profile=1
Line Number 2, Column 1:<?xml version=”1.0″?><!– generator=”bbPress” –>
It might have to do with the plugin MoveIT. Disable it and your back in business. See this post for more info:
https://bbpress.org/plugins/topic/48?replies=3
Published on July 12th, 2007 by
Can anyone tell me how to begin to address this problem? After installing on web server getting this error:
bbPress database error: [You have an error in your SQL syntax near ‘FROM bb_topics WHERE topic_status = 0 AND topic_sticky <> 2 ORDER BY topic_time’ at line 1]
SELECT SQL_CALC_FOUND_ROWS * FROM bb_topics WHERE topic_status = 0 AND topic_sticky <> 2 ORDER BY topic_time DESC LIMIT 30
I don’t even know where to begin to fix this. I’ve run bbpress on local environment and other hosts flawlessly, but on this company I’m getting these errors. I’m a SQL novice so if anyone can babystep this for me I’d appreciate it.
Thanks
Published on July 12th, 2007 by _ck_
Been meaning to do this for awhile, didn’t realise how easy it was. This makes bbPress behave more like WordPress in that admin (keymasters/administrators) can post any content regardless of tag restrictions for the rest of members. This includes images, javascript, objects like flash video player, etc.
<?php
/*
Plugin Name: Admin Post Anything
Plugin URI:
Description: allows keymaster/administrators to post any content regardless of tag restrictions
Author: _ck_
Author URI: http://CKon.wordpress.com
Version: 0.02
*/
function bb_admin_post_anything($text) {
if (bb_current_user_can('administrate') ) {
remove_filter( 'pre_post', 'encode_bad' );
remove_filter( 'pre_post', 'bb_encode_bad' );
remove_filter('pre_post', 'bb_filter_kses', 50);
$text=addslashes($text);
$text=bb_autop($text);
}
return $text;
}
add_filter('pre_post', 'bb_admin_post_anything',9);
?>
Published on July 12th, 2007 by citizenkeith
I have a small site that needs very little moderation. I’d like for my users to have the power to change their own Custom Title, instead of sending me a Private Message with a request.
I can’t figure out how to make that change, though. Any ideas?
Published on July 11th, 2007 by oledole
My firefox (and netscape) doesn’t show the “Edit forum order”-button i the admin-panel for Forums. It’s there in IE6 and works fine … Any hints on this?
Firebug reports the following errors:
1. jQuery is not defined
http://www2.enserio.se/blogg/forum/bb-includes/js/jquery/interface.js?ver=1.2
Line 12
2.jQuery is not defined
http://www2.enserio.se/blogg/forum/bb-admin/js/content-forums.js?ver=3
Line 1
Published on July 11th, 2007 by _ck_
This is so simple I bet I am duplicating what someone else has already done. I am not sure why this isn’t in bbPress by default and it doesn’t even begin to address what I would consider basic moderation tools but it’s a start.
Install and check under “content” submenu. Why the posts menu =deleted posts in bbpress’s default I have no clue.
<?php
/*
Plugin Name: bbPress Recent Posts
Plugin URI: https://bbpress.org/plugins/
Description: shows most recent posts with (extremely limited) moderation options
Author: _ck_
Author URI: http://CKon.wordpress.com
Version: 0.01
*/
function recent_posts_admin_page() {
if ( !bb_current_user_can('browse_deleted') ) {die(__("Now how'd you get here? And what did you think you'd being doing?"));}
global $bbdb, $bb_posts, $bb_post, $page;
$bb_posts=get_latest_posts(0,$page);
$total = bb_count_last_query();
?>
<h2>Recent Posts</h2>
<ol id="the-list">
<? bb_admin_list_posts(); ?>
</ol>
<?php echo get_page_number_links( $page, $total );
}
function recent_posts_admin_menu() {
global $bb_submenu;
$bb_submenu['content.php'][] = array(__('Recent Posts'), 'use_keys', 'recent_posts_admin_page');
}
add_action( 'bb_admin_menu_generator', 'recent_posts_admin_menu' );
Published on July 11th, 2007 by Sam Bauers
The Support Forum plugin has been updated to allow the assignment of individual forums as support forums, instead of your whole bbPress install.
So if you have a bbPress site with two forums:
1. Jokes
2. Support
Then you can add the Support forum capabilities to just the second forum, or the first one if you like, or both.
Available now here:
https://bbpress.org/plugins/topic/16
Published on July 11th, 2007 by
When I click on the links to “Topics with no replies” or “Topics with no tags” on a fresh install, I get blank pages. The server log shows the following:
PHP Parse error: syntax error, unexpected T_DOUBLE_ARROW in [omitted]/httpdocs/discuss/view.php on line 17
Line 17 on view.php:
$topic_query = bb_view_query( $view, ‘count’ => true );
Anyone have any ideas on how to resolve?
Published on July 11th, 2007 by _ck_
I had to use phpmyadmin to delete a few dozen posts by a spammer.
How can I rebuild the topics DB so the front page (and sub-forums) are accurate?
Or is the answer no such tool exists and I’ll have to write one?
Published on July 10th, 2007 by intellivision
I know how to brute force it (just add the html) but I’d like to have it appear in the output wp_list_pages() so that links to the forum blend nicely with the rest of my WP/bbPress site.
So I created a WP page for the forum, so that puts the link in beautifully, but the forum doesn’t appear on the page (duh). iFrames are not a good solution, so I’d like to stay away from them.
Or I can brute force it, but then the link can only appear at the beginning or end of wp_list_pages() output.