Search Results for 'code'
-
AuthorSearch Results
-
November 23, 2008 at 11:43 am #68979
In reply to: bbPress – using bb_top_topics()
mithrandir321
MemberJeez, the thing why I couldnt log in was caused by year long cookie plugin. Deleted it and its okay now…
The thing with rating in FF persists though
November 23, 2008 at 8:51 am #69229In reply to: Change Login/Register Options
_ck_
ParticipantSure, you can edit the login-form.php template and replace it with a link to
bb-login.phpNovember 23, 2008 at 1:12 am #69018In reply to: BBpress. Mindset, features and where now? discuss…
timskii
MemberThis topic is an interesting read.
I don’t see that BBPress should fit established norms for “forums”, which I personally think are horribly outdated: Trying to apply a nice neat academic/usenet ontology to the “Twitter generation”, who would rather just communicate. Now.
So I believe the prime role of “forum software” is to allow users to freely express themselves. Structuring and organising the information they post is a different challenge. “Categories” is essentially a response to that challenge. But can’t we do better?
Which ironically is where things like XML-RPC become interesting. Can I make use of that now? Probably not. But it surely has potential to cross-reference discussions.
BBPress is clearly still an early stage product. It’s certainly not there yet, even if technically it works. And almost by definition nobody is going to have clear view of where it is going.
(And for the record, personally the biggest annoyance with the core of BBPress (0.9.x) is that users cannot register using a unicode-style username – Russian, Chinese, Arabic, or even oddball European characters. It’s just… rude, right? Or is there a solution I’ve missed that doesn’t involve rewriting the core?)
November 22, 2008 at 6:55 pm #69017In reply to: BBpress. Mindset, features and where now? discuss…
_ck_
ParticipantI’m not a fan of XML-RPC myself but it’s a feature Matt wanted to pioneer. He mentioned it in one of his first announcements about bbPress. He wanted some features no other forum has. Given that it’s his “baby” he can guide it in any direction he feels fit of course.
bbPress is just like WordPress in one major way – if you don’t like something, or want to make it better – get coding.
WordPress didn’t have documentation for YEARS. You can find many complaints about it. Even as recent as 2.0 I believe. But look at it now.
bbPress is the same way. And in a couple years, newcomers will wonder what the heck you were complaining about.
Last but not least, in fact most importantly, you’re working with a pre 1.0, pre-release project – what exactly are you expecting? Features aren’t even locked in yet.
I only learned PHP a few years ago and I figured out how to code for bbPress, 100% without documentation. If I can do it, anyone can.
November 22, 2008 at 1:40 pm #69076In reply to: WP 2.6.3 & bbPress 1.0A2 slight fix
WebDev WaxLotus LLC
Member@ipstenu: So your bb-config.php has:
$bb->wp_siteurl = 'http://ipstenu.org/blog';
$bb->wp_home = 'http://ipstenu.org/blog';
$bb->cookiedomain = '.ipstenu.org';
$bb->cookiepath = '/';
$bb->sitecookiepath = '/';
$bb->admin_cookie_path = '/forum/bb-admin';
$bb->core_plugins_cookie_path = '/forum/bb-plugins';
$bb->user_plugins_cookie_path = '/forum/my-plugins';etc.
and your wp-config.php has similar entries:
define('COOKIE_DOMAIN', '.ipstenu.org');
define('COOKIEPATH', '/' );etc?
November 22, 2008 at 12:34 pm #69109In reply to: Unable to turn off Gravatar?
_ck_
ParticipantIt was also reported here:
https://bbpress.org/forums/topic/gravatar-disable-issue
There is a bug in
bb-admin/options-general.phphttps://trac.bbpress.org/changeset/1499
Edit
bb-admin/options-general.phpand right near the top after
bb_check_admin_referer( 'options-general-update' );add this line:
if (empty($_POST['avatars_show'])) {$_POST['avatars_show'] = false;}November 22, 2008 at 8:13 am #4271Topic: [1.0 Trunk 1813] bug report
in forum Troubleshootinglstelie
Memberlastest commit issues
Fatal error: Call to undefined function number_format_i18n() in /foo/bar/bbpress/bb-includes/functions.bb-core.php on line 231see : http://luc.saint-elie.com/bbpress/
Luc
November 22, 2008 at 6:31 am #69160In reply to: Remove ‘dash’ from forum description
_ck_
ParticipantThe function is tricky in how it works, many WP/bbPress functions now use the generic $args call instead of breaking it down by field.
First it checks if what’s passed to it is a number, if so, the number is treaded as a specific forum id request.
If it’s NOT a number, then it’s checked if it’s not empty, and then if it’s a string and there’s no problem using it in an array. If so, then it’s used as the
beforeelement.To bypass those situations, you’d have to send it an array
Something like:
$args = array( 'id' => 1, 'before' => ' [ ', 'after' => ' ] ' );
forum_description($args);Where you could leave out any of those elements inside args if you didn’t want it, like the
id,after, etc.November 22, 2008 at 5:03 am #69207In reply to: BBpress faster than WordPress
techypenguin
MemberThanks but the quiries doesnt work. might be because of my theme. anyway, most of the paid server out there are much faster than the virtualhost. all other cms template like phpbb3 and mambo i’ve tried are slower than the previous version of them. i already max out my cache on the server but it’s still slow
. sometime it’s crash after a week or so. dont have budget for the bladeserver though.haha
November 22, 2008 at 2:57 am #69169In reply to: Created By. Missing. Advice?
chrishajer
ParticipantFrom your forum:
> Please wait a reasonable amount of time before
> bumping posts. Try to bump posts using 24 hours
> as a guideline. Posts that are not within these
> guidelines are subject to removal.
I found that funny. Also funny to say “preying” vs. praying. All very interesting.
Anyway, to find out who started a topic, you need to stick this into your template somewhere, wherever you want to see that information.
<?php echo get_topic_author(); ?>November 22, 2008 at 12:32 am #69159In reply to: Remove ‘dash’ from forum description
chrishajer
Participant_ck_ – what if you wanted to use a different before character? I tried
forum_description('before=x');but that didn’t work. I couldn’t get before or after to work.Can you explain how to use the arguments for that function please? Thanks.
function forum_description( $args = null ) {
if ( is_numeric($args) )
$args = array( 'id' => $args );
elseif ( $args && is_string($args) && false === strpos($args, '=') )
$args = array( 'before' => $args );
$defaults = array( 'id' => 0, 'before' => ' – ', 'after' => '' );
$args = wp_parse_args( $args, $defaults );
if ( $desc = apply_filters( 'forum_description', get_forum_description( $args['id'] ), $args['id'], $args ) )
echo $args['before'] . $desc . $args['after'];It seems like the relevant info is listed right there in the $defaults array, but I couldn’t stumble upon the combination to make it work.
November 22, 2008 at 12:28 am #69206In reply to: BBpress faster than WordPress
chrishajer
ParticipantMore queries in WordPress vs. bbPress?
You can add this to your template footer.php (one for WordPress and one for bbPress) files and it will add a comment that is visible in the source with the amount of time taken and how many queries it took to generate the page.
bbPress
<!-- It took <?php bb_timer_stop(1); ?> and <?php echo $bbdb->num_queries; ?> queries -->
WordPress
<!-- It took <?php timer_stop(1); ?> and <?php echo get_num_queries(); ?> queries -->
Maybe you can spot some differences there.
November 21, 2008 at 11:18 pm #68976In reply to: bbPress – using bb_top_topics()
mithrandir321
MemberDoh, now the rating itself – bb_rating_dingus() – doesn’t work. I can click on a star, but it doesn’t go into the database

Another thing I noticed, we’ve got different line numbers so maybe you have a different version from mine?
November 21, 2008 at 10:51 pm #68975In reply to: bbPress – using bb_top_topics()
mithrandir321
Member_CK_: sorry to bother you again, I’m sure you know the answer and I just can’t resist asking. How would the code change if I wanted to list the Forum along the top rated topics?
If you get round taking a look at it I’d be very grateful.
November 21, 2008 at 10:16 pm #69157In reply to: Remove ‘dash’ from forum description
kevinjohngallagher
MemberSadly not mate.
I know what you’re thinking.
Something like : https://codex.wordpress.org/Template_Tags
But no, it’s all guess work.
November 21, 2008 at 10:13 pm #69193In reply to: Unable to Login
kevinjohngallagher
MemberI know what you’re thinking, that it probably *should* be mentioned either here:
https://bbpress.org/documentation/integration-with-wordpress/
or
but it’s not

BBpress, great software, also useful for testing your abilities to mind read!
November 21, 2008 at 5:04 pm #69015In reply to: BBpress. Mindset, features and where now? discuss…
kevinjohngallagher
Member“Oh one big thing I should point out – the features in bbPress, and the time of the main developers are first and primarily geared towards the need of Automattic and WordPress.org – people forget or don’t realize that.”
We don’t get or realize that because… it’s not written anywhere.
We’re not mind readers.
“The features that are “missing” from bbPress just happen to be the features that Matt decided weren’t a priority for WordPress.org and the other Automattic forums.”
Oh. See, now that’s a totally different light on the subject. I didn’t realise i was building something for Matt to fit Matt’s needs and for the needs of Matt’s companies. Maybe that should be written down somewhere too…
“It’s also why there is no documentation, remember Matt has to pay the coders, why does he need documentation for 3rd party plugin developers if it’s just going to cost money.”
I do understand that, but surely the actual developers have some form of documentation too. Couldn’t we all see that to make ‘Matts’ product better? And it’s not like Automatic is short of a few bob.
Surely, from a business point of view, having documentation to increase the number of theme and plugin developers will increase the take-up rate of BBpress.
“bbPress 1.0 and the backpress integration are now being driven by Matt’s goal of TalkPress for WordPress.com members.”
So, what this means is that we can’t, as a community, do anything about anything, because we’re all following Matt’s plan, to which we have no feature list or roadmap or really any visibility of?
I dont expect Matt, or really any WordPress/Automatic employee, to have to run things by anyone in the community – i’m not saying that I do. But the… pretence that this is an open source project is totally nullified if we’re all coding against a grand plan and road map we’re not allowed to see.
If the new standard answer is going to be “that’s not on Matt’s wishlist but we’re not going to tell you what is on it – go on GUESS” then can start to see why so many people have left the BBpress community, and why all the themes/forums we’re seeing all look the same.
November 21, 2008 at 4:45 pm #69074In reply to: WP 2.6.3 & bbPress 1.0A2 slight fix
John Doe
ParticipantGlad to help musnake!
Thanks for the heads up with the custom WP login
November 21, 2008 at 4:34 pm #69111In reply to: in which folder upload bbpress?
Ipstenu (Mika Epstein)
ModeratorPsst! You mean to put bbpress here:
/home/www/example.com/bbpressIf you put it under wordpress, your URL will be http://www.example.com/wordpress/bbpress
November 21, 2008 at 4:24 pm #69013In reply to: BBpress. Mindset, features and where now? discuss…
_ck_
ParticipantOh one big thing I should point out – the features in bbPress, and the time of the main developers are first and primarily geared towards the need of Automattic and WordPress.org – people forget or don’t realize that.
Remember, bbPress is a purpose driven product that happens to also be open source. It wasn’t just a few people that said “hey let’s make a better free forum because we can”.
The features that are “missing” from bbPress just happen to be the features that Matt decided weren’t a priority for WordPress.org and the other Automattic forums. It’s also why there is no documentation, remember Matt has to pay the coders, why does he need documentation for 3rd party plugin developers if it’s just going to cost money.
bbPress 1.0 and the backpress integration are now being driven by Matt’s goal of TalkPress for WordPress.com members.
So there’s the logic that some might not understand without perspective. There are projects like SMF that literally WERE “let’s make a better free forum” that have matured now so you can compare to them – but remember they are half a decade old. bbPress is far younger (and bbPress is way easier to write mods for).
November 21, 2008 at 4:17 pm #69012In reply to: BBpress. Mindset, features and where now? discuss…
_ck_
ParticipantSteveDrum both anon posting and PM are plugins.
I don’t see why they should be built in, I for one don’t like them on my forums and it bloats the code.
Until 1.0 there was a problem with anon posting because there was no place to store post meta, but now the general bb_meta table can be used. So maybe one day it will have it built in but not likely 1.0
November 21, 2008 at 4:00 pm #69116In reply to: Theme: iNove Release (v0.1)
suzkaw
MemberThanks for the comments guys.
@__ck__ when you say views are talking about the forum list? Also good idea about the search. I just couldn’t figure out a good place for the register login section.
November 21, 2008 at 3:16 pm #69010In reply to: BBpress. Mindset, features and where now? discuss…
kevinjohngallagher
MemberJust seen Sam pop up on these boards (was beginning to think he was a myth), so hopefully we’ll get an answer on some of these points we’ve made
November 21, 2008 at 2:43 pm #69155In reply to: Remove ‘dash’ from forum description
_ck_
Participantforum_description has an optional “before” argument
try
forum_description('');November 21, 2008 at 2:39 pm #51836In reply to: Plugin – Member List
_ck_
Participantcocotrp, you can exclude IDs by modifying the mysql queries and changing
WHERE user_status = 0to
WHERE user_status = 0 AND user_id NOT IN (1,2,3,4)1,2,3,4 are the user_id’s you don’t want to be displayed.
-
AuthorSearch Results