Search Results for 'code'
-
AuthorSearch Results
-
January 29, 2009 at 6:13 pm #70313
In reply to: Basic integration screencast
Ipstenu (Mika Epstein)
ModeratorI have to disagree there, chrisgoat
I have WordPress in
/blogand bbPress in/forumsand I have had WordPress on my site for a couple years before integration.I did set my cookies to all be treated as from root, mind you, but I do that for both bbPress and WordPress, and it works fine.
January 29, 2009 at 4:43 pm #57886In reply to: Changing the header
Ipstenu (Mika Epstein)
Moderatorcircuit – Try TextWrangler ( http://www.barebones.com/products/textwrangler/ ) instead of textEdit on a Mac. It’s MUCH better and handles my php files perfectly.
Also it’s free
January 29, 2009 at 4:42 pm #71436In reply to: Adding a right sidebar to kakumei
mzimmers
MemberOK, I’m almost ready to deal with compressing the middle of the page. First, I want to track down the final glitch in my sidebar presentation. I’m attempting to add some padding to the text “ScopedIn’s Sponsors” at the top, which is formatted as h2. (I do this on line 822 of my style sheet.)
For some reason, though, line 822 seems to be being overridden by some code *earlier* in the stylesheet (on line 315), that undoes my padding. I thought css interpreted from top to bottom; what am I missing here?
Thanks.
January 29, 2009 at 4:34 pm #71633In reply to: WPMU 2.7 cookie integration
slambert1971
MemberBelieve me, the keys I posted in the pastebins are NOT the keys I am using – I changed them after I posted the code. The integration did not work either when I used the integration speedup or not, in fact, it never worked. The secret keys for AUTH_KEY in wp and BB_AUTH_KEY in bb are identical, but they still do not work. It’s just frustrating because if I use an older version of WP (2.6.5) and and older version of BB (0.9.0.4), I can get it to work, but not with WP 2.7 and BB 1.0 – something is broken in the code, I am sure of it.
January 29, 2009 at 2:49 pm #4765westpointer
MemberI had WordPress mu alpha 6 setup with bbpress integration. I went into bbpress admin -> settings -> WordPress integration. When I saved the settings I get an error message that admin cannot connect to the sql server. Now, I can’t log into bbpress. Here’s the error:
mysql_connect() [function.mysql-connect]: Access denied for user 'admin'@'localhost' (using password: YES) in /home/greath6/public_html/bb/bb-includes/backpress/class.bpdb.php on line 123I know I can delete my bbpress install, remove the bbpress tables, re-install and it will work again. But, I’ve already done that twice! Anyone know a real solution to this happening or why it happens?
January 29, 2009 at 2:08 am #71623In reply to: Let ask again …
_ck_
ParticipantLet me give you a little unofficial insight (half my opinion, half fact).
Automattic has millions in investment funding, it’s not going away, neither is bbPress.
But right now bbPress doesn’t make any money for Matt – in fact, it’s the opposite, it costs him to pay people to code it – so you won’t see lots of money thrown into developing it. bbPress was originally written by Matt to run the WordPress.org forums but it’s new goal is apparently to eventually power TalkPress (a forums version of WordPress.com)
Currently Sam is the only one working on bbPress but that’s only because other resources are being diverted to other projects. There have been at one time three or maybe four developers (including Matt) on bbPress. Just because there is only one person working on it now is NOT a sign that it is going away. It’s simply because Matt has only so many coders and needs them elsewhere. (You may notice Michael is temporarily MIA).
The people complaining were obviously not around for WordPress development and haven’t read any history about it. WordPress was nearly the EXACT same way. Until there was a commercial project based on it (ie. WordPress.com) development was in bursts. Nothing for weeks, and then a frenzy, before a new release.WordPress didn’t really make it’s mark until 2.0 – 2.1, then it took off and then Matt could justify paying lots of people to support it.
Like I keep saying but no one listens, bbPress is PRE-RELEASE software. It’s not even 1.0 yet. And just like WordPress, people who come onboard someday at version 2.0 – 2.1 will wonder what the heck you were complaining about.
If you are using bbPress right now, you are an EARLY ADOPTER.
You are experiencing EARLY ADOPTER BLUES.
Some people complain, some people try to contribute, some people go elsewhere.
January 29, 2009 at 1:16 am #71657In reply to: Changing the default error page
Sam Bauers
ParticipantThe default error page is a sore spot in bbPress. It currently isn’t theme-able. That will change, but not until we get a bit further into 1.0 alpha development.
Private forums are possible via a couple of plugins, take a look at the “Extend” area of this site.
Adding extra profile info is pretty easy via a plugin if they are just simple text fields. You need to add the fields to the profile_info_keys. See get_profile_info_keys() function. Here is some example plugin code…
function my_add_profile_info_keys( $keys )
{
$keys['ice_cream'] = array( 1, 'Favourite ice cream' );
return $keys;
}
add_filter( 'get_profile_info_keys', 'my_add_profile_info_keys' );Adding checkboxes and dropdowns currently isn’t supported via the API.
January 29, 2009 at 12:06 am #71622In reply to: Let ask again …
John James Jacoby
KeymasterI don’t even know how to respond anymore, because really there is no way to defend myself while I’m in someone elses house. I can only speculate what Sam’s duties with Automattic are, because it’s none of my business. I can only assume from what I’ve read (where it’s been hinted at) that Sam is the sole developer behind bbPress, because again it’s none of my business who’s working on it really.
Suffice it to say that I think it’s really sad that my above response was met with such hostility and defensiveness, especially from someone holding the responsibility of moderation, considering there never really was any offense that I see dignified that kind of response. I really didn’t mean any harm or attitude; I even mentioned that I knew I was risking sounding a little off tone, but I think the question is probably a semi valid one, and I can’t speak for anyone else but myself when I ask…
I’m neither complaining, nor banging away. I’ve filed trac tickets and proposed solutions where I felt I qualified enough to supply one. I’ve written my own plugins and modified existing ones to work for specific situations. If what you think is that I’m pressuring or pestering anyone for anything, than I think that there’s a misunderstanding from the get go. I’m not saying it isn’t on my end, but what I will say is that I feel I’ve done my best to be friendly, contribute, and understand how the bbPress family is trying to run business here. I ask that you try to realize that to the new comer, some of what you all have come to know as common knowledge may not be for others, and that maybe… Just maybe, there are better ways to moderate a forum and still get your point across… Again, maybe it’s just me, but moderators typically wear many hats, sometimes one of which is the bouncer at the front door, protecting the crowd. I don’t see this forum as having a particularly riotous clientel, so I can’t say that much muscle is really even necessary…
Okay I’m rambling now…
My point being, that if Sam’s only job is to work on bbPress for Automattic, and he hasn’t been around or made any updates or changes, then I’d like to apply for his job.
January 28, 2009 at 6:58 pm #4744Topic: Adding fields to Forum Manager forms (0.9.0.4)
in forum Requests & Feedbackslambert1971
MemberI was looking in the code today to see if there was a way to add fields to the forum edit screen, but it appears that without hacking the core code there is not. I am looking to create a plugin that would allow me to add icons or images to each forum, as well as add a detailed information field to each forum. I need these for a project I am prototyping for a client and would rather not change core code.
Is it possible to override the function bb_forum_form() in the admin-functions.php file within a theme or a plugin or hook in to add additional fields? I suppose I would also need to override / hook in to the function that processes the form to handle the new fields as well. Any chance a future version of the software will have these hooks?
January 28, 2009 at 6:49 pm #71618In reply to: Let ask again …
Ipstenu (Mika Epstein)
Moderator> An employee only has to report his results to his employer
Yes, and so what? I’m asking is he employee or not
That information is confidential in many states. No one is required to tell someone who they work for, even for insurance (your insurance has the right to turn you down due to lack of trust in that case, but still). As such, that question can be dismissed as ‘not your business’, pardon me for the crudity

So here’s my question for you. Towards what end will you go with the information of Sam’s employment? If you find out that yes, he is an Automattic employee and assigned to bbPress, will that make you react differently than if you found out, say, he was assigned to bbPress, WordPress and was asked to fill in at Akismet?
Basically this: Why does it matter who he works for?
If you’re asking ‘Why is bbPress development so slow?’ you could just ask that and anyone would tell you: There are few developers working on it at the moment. Cause the only other question I can find is like when you watch Survivor, and the Jury person says ‘My question for the finalists is that you suck.’ While entertaining to watch, it’s not a question.
January 28, 2009 at 5:23 pm #71615In reply to: Let ask again …
Detective
MemberSome thoughts…
– An employee only has to report his results to his employer. So, it doesn’t matter if Sam works for Automattic or not. In this context is that bbPress is open source: if you need anything (that can’t be done on a plugin), you are free to fork bbPress and add what you need. It’s just simple as that.
– “code uploads” aren’t needed on a daily basis, specially when you are the only developer.
– If you wanted only Sam to reply, then you should have used a less public medium, don’t you think?
January 28, 2009 at 4:49 pm #71614In reply to: Let ask again …
_ck_
ParticipantThe biggest problem I have with people hassling Sam is that you are distracting him from other work he can be doing to help us all, especially when for now he is the only main developer on the project. He shouldn’t have to stop to answer end-user questions each week (unless he wants to).
It’s easy to burn out on large programming projects which is why he moves around to working on different parts of bbPress at different times and I have a low tolerance for people who can’t see the major effort he has done and just want things done yesterday, especially when it is completely free and you have plenty of other choices.
Try writing a plugin someday and you’ll get an appreciation for what kind of concentration and knowledge it takes to develop good code. Sam has done a massive amount of work on bbPress 1.0 and should be left alone to continue in whatever pattern suits him best.
If you have bug reports or feature ideas, make a quality report in TRAC and Sam will get to them when he gets to them. Don’t pester him here unless he solicits for the input.
January 28, 2009 at 4:38 pm #69375_ck_
ParticipantOnce 1.0 beta is released things will be far more solid.
You have to understand that 1.0 is almost a 75% re-write (or re-structuring) of 0.9 so many things have changed. To an end user it seems the same but that’s because of much backwards compatibility work by Sam.
bbPress 1.0 is 150% the code size of 0.9
So when 1.0 goes beta, that would be a good time to start documentation.
January 28, 2009 at 4:18 pm #70992In reply to: dashboard -> manage default status filters?
slambert1971
MemberUnfortunately the only way I have found to do this is to edit the “content.php” and “content-posts.php” files in the bb-admin folder and edit line 9 in each file as follows:
content.php: Change ‘topic_status’ => 1 to ‘topic_status’ => ‘all’
content-posts.php: Change ‘post_status’ => 1 to ‘post_status’ => ‘all’
I hate to modify core code, but I don’t see any other way to change this as it is hard coded in the files. Perhaps an option could be added under “General Settings”, but this would need to be done in the core code. It wouldn’t be that hard to do, I would think.
January 28, 2009 at 3:58 pm #69374ganzua
MemberIpstenu; I’m not requesting at all
just suggesting in case CK has another inspired day and has an unrestrained need of writing another guide. Just that, no demand.
January 28, 2009 at 3:12 pm #71671In reply to: integration with buddypress
Ipstenu (Mika Epstein)
ModeratorHmm. Okay, we need some people with translations on bbPress (alone, no WP/WPMU integration) to give us their results. This could just be the bbPress translation, or it may be due to the integration, but until we test it both ways, it’s hard to say. I don’t use a translation so I can’t really poke around that for you
January 28, 2009 at 2:53 pm #71669In reply to: integration with buddypress
Ipstenu (Mika Epstein)
Moderator*LOL!* It’s always good to state, up-front, what you’ve done before
That way people know and don’t give you useless answers like I did!Have other buddyPress language translations had the same problem?
January 28, 2009 at 2:38 pm #71668In reply to: integration with buddypress
_dan_
MemberI expected such an answer, Ipstenu !
I already use the french translation, and as i said, it is not working correctly, not working at all.

And i use it because i’m the author of the file you mentionned me.
The admin panel of bb is in french, the public side absolutely not. On the buddy forum, this appears to be a bbpress question, and here it is a buddy question.
Hum…
As end user, I only know that something is not working well between forum and buddy.
Show here by yourselve: http://buddypress-fr.net/bpdemo/forum/
January 28, 2009 at 2:31 pm #71667In reply to: integration with buddypress
Ipstenu (Mika Epstein)
Moderator_dan_ – buddyPress already has a French language mod. Have you tried that? I’m not sure why the prefs would be overwritten, but I think it’s the integration, whcih means it may be a buddyPress forum question.
https://codex.buddypress.org/translations/french-france-fr_fr/
January 28, 2009 at 8:55 am #69371ganzua
MemberYou can’t document something until it’s in a stable state.
we could call it “document of the unstable”
I have a suggestion for chapter two; a juicy thread on producing custom loops. I am on the verge of writing something about my experience of creating a bbPress plugin as a set of guideposts for others to make use of
I’m pretty sure your guide will be very welcome
January 28, 2009 at 7:21 am #71607In reply to: Let ask again …
John James Jacoby
KeymasterYou know, it’s responses like that, that really tend to make sour what is otherwise the sweet enthusiasm of enjoying being part of a growing project. I mean no disrespect to anyone on this forum; developers, moderators, etc… But quite honestly it’s that type of holier than thou attitude that is going to upset your core audience…
- I’m here because I want to be.
- I’m here because I can be.
- I’m here on my own schedule, just like Sam.
- If that’s really how you feel, then the reasons I’m here shouldn’t matter.
- This isn’t rushing, this is a valid question; “What is it you say you do here?”
- You shouldn’t talk to people like they are children.
- Thanks for the… er… warning I guess, Tom Smykowski.
January 28, 2009 at 2:44 am #71628In reply to: WPMU 2.7 cookie integration
Ipstenu (Mika Epstein)
ModeratorWhat part isn’t working?
If you login to bbPress, what happens on WordPress? What happens when you log out?
Please be descriptive. “It doesn’t work” is near impossible to debug
(I spent my day arguing that there is a difference between ‘The page gave me a 404 error’ and ‘your webserver is broken!’ and the latter was nearly useless to me)
January 28, 2009 at 1:02 am #71655In reply to: How do I get recent posts?
ganzua
MemberYou can either use this wp plugin;
http://www.atsutane.net/2006/11/bbpress-latest-discussion-for-wordpress/
or you can follow the guidelines provided here;
Here’s how to show bbPress info inside WordPress without full integration
sorry for the triple post! I have no idea what happened
triple-response available upon request if needed
January 27, 2009 at 7:42 pm #71605In reply to: Let ask again …
wiseacre
Memberjohnjamesjacoby – This is my second attempt. First time His Majesty didn’t answer me. Next time I will ask Matt.
January 27, 2009 at 5:54 pm #69369_ck_
ParticipantYou can’t document something until it’s in a stable state.
bbPress 1.0 is twice the size of bbPress 0.9 and constantly changing, even in the alpha.
Database functions have been mostly the same except the entire meta changed.
But the fundamentals are identical to how WordPress works so you can use the WP codex for that.
Oh and WordPress didn’t have decent documentation until many years after it was around, don’t expect bbPress to be any different. Unless someone volunteers for free, Matt is unlikely to waste paid employee time on documentation.
-
AuthorSearch Results
