Search Results for 'code'
-
AuthorSearch Results
-
January 13, 2011 at 6:36 pm #94852
In reply to: bbPress 2.0 – Updates
Gautam Gupta
Participantmobious74: Try going to Settings -> Permalinks and press save changes.January 13, 2011 at 1:13 pm #94849In reply to: bbPress 2.0 – Updates
_ck_
ParticipantThere is no need to minify PHP comments, they are dropped by opcode caches.
However reducing query count is not going to be easy.
I’ll do a 3rd party analysis on the queries (and file count) next week or so, I suspect there is going to be little that can be done to reduce the load because of how this is now being done. It is likely any bbPress plugin install is going to have to be heavily cached on any reasonably active site, just like WordPress now absolutely requires a complicated cache like W3 Total Cache.
But what people don’t realize is you cannot cache an active forum like a blog, they work very differently. Blogs are write-once, read many times and then the comments can be isolated with periodic updates. But on a forum it’s write-many-times and constantly changing. So there will always be many cache misses and the mysql engine will get a huge workout.
Try using WP3 these days on an active site where there are cache misses, the server will fall apart. You cannot rely on the miracle of caching and ultra-fast hardware to get around fundamental design problems.
January 13, 2011 at 12:59 pm #94848In reply to: bbPress 2.0 – Updates
Ryan Gannon
MemberThe size of the codebase is largely due to the amount of phpDoc and inline documentation. I expected there to be a lot of eyes on this code from both bbPress and WordPress audiences, so almost everything is described in detail.
And I certainly appreciate it, but is there an easy way to minify it then?
January 13, 2011 at 8:30 am #98616In reply to: bbcode buttons 0.0.9
chinab2cc1
Memberlz,thank you very much!!!
January 13, 2011 at 8:30 am #103716In reply to: bbcode buttons 0.0.9
chinab2cc1
Memberlz,thank you very much!!!
January 13, 2011 at 2:13 am #94847In reply to: bbPress 2.0 – Updates
John James Jacoby
KeymasterThe query count is high and needs and audit. We’re using internal WP functions for 99% of queries, so we thoroughly reap the benefit of the WP object cache.
The size of the codebase is largely due to the amount of phpDoc and inline documentation. I expected there to be a lot of eyes on this code from both bbPress and WordPress audiences, so almost everything is described in detail.
January 13, 2011 at 1:20 am #94846In reply to: bbPress 2.0 – Updates
intimez
Participant@Gautam 15? Simply brilliant! If only I could breath code like you do.
Unfortunately, I just break, test and report things and that’s all.
January 12, 2011 at 8:29 pm #56315In reply to: Moving a post
banesto
Memberis there any RC’s or some other code snippets? it’s really necessary feature.
January 12, 2011 at 12:24 pm #98735In reply to: Forum Moderation
Mark McWilliams
MemberWe’ve been UGGed!
January 12, 2011 at 12:24 pm #103835In reply to: Forum Moderation
Mark McWilliams
MemberWe’ve been UGGed!
January 12, 2011 at 8:36 am #98827In reply to: bbPress Plugin – bbp-twentyten theme
Gautam Gupta
Participant@Chip BennettThank you! One major thing that has changed is the prefix of the functions. Instead of
bb_, it isbbp_. The functions names are easy to guess likebbp_forum_title,bbp_topic_title,bbp_topic_reply_countetc. We don’t havepost– that has been split intotopicandreply. Thoughpostis used to refer to topic and reply both in some functions likebbp_fix_post_author(), but that’s a couple of functions only. Like the standalone, WP, BP, etc there are 2 versions of the same function – one that echoes and one that returns so you’d havebbp_topic_content,bbp_get_topic_contentetc.Right, there is a great need for the documentation. We’ve tried our best to have upto date inline documentation (phpDocs) in place.
January 12, 2011 at 8:36 am #103927In reply to: bbPress Plugin – bbp-twentyten theme
Gautam Gupta
Participant@Chip BennettThank you! One major thing that has changed is the prefix of the functions. Instead of
bb_, it isbbp_. The functions names are easy to guess likebbp_forum_title,bbp_topic_title,bbp_topic_reply_countetc. We don’t havepost– that has been split intotopicandreply. Thoughpostis used to refer to topic and reply both in some functions likebbp_fix_post_author(), but that’s a couple of functions only. Like the standalone, WP, BP, etc there are 2 versions of the same function – one that echoes and one that returns so you’d havebbp_topic_content,bbp_get_topic_contentetc.Right, there is a great need for the documentation. We’ve tried our best to have upto date inline documentation (phpDocs) in place.
January 12, 2011 at 7:43 am #94843In reply to: bbPress 2.0 – Updates
Gautam Gupta
ParticipantAnd these popped up in mine – http://gaut.am/2011-a-new-kind-of-forum-software-is-born/comment-page-1/#comment-2667
[2791] [2792]

Edit: Oh.. I read the rest of your comment later..
Well, yes the query count has gone up, there would have to be an optimization round.
Thanks for the age comment, though!
January 12, 2011 at 7:05 am #94842In reply to: bbPress 2.0 – Updates
_ck_
Participantthese popped up in my alerts:
bbPress plugin project saw serious progress during Google Code-in
It’s a shame that topic split/merge had to wait until the plugin version to be done in the API and not in the previous few years for the standalone.
Neither of the writeups mention the impact of database queries and the size of the codebase so I will have to explore that next week. I suspect they are high. It’s easy to pile on features but hard to make them efficient.
ps. Gautam is only 15 ?! Wow, amazing work for such a young age.
January 11, 2011 at 8:31 pm #98825In reply to: bbPress Plugin – bbp-twentyten theme
Mark McWilliams
MemberAs a sidenote to the original topic! …
Rich Pedley: @Mark – test again

Thanks for that Rich, you can see I’m having a little nose around, and thanks for the offer Gautam — Even started talking to myself, and trying out other stuff too!
January 11, 2011 at 8:31 pm #103925In reply to: bbPress Plugin – bbp-twentyten theme
Mark McWilliams
MemberAs a sidenote to the original topic! …
Rich Pedley: @Mark – test again

Thanks for that Rich, you can see I’m having a little nose around, and thanks for the offer Gautam — Even started talking to myself, and trying out other stuff too!
January 11, 2011 at 2:39 pm #37060Topic: Login WP not logging in BBpress
in forum Troubleshootingthors1982
MemberI can’t seem to get users to login to both at all. I have tried several solutions on here and no matter what users will not login to both wordpress and bbpress.
I set all the cookie fields, and user database fields. Users are getting shared between the both just have to login twice.
I added the following to code to both wp-config and bb-config:
define( ‘COOKIE_DOMAIN’, ‘.domainname.com’ );
define( ‘COOKIEPATH’, ‘/’ );
I am not using wordpress MU, so none of those options are checked. I am running bbpress 1.02 and wordpress 3.0.4
January 11, 2011 at 1:13 pm #98824In reply to: bbPress Plugin – bbp-twentyten theme
Rich Pedley
Member@Mark – test again
January 11, 2011 at 1:13 pm #103924In reply to: bbPress Plugin – bbp-twentyten theme
Rich Pedley
Member@Mark – test again
January 11, 2011 at 12:43 pm #98823In reply to: bbPress Plugin – bbp-twentyten theme
Gautam Gupta
Participant@Mark McWilliamsJust DM me your email id and I’ll mail you your user/pass of my test forums.
January 11, 2011 at 12:43 pm #103923In reply to: bbPress Plugin – bbp-twentyten theme
Gautam Gupta
Participant@Mark McWilliamsJust DM me your email id and I’ll mail you your user/pass of my test forums.
January 11, 2011 at 12:40 pm #98822In reply to: bbPress Plugin – bbp-twentyten theme
Mark McWilliams
MemberGautam: We already have bbpdevel.wordpress.com – though that’s not active.
Which is why I said “[…] but for bbPress on bbPress.org right from the start” which is the route WordPress are going to go down with make.wordpress.org/code as bbPress would probably take that route too, so do it from the off!

Rich Pedley: http://wordpress.elfden.co.uk/forum/ is kept fairly update and when you register you get access to almost everything to show what’s available etc.
I forgot about your site Rich, signed up, but ideally wanted to take a look at all the stuff you can’t see right now!
All the back-end administration coolness!
January 11, 2011 at 12:40 pm #103922In reply to: bbPress Plugin – bbp-twentyten theme
Mark McWilliams
MemberGautam: We already have bbpdevel.wordpress.com – though that’s not active.
Which is why I said “[…] but for bbPress on bbPress.org right from the start” which is the route WordPress are going to go down with make.wordpress.org/code as bbPress would probably take that route too, so do it from the off!

Rich Pedley: http://wordpress.elfden.co.uk/forum/ is kept fairly update and when you register you get access to almost everything to show what’s available etc.
I forgot about your site Rich, signed up, but ideally wanted to take a look at all the stuff you can’t see right now!
All the back-end administration coolness!
January 11, 2011 at 11:25 am #98791In reply to: bb-query help!
Gautam Gupta
ParticipantIn the plugin, it would make use of
WP_Querywhich is a lot flexible – you would be able to do such things there afaik.January 11, 2011 at 11:25 am #103891In reply to: bb-query help!
Gautam Gupta
ParticipantIn the plugin, it would make use of
WP_Querywhich is a lot flexible – you would be able to do such things there afaik. -
AuthorSearch Results