Search Results for 'code'
-
AuthorSearch Results
-
July 16, 2010 at 4:39 pm #90928
In reply to: bbPress Plugin is Born
citizenkeith
ParticipantI would just like to say that I am happy that JJJ and Pete have stopped in to keep us informed. This is great news.
That said, I’d like to say that I really, really appreciate Kevin’s posts here. He is speaking for a lot of people, whether he knows it or not. He does a great job of summing up a lot of the feelings us long-time bbPress users are feeling right now.
I am really perplexed by some of the actions and statements by Matt, and now Pete’s Twitter post. Maybe it’s because I’m not a coder and have never been involved with an open source project. But it seems strange that you’d allow a few passionate people with questions annoy you so much. Instead of wanting to give up on it, why not engage with us a little more? Why not ask a moderator to make a Sticky announcement? Why not write a blog post announcing the new bbPress plugin?
I repeat: I think the bbPress plugin is a great idea. I just feel we haven’t been kept in the loop very well.
July 16, 2010 at 4:21 pm #90927In reply to: bbPress Plugin is Born
_ck_
ParticipantIf someone wants to start a “positive only” bbPress as WP plugin topic, I promise not to post in there.
People have the right to be blindly optimistic, regardless if there were not one but two different versions of bbPress that were never finished. I mean it should be different by the third time around right?
Seriously: I’d suggest starting with outlining how the Automattic version of the plugin is going to be different/better than the two other existing WP forum plugins, what audience it’s going to address, what it definitely will and definitely won’t do.
I’ve been around since WP 1.5 and when bbPress 0.80 was released, so it’s extremely easy for me to be jaded.
This is an opportunity to get in on the ground floor by watching changes carefully here and reading every line of code submitted since it’s starting from scratch:
July 16, 2010 at 3:56 pm #90926In reply to: bbPress Plugin is Born
kevinjohngallagher
MemberGautam,
You’re words are astute as always.
1.1 is stable, and looking good

I doubt there’s one person involved with bbPress that isn’t looking forward to it’s alpha release so we can get some bug fixes, and then truly thank you and everyone else who added code to it.
Even the people still using 0.9 know and apprecaite how much works goes into it

And about making a living, it can also be done with bbPress as a WP plugin

Yes mate, no doubt.
But we’ve hit this scenario: http://www.dilbert.com/fast/2003-10-12/

The forum topic is this one and the announcement is here (I know no one told any of us about this blog).
You nailed the issue mate.
You and I, and those of us interested in WP development picked up on it. Those who use bbP as standalone, who are those most affected, won’t have. Hence, some of the backlash.
This could all be really positive, in an odd way I think the underlying desire for info is positive
JJJ being here is positive
Seeing old names and faces pop up is positive
I’m confident if 10 of us were in a room right now, this would all be sorted and we’d be coding up a storm
It just needs a controlled conversation, some community interfacing and ofcourse, no-one bitching about bbPress on twitter.
July 16, 2010 at 3:31 pm #90925In reply to: bbPress Plugin is Born
Gautam Gupta
ParticipantKevin my friend,
For those of us who make a living with bbPress, unilateral decisions made without visibility and with no re-course for questioning nor appeal are scary. really scary.
At least v1.1 is there for the time being, hopefully that would be released soon (after 2 bugs on 1.0.3 and 1.1 are fixed). It’s pretty stable and those who want to run a standalone, can run it and customize it with existing plugins/themes.
And about making a living, it can also be done with bbPress as a WP plugin

I think people are allowed to be a little shell-shocked at this bombshell; especially as it didn’t even warrant its own forum post, sticky or blog post. It just comes across as a footnote and unimportant.
The forum topic is this one and the announcement is here (I know no one told any of us about this blog).
For others – Justin just posted about the WP forum plugin that he has made on his own – http://justintadlock.com/archives/2010/07/16/a-wordpress-forum-plugin-using-custom-post-types
July 16, 2010 at 3:19 pm #91049In reply to: Latest on better editor?
kevinjohngallagher
MemberThe one change I made to Zaerl Editor was snipping out the part of the code that put that needless “Code” button on the top.
If you’re on a non-US (or i suppose non English/qwerty) keyboard, the backtick key is a total git to hit. there’s quite a large difference between North American keybaords and the rest of the world.
The only disappointment is that it doesn’t seem to understand strikethrough fonts. I tried both “strike” and “del”
bbPress doesn’t process them as standard.
*sorry Zaerl mate, just seen your answer*
July 16, 2010 at 3:14 pm #90924In reply to: bbPress Plugin is Born
kevinjohngallagher
MemberTom,
I totally agree with the premise.
Focussing on the positives is the way forward.
For those of us who make a living with bbPress, unilateral decisions made without visability and with no re-course for questioning nor appeal are scary. really scary.
I for one, am totally and 100% behind the separate forum plugin for WordPress. But I think it’s ok that we ask some questions about it, and while the thread’s not in the most positive tone, I don’t think anyone has asked anything from left field, nor said anything antagonistic or derogatory.
It’s not like we’re asking for info that won’t have already been discussed when making the decision about plugin vs. standalone.
There would have been bench tests, user experiences, requirement gather – y’know numbers and paperwork. I know we’re never going to see the full documentation, but I think it’s ok to ask for an overview. Not to pick holes in it, but to feel positive that the decision is a good one, and one that we can get behind/support/make better

=======================================================================
Andrew, Pete and JJJ and I have had a wee email conversation earlier in the week, before (and during) this thread started. There was some truly great info in that thread. Information that would appease some of the issues brought up here, quell some of the language & tone being used. It confirmed to me that these are the people to take bbPress forward. But that doesn’t mean I am going to put my own and my children’s livelyhood on the line and follow blindly.
everything is going to be A-okay
is alot like
Relax. We’ve done this before.
And man, that didn’t work out too well

I think people are allowed to be a little shellshocked at this bombshell; especially as it didn’t even warrant it’s own forum post, sticky or blog post. It just comes across as a footnote and unimportant. It comes across as “shit, you folks found out? um…” Now of course that ain’t true, but thats the base perception.
Apparently the scrapping of all current bbPress code and new of it’s replacement isn’t even important enough for someone to hit that “sticky” button at the bottom.
Because of this, some emotions will run high, but we’ve both been around the block enough to know that as long as people keep the conversation in house and try to resolve things then we’ll get there
Not everyone will agree with everything, but we’ll get there as long as no-one makes any derogatory comments about the software or community in a KeyNote speech or on an influential Twitter feed we’ll be grand at resolving this, and bringing folks tegether in a positive sense

The dudes who are now running the show just need to give out enough info to get control of the conversation. Once that happens, even more of life will be positive.
July 16, 2010 at 3:09 pm #91048In reply to: Latest on better editor?
zaerl
ParticipantI have inserted the “code” button for the simple reason that the backtick character is difficult to be typed on a keyboard that isn’t the “standard” U.S. ASCII. This is true for the vast majority of the keyboard layouts worldwide.
The only disappointment is that it doesn’t seem to understand strikethrough fonts.
It doesn’t understand strikethrough cause that tag (the obsolete ‘s’) isn’t enabled by default on bbPress.
I provide support for standard tags:
strong,em,a,img,ul,ol,li,blockquote,codeand the non standardimgthat is widely used.My plugin do not enable new tags (and implicitly new buttons) in current version 0.3.2 but it does in 0.4 (trunk). I have taken my position regarding the future of bbPress and so I will not upload new plugins and/or updates (https://bbpress.org/plugins/topic/zaerl-editor/page/2/#post-5992). Anyway if you need the new zaerl Editor with custom buttons and other fancy features write me a couple of lines. za AT zaerl.com
July 16, 2010 at 2:35 pm #91047In reply to: Latest on better editor?
Joe Gibson
MemberThe one change I made to Zaerl Editor was snipping out the part of the code that put that needless “Code” button on the top.
The only disappointment is that it doesn’t seem to understand strikethrough fonts. I tried both “strike” and “del” (using both HTML and backticks) but no joy. Any thoughts?
July 16, 2010 at 1:44 pm #91107In reply to: forumlist table wrapping issue
pastorbobsforum
MemberHello.
I managed to identify my problem. Both your advices worked perfectly, it was my lack of attention to be blamed here.
When I was uploading the file via FTP (filezilla) I wasn’t paying attention to the new file size on the server (which proved to be different – smaller – than the one that was being uploaded). I know that I have the possibility to compare them, so I would have spotted this much earlier but…
After I’ve changed the permissions again (755, an issue that I had before) and uploaded it from their (the server’s) file manager, things turned out just fine.
I thought that you had a way of *getting* my line number, even if I was modifying my style.css, since you’ve quoted it so accurately. I understand that the main use is referential. Which is good!
The only reference to
white-space:nowrap;was at 697, as you said, and I have removed it.Are this guy’s suggestions ( http://www.devcomments.com/Display-Sub-forum-on-2-or-mocolumns-to17176.htm ) of any use? And if yes, I go back to my question from my last post, where can we find functions_display.php?
Thank you once again.
Regards,
Bob
July 16, 2010 at 1:38 pm #91106In reply to: forumlist table wrapping issue
_ck_
ParticipantSomewhere on your page or in your stylesheets the word NOWRAP appears.
So do a view source and search for NOWRAP.
Then look in style.css for NOWRAP
Somewhere, one of them is causing the trouble.
Another nasty workaround might be
.num, #forumlist small {
overflow:hidden;
max-width:400px;but I highly recommend finding the real source of the problem.
July 16, 2010 at 1:25 pm #91105In reply to: forumlist table wrapping issue
pastorbobsforum
MemberHello.
Firstly, thank you for your responses.
I’ve tried
white-space: wrap !important;with no effect unfortunately.Thank you for you Polls and Instant Password plugins. I admire the practical approach.The “}” has been simply overlooked when I pasted in the lines. It exists in my style.css
Your explanations were very good, since I got it working once. But now it isn’t any more. The only thing that I have installed afterwards was the BBcode Buttons Toolbar plugin, but even after having deactivated it, things are still the same.
I found this piece of advice though, http://www.devcomments.com/Display-Sub-forum-on-2-or-mocolumns-to17176.htm , but now I cannot seem to find functions_display.php , so I can try this man’s idea as well.
Bob
July 16, 2010 at 1:07 pm #91104In reply to: forumlist table wrapping issue
kevinjohngallagher
MemberHi Pastor Bob,
Apologies you were getting my quick/little-explanation replies this morning.
The Line Numbers aren’t important at all, its jsut to give you a quick indication of where things were.
Here’s the crux of the issue, this CSS command
white-space:nowrap;overwrites any Styling you specify in the stylesheets by the HTML conent.Its something I would remove compeltely from your stylesheets if possible.
July 16, 2010 at 12:51 pm #91088pagal
ParticipantSupport Ticket Answer,
Core files are generated when one of your scripts fails
I advise to check/update your plugns in order to fix this problem.
You are free to delete them all
Thank you.
Kind regards,
Yuri Peters
Just Host
It’s definately not from bbPress mate
@ Rich Pedley I’m still confuse that which bbpress/wp plugin is creating trouble and generating core files.
July 16, 2010 at 12:46 pm #91103In reply to: forumlist table wrapping issue
_ck_
ParticipantYou could try the lazy way and force a CSS override.
white-space: wrap !important;
Basically in one of the earlier or later rules you have nowrap set.
make certain you have a closing
}though on this block.num, #forumlist small {
font: 11px Verdana,Arial,Helvetica,sans-serif;
text-align: center;
} <<<<<
missing ?July 16, 2010 at 12:21 pm #91102In reply to: forumlist table wrapping issue
pastorbobsforum
MemberOK, but it’s not working. I don’t think that the line nr matters that much, does it?
Anyway, I’ll post everything that involves my forumlist from my stylesheet here, to prove that I did exactly what you’ve suggested.
.num, #forumlist small {
font: 11px Verdana,Arial,Helvetica,sans-serif;
text-align: center;#latest td, #forumlist td, #favorites td { padding: 5px 10px; }
#forumlist tr td div.nest {
padding-left: 2.5ex;
}
#latest tr:hover, #forumlist tr:hover, #favorites tr:hover { background-color: #d8dcf2; }
#latest th, #forumlist th, #favorites th {
text-align: left;
background-color: rgb(102, 102, 102);
font: 11px Verdana,Arial,Helvetica,sans-serif;
font-weight: normal;
padding: 5px 9px;
color: rgb(255, 255, 255);
}
#latest th a, #forumlist th a, #favorites th a {
color: rgb(200, 200, 200);
font-style: italic;
}
#latest th a:hover, #forumlist th a:hover, #favorites th a:hover {
color: rgb(255, 255, 255);
}#latest, #forumlist, #favorites {<br />
background-color: #f7f7f7;<br />
margin-bottom: 3em;<br />
}</p>
<p>#latest, #forumlist {<br />
margin-top: -0.9em;<br />
padding-right: 10px;I hope that it is of some use.
Bob
July 16, 2010 at 11:43 am #90919In reply to: bbPress Plugin is Born
_ck_
ParticipantWith all the eyeballs looking at WordPress and all the new faces every few years, it’s amazing to me how much code optimization falls through the cracks and is never addressed.
bbPress as a plugin is now going to be exposed to that. In fact, ironically in 0.9 there are functions from earlier versions of WordPress that were never optimized and do “expensive” recalculations and yet it’s STILL significantly faster than 1.0 with the newer functions from BackPress.
WordPress still has places where it calculates kinds of conversion tables yet never stores them statically for when it will likely be used again in the same page load. All those eyeballs looking at the code never see it and never fix it.
WordPress after all these years STILL uses the poorly performing SQL_CALC_FOUND_ROWS, something that was discovered and fixed in bbPress 0.9 but ironically was re-introduced with BackPress in 1.0, and will likely continue as a plugin.
My problem with “progress” is regression. It happens often because no-one questions the bloat and then the bloat starts to hide mistakes because the code is too hard to follow and people forget the original purpose of a function.
But by all means, keep throwing junk into the core, don’t dare keep it isolated in a plugin where it can be examined and improved easily (ie. avatars, tinymce, phpmailer, etc.)
They never do version freezes for long periods of time to clean up and optimize code, they just pile on features in the name of progress.
Go install WP 2.1 and check the memory and query footprint.
Then install WP 3.0 and compare. It’s fairly disgusting in comparison.
July 16, 2010 at 11:36 am #91100In reply to: forumlist table wrapping issue
pastorbobsforum
MemberHello again.
I’m back to the unwrapping issue again.
Even though I’ve got
.num, #forumlist small {font: 11px Verdana,Arial,Helvetica,sans-serif;
text-align: center;
} forumlist is still unwrapped, as in the screenshot.
http://i896.photobucket.com/albums/ac166/nobody5973/screenshot_003.png
Any ideas?
Bob
July 16, 2010 at 11:23 am #90666In reply to: Congrulations bbPress 1.0!
_ck_
Participant@Marius, but everyone downloads different ones.
I’d never want to see even a handful of my plugins built into bbPress by default.
As much as people express the desire for a program to do everything they want out-of-the-box, it’s a VERY bad idea with software. Makes things too bulky. WordPress today is a perfect example of what happens when you give into that desire, you get bloated, overloaded, slow code.
But sadly they don’t believe in plugins – I’m kinda surprised even akismet is not hard coded into WordPress.
bbPress should have been a lightweight framework, half the size that it is now, that maybe shipped with a dozen plugins that are OFF by default. Too late now though.
July 16, 2010 at 10:40 am #90664In reply to: Congrulations bbPress 1.0!
kevinjohngallagher
MemberThats a leap mate.
The joy of bbPress is that if you want something, you can use a plugin. It keeps things nice and light for those that don’t want it

2. Less (code) is more
3. Simplicity is a feature
That said, _ck_, congratulations!!
Its wonderful for it to be so obvious as to how much you’ve contributed.
July 16, 2010 at 9:55 am #90989In reply to: bbCode toolbar with markItUp! editor
Ivaylo Draganov
MemberJust came to my mind that bbPress does not support bbCode without a plugin.
But the good thing is that this technique can be easily adopted for use with HTML input by simply changing the toolbar set used by markItUp.
July 16, 2010 at 9:51 am #91045In reply to: Latest on better editor?
Ivaylo Draganov
Memberwoot – that zaerl editor is right on the point, I hadn’t noticed it before. You could also check out this topic on how to implement markItUp as editor for bbPress:
https://bbpress.org/forums/topic/bbcode-toolbar-with-markitup-editor
The explanation is for bbCode, but it could be easily changed for HTML input.
July 16, 2010 at 9:23 am #90988In reply to: bbCode toolbar with markItUp! editor
Ivaylo Draganov
MemberA well written post too!
Thanks! Just a bit too many links for Akistmet though

And of course it could not be seen in action on my forum, because it is visible only to logged in users… silly me

The bbpress.org forums could also use a simple toolbar. Not so sophisticated but at least like the one on wordpress.org
July 16, 2010 at 9:17 am #90918In reply to: bbPress Plugin is Born
kevinjohngallagher
MemberMorning Peter,
It’s cool if you disagree. I’m confident we could all pick something in WordPress in the core that we think should still be a plug-in; and of course there is no right answer. What I’m not sure you’re aware of though, and you might be, is just how different the “overhead” between bbPress and WordPress is.
bbPress0.9 loads and runs at 10 or under SQL queries per page. Including the front page. Thanks to certain DB/query tweaks, and some wonderful _CK_ code, I have that at 8 SQL queries on one of my smallest intranet forums.
This is in comparison to the same 8 queries generated by the new wp_nav_menu in WP3.0. In fact the wp_nav_menu calls a not totally-in-expensive INNER JOIN for each post-type reference in the menu. It’s not a set 8 calls, without judging anything based on what it will become, if wp_nav_menu starts to accept custom post types natively, that’s going to shoot way up.
In a flat comparison, the default theme of WP3.0 with no plug-ins running, generates 19 SQL queries. Twice as much as bbPress0.9.
As someone mentioned earlier, the new bbPress plug-in would be lighter or sleeker. If it takes more SQL calls to generate the header and footer of WP than it does to load an entire bbPress forum – how does that work?
(I do realise that not all SQL queries are equal, but I do think it’s quite a good initial benchmark. Especially if you look at SAVEQUERIES output and see what sort of query each is, and its execution time.)
Additionally, as someone with your background with WP, I would love to hear your take on the caching issue. For two of my websites that have relatively ok traffic, caching is essential on WP. There are plug-ins that do this brilliantly, so thats no worries. But thats very much a “1 to n” nature. Forums are an “n to n” nature; and really don’t lean well with caching, especially in the flat-file constant-updated format.
How would one percieve that to affect WP based websites with a forum plugin of this nature attatched?
=================================
I think there is a viewpoint that is being missed here.
People are falling into 3 groups:
- Need a forum that works with WordPress
- Need a standalone forum, but some WordPress integration is ideal (sign in/users)
- Needs a standalone forum.
There appears to be a presumption is that we’re all in Group 1 and that we’re fighting change. That’s not the case at all.
I’m actually in favour of there being a WordPress forum plug-in. I think loads of people here will be. I also think that with JJJ working on it, and Justin Tadlock’s second attempt out there in the wild that it will go really well. I wish it the best of luck, and if we can offer advice or war stories or anything to help out – we’re here. We’re here because we support FOSS

The issue arises here is if you’re in Group 2, you have a decision whether to “upgrade” to running everything through WordPress or not. It’s just been presumed that’s your actual goal. At this point in time, we’d like some information (positives/negatives at a minimum) and info on how this decision has came about. People in Group 2 could move into Group 1 easily if given more information than:
“everything is going to be A-okay”
“Like it or not, this is the hand we’ve been dealt…”
But the users in Group3, the people who chose this as standalone forum software and didn’t make that decision based on WordPress – they’re being thrown out on their ear. With no warning. JJJ has stated, and I think we all appreciate that he’s taken the time to sit and answer some questions, that bbPress1.1 will be it’s last. Well, thats announced as bbPress1.1 is 1 trac ticket away from being released. How much warning is that??
If you’re in Group3, and large chunk of our support questions come from people who are, you will now be ‘forced’ to run WordPress if you want to stick with bbPress.
==============================================
I suppose what I’m saying is this. Changes in Life and in FOSS happen. Some we like, some we don’t. But there has to be a carrot with every stick, or people start to feel publicly flogged.
I want JJJ and Pete and anyone who helps them to succeed in achieving their goals. But I’ve scanned this forum page, and the emails they were kind enough to send me, and right now, if you didn’t come here specifically to use a forum inside WordPress… I can’t see the carrot.
There are people here alot cleverer than me, and alot better at wording than myself, so if i’m missing the carrot, please do a Denzel “explain it to me like a 3 year old”.
July 16, 2010 at 8:16 am #91097In reply to: forumlist table wrapping issue
kevinjohngallagher
Memberstyle.css line 697
.num, #forumlist small {
font:11px Verdana,Arial,Helvetica,sans-serif;
text-align:center;
white-space:nowrap;
}
You need to remove the line in bold
July 16, 2010 at 8:09 am #90917In reply to: bbPress Plugin is Born
Peter Westwood
ParticipantIt will probably also suffer from what I call the “kitchen sink” syndrome of WordPress where massive chunks of code are added as features which should have been plugins. But Automattic in general has a “not invented here” attitude towards plugins – if it’s not in the core, it doesn’t count.
Firstly, it’s not “Automattic” that decides what ends up in the core of WordPress – we have open discussions to set the feature lists for each release and the decisions are driven based on input from a large base of regular contributors.
Secondly, I strongly disagree with the implication that WordPress has a “kitchen sink” feature set – in fact we try very hard to only bring in the things which have a wide audience and leave the more niche things for plugins.
One of the factors which helps a feature come into the core is the existence of a plugin which is popular showing a clear demand for a feature and sometimes providing a starting point for the implementation as well.
-
AuthorSearch Results