Search Results for 'code'
-
AuthorSearch Results
-
July 19, 2010 at 4:40 pm #91330
_ck_
ParticipantIt will take me a little while to find the original post but years ago you said you didn’t like the bbPress name.
If I can’t plead with you for a name change for a completely different forum program (it will likely share 10% or less of the original code) than at least don’t call it
1.21.2has way too many implications that it’s a minor upgrade to1.1when in reality it’s a major overhaul (most especially if you aren’t running WordPress or WordPress 3).All themes, plugins, hacks, advice will be invalidated.
That’s not a
x.1tox.2update!July 19, 2010 at 4:31 pm #91193In reply to: _ck_ owes me ten bucks
_ck_
ParticipantYeah problem was solved – sometime in the past week the code bug was fixed, I have no idea exactly when or by whom but was going to point it out until I tested it.
Unfortunately it did not clear up existing posts that were already html-entitied by the bug an example or two (but it even happened inside of backticks too)
I kinda don’t want to get into WP politics here (we’ve got enough of our own problems) but you can’t count downloads by existing users anymore who are terrified of being hacked because they didn’t keep up with the newest release.
I was looking into having some reindeer paraded by your door (10 “bucks” get it?) but I was afraid you’d BBQ them and send me a photo or something like that
July 19, 2010 at 4:17 pm #91168In reply to: new performance testing plugin: Browser Timer
_ck_
ParticipantYour server must have some fancy virtual host mapping.
By the way I just noticed you said this “I created a file called browsertime.log”
delete that file you made because it may have permissions that PHP cannot modify for some reason depending on your host – let the PHP code make the file
Well we can take the lazy way out:
$browsertimer['log']=dirname(__FILE__).'/browsertimer.log';That should almost certainly work and be right in the plugin directory.
July 19, 2010 at 4:03 pm #89040In reply to: OneMoreThing.nl
johnnydoe
Memberhey kevin,
thank you for stepping in with a helping hand, i appreciate that a lot.
but i had sadly though luck with your code so far.
July 19, 2010 at 4:00 pm #90512_ck_
ParticipantYou know what, this idea grew on me, I like it and off to apply it.
It could be done a little fancier via the filters on
bb_titleandbb_get_titleie. the page could be injected between the forum name and the topic name, but this will do for now.July 19, 2010 at 3:57 pm #91167In reply to: new performance testing plugin: Browser Timer
pastorbobsforum
MemberHello again.
I cannot get it to work yet. Jolly well!
So, my Filezilla path is: /pastorbob.limewebs.com/my-plugins/browser-timer/
But my FTP is ftp://ftp001101.limedomains.com/pastorbob.limewebs.com/my-plugins/browser-timer/
I have changed this to what you’ve told me:
$browsertimer['log']=$_SERVER['DOCUMENT_ROOT'].'/pastorbob.limewebs.com/my-plugins/browser-timer/browsertimer.log'Then I’ve tried the other option as well:
$browsertimer['log']=$_SERVER['DOCUMENT_ROOT'].'/ftp001101.limedomains.com/pastorbob.limewebs.com/my-plugins/browser-timer/browsertimer.log'I thought that I might have been on to something. But I wasn’t.
Thank you for your help, again!
Regards,
Bob
July 19, 2010 at 3:45 pm #89039In reply to: OneMoreThing.nl
kevinjohngallagher
MemberHi Johnny,
You need to pass the user id into the avatar function.
I’m not near my code righ tnow, but you’re looking at something like this:
get_avatar(poster->id);July 19, 2010 at 3:38 pm #91165In reply to: new performance testing plugin: Browser Timer
_ck_
ParticipantAh, you almost have the log location concept but not quite.
I am going to assume you are trying to put the log file in the same directory as the plugin. I really don’t advise this at all for security reasons but if you are just doing short term testing and will delete it later it could be temporarily acceptable.
So, in that case
my-plugins/browser-timer/must be chmod 777(the sub-directory
/browser-timer/I mean)Now is the path to the file really
/pastorbob.limewebs.com/my-plugins/browser-timer/browsertimer.log'Because that doesn’t seem quite right. I see it’s off a subdomain but still, I’ll not certain.
Try changing
dirname($_SERVER['DOCUMENT_ROOT'])to just plain
$_SERVER['DOCUMENT_ROOT'](don’t forget leave the dot afterwards)
If that doesn’t work, what’s the full path to
my-plugins/browser-timer/that you see in your FTP program (if it hopefully shows the full path). If not, we can take a peek at phpinfo.What I’d really rather see is you putting the log in a subdirectory ABOVE your web root (aka Document Root).
But give that a try for now and let me know.
July 19, 2010 at 3:27 pm #89038In reply to: OneMoreThing.nl
johnnydoe
Membera killer theme guys, respect!
anyway, i’m curious on how you was able to get it work with the last poster and last topic avatar for front-page.php.
i’ve already tried it months ago with
<?php post_author_avatar(); ?>between td’s but for some reason i get the same static gravatar for all users.thank’s in advance.
July 19, 2010 at 3:09 pm #91164In reply to: new performance testing plugin: Browser Timer
pastorbobsforum
MemberHello.
I have an account on limedomains.com
My home directory is pastorbob.limewebs.com
So, I figured that this should be my setting in browser-timer.php
$browsertimer['log']=dirname($_SERVER['DOCUMENT_ROOT']).'/pastorbob.limewebs.com/my-plugins/browser-timer/browsertimer.log';I set the permission for browser-timer to 777.
I created a file called browsertime.log
But when I go to http://pastorbob.limewebs.com/?browsertimer , I get
log open errorIs it just me?
Regards,
Bob
July 19, 2010 at 1:48 pm #91191In reply to: _ck_ owes me ten bucks
_KB_
ParticipantWOW, Welcome Back Matt, Its nice to see you
.I’ll be very happy if you can reply for my post.
Can you please?
July 19, 2010 at 12:04 pm #34760Topic: bbPress 0.9 supports WP 3.0 cookies via Freshly Baked Cookies
in forum Plugins_ck_
ParticipantI’ve just tested bbPress 0.9 with WP 3.0’s cookies and the Freshly Baked Cookies plugin DOES work properly.
Just make sure your cookie paths for WordPress and bbPress are pointing the same place (ie.
/) which was always required for proper integration anyway and is not done by the plugin but inside wp-config and bb-config – see the numerous integration guides around bbpress.orgMake certain you are using version 0.0.4 of the plugin or higher which supports the newer kind of WordPress cookies in use since WP 2.8
July 19, 2010 at 8:50 am #90846In reply to: How Can I Fix a Slow Queries Problem ?
_ck_
Participanthonestscott, any update on this?
Even 1.x should not be causing slow queries, something might be misbehaving.
My Super Search plugin DOES do a very heavy non-indexed query, it’s unavoidable. But unless you have a large forum with frequent searches, I am not sure that would get you in trouble.
The good news is if you’ve moved to a VPS (I assume that’s what “semi-dedicated server” means) you have direct control over a few important things you didn’t have before. It means we can make sure your MySQL cache is on (it’s off by default on many setups for some strange reason) and you can install an opcode cache like eAccelerator which will cause a fantastic reduction in load and improve speed.
July 19, 2010 at 7:58 am #91202In reply to: bbPress activity metrics
_ck_
ParticipantIs it possible to copy over the “stats” code from the WP plugin section to bbpress.org, or is it more complex than that?
ie. https://wordpress.org/extend/plugins/wp-e-commerce/stats/
vs. https://bbpress.org/plugins/topic/bbpress-signatures/stats/
Even without the fancy graph, just the little History section would be handy.
I’m debating doing another full survey of active bbPress installations by the end of this year despite it’s replacement, but it’s still easy to believe it’s well over 10,000 – might even be 20,000 or higher if the growth has become exponential.
ps. somewhat related: the tag import (from
readme.txt) in the plugin section has been broken since the bbpress.org 2.0 upgradeJuly 19, 2010 at 6:08 am #91223In reply to: Login into WP, logged out of BBP
Satish
ParticipantI have the same problem on my blog, and I was thinking its just me

Thanks jmharrington for taking time to write here.
Can anyone help us?
July 18, 2010 at 11:08 pm #90951In reply to: bbPress Plugin is Born
John James Jacoby
Keymaster@gswaim If it comes down to name calling or aggression, that’s always an option, but usually the last one if we can all help it. Fortunately the moderation team over here is fantastic, so no worries there.

The decision to allow Pete and myself the opportunity to do the bbPress plugin conversion wasn’t only Matt’s to make, and was agreed on by a committee of all of our peers running the 3.org initiatives, in #wordpress-dev on freenode, and on the WordPress development blog.
The reason it’s bbPress 1.2 rather than bbPress 2.0 (at least as it stands today) is because part of the coding standards we adhere to is not inflating version numbers. Could always see if everyone agrees to inflate based on the amount of new code going in, but I don’t think that’s my decision to make, and I would wager that it’s unlikely to happen? Been wrong before though.
July 18, 2010 at 10:16 pm #91077In reply to: No admin access.
namelesshorseman
Member@chrishajer yep, I honestly didn’t think it would be a problem. Guess I learned my lesson
! Thanks for those links, that’s much easier than searching. I’ll look to see if a similar bug has been filed first.
Tomek
July 18, 2010 at 2:36 pm #89286In reply to: Same forum using http and https
_ck_
ParticipantThat’s strange because pluggable functions should step out of the way if they are already defined before it gets to it.
For some reason the plugin is loading AFTER the pluggable loads, instead of before. I can’t quite explain that.
Try renaming the plugin by putting an underscore in front of the name, ie.
_https-mode.phpand make sure it’s directly under
my-plugins/and not in a sub-directory under it.That’s the only idea that pops into my head right at the moment.
ps. make sure you are using the newest one so far here:
July 18, 2010 at 2:04 pm #89285In reply to: Same forum using http and https
namelesshorseman
Memberhi _ck_,
I’m trying to use your fix https://bbpress.org/forums/topic/https-with-bbpress-login#post-23667 + your code above, but get the following error when I try to activate the plugin:
Fatal error: Cannot redeclare bb_validate_auth_cookie() (previously declared in <path to bbPress>/bb-includes/functions.bb-pluggable.php:142) in <path to bbPress>/my-plugins/https-mode.php on line 22Any ideas?
Thanks!
Tomek
July 18, 2010 at 10:19 am #90949In reply to: bbPress Plugin is Born
_ck_
ParticipantCursing/insulting Matt doesn’t help anything and is silly.
Matt’s actually a really nice guy from what I have read and heard. If he would ever have a vegan meal instead of all that meat, I’d even have lunch with him. He was one of the first and few people to donate towards a replacement monitor when mine failed.
I just disagree, strongly in some cases, with his decisions that seem to be done rather suddenly with little or no input from others, that radically affect a great many people. I disagree heavily with the concept of “code sprints” that he seems to like so much and most especially shoving in “features” into the core that should be plugins.
As far as forking, you have no idea what you are asking. It’s a ton of work and responsibility. Anyone can fork, but we’d run into exactly the same problems, who owns the domain, who owns the project name, who owns/operates the servers, are major decisions done by one person or by the community, etc. You are basically asking someone else to do the work for you, for free. If you want a fork, hire a coder and fork it, you don’t need anyone’s permission.
July 18, 2010 at 4:16 am #91153In reply to: No Admin for WordPress Admin after install
willcrain
MemberI think that it was a cookie issue… after a number of different changes, uninstalls and reinstalls it seems to work fine. Not really sure what was going on but it seems to all work now… hopefully it stays that way…

thanks though for the help… i am sure that i will have some further questions
thanks again
July 18, 2010 at 3:00 am #90944In reply to: bbPress Plugin is Born
John James Jacoby
KeymasterAgain, just too many of the same points to repeat myself, but bbPress standalone isn’t going to be “unsupported”, it just isn’t going to see any additional features, which is exactly what I think most of you want. Correct me if I’m wrong here?
If I wasn’t on my iPad I’d quote myself volunteering personally to commit any bug fixes to the 1.1x branch of code if anything comes up, but again, that went totally unresponded to.
All of the things I’ve offered to do, to help continue the 1.1x branch of standalone code in addition to creating the 1.2 plugin, have gone totally unacknowledged. If you want to be able to do it yourself, you’ll need to have the experience to understand that the code you write is responsible for powering millions of sites around the world, and that you can easily create global chaos with one click of a button. Call me melodramatic, but in environments like WordPress.com, it’s very true. My experience over the past year has had me much more close to that kind of environment, particulalrly with BuddyPress.
A year ago I felt keeping bbPress as a standalone made sense because a year ago I didn’t comprehend what was coming in WordPress, particularly 3.0 where custom post types have made much more possible. I also had less experience with BackPress, and don’t get me wrong; BackPress is awesome, but bbPress won’t reach its full potential until it’s a plugin for 25 million other websites.
Kevinjohn, I’m sorry but you’ve got a knack for twisting words around and quoting things totally out of context. That’s not really fair, and I wouldn’t do it to you or anyone else so I’d appreciate the same.
I don’t get what you all want bbPress to do differently that would even require a new standalone version. I’ve asked that before, and there’s no answer; just frustration.
bbPress has always been an Automattic endorsed project, and considering without Matt it wouldn’t exist, or have a trac, an svn, or core developers thus far, it seems like he’s the one who’s earned the ability to make decisions on the future of the project. If you call me believing that to be true drinking that Kool Aid, I’m happy to do it because I believe Matt and Automattic and bbPress has earned that from me. If Matt wanted to abandon bbPress completely and close up shop, he could, and someone could graciously keep it alive by forking it. None of that stuff, should make anyone this upset.
My employment status or relationship with Automattic aside, I’m happy, blessed, and consider it a great privilege to have the trust of Automattic and the surrounding community to take this on, even if some of you don’t understand why it’s me, or why now, or why a plugin.
Regarding TalkPress, the main reason it’s named differently is to avoid the confusion people have with WordPress.org and WordPress.com. bbPress is the opensource forum software of choice for WordPress users. If any of you want to help the plugin work on top of backpress, patches welcome and I’m open to the idea. Otherwise, I’d wager 60% or more of the support questions regarding bbPress are incorporating it with WordPress. It’s been said in this topic already, but making it a plugin alleviates those issues, and still allows everyone to keep loving bbPress.
In all honesty, all this back and forth is tiring, and all it’s doing is taking the team of people that are here to help keep bbPress alive, and make us the enemy to the people that are just happy to see life again. That, and it’s taken our ability to communicate news to the bbPress community away from us, and instead forced us to try and put out this fire for the past 4 days.
Quite frankly, it all kinda sucks.
I get that the reality (for some of you) of switching bbPress to rely on WordPress instead of BackPress doesn’t sit well or even make sense, but I promise you it does. I might even have a trick that will help make the admin area a little more familiar. But 1.2 isn’t going to use BackPress anymore. Instead it’s going to use WordPress. bbPress itself is getting lighter, and we inherit all the eyes and updates that WordPress has had that BackPress hasn’t. That alone, if you ask me, is more than enough reason to be thankful for this move. If you need it super optimized, we’ll inherit all the caching plugins for WordPress. If you need bells and whistles, we get WP plugins. There is too much to gain, to not have bbPress be a WP plugin.
The existing standalone committers, are doing a great job already. There are very few trac tickets to work through in terms of bug fixes, and most of the enhancements would naturally get fixed by making it a plugin.
So… I want to say again, your passion and enthusiasm is something I want, and appreciate. If any of you are going to WordCamp Savannah, I’ll gladly discuss this over drinks and dinner. Whatever you need, I want to make it happen for you, but the name isn’t changing, Myself and the team are going to support the standalone with security updates as needed. Since I have commit access, I’m happy to commit fixes as needed because I’ve been trusted with that ability and I want everyone happy with a safe and functional piece of software, plugin or standalone.
I also, typed this out entirely on my iPad over the course of an hours worth of “leisure time.” if that doesn’t say you have my attention and commitment, I dunno what does.
July 17, 2010 at 11:42 pm #91138citizenkeith
ParticipantI’d love to help out. I’m capable of backing up my database and restoring it. :
johnnydoe
Memberhas anyone already figured out how to show the excerpt with livibetters code of the topic (main post) instead of the last comment?
thx
July 17, 2010 at 8:18 pm #87875In reply to: Whoa! (bbPress.org 2.0 is live)
_ck_
ParticipantThis will probably be low on the priority list but tags are no longer being imported from the
readme.txtin the plugin section, so any updated plugin since the bbpress.org 2.0 upgrade has lost it’s tags. -
AuthorSearch Results