> I guess ‘>’ in front of every _paragraph_.
It’s still annoying somewhat annoying
. I don’t want to have to scroll through a wall of text looking for new paragraphs. Perhaps >>Quote …. << ? What would also be interesting is the ability to add the name of who you’re quoting. Name>>Quote<< or “Name blah”>>Quote<<? Although that’s starting to get a bit artificial.
It is an option to make this plugin rewrite the posts as they’re being read, but I was worried about the extra server load (although it’s pretty light code) and it’s playing pretty badly with the Allow Images plugin.
I don’t want to keep hosting it on my server, so I’ll take this down the next time I think about it. http://www.loinhead.net/files/felise
http://www.loinhead.net/files/felise.php is a working, non-bb copy of the script so you can test it (note that >>Name[post#] doesn’t work). Ignore the sucky name, I hate naming things and needed something just temporarily
I wrote a plugin to do that. Just upload and activate this.
<?php
/*
Plugin Name: Page »
Plugin URI:
Description: Adds » to the end of topic titles, linking to latest post.
Author: fel64
Version: 0.7
Author URI: http://www.loinhead.net/
*/
if (!function_exists('is_tags')) {
function is_tags()
{
return is_tag();
}
}
if (is_front() || is_forum() || is_tags()) {
add_filter('topic_title', 'fel_addlatestlink', 101);
}
function fel_addlatestlink($title)
{
global $topic;
$felgtlpl = get_topic_last_post_link($topic->topic_id);
$title = $title . ' <a href="' . $felgtlpl . '"> » </a>';
return $title;
}
?>
+1 for wider (800px) template.
also, default “Reply” input textarea is too small (get scrolled) and
‘background: url(images/bg.png) #ccc fixed center top;’ makes it somewhat slow.
so far, wp.com forums layout by the Matt Thomas is the best layout of all bb forums I had a chance to see.
nice addition would be to have a link to the “Latest Post” on the front page/forum posts index table — it’s a matter of just a couple of lines to be added to the front-page.php/forum.php — makes a big deal to quickly get on a last post of multi-page posts w/o having to redundantly load a 1st page of the thread.
Now available in the “Extend” area.
http://bbpress.org/plugins/topic/57
This plugin adds a plugin browser to the administration area of bbPress. Using this browser you can view the latest versions of the plugins available via the official bbPress plugin repository, you can install them and also upgrade them when new versions become available.
Neat-o!
This plugin used to be known as the super secret plugin
Note: the plugin only manages plugins that it has installed, it won’t magically find all your existing plugins. However, re-installing is a trivial exercise through the browser.
After over 5000 posts and 3 million unique visitors, I’ve finally made it professional. (or at least one step closer) ihatestarbucks.com is now running bbpress! feel free to drop in and vent your spleen or share your kudos.
I’ve monitored bbPress for some time and plan to use WP for a big site and would need to convert a phpBB(2) forum over to bbPress. What’s the latest on:
1) WP integration – last I heard you had to fiddle with cookie settings and some usernames wouldn’t work on the forum login. I’d be wary of using plugins as this could cause problems upgrading in future.
2) phpBB(2) conversion – is there any script that will convert everything perfectly?
3) future plans – is there a new version in development or is everything on hold for now? (i.e. should I just go and install the current version or wait another month or two)
4) private forums – an essential feature for me is to have a staff board that is 100% secure. Again I didn’t really want to rely on a plugin for this and last time I think I read it wasn’t secure because of an RSS problem.
5) lastly – is bbPress compatibility high on the list when new versions of WordPress are released? (i.e. could a new WP break by forum?)
Cheers.
Hi fel. I’ll post up later today the process I went through. I’ll get the latest version of the class right now!
Thanks for the heads up.
I’ve also done some work with CodeIgniter and Flash integration which I’ll post a link to later in case anyone does CI development (off topic I know but still valuable).
It is funkin’ brilliant. I hope you downloaded the latest release ( https://trac.bbpress.org/browser/trunk, at the bottom of the page is the Zip Archive link to the latest) because it has a bunch of fixes and changes.
Can you detail anything you had to do to make it work, for future people who want to do this stuff?
YES! The newest version is ALWAYS really new. REALLY new. There is NEVER a situation where you shouldn’t upgrade.
You have a problem and you’re not running the latest version. What do you do? Go upgrade.
You don’t have a problem. You’re not running the latest version. What do you do? GO UPGRADE.
Upgrading might not even fix this problem, it’s not sure. But it does fix several security exploits and adds a bunch of featurs. Go upgrade!
What’s worst is that you’re on a support forum asking for help and you’re not even on the latest version. You clearly haven’t tried everything before making other people take time to help you. Then you’re advised to upgrade … GO UPGRADE already.
If I wasn’t clear … GO UPGRADE
If you can access rss xml from flash (which I believe you can) just grab it from the rss feed (/forum/rss.php). You can tell the rss to send you almost anything you want, latest, specific sub-forums, etc.
Ah nevermind – I already knew how to do this but was so tired I didn’t put 2 + 2 together. And a new plugin was born!
This plugin will either exclude ALL sub-forums from the front page topics list AND/OR exclude any specific forums from the front page that you specify.
function filter_front_page_topics($where){
// $exclude_forums=array ("8,1,3,12"); // enable this to manually specify specific forums by id #
$forums = get_forums(); foreach ($forums as $forum) {if ($forum->forum_parent) {$exclude_forums[]=$forum->forum_id;}} // exclude ALL sub-forums
if ( is_front() ) {foreach($exclude_forums as $forum) { $where.=" AND forum_id != ".$forum." "; }}
return $where;
}
add_filter( 'get_latest_topics_where', 'filter_front_page_topics');
add_filter( 'get_latest_posts_where', 'filter_front_page_topics');
This plugin now has an official page in the plugin browser:
https://bbpress.org/plugins/topic/55
so check there for latest version.
I’ll probably end up trying to write this myself over the rest of the week but just in case a plugin guru is willing to help…
I’d like to exclude certain sub-forum topics from the latest discussions that are posted on the front page. I know how to tap into the list topics filter but I don’t know how to make it obey only for the front page, because obviously they can’t be excluded from the sub-forum’s own topic list when they are on that page.
In theory I could hack the template to do this but it would be much better via a plugin if possible. I can see other people wanting this feature eventually to help keep that front page list from becoming cluttered.
_ck_, there was no misconception – I tested bbPress thoroughly with MU before I decided it was the right move for us. I would expect any other user to do the same. And I’ll just chime in and say that the bbPress site and forums made it very clear to me before I began that bbPress and WordPress are two different applications and would need manual integration.
Prior to bbPress, I tried integrating PunBB directly with our WordPress install, and while I wouldn’t call it difficult exactly, it was unnecessary: the features that separate PunBB from bbPress went largely unused by our community, so why not use forum software that uses a similar table structure, takes advantage of the wp_users table, and is supported by the same community of interested users that brought us WordPress?
I’ll admit my needs are very specific, and that the alternative to using open source software is writing it myself, which means I can get pretty excited that bbPress ONLY requires a certain amount of integration. Also, as specific as my needs are, I posted the conversion script I used for the one or two other people who find themselves in the same position. I don’t know that it’s a common request, and I imagine that anyone who’s in the position of converting already has a bbPress install they’re happy with, whether it’s integrated with WordPress or not.
bbPress should be magic_quotes agnostic. I’ll do some tests to see If I can pin down the problem.
Are you loading any other scripts at the same time (WordPress, anything else)? Any plugins?
_ck_ : Our PunBB forum dates from the inception of our site, and the nature of our community has sort of moved the interaction out of the forums and throughout the rest of the site. So I wanted to be able to incorporate our past discussions into the latest version of the site and have a little finer control over the data (relating archived forum discussions to archived blog entries and such). Since I am expecting that participation in the forums may continue shifting more toward the blog comments, I am trying to merge the old and the new and a PunBB -> bbPress -> WordPress path has fit perfectly so far.
This plugin is not working property, actually is creating not valid URLS inside the sitemap like this:
<url>
<loc>
/?</loc>
<lastmod>2007-07-14</lastmod>
<changefreq>monthly</changefreq>
<priority>0.014705882352941</priority>
</url>
This happens with the latest version of bbPress (0.8.2.1)
Thanks, Sam! Just svn up-ed to the latest revision and I can confirm this bug is fixed! Thanks again!
Hi, all…
I’ve looked around and haven’t been able to find a solution to my problem…
My forum, elephantwords.co.uk/forum, has a “last poster” bit at the bottom of each page, that, on thread and forum pages, shows the last poster to have posted… I’ve used the Get_User_Profile_Link to make the name of the poster link to the last poster’s profile.
The thing is, it doesn’t work. Go to the site to see what I mean, but when you mouseover the link, a message across the bottom of the browser says “Missing Argument 1 for Get_User_Profile_Link”
I don’t know any php, and I’ll admit to having nabbed most of the code from other templates. However, I’m convinced that this worked when I first put it in, and I’ve no idea how to fix it now. The Latest Discussions bit, which is next to it in the bottom page navigation, works fine.
Does anyone have a clue what’s up here? My flabber is totally gasted…
I received the following from my web hosting service support.
[As with everything in computing it never gets easier, just harder. PhPMyAdmin is not installed on the servers but you can install it on your account if you wish to use it. You can also login to the server via ssh and connect to the database from a shell prompt. Use the drop table <tablename> command for each table to remove them.]
I went to http://www.phpmyadmin.net/home_page/downloads.php#2.10.2
The latest stable version is phpMyAdmin 2.10.2.
phpMyAdmin supports themes since version 2.6.0.
Are phpMyAdmin themes a more user friendly interface to Admin a php database?
I sent an e-mail to my web hosting serice support to determine which version of php is on my server.
My web hosting service is running Unix servers.
I am running Windows 200o Professional on my computer.
[You can also login to the server via ssh and connect to the database from a shell prompt.]
I found OpenSSH Windows at http://www.openssh.com/windows.html
I guess I could use either PuTTY or TTSSH software to login to my server via ssh.
[Use the drop table <tablename> command for each table to remove them.]
I have a MYSQL book and a php book, which should help me.
Thanks a response in advance.
Fourth time is the charm? Ugh. Sorry!
<?php
/*
Plugin Name: Admin Can 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.04
*/
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);
remove_filter('pre_post', 'addslashes', 55);
remove_filter('pre_post', 'bb_autop', 60);
$text=bb_autop(addslashes($text)); // I don't completely understand why this is necessary here but it is
// the following two lines are untested code to allow compatibility with the allow images plugin
// it's safe to remove it's filters because this only happens if admin are trying to post
remove_filter( 'pre_post', 'allow_images_encode_bad', 9 );
remove_filter( 'pre_post', 'allow_images', 52 );
}
return $text;
}
add_filter('pre_post', 'bb_admin_post_anything',
;
?>
Weirdness. I will have to explore and test some more.
Can you tell me what other plugins you are using that are common to both sites? It almost has to be a plugin conflict at this point.
Does it let you post other forbidden html like <hr> ?
I tested it on my onvertigo.com site which is not using the default template either. It doesn’t work for me with any themes!
http://onvertigo.com/topic/media-types-played-in-this-forum?replies=12#post-38
Strange…..using:
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/2G_AHHxSctE"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/2G_AHHxSctE" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
Trent
I dug around on your forum until I found your test post.
Apparently something is yanking out object tags.
There might be a third party plugin that’s interfering with it and adding the filters back in.
I have to think about how to handle that situation… not sure if it’s even possible… I gotta figure out what’s happening in more detail somehow.
Just tested a youtube embed copied right from their site and it works tested in IE and Firefox.
I don’t use the default bbpress template however, I wonder if that is affecting it somehow.
Are you using the updated v0.02 that I posted, not v0.01 ?
If it still doesn’t work, can you view source on the outputed page and copy just the part with that one post with full html here (between code tags obviously) so I can see what it is doing?