Search Results for 'bbpress'
-
AuthorSearch Results
-
December 19, 2008 at 1:29 am #70152
In reply to: bbPress 1.0-alpha-4 released
John James Jacoby
KeymasterThe issue with roles has actually been since I remember integration starting with 2.7/1.0 series. It’s basically because there is no role set and no role map set for the bbPress side of it.
This issue should only occur if the user registers via WordPress. If they register via bbPress, it shouldn’t happen…
…I think…
December 19, 2008 at 12:53 am #70384In reply to: Looking for alternatives
Ipstenu (Mika Epstein)
ModeratorVbulletin makes me want to cry, regularly. I used to use Invision (someone else paid for it) but their templating system made every upgrade a two day project. SMF similarly, though the code is much easier. That ain’t saying much

Not that I think bbPress is perfect. If I had to pick anything but bbPress, I’d do SMF.
December 19, 2008 at 12:33 am #69963In reply to: bbpress is slow like godaddy says?
_ck_
ParticipantMake a directory called test, go in there and put this version of the script in there:
<?php
/*
Experimental NFS detector - upload this file to server and chmod 777
Script should take less than one second to run.
If it takes more than one second, then it's likely NFS (or Windows or a bad configuration)
Any error means the time is unreliable as the script has failed.
*/
error_reporting(E_ALL);
$file=dirname(__FILE__)."/test.txt"; file_put_contents($file,'');
$time=strtok(microtime(),' ')+strtok('');
for ($i=0; $i<=9999; $i++) {if (touch($file)) {clearstatcache(); filemtime($file);} else {break;}}
echo ((strtok(microtime(),' ')+strtok(''))-$time)." seconds";
?>December 18, 2008 at 11:42 pm #70151In reply to: bbPress 1.0-alpha-4 released
jonkristian
MemberGreat, integration is working!
Turns out i had a configuration problem, entirely my own fault.
December 18, 2008 at 11:18 pm #69962In reply to: bbpress is slow like godaddy says?
chrishajer
ParticipantOn a Windows server (GoDaddy) there isn’t such a thing as 777 permissions is there? It looks like 777 in my FTP client anyway, even though they’re not shown as such.
I get this error there:
Warning: touch() [function.touch]: Utime failed: Permission denied in
Hosting123456htmlgodaddynfs.php on line 9
0.00044894218444824 secondsThis is a GoDaddy Windows hosting account.
December 18, 2008 at 9:37 pm #4466Topic: button for guests
in forum Troubleshootingjohnnydoe
Memberhello,
i’d like to add an extra register button to the frontpage of bbpress, i tried the following code, but i had no luck (not to mention that my php knowledge is more than just basic)
<?php if ($user->user_exists != 0) : ?>
<li id="register_now"><a href="register.php" class="pagelink">Join Now</a></li>
<?php endif; ?>thanks a bunch
December 18, 2008 at 9:33 pm #69961In reply to: bbpress is slow like godaddy says?
_ck_
ParticipantWell we don’t need to pinpoint exactly the server configuration as the timing will never be exactly the same twice on the same machine. But it will be within a very close range. What we are looking for are times that are way beyond one second.
I’ll do some more digging over the weekend against some of the more popular hosts.
I want to see it run on godaddy though. That will be interesting. I’m sure I can find a good discount coupon code to get the first month very cheap so I’ll give that a go if so.
December 18, 2008 at 8:58 pm #70150In reply to: bbPress 1.0-alpha-4 released
Ipstenu (Mika Epstein)
ModeratorThe two things I had a problem with were the auth cookies (I had to repaste it all it) and the cookie_domain
I set, on both BB and WP, my cookie_domain to .domain.net and it started working.
December 18, 2008 at 8:20 pm #4464Topic: Custom query in bbPress. Latest topics from several forums
in forum PluginsHuda Toriq
MemberHi. I still don’t quite familiar with bbPress custom query system. Is there a simple way to pull the latest topics from only specific forums? In WP we can pull posts from several categories using comma separated category IDs in the query. Can bbPress do that?
And if there is, is it possible to pull it from WordPress using bbPress_Live php class in bbpress-live plugin?
Thank you in advance.
December 18, 2008 at 8:18 pm #70149In reply to: bbPress 1.0-alpha-4 released
jimgroom
MemberHello all,
I’m integrating WPMu 2.7 trunk, bbPress 1.0 alpha 4 and the latest BuddyPress Combo. I got everything up and running fine, and bbPress is reading the wp_users table and updating the users once they login to the WPMu account as members (I used the roles plugin recommended here, thank you).
The only issue I have remaining is that WPMu and bbPress are not sharing cookies, so when you log into the WPMu homepage, you are not automatically logged into bbPress, but you can login and out of each independently without an issue.
I installed Sam Bauer’s plugin for integration, and included the necessary details in the wp-config file, I’m also mirroring the unique values I have in my wp-config file in my bbPress config file. My bbPress config file looks like so:
define( ‘BB_AUTH_KEY’, ‘my_unique_key_is here’ );
define( ‘BB_LOGGED_IN_KEY’, ‘my_unique_key_is here’ );
define( ‘BB_SECURE_AUTH_SALT’, ‘my_unique_key_is here’ );
define( ‘BB_NONCE_KEY’, ‘my_unique_key_is here’ );
define( ‘BB_AUTH_SALT’, ‘my_unique_key_is here’ );
define( ‘BB_LOGGED_IN_SALT’, ‘my_unique_key_is here’ );
define( ‘BB_SECURE_AUTH_KEY’, ‘my_unique_key_is here’ );
/**#@-*/
define(‘COOKIE_DOMAIN’, ”);
define(‘COOKIEPATH’, ‘/’);
All these values exactly match what I have in my wp-config file, but still no shared cookie love. Anyone have any idea what might be wrong here?—or am I just pushing too soon with the WPMu trunk and bbPress 1.0 alpha?
December 18, 2008 at 7:45 pm #69960In reply to: bbpress is slow like godaddy says?
Ipstenu (Mika Epstein)
ModeratorTurns out mine aren’t the same (exactly).
Server 1
Operating system Linux
Kernel Version 2.6.9-55.0.9.ELsmp
Apache version 1.3.41 (Unix)
PERL version 5.8.8
PHP version 5.2.4
MySQL version 5.0.67-communityServer 2
Operating system Linux
Kernel Version 2.6.9-67.0.4.ELsmp
Apache version 1.3.37 (Unix)
PERL version 5.8.8
PHP version 5.2.1
MySQL version 5.0.51a-communityDecember 18, 2008 at 7:21 pm #69959In reply to: bbpress is slow like godaddy says?
_ck_
ParticipantThey could find someone else to run it.
Or some hosts have a free trial period (though that is less and less thanks to spammers).
Your linux desktop is why it is so fast.
So my theory is right, under 1 second is excellent, around 1 second is good.
Anything much higher is suspect.
But I need more NFS candidates, will have to see if I have access on some of these old servers.
Let’s see if I can run it on NearlyFreeSpeech.
Aha! They are NFS. 13.26 seconds
For those that get an error even when the file is chmod 777, you’ll have to create a testing directory and move the file into there. Then chmod 777 the directory and change the first line to
error_reporting(E_ALL); $file=dirname(__FILE__)."/test.txt"; file_put_contents($file,''); $time=strtok(microtime(),' ')+strtok('');December 18, 2008 at 7:19 pm #68089In reply to: WordPress and bbPress Theme Integration
samanathon
MemberGreat integration, I like the clean look!
December 18, 2008 at 7:10 pm #69958In reply to: bbpress is slow like godaddy says?
chrishajer
Participant_ck_ the desktop is Linux. I think it’s Kubuntu.
On the root server at 1&1, let’s see:
The 0.129 result is this: 1&1 Root Server II (not available any more, it’s an old account)
The 0.118 result is this: 1&1 Business I Server
Their VPS offerings are something else. Not really sure what these are.
I just checked another 1&1 account I manage, another Business I Server, I got 0.199 for the first result and a consistent 0.165 for the next 10 in a row.
Hope that helps.
I think it would be cool if you extended into a host evaluation tool. But how would someone run it on the host before they have an account there?
December 18, 2008 at 6:59 pm #70453In reply to: Am I missing some files
December 18, 2008 at 6:45 pm #69957In reply to: bbpress is slow like godaddy says?
_ck_
ParticipantThanks for the feedback Ipstenu and Chris!
When you say “1&1 root server” is that a dedicated or vps or something like that?
Interesting your desktop is very fast compared to mine, is it Windows or Linux? If it’s Windows, is it NTFS or FAT32? I wonder what my windows bottleneck is, or maybe basically it just doesn’t cache the filetables on FAT32.
I should enhance that code to show if the server is in safemode or not and what functions are disabled in PHP. Could be a handy tool for evaluating potential hosts.
December 18, 2008 at 6:07 pm #4465Topic: Am I missing some files
in forum Installationtheoldgringo
MemberJust installed bbpress. Seems to be working fine on basic level. But I can’t find any administrative controls over registrations, stickies, other goodies. Am I supposed to install some plugins, or am I missing some files?
Thanks.
December 18, 2008 at 5:13 pm #69956In reply to: bbpress is slow like godaddy says?
chrishajer
Participant1&1 shared hosting:
PHP4: average 0.241
PHP5: average 0.215
1&1 root server:
PHP5: average 0.129
Another 1&1 root server:
PHP5: average 0.118
My 2 year old desktop (local SATA drive, 1GB RAM):
PHP5: average 0.265
December 18, 2008 at 5:04 pm #70440In reply to: Can wordpress searcher search bbpress?
ganzua
MemberI actually realized that I have a problem when using wordpress searcher after deep integration because it doesn’t work if you are browsing bbpress.
I have wp searcher in the wp header and I load this header into bbpress. Whenever you try to search while being in bbpress yo get a 404 error because the link of the search is this one;
/wordpress/bbpress/index.php?s=loremDecember 18, 2008 at 4:50 pm #4462Topic: Can wordpress searcher search bbpress?
in forum Pluginsganzua
MemberIs there any plugin or anyway that allows wordpress searcher search bbpress topics?
I saw CK super-search plugin but it seems it is only for bbpress
December 18, 2008 at 3:00 pm #70438In reply to: Entries coming up with no content
flashpunk
MemberI believe that it was something funky with the database…
I decided to start fresh and reinstall BBpress, and it seems to be working.
December 18, 2008 at 2:31 pm #70148In reply to: bbPress 1.0-alpha-4 released
Ipstenu (Mika Epstein)
ModeratorI just checked and I can reproduce that error logged in as Key Master when I go to edit their profile.
If someone registers via WordPress, all the roles show up as:
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in <b>/domain.com/forums/bb-includes/functions.bb-template.php on line 2021Below that, under ‘Allow this user to …’ I get this
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/jorjafox/public_html/forums/bb-includes/functions.bb-template.php on line 2036It’s not pulling the data correctly, since if I manually set them to Member, it works fine. Previously on 1.0alpha1 and alpha2, when I had users on bb with ‘no’ role, I could re-apply the WordPress Role link up (just click save) and magically everyone was fixed.
December 18, 2008 at 2:23 pm #69955In reply to: bbpress is slow like godaddy says?
Ipstenu (Mika Epstein)
ModeratorHuh. Awesome script, _ck_, you’re a goddess.
Server 1 (my personal site) – average of 0.81909894943 seconds
Server 2 (my busy site) – average of 1.08337402344 seconds
These are on identical Apache servers (actually, server 2 has more memory, but the specs are the same for the servers). Same version of Apache, PHP, SQL etc. Server 2, however, is always slow and pegging the CPU. Even when I turn off WordPress (which my isp blamed at one point) I’m hammering the hell out of the poor box.
December 18, 2008 at 1:52 pm #70437In reply to: Entries coming up with no content
flashpunk
MemberThe only plugins that are running are:
Akismet 1.0
BBXF Export 0.1 alpha
and I’ve tried deactivating them both…
in the WordPress install the only plugins that I have related to the BBpress install are:
BBPress Integration 1.0-alpha-4.1
BBpress Latest Discussions 0.9
I don’t think the WordPress ones would have any effect on it?
December 18, 2008 at 11:50 am #70147In reply to: bbPress 1.0-alpha-4 released
Sam Bauers
ParticipantAre you editing that users profile as them or as a keymaster?
What is supposed to happen (once the role map is set) is that the user will receive a bbPress role if they either login, or visit the site with a valid cookie.
-
AuthorSearch Results