Search Results for 'bbpress'
-
AuthorSearch Results
-
July 21, 2007 at 2:33 pm #59336
In reply to: performance idea, preloading general options
_ck_
Participanter, omg, tracing the code I think the option has already been written into bbpress and just not documented?
$bb->load_options = true
put into config.php ?
can it be that easy? does it work or not ready for primetime?
demonicume
MemberFel64, much appreciate your patience.
i get errors now, even though it posts in the forum now.
‘bbPress database error: [Unknown column ‘post_title’ in ‘field list’]
UPDATE bb_posts SET post_title='(No Title)’ WHERE post_id=’4′ ‘
‘Warning: Cannot modify header information – headers already sent by (output started at /home/host/public_html/domain/forums/bb-includes/db-mysqli.php:158) in /home/host/public_html/domain/wp-includes/pluggable.php on line 331’
it does post though. we’re almost!
July 21, 2007 at 1:10 pm #59264In reply to: let’s build a poll plugin!
_ck_
ParticipantWell there’s isn’t any forum development issue that is urgent in a firetruck sort of way (but that’s a cute expression).
Maybe I’m just being impatient, maybe it’s far too soon for bbpress to attract a decent base of plugin developers/users. I’d just like to see it sooner than later. 0.8.2.1 added some critical features, with just a few more it’s almost ready to hatch.
Let’s look at the finish line, one possible goal for bbpress. Take a look at a typical Simple Machines forum aka SMF (PHP+mysql, open source)
http://forums.lesterchan.net/ (that’s GamerZ)
look at the useful features on the page.
Now look at the lovely low query counts down below.
I’m a big vbulletin fan but that works better than vbulletin IMHO.
I wouldn’t call that forum “heavyweight” and I wouldn’t call SMF “bloated”. So what’s going to be bbpress’s niche then if it’s not going to do what SMF does?
(ps. poke through the menus on SMF 2.0 too http://www.simplemachines.org/community/ oh and then look at the insanely low query count at the bottom of a full page of posts)
July 21, 2007 at 12:08 pm #59263In reply to: let’s build a poll plugin!
fel64
MemberThe rush is that the project is “out there” and people are looking at it and coming to conclusions. Bad conclusions.
One of these days you’re going to have to show us the crystal ball that tells you everything about the users and potential users of bb.
What I find interesting is the belief around here that wordpress integration is not a major desire by most people evaluating it. How would we ever know the sheer number of people that have looked and been turned off?
I think that tidbit (or at least, in my case) is based on a hand-me-down from Trent who’s pretty close to the folk at automattic and they’d be the ones to know.
How would we ever know the sheer number of people that spontaneously combust when they use bb?! You make it sound like the entire internet trooped over and looked at bbPress yesterday, saw that there was no plugin for this or for that and decided that they would stick to phpBB.
I think that the implied opposite of ‘overly sophisticated’ (is that a polite ‘bloated’?) can equally be ‘lean and mean’ rather than ‘underly sophisticated’.
I think that bb just isn’t ready in a lot of ways for what you’re trying here. At 0.8.2.1 it doesn’t _need_ to have a full gallery of plugins yet just like it doesn’t yet have a full feature set. Sure more plugins are a good thing but it’s not urgent in the sort of firetruck way.
fel64
MemberYup. Add
global $bb_cache;to bbpress’ config.php.July 21, 2007 at 11:14 am #59262In reply to: let’s build a poll plugin!
_ck_
ParticipantThe rush is that the project is “out there” and people are looking at it and coming to conclusions. Bad conclusions.
I’ve tried to attract/recruit some of the major wordpress plugin writers to bbpress and the response has not been good unfortunately.
What I find interesting is the belief around here that wordpress integration is not a major desire by most people evaluating it. How would we ever know the sheer number of people that have looked and been turned off? At least one person on wikipedia sees it this way:
The project was created by Matt Mullenweg to support users of WordPress. Existing bulletin-board software was overly sophisticated for those requirements, so bbPress was created with the same focus as WordPress: a functional and extensible core, with all other capabilities delivered through plugins.
The “overly sophisticated” really bothers me.
Because that would mean bbpress’s goal is to be under sophisticated. Obviously that’s not the official statement but my point is that’s how it’s being perceived.
Keeping advanced features out of the core is fine. I get that. But some of those features should somehow exist in plugin form by now – at least that’s what I was hoping for. So now I am trying to make that happen, which I can barely do on my own as I am not a professional programmer by any means.
In some good news, GamerZ is happy to have me try porting his WP Polls. The bad news is he is unlikely to stop using his SMF forum software anytime soon and try bbpress. Not that I blame him right now.
July 21, 2007 at 4:13 am #59297In reply to: front page takes 50 mysql queries
_ck_
ParticipantActually he can’t really “fix” the plugin, it’s an overall integration failure which necessarily adds more mysql queries (just like the plugin needed to allow spaces adds more overhead).
Basically the output template will HAVE to use a difference function call than the “use display name” which fixes it everywhere else before it’s written back to the database.
It’s the cost of integration and yet another example of why bbpress isn’t magically better than any other forum for integration with wordpress.
(or just use my workaround to cut out the extra queries

ps. “mdawaffle” wasn’t a “dig” – isn’t that his nickname?
July 21, 2007 at 4:01 am #59316_ck_
ParticipantYup this is another area where bbpress has to be fixed before it hits the mainstream (or before the mainstream will adopt it).
If you are using it with wordpress, for now you can route all the login/register links to wordpress which does a better job.
I discovered this by accident from the plugin that email favorites which I then had to hack directly to fix.
I’ll open a ticket in trac if there isn’t one already.
July 21, 2007 at 1:11 am #59230In reply to: Plugin: Plugin browser for bbPress
Sam Bauers
ParticipantI’ve updated the plugin to version 0.1.5 which adds support for plugins with sub-directories.
July 20, 2007 at 11:11 pm #2143sam_a
MemberI know the emails have to come from somewhere, but still… this was surprise.
Could there be a notice somewhere that the admin email is used to send every registration notification? Spambots are getting it too

I had expected that bbPress would use it only to send notifications to the admin.
crowspeaker
Memberfel,
I’ve installed brand new version of WP and BBP and am running then locally. The only plugins I have activated are (in WP) BBSync and BBPress Integration. I also have WP integration running in BBP.
However, it never actually seems to post anything. WP posts the new blog post, but the topic is not created in the forum.
July 20, 2007 at 6:57 pm #59261In reply to: let’s build a poll plugin!
Sam Bauers
Participant> bbPress needs some serious options fast if it’s going to hit critical mass and attract additional quality programmers.
What’s the rush?
July 20, 2007 at 6:44 pm #59279In reply to: plugin idea: wiki post (group editable post)
_ck_
ParticipantAh I have another idea that would allow it to use the regular post editor and all it’s features/hooks.
bbpress won’t display any post normally that doesn’t have a status of 0. “1” is deleted. But something like 9 could be the wikipost for the topic. That way even older topics could get a wikipost. All we have to do is check for a post status of 9 with the topic id and if so, display it after the topic summary on top. Hook it to show an edit button that works for any subscriber (or maybe a level setting so only mods, etc can edit it) and of course a button within the topic summary to start a wikipost if there is no post with a status of “9”.
Too exhausted to start on this project this week but will look at it next. If anyone wants to have a go at it, please do.
July 20, 2007 at 6:21 pm #59293In reply to: front page takes 50 mysql queries
_ck_
ParticipantHmm. Well I don’t think it’s an old theme but it might be another plugin hooking topic_last_poster(). I will have to dig.
Also, how many forums + topics are you showing on your front page?
I’ve got 8 forums and 35 topics with roughly 20 unique last poster usernames on the front page.
Not that it really matters, if you are only hitting 11 queries than it’s still quite efficient. What’s funny is it could be single digit queries except that bbpress tests that it exists by hitting the database with a useless query every time it starts.
July 20, 2007 at 6:12 pm #59310In reply to: Noobish CSS Question
Andrew
MemberThanks. Someone else contacted me with another fix.
add this
<div style=”clear:both;”></div>
just before the end of wrapper div.. before this
</div>
<div
id=”footer”>
<p>Nyquist Forums is proudly powered by <a
href=”http://bbpress.org”>bbPress.</p
>
</div>
There are more topics but they are private.
July 20, 2007 at 5:05 pm #59229In reply to: Plugin: Plugin browser for bbPress
Sam Bauers
ParticipantJuly 20, 2007 at 3:33 pm #59288In reply to: front page takes 50 mysql queries
_ck_
ParticipantEek – I’m kinda freaked out by how bbpress handles front page topics and appends the last poster’s name.
Two separate mysql queries are made for each name to get the data. Instead of retrieving the sequence of names all at once so it’s within the same table for speed. So if you have 50 front page topics with 50 different authors, beyond all the other queries will be 100 more queries.
That’s got to be addressed if bbpress wants to call itself lightweight and efficient. All those names could be gotten with two built up calls, regardless how many on the front page.
July 20, 2007 at 2:15 pm #59228In reply to: Plugin: Plugin browser for bbPress
so1o
Participanti dont see any plugins in the list either.. i dont have any other plugin except this one..
am i doing something wrong!
July 20, 2007 at 2:12 pm #59260In reply to: let’s build a poll plugin!
_ck_
ParticipantYou mean the one by GamerZ S010?
I’ve watched him improve that over the past year or two, actually sent some bug fixes and improvements. Still doesn’t do quite everything I’ve seen in other advanced polls but he’s got the multi-vote option so that’s good.
It uses the metadata so it would be fairly easy to convert, the only problem is his creation and management menus are all meant for the admin interface so a new creation routing would have to be written for the regular user interface. Then there is the problem of the trigger and attachment. I guess it gets attached to the topic-info box.
Now if we could only get him to switch from simple machines forum to bbpress we’d have a shedload of new bbpress plugins within a month
July 20, 2007 at 12:45 pm #59210In reply to: Help with an if/then statement
outchy
Membersweet, thanks.
now the only one i’m getting hung up on is the “add new topic” page because the page url is http://www.example.com/bbpress/?new=1 and i can’t see which page that actually is referring to (i can usually see something like “/topic.php?id=35&page&replies=2” in the url to know what page to edit. i know the actual form itself resides in post-form.php but the <h2> i’m trying to alter isn’t actually in that file. same goes with the line breaks before it, they would go in the same place.
i can see where it is in the template-functions.php:
elseif ( is_bb_tag() || is_front() )
$h2 = __(‘Add New Topic’);
i simply can’t find it elsewhere in the code and i’m going mad and blind!
all your help is much appreciated.
ps: one more thing! do you know where would i change the “you must log in to post” text?
July 20, 2007 at 11:19 am #59257In reply to: let’s build a poll plugin!
_ck_
ParticipantEr, okay. I don’t follow. Are you making one then?
Or are you just rubbishing my idea of porting one of hundreds of existing php polling programs (a dozen for wordpress alone) to save weeks of development and bug squashing?
bbPress needs some serious options fast if it’s going to hit critical mass and attract additional quality programmers. I just want to see a decent polling feature added as soon as reasonable possible.
July 20, 2007 at 11:09 am #59277In reply to: plugin idea: wiki post (group editable post)
_ck_
ParticipantYes but how would i use the editing edit post template without having to recreate a post editor, etc.
Oh wait, you mean to create it as the 2nd message when a new topic is created. Old topics would not be able to have a wiki post.
Hmm.
If only bbpress actually obeyed post_position, there would be so many nice tricks that would be so easy to do. Argh.
July 20, 2007 at 10:30 am #59284In reply to: Bug in register-success.php?
fel64
MemberJuly 20, 2007 at 10:22 am #56713In reply to: Plugin: Avatar Upload
LMD
ParticipantHi, the error you are reporting appears to be a problem with the bbPress core code, specifically the user ‘capabilities’ class.
Have I understood this correct:
– You are using the latest bbPress version (0.8.2.1) ?
– The error only appeared AFTER you upgraded to the latest Avatar Upload plugin to version (0.6.2)?
– Does the error appear on EVERY page, or just the Avatar Upload template in the profile area?
July 20, 2007 at 8:35 am #59287In reply to: front page takes 50 mysql queries
_ck_
ParticipantAh I totally forgot I’ve got visitor tracking which adds some calls but doesn’t explain why it’s more than a dozen calls by design.
If anyone’s interested, I’ve ported the “query diagnostics” plugin from wordpress so you can see each mysql call used, hidden as a report at the end of each page (for administrators).
<?php
/*
Plugin Name: bb-benchmark
Plugin URI: http://CKon.WordPress.com
Version: 0.10
Description: Prints simple benchmarks and mysql diagnostics, hidden in page footers.
based on Jerome Lavigne's Query Diagnostics for WordPress http://vapourtrails.ca/wp-plugins
Author: _ck_
Author URI: http://CKon.WordPress.com
*/
/* INSTRUCTIONS:
1. add this line to your bbpress config.php file: @define('SAVEQUERIES', true);
2. install & activate plugin
3. do a "view source" on any bbpress page to see hidden results at bottom
*/
function bb_benchmark_output() {
if (bb_current_user_can( 'administrate' ) ) :
if (SAVEQUERIES) :
global $bbdb;
echo "<!-- n === benchmark & query results === n ";
while($qposition < $bbdb->num_queries){
$qsubtime=$bbdb->queries[$qposition][1];
if ($qsubtime>$qmaxtime) {$qmaxtime=$qsubtime;$qmaxquery=$bbdb->queries[$qposition][0];}
$qtotal += $qsubtime;
$qposition++;
}
$timer_stop=bb_timer_stop(0);
echo @shell_exec("uptime")."n";
echo "query count: ".$bbdb->num_queries." nn";
echo "total query time: ".round($qtotal,4)." seconds nn";
echo "total page time: ".round($timer_stop,4)." seconds.nn";
echo "page render difference: ".(round($timer_stop-$qtotal,4))." seconds nn";
echo "slowest call was: ".$qmaxquery."n at ".round($qmaxtime,4)." seconds nn";
if (phpversion() >5.0 && function_exists(memory_get_peak_usage()) && function_exists(memory_get_usage())) {
echo "nn === memory usage === n";
echo "peak memory ".memory_get_peak_usage()." nn";
echo "total memory ".memory_get_usage()." nn";
}
// echo "nn === resource usage === n";
// print_r (getrusage());
echo "nn === mysql queries used === n";
print_r($bbdb->queries);
echo "-->";
endif;
endif;
}
add_action('bb_foot', 'bb_benchmark_output');
?> -
AuthorSearch Results