Search Results for 'bbpress'
-
AuthorSearch Results
-
July 7, 2009 at 12:05 am #75533
In reply to: strange url issue
_ck_
ParticipantIf this is happening in 1.0, it’s a bug and I would open a ticket in http://trac.bbpress.org to make sure that Sam becomes aware of it.
utf-8 in URLs is probably going to be a difficult problem to debug
July 6, 2009 at 11:34 pm #75559In reply to: conditionals with is_forum()
_ck_
ParticipantTo learn how bbPress works, I would suggest browsing the source of the top level files in the bbPress root.
is_forum
simply checks the url and does not know which forum it is inbut it can be used before repermalink happens (similar to wordpress)
to get the current forum, in theory you should be able to
global $forum_id;
And then the
$forum_id
is the current forum number. You can then use the api to get the forum name, etc. if desired.This may not work in all cases as bbPress has some nasty code in some places that even in 1.0 still does not reset the counter after loops. For example a forum page that has some sub-forums, the
$forum_id
might very well be the last sub-forum displayed (if the bug has not been fixed yet).You also cannot fetch
$forum_id
before repermalink happens which is afterbb_init
is triggered. Shouldn’t be a problem unless you are trying to execute code while a plugin is loading vs. after initps.
is_forum
is deprecated in 1.0, usebb_is_forum
July 6, 2009 at 11:27 pm #74322In reply to: Convert WP Super Cache plug-in for bbPress ?
_ck_
ParticipantMemcache is going to be an absolutely useless suggestion for 95%+ of bbPress users.
Most won’t have the knowledge or resources to set it up and the performance boost will be trivial, almost non-existent for a single server setup (on a shared host it won’t even be a possibility). A proper mysql cache, opcode cache, and local disk cache will come within the same single digit performance gains of memcache.
Memcache is only beneficial for multi-server systems, it’s why it was invented in the first place.
The way to cache forums properly is to cache parts of the pages and build the page based on each user on demand. This allows much more dynamic content.
Large forums usually have an additional problem with several bots crawling them at once at any given time which is why caching every single page in a page cache (like wp super cache) can be a problem. The bots will fill the cache with many one-time hits which have to be purged very soon after they are created.
July 6, 2009 at 11:19 pm #75580vanesta
MemberUnfortunately adding these value breaks WP/BBPress login integration (Same value as wp-config without bb_ prefix on the variable)
define(‘BB_AUTH_COOKIE’, ‘xxx’);
define(‘BB_SECURE_AUTH_COOKIE’, ‘xxx’);
define(‘BB_LOGGED_IN_COOKIE’, ‘xxx’);
Thanks for the reply ipstenu
July 6, 2009 at 11:18 pm #75565In reply to: Looking for BBPress Expert
_ck_
ParticipantIf you are trying to use my plugins on 1.0 you are not going to get very far.
July 6, 2009 at 11:13 pm #75362In reply to: bbPress 1.0 released
_ck_
ParticipantSpeaking of
.htaccess
I want to express how I simply cannot disagree more with the suggestion during bbPress 1.0 install to make it writeable by bbPress.Opening
.htaccess
to writes by PHP is an INCREDIBLY bad idea security-wise.Never, ever, make any part of your bbPress (or WordPress) install write-able or you are just begging to be hacked sooner or later. Always use FTP and replace it yourself.
If you are on a shared server, the vulnerability is magnified many more times.
Directories used for caching and uploading that simply must be writable should always be “above” the web-root so that an attacker cannot easily execute files they just uploaded or modified.
One day bbPress will have a template editor like WordPress and I will have to recommend deleting it and never chmod’ing the template directory as well.
July 6, 2009 at 11:09 pm #75361In reply to: bbPress 1.0 released
Ipstenu (Mika Epstein)
ModeratorFYI – Installing WordPressMU + BuddyPress + bbPress was a snap! Integration FTW!
July 6, 2009 at 10:49 pm #75575In reply to: Forum with 15k users, 100 u. online in one moment
_ck_
ParticipantThere are already sites running bbPress 0.9 with many more users than that.
http://bbshowcase.org/forums/view/top100
Only thing I would suggest as I have in the past is that if it’s a commercial project with income, you should always be considering vbulletin which is no-nonsense, high end features/performance right out of the box. But it’s not cheap and everything worthwhile for it is usually pay-only also.
bbPress is for do-it-yourself-ers who want to make something that either blends into an existing design or you want something fresh that doesn’t look like every other cookie-cutter forum.
July 6, 2009 at 10:30 pm #15188vanesta
MemberI defined USER_COOKIE, PASS_COOKIE, AUTH_COOKIE, SECURE_AUTH_COOKIE, LOGGED_IN_COOKIE and TEST_COOKIE on my WP config for a single sign own with multiple WP hosted on a single domain + sub domain
Can someone tell me where I can define USER_COOKIE, PASS_COOKIE, AUTH_COOKIE, SECURE_AUTH_COOKIE, LOGGED_IN_COOKIE and TEST_COOKIE in BBPress and how?
Thanks
July 6, 2009 at 10:05 pm #75564In reply to: Looking for BBPress Expert
Jason Giedymin
MemberFor help on this issue check out ck’s post @: http://bbshowcase.org/forums/topic/bbpress-professionals-advertise-in-this-topic
July 6, 2009 at 10:02 pm #75572In reply to: Forum with 15k users, 100 u. online in one moment
Jason Giedymin
MemberI haven’t heard any benchmarks as it’s up to you on setting it up (nginx/apache/phpcgi/phpfpm/etc….).
It’s even harder to compare pound for pound because of the extensibility bbpress affords you with wordpress and buddypress. Even the plug-ins that each trio of apps afford you.
There is a point when it’s not about how many users you can squeeze out of a single VPS, it’s about building a site… a community and what is the best software & hardware able to do that.
Of course, when your scaled to the limit with hardware, software, and users to that of say Twitter it’s a different story.
On their curve, no matter how much hardware they add, curbing simple things like response time become a huge battle. At this scale it’s in your best interest to develop something proprietary as such they have and are doing.
In your case though, your probably better off worrying about ‘how do i scale my forum installation’ , and ‘what forum software gives my users the most benefit’, than asking ‘how many people can i house on my vps/dedicated/box/PS3’.
Even having said this all of this, out of the box there is less overhead in the bbpress architecture than with PHPBBx.
Take all of what I said with a grain of salt, and a beer in hand.
Cheers,
– Jason
July 6, 2009 at 9:31 pm #15187Topic: Forum with 15k users, 100 u. online in one moment
in forum Installationmaxbmx
MemberHi,
How stable bbPress is? Is it ready to hold 15k users (still growing) and 100u online in one moment?
How much faster/slower is it he in comparison to PHPBB3, vbulletin, ipb?
July 6, 2009 at 9:12 pm #15186Topic: Looking for BBPress Expert
in forum InstallationQuickD
MemberStill cannot find someone that is a bbpress expert. My current web programmer cannot work out some of the plugins. The reputation plugin and avatar plugin is not working and you cannot delete posts they just appear back in bold red. So would be great of somone can help me out.
July 6, 2009 at 8:49 pm #75549In reply to: bbPress 1.0 in German / bbPress 1.0 in Deutsch
Elias
MemberI scanned my bbPress source directory with poedit and merged the changes into my local .po, which I used to localize the older versions of bbPress. Okay, there was a little work with errorneous substitutions of translated strings, but poedit is a great tool.
July 6, 2009 at 8:38 pm #75548In reply to: bbPress 1.0 in German / bbPress 1.0 in Deutsch
taboo
MemberI don’t get it — why is bbPress released with no final .pot / .po file together?
@Goebelmasse: could you share how you did it?
July 6, 2009 at 8:16 pm #75547In reply to: bbPress 1.0 in German / bbPress 1.0 in Deutsch
July 6, 2009 at 7:50 pm #74572In reply to: Integrating WPMU trunk and bbPress RC2
Jason Giedymin
MemberTrunk WPMU is not ready for production. It has some issues.
2.7.1 is stable but requires a patch for SSL.
Also you can get it working without the integration speed up.
COOKIE_DOMAIN is necessary for WPMU.
Try 2.7.1, the new BBPress v1 with the Integration Plugin V1 without SSL.
Follow all the directions and HTTP auth will work out of the box. It’s smooth.
(More work is required for SSL *IF* your going that route).
July 6, 2009 at 7:45 pm #75418In reply to: Can i delete register.php and bb-login.php page ?
Jason Giedymin
MemberPerhaps better to just the change permissions on these files instead of deleting them.
##(being root do the following)
#Standard location?
cd /var/www/vhosts/<domain.com>/<bbpress>/
chmod 000 bb-login.php
chmod 000 register.php
July 6, 2009 at 7:30 pm #75514In reply to: Navigation error
taboo
MemberI don’t use Hidden Forums plugin. I also tried disabling all the plugins – still the same navagation issue.
Then I disovered that if I use “none” permalink structure (/forums.php?id=1) everything works fine. If I use either “numeric” or “name based” (my preference) the problem is back.
Really noone faces such an issue?
my .htaccess looks like that now:
# BEGIN bbPress
Options -MultiViews
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^page/([0-9]+)/?$ /index.php?page=$1 [L,QSA]
RewriteRule ^forum/([^/]+)/page/([0-9]+)/?$ /forum.php?id=$1&page=$2 [L,QSA]
RewriteRule ^forum/([^/]+)/?$ /forum.php?id=$1 [L,QSA]
RewriteRule ^forum/?$ / [R=302,L,QSA]
RewriteRule ^topic/([^/]+)/page/([0-9]+)/?$ /topic.php?id=$1&page=$2 [L,QSA]
RewriteRule ^topic/([^/]+)/?$ /topic.php?id=$1 [L,QSA]
RewriteRule ^topic/?$ / [R=302,L,QSA]
RewriteRule ^tags/([^/]+)/page/([0-9]+)/?$ /tags.php?tag=$1&page=$2 [L,QSA]
RewriteRule ^tags/([^/]+)/?$ /tags.php?tag=$1 [L,QSA]
RewriteRule ^tags/?$ /tags.php [L,QSA]
RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ /profile.php?id=$1&page=$2 [L,QSA]
RewriteRule ^profile/([^/]+)/([^/]+)/?$ /profile.php?id=$1&tab=$2 [L,QSA]
RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ /profile.php?id=$1&tab=$2&page=$3 [L,QSA]
RewriteRule ^profile/([^/]+)/?$ /profile.php?id=$1 [L,QSA]
RewriteRule ^profile/?$ /profile.php [L,QSA]
RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ /view.php?view=$1&page=$2 [L,QSA]
RewriteRule ^view/([^/]+)/?$ /view.php?view=$1 [L,QSA]
RewriteRule ^rss/?$ /rss.php [L,QSA]
RewriteRule ^rss/topics/?$ /rss.php?topics=1 [L,QSA]
RewriteRule ^rss/forum/([^/]+)/?$ /rss.php?forum=$1 [L,QSA]
RewriteRule ^rss/forum/([^/]+)/topics/?$ /rss.php?forum=$1&topics=1 [L,QSA]
RewriteRule ^rss/topic/([^/]+)/?$ /rss.php?topic=$1 [L,QSA]
RewriteRule ^rss/tags/([^/]+)/?$ /rss.php?tag=$1 [L,QSA]
RewriteRule ^rss/tags/([^/]+)/topics/?$ /rss.php?tag=$1&topics=1 [L,QSA]
RewriteRule ^rss/profile/([^/]+)/?$ /rss.php?profile=$1 [L,QSA]
RewriteRule ^rss/view/([^/]+)/?$ /rss.php?view=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ /index.php [L]
</IfModule>
# END bbPressJuly 6, 2009 at 7:07 pm #75557In reply to: Show comments in the bbpress profile
Marcomail
MemberBut the profile page have the navigation ? i see in wordpress you can browse all your reply and thread
July 6, 2009 at 6:39 pm #75535In reply to: "Reply" code it's not editable
July 6, 2009 at 6:34 pm #75393In reply to: Wierd problems installing bbPress
Jason Giedymin
MemberSSL will never work if you do this. If you look at your cookies they will never be flagged ‘secure’ and they will not be hashed with the appropriate salts.
If you have redirects it’s because your cookies failed to auth(). Meaning they were not hashed.
I recommend following my SSL threads, perhaps applying some patches and most importantly install that latest everything (not svn trunk).
July 6, 2009 at 6:29 pm #75556In reply to: Show comments in the bbpress profile
michael3185
MemberAh – OMG! – I know nothing about WordPress except the name. (Exit me!)
July 6, 2009 at 6:25 pm #75555In reply to: Show comments in the bbpress profile
Jason Giedymin
MemberI think you can either create a plugin or go ahead and edit the profile.php template page. Go for it.
July 6, 2009 at 6:25 pm #75403In reply to: Better Gravatar directions INSIDE bbPress
Marcomail
Memberis possible have the same avatar in wordpress and bbpress without gravatar ?
-
AuthorSearch Results