Forum Replies Created
-
In reply to: Count subforum posts in parent count?
You’d have to do a custom mysql call to get the total but yes it is possible.
In reply to: New Green theme/forum!Looks good. A tad bright on my monitor but nice layout.
In reply to: How to have topic_author() show “display_name”?You can use str_replace in php to get rid of the underscores or probably find the nicename function in wordpress and filter through that.
In reply to: get_the_ID() for bbpressyou want
get_topic_id()
for the current topic idor
get_post_id()
for the current post idIn reply to: Clean answer on mod only can post forumsBy default bbpress does not have this ability built in.
However it would be possible to edit your templates to allow only mods to start topics in certain forums, or do this via plugin.
In reply to: use + character instead of comma for separate tagsYou’d have to hack the core but it’s possible – why do you want to?
In reply to: The new 26inches.comNice work, looks great. I really like the background.
In reply to: How about making bbpress a wordpress plugin?Integration is better than running under wordpress.
This allows your wordpress side to be down while the forum still works and via versa.
Once backpress and talkpress is available I suspect however there will be much more shared code and essentially they will start to merge together in many ways.
ps. the forum plugin for wordpress supposedly has or had security issues if I remember correctly…
In reply to: Firefox WP Cookies Are Not AcceptetYou need to follow the instruction to syncronize the cookie paths in bbpress and wordpress.
Essentially both have to be set to your site’s webroot (ie. /)
Look under the cookie section here
https://bbpress.org/documentation/integration-with-wordpress/
or look through the integration tag here like so:
https://bbpress.org/forums/topic/cookie-question-wp-bb-and-beyond
You’re asking about gravtars but then talking about uploading avatars which are two different features.
There are plugins for bbPress to show a user’s gravatar but if it’s a locally uploaded avatar within WordPress, someone would have to come up with some code to display it on the bbPress side. So it’s possible but would take someone to look at it.
The avatar upload plugin on the bbpress side has some documentation or user comments on how to access the avatar from wordpress.
In reply to: [Plugin Request] Twitter status in .threadauthorIf you can find a wordpress plugin that does this, it will be very easy to convert to bbpress.
In reply to: LANGUAGEI wish I had experience with that but I don’t.
However following other posts with this tag might help:
In reply to: Pagination Latest DiscussionsWell you’re asking two different things but the answer to both is yes with some code changes to your templates.
You can get the last poster for any topic in the list via this:
<?php echo '<a href="'.get_topic_last_post_link().'">'.get_topic_last_poster().'</a>'; ?>
but there is also a plugin that I believe will change the last poster’s name into a link too. So either way.
You might be able to paginate the lastest discussions by putting this at the bottom of latest discussions outside the loop:
<?php forum_pages(); ?>
However it’s a 50/50 chance it won’t work.
Or you can use the “My Views” plugin which will give you a paginated Latest Discussion view that you can link to.
example:
http://bbshowcase.org/forums/view/latest-discussions
plugin:
In reply to: Get the ID of the postYou can do a global on $bb_post and then access any of the fields from there:
http://bbshowcase.org/reference/#bb_posts
so $bb_post->post_id is what you want.
There’s probably an internal function to do the same thing but there’s the direct way.
In reply to: Importing data from YABBSomeone has been working on some new export/import functions but I don’t believe they are ready yet.
There is an old phpBB convertor for bbpress, so if you can get yabb into phpBB, you might be import from that.
In reply to: key master posts not showing upIf the background goes yellow that probably means it flagged you as a “bozo” which is a feature that has never worked quite right in bbpress.
You can disable the “bozo” feature completely by editing bb-settings.php and commenting out the line:
// require( BBPATH . BBINC . 'bozo.php');
around line 110 or so
In reply to: Shared Users tableThere are tricky new possibilities within the trunk (build 1075) that I have not researched yet. Using extra definitions in your bb-config.php it allows you to have separate tables, even separate DB’s for users. It might allow you to do that.
In reply to: Capcha Anti-flooding for bbpress?Be sure to get the newest version here:
In reply to: signup/registration captcha?Be sure to get the newest version here and not the above download:
In reply to: Line BreakI think I better understand what you are asking about after running into a similar problem today on my bbcode lite plugin. I filed a trac ticket:
https://trac.bbpress.org/ticket/795
bbPress seems to encode non-ending tags into html entities if you save a post twice. Not good.
In reply to: Is anyone else having weird cookie issues here?I just ran into the problem, they must be fiddling.
Delete all your bbpress.org cookies and you’ll be able to log in again.
Here’s a bookmarklet to zap cookies for just the site you are on it if you don’t want to search through your settings:
https://www.squarefree.com/bookmarklets/zap.html#zap_cookies
(just make sure it’s bbpress.org in your window when you run it)
In reply to: Line BreakDoesn’t your code zap all BRs?
This is not quite what you are trying to do, but maybe you can add BR to this list and see if bbpress will bypass the self-closing requirement.
function bb_allow_extra_tags( $tags ) {
$tags['del'] = array();
$tags['strike'] = array();
$tags['s'] = array();
$tags['b'] = array();
$tags['i'] = array();
$tags['u'] = array();
$tags['bq'] = array();
$tags['blockquote'] = array();
$tags['pre'] = array();
$tags['hr'] = array();
$tags['br'] = array(); // see if this allows non-closed br
$tags['BR'] = array(); // see if this allows uppercase BR
return $tags;
}
add_filter( 'bb_allowed_tags', 'bb_allow_extra_tags' );As far as uppercase/lowercase that would be tricker if it’s hard coded in the code. You’d have to filter the post text ahead of time, find all tags and convert them to lowercase. Or try adding
$tags['BR'] = array();
to the above list and see if that makes a difference.Personally I’d just add the bbcode plugin if you’ve got people trying to make fancier posts. It’s far more common across all forums.
In reply to: Is anyone else having weird cookie issues here?I think they are trying to integrate/convert the main WordPress.com site to the new cookie method which is more secure and it’s affecting here.
I just hack the cookie and change the expire time to 2018 and that solves the re-login
In reply to: Thanks chrishajer and _ck_Awh, thanks! Well not sure about “vigilant” as I wax and wane here as I have the time and energy but I try to help when I can. Hope it’s helping someone! bbPress installs seem to have doubled since October 2007 so that’s probably a good sign… appreciate the hugs, I needed that…
ps. that would be guys and gals!
In reply to: Permalinks Problem – rewrite-rules.php does not workGoogling shows that error is caused when running PHP as a CGI and there is a mod_rewrite conflict (or a file does not exist).
I suspect there is a conflict with mod_rewrite rules in the parent folder. Show us your rewrite rules in /.htaccess (probably wordpress stuff but there may be others).