Search Results for 'code'
-
AuthorSearch Results
-
July 20, 2010 at 3:38 am #91395
John James Jacoby
KeymasterI think bbPress as a plugin is going to win a lot of people once it’s ready and out in the wild.

Erlend, will try my darnedest to deliver
July 20, 2010 at 3:34 am #91256In reply to: What should be a Plugin, and what should be in Core
John James Jacoby
Keymasterjohnhiler, if you like plugin-centric development, you should love the bbPress plugin so far (hopefully)
Hopefully it’s able to walk the line and offer the best to both.What is a plugin and what is core is always one of those topics that tends to change and drift with the times. 6 years ago having properly formatted links to someones blogroll was considered important enough for WordPress core, but chances are people are using that functionality less and less as time goes on and people are able to connect to people more quickly and organically.
kevinjohn, we haven’t tackled it in the plugin version yet, but the difference between a ‘category’ and a ‘forum’ will be fairly distinct once we get it going. My experience working with the Categories Hierarchy project back in my phpBB days taught me the importance of handling the way those types of data behave.
July 20, 2010 at 1:01 am #89048In reply to: OneMoreThing.nl
johnnydoe
Memberi’ve echoed already everything before, but still whammy
July 20, 2010 at 12:48 am #89047In reply to: OneMoreThing.nl
kevinjohngallagher
MemberDude, blame sleep on my part. Add an echo
echo bb_get_avatar( $topic->topic_last_post_id , '48');July 20, 2010 at 12:42 am #89046In reply to: OneMoreThing.nl
johnnydoe
Memberso the
echo $topic->topic_last_post_id;string worked, i’ll get some i’d s like 1075, 1071, 1065 etcetera, but still no pictures the other way around, is there probably also a problem because i’m on localhost?July 20, 2010 at 12:30 am #34769Topic: bb_admin_link – Can I change the 'Admin' text?
in forum Themeselbuagnin
MemberHello,
I’m working on a site with full integration of WordPress & bbPress. Everything is working great! (After a fair bit of fiddling!
)So now I’m just working on cosmetics. I want to show both WordPress & bbPress admin links in the header. So I want to make it obvious which is which.
Is there anyway to get bb_admin_link to output something different than ‘Admin’. Does it take more arguments other than ‘after’ and ‘before’? Or do I need to hard-code it somewhere?
I’ve looked around a bit on the site, but I haven’t found much info on this function.
Thanks!
July 19, 2010 at 11:57 pm #89045In reply to: OneMoreThing.nl
kevinjohngallagher
MemberOk mate, first thing to test is, if you specify an ID, do you get an image.
eg: bb_get_avatar(1);
If so, aweosome. then we’ve narrowed down the problem to the ID we’re passing.
i’d also add this line:
echo $topic->topic_last_post_id;and see what that outputs. (should be a number).
July 19, 2010 at 11:48 pm #89044In reply to: OneMoreThing.nl
johnnydoe
Memberhey kevin,
there is really nothing to be sorry about, no stress, i’m already glad and thankful for the help you offer.
i’ve tried your code and i had still bad luck, but i’m going experiment with your code snippet tonight, i bet it’s probably an incorrect structure in my theme or something like that, but i keep trying
July 19, 2010 at 11:41 pm #91312Ivaylo Draganov
MemberThat sounds great but after nearly 3 hours of attempting to get it working… I just feel too tired to keep trying.
I’ve set everything as per the instructions (cookiedomains, hashes, etc.).
Both WP and bbPress are generating cookies with the same names and same paths.
But by some unknown (to me) force they refuse to recognize each other’s cookies – when I log into one of them I get thrown out of the other.
It’s bbPress 0.9.6 with WP 2.9.2
Maybe I’ll try on clean installs tomorrow…
I just don’t have a clue what’s wrong
July 19, 2010 at 11:08 pm #91393Erlend
ParticipantIs there any timetable when the bbPress plugin project would be ready?
I’ve set my hopes for a Christmas Alpha
July 19, 2010 at 10:24 pm #91392Mark McWilliams
MemberIs there any timetable when the bbPress plugin project would be ready?
It’ll be a while yet I’m sure? If we go anything by the 1.2 Milestone on the bbPress Trac, it says another 5 months away, and remember that at the moment we’ve only got Pete Mall and JJJ working on it!
@Matt Mullenweg: Glad to see you around here again!
July 19, 2010 at 9:53 pm #91254In reply to: What should be a Plugin, and what should be in Core
hpguru
MemberbbPress plugin for WordPress with reply in WordPress theme reply form with Akismet maybe a good idea.
July 19, 2010 at 9:44 pm #91354In reply to: bbPress PLUGIN and BuddyPress
Matt Mullenweg
KeymasterLove it.
July 19, 2010 at 9:44 pm #91390Matt Mullenweg
KeymasterThanks for starting a new thread. Some of your sentences are unclear to me, so if I misunderstand a question just rephrase it and I’ll do my best to answer it.
The WordPress.org integration is done through a shared user table and the same settings for cookies. It is a bit of a hack right now because WP and bbPress have a different idea of how those global tables should look and fight to modify them, which is what took down WordPress.org the other day. (It’s very slow to modify the schema of a user table with hundreds of thousands of rows.)
As for running multiple instances of bbPress, on different domains even, we actually did a fair amount of work for that (was going to call it mubb.org) and it’s the code that currently powers TalkPress.com. However it’s not release quality and it becomes moot because once bbPress is a full WP plugin you get multi-site for free from WP’s built-in MS feature, so you could run as many bbPresses as you like from a single install.
July 19, 2010 at 8:59 pm #89043In reply to: OneMoreThing.nl
kevinjohngallagher
MemberJohnnydoe,
sorry mate, rushed off my feet tonight, try this:
bb_get_avatar( $user->ID, '48');Is the code you’re looking for.
In order to get it to display the last poster you’ll need this:
bb_get_avatar( $topic->topic_last_post_id , '48');Usual disclaimer, i’m guessing at this code. Just annoyed I forgot to add the “bb_” when telling you this morning, sorry.
July 19, 2010 at 7:51 pm #86342In reply to: W3 Total Cache Working Great with Deep Integration
John James Jacoby
KeymasterThinking part of the JS minify issue may have been not emptying the cache after changing the settings. Before I wasn’t automatically uploading the changes to the CDN.
Seems to be fine now, and can’t duplicate it when I want to see it.

If you really want it minified, I’m happy to get the plugin author involved in testing, to see if it’s a w3tc or bbPress issue.
July 19, 2010 at 7:51 pm #91195In reply to: _ck_ owes me ten bucks
kevinjohngallagher
MemberI can shed some light on that.
Matt, I apologise in advance for this; but the constant slog in using this website in the months since the “bbpress2.0” theme release has been very tough. Did you know the homepage was a 404 for almost a week? And text was under 8px if you weren’t on a Mac or Linux. Patches and Changes were uploaded, changes not tested. We’ve a 6 page thread on it somewhere (it was sticked in the last 48 hours).
Anyway, the worst of those bugs meant that all HTML was parsed without exceptions (it wasn’t added to BackPress), so for just under 8 weeks, every single line of code we type into this forum has been converted to lots of & lts; and & gts; etc. It’s made giving solutions… difficult. Especially when copy/pasting. Especially for non PHP people.
Someone fixed the bug and added the fix to BackPress, but no-one picks up on the BackPress trac / forums (was bumped for 5 weeks) and no mails in the mailing list by a developer for almost 16 weeks. Eventually I reached out to Westi, who was awesome (no surprise really), and he stepped up and applied the patch (actually a few patches for us). It took another 13 days for it to be applied to this website. (I am also confident he’s now v easily contactable for everyone about backPress)
I ain’t intending on dredching up the past man, just… I know there’s some “ill will” around right now. Its not about “5 years of pent up anger” or anything like you said in the other post, it’s about last week, last month, the month before that etc.
With no intention of starting a long debate, would you have let the WordPress.org homepage be a 404 page for almost a week?
If no-one could give code exmaples on the WP.org support forums, would that have lasted from May to July?
We all drop the ball dude, its life, but if you wanted bbPress to help itself, it did. Ok, so not brilliantly or specacularly but it’s the dependancies placed upon us let us down, and the people we depended on were too busy making publicly disparaging comments at their WordCamp KeyNote speeches.
I often wonder if objectively you’d look at this post and think how you’ve done with bbPress: http://ma.tt/2009/08/kill-your-community/
I’m really glad you’re here and I’m thankful for your tone. I’m thankful for the information you’re giving. I, and I’m sure many others, are ok with us disagreeing on things, it’s the uncertainty coupled with the lack of respect (WordCamp comment + this website constantly breaking) thats stoked the flames of discontent.
In honesty bro, fair crack of the whip + information to make up our own mind = happy + repsectful community.
P.S. Sorry for the WTFmatt person. and haha, someone will be along to apologise for me in a minute
July 19, 2010 at 7:44 pm #91311Ashish Kumar (Ashfame)
ParticipantI am also in favor of using bbPress 0.9 as a standalone forum script rather than upcoming bbPress plugin.
Thanks for bringing this up!
July 19, 2010 at 7:27 pm #91338citizenkeith
ParticipantI greatly appreciate the consideration of using 2.0 instead of 1.2 which will at least slow down some confusion and make people realize the true weight of it as more than an update (and entirely different program).
Even from just a marketing perspective, calling the plugin 2.0 just has more impact. You’ll get more people adopting it, more feedback, more developers. It’s a win all around, IMHO.

Matt, I just wanted to quickly say thank you for coming back to bbPress.org forums and answering questions and communicating with us. There are a lot of passionate people here. We might not all agree on the direction, but I can tell you that already your presence (and JJJ and Pete) has helped morale immensely.
July 19, 2010 at 7:04 pm #91277In reply to: Turned bbPress into my blog
John James Jacoby
KeymasterAlways loved this idea personally. As a 2004 phpBB2.x graduate, I was constantly trying to make my forum software do stuff it wasn’t intended to do. This brings me back to those days.
July 19, 2010 at 6:54 pm #91246In reply to: What should be a Plugin, and what should be in Core
johnhiler
MemberI think most developers who run highly trafficked websites will prefer keeping stuff out of the core, to minimize bloat and to maximize scaling. Whereas most casual webmasters running a smaller forum will want as much in the core as possible.
It’s a natural tension. I think the best way to split the difference is to keep the core lean and mean, and then to have a set of pre-packaged plugins that are included in the main download that can be turned on (or can even default to being on). I think WordPress experimented with this direction last year? Not sure where it ended up though.
A few things were moved out of bbPress plugins into core, and it hasn’t really gone that well. “Subscribe to topic” was added to the core, and then promptly had a problem with spammed topics being blasted out over email. It’s a lot easier to apply a patch to a plugin than it is to get the patch approved in the core.
The “Page Links for bbPress” plugin was also moved into the core in 1.0. There were a number of code inefficiencies in that code that are now locked into the core. There was a recent patch released for the plugin version of Page Links (only for 0.9) that fixed this; that’s an example of how it can be helpful to keep non-essential stuff out of core.
July 19, 2010 at 6:53 pm #91359In reply to: Registration Email
_ck_
ParticipantThere is a filter on the
$message$message = apply_filters( 'bb_send_pass_message', $message, $user, $pass );So yes, you can change it now without hacking the core.
<?php
/*
Plugin Name: New User Email Message
*/
add_filter('bb_send_pass_message','new_user_email_message',10,2);
function new_user_email_message($message,$user) {
$message.="n You can also change your password at any time by editing your profile. n";
return $message;
}
?>July 19, 2010 at 6:44 pm #91336_ck_
ParticipantI greatly appreciate the consideration of using
2.0instead of1.2which will at least slow down some confusion and make people realize the true weight of it as more than an update (and entirely different program).I have to be honest though, I’ll probably be just going on my way once that plugin version is officially released to gold and the standalone versions become legacy.
You had a brilliant creation with 0.7, extremely lightweight and had the potential to be a pure framework and circumvent much of the legacy which shackles WP, but it’s all come full circle now and I simply cannot get behind such a radical reversion.
July 19, 2010 at 6:04 pm #91173In reply to: new performance testing plugin: Browser Timer
_ck_
ParticipantAh, your server has some kind of security option that does not allow code to execute directly from chmod 777 directories.
The first option would actually work better as far as not knowing the real directory or if you ever changed servers or directory names
ie.
$browsertimer['log']=dirname(__FILE__).'/browsertimer.log';Sorry this took so long to get going for you but don’t forget to work on why the queries are so high, that’s far more important.
July 19, 2010 at 5:54 pm #91172In reply to: new performance testing plugin: Browser Timer
pastorbobsforum
MemberWell, now this is…interesting.
I uploaded the test.php
After http://pastorbob.limewebs.com/my-plugins/browser-timer/test.php
I get this: `Internal Server Error</p>
<p>Directory “(removed for security)/pastorbob.limewebs.com/my-plugins/browser-timer” is writeable by group`
Which had one good thing to it: it gave me my server directory.
But anyhow, after that I tried again the http://pastorbob.limewebs.com/?browsertimer I discovered that is working, without the extra modification that you’ve suggested.
Simply
$browsertimer['log']=dirname(__FILE__).'/browsertimer.log';and it worked.I obviously modified the line to
$browsertimer['log']='(removed for security)/pastorbob.limewebs.com/my-plugins/browser-timer/browsertimer.log';and it worked just as well.Now, my uneducated conclusion was that as long as I had one file called browsertimer.log in my entire forum folder the two expression would output the same result. The 2nd on the other hand is the best one.
What would your conclusion be?
Thank you anyway.
Regards,
Bob
-
AuthorSearch Results