Search Results for 'code'
-
AuthorSearch Results
-
July 20, 2010 at 9:14 am #91289
ZKuJoe
MemberI don’t get it. bbPress is open source and under the GNU GPL license. If the current teams stops developing it I’m sure somebody may pick it up. I for one won’t stop using it even if me or my co-workers have to code our own bug fixes.
July 20, 2010 at 7:46 am #91238In reply to: Moving posts to catagories is disabled
mr_pelle
ParticipantFrom the same page where you usually create forum. Remember to select its parent forum from the dropdown menu!
July 20, 2010 at 7:31 am #91260In reply to: What should be a Plugin, and what should be in Core
John James Jacoby
Keymasterjohnhiler, part of us using WordPress’s built in API and architecture means we’re actually leaving turned off a lot of functionality that could easily be turned on, filtered, changed, or added to with actions.
Without it being too over the top, we’re trying to plan ahead and put actions and filters where I think I would use them myself. Since most of what we do for clients is develop custom plugins to change the way WordPress functions, we should be able to apply that experience to bbPress.
One of the things we’ve struggled on with BuddyPress, is how to make plugins, for plugins. Since plugins don’t have an internal dependency like there is on CSS or JS, we’ve had to filter and action our way into a workable solution.
So while bbPress itself is a plugin, the plan is for other plugins to be able to sneak in and change bbPress behavior before it loads, or be able to ‘plug in’ the same as always. So bbPress will be its own core, but also modular and pluggable.
All this, while striving to be as light as possible. Our work is cut out for us.
July 20, 2010 at 7:18 am #91397John James Jacoby
KeymasterI think if there was such a thing as optimism police, they would live in these forums.

I also think, the people we will win over, are everyone that thinks this is the worst thing ever to happen since burnt bread.
July 20, 2010 at 7:06 am #90516kevinjohngallagher
Member_ck_,
Really apprecaite the hints.
I’m definately not a PHP coder by trade, so these sorts of tips are invaluable.
Cheers,
Kev
July 20, 2010 at 6:57 am #91205In reply to: bbPress activity metrics
_ck_
ParticipantHey stats are working in the plugin section, awesome. Thank Matt.
Now just get tag import working again (from the
readme.txt) and the plugin section practically back to 100%July 20, 2010 at 6:26 am #90515_ck_
ParticipantHey good work.
Let me make a strong suggestion in your code technique.
All those variable names being tossed around as globals is somewhat dangerous – someone is going to accidentally “step” on one someday.
Instead how about an array or object instead?
ie.
$topic_add_quotes=blah;
$topic_add_sticky=blah;
$topic_add_sticky_label=blah;
etc.and
global $topic_add_quotes;
global $topic_add_sticky;
global $topic_add_sticky_label;
etc.instead becomes
$kjg_seo->topic_add_quotes=blah;
$kjg_seo->topic_add_sticky=blah;
$kjg_seo->topic_add_sticky_label=blah;
etc.and then no matter how many items you just pass one pointer in your functions
global $kjg_seo;The added benefit is you can later loop through all the elements if you make an admin menu.
Also, when switching based on page type, constantly calling all the different functions, ie is_forum, is_front, is_topic etc is “expensive” because of how bb_get_location works
Instead just
$location=bb_get_location();and then look at what it sends you in the string which is ultra fast for each of the comparisons.
July 20, 2010 at 5:22 am #91278In reply to: Turned bbPress into my blog
ZKuJoe
MemberThanks for the feedback and the link to the plugin but I don’t want it to look or feel like a blog, just act like a blog. I prefer the thread/post structure over the entry/comment structure. I was originally using WordPress and had a MyBB forum on the same site, then I switched over to just a MyBB forum with a Blog plugin, but then found that bbPress felt like both a blog and forum without requiring different installations to achieve both. I just created certain categories that only I could post in (the “My” areas) for my “blog areas” and the rest are open for free discussion.

I am working on getting the first post of the latest topic to appear on the front page but I have to many other development projects on my plate at the moment.
July 20, 2010 at 4:44 am #91259In reply to: What should be a Plugin, and what should be in Core
johnhiler
Member“Shared-hosts are the bread and butter of WordPress usage. The good news is servers are way more powerful than when I wrote the first bbPress, and we can take advantage of that to provide a richer experience.”
This is definitely true. It’s kind of the Microsoft approach: grow the OS core, and lean on the hardware handle the growing codebase. It works for smaller sites that don’t hit scaling limits and for larger sites that can afford bigger hardware.
“The uncertainty of testing the interactions of N factorial plugins is daunting and gets untenable quickly.”
Plugin interaction is definitely a concern. But in practice, I have rarely if ever had plugins conflict with each other.
“Better to draw a line in the sand and promise the user ‘these things will always work together.'”
I think the “promise” model depends on having a large and growing team of developers actively managing the core. That hasn’t been the case in the past, so moving stuff into the core has actually slowed down development of the platform quite a bit. Perhaps things will be different in the future…
In any case, even with developers available to help build up the core – I’d still prefer to have a model that embraces plugin developers, and then has specific plugins blessed as official branches. This is where more social forms of source control like GitHub may be better than Subversion; plugins wouldn’t be dependent on just one developer, since anyone can seamlessly create and post a new branch. It’s much more like the pastebin stuff that’s constantly going on here in the bbPress forums.
Thanks for the reply!
John
July 20, 2010 at 4:19 am #91340Matt Mullenweg
KeymasterI also remember 0.7 fondly — along with Akismet it was the released product with the highest percentage of my code. Last year I shifted most of my code to internal tools, and this year that has waned even more due to the force of nature that is Mr Momrik my Technical Assistant.
That said, there is minimalist-beautiful, and minimalist-useless. Even Ferarris have stereo systems. I think we can find the balance between the two even though it might mean we misstep in one direction or the other along the way.
I agree with you more than you. In hindsight BackPress was a mistake. Its goal was to unify WP and bbP development, and it just ended up crippling bbPress with needless abstraction and didn’t actually generate any user-critical improvements, like being able to use WordPress themes.
July 20, 2010 at 4:00 am #91257In reply to: What should be a Plugin, and what should be in Core
johnhiler
Member“johnhiler, 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.”@John James Jacoby – I’d love to hear more! What do you mean?
July 20, 2010 at 3:38 am #91395John 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.
-
AuthorSearch Results