Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 54,301 through 54,325 (of 64,515 total)
  • Author
    Search Results
  • #4466
    johnnydoe
    Member

    hello,

    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

    #69961
    _ck_
    Participant

    Well 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.

    #70150

    The 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.

    #4464
    Huda Toriq
    Member

    Hi. 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.

    #70149
    jimgroom
    Member

    Hello 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?

    #69960

    Turns 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-community

    Server 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-community

    #69959
    _ck_
    Participant

    They 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('');

    #68089
    samanathon
    Member

    Great integration, I like the clean look!

    #69958
    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?

    #70453
    chrishajer
    Participant
    #69957
    _ck_
    Participant

    Thanks 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.

    #4465
    theoldgringo
    Member

    Just 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.

    #69956
    chrishajer
    Participant

    1&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

    #70440
    ganzua
    Member

    I 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=lorem

    #4462
    ganzua
    Member

    Is 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 :(

    #70438
    flashpunk
    Member

    I believe that it was something funky with the database…

    I decided to start fresh and reinstall BBpress, and it seems to be working.

    #70148

    I 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 2021

    Below 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 2036

    It’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.

    #69955

    Huh. 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.

    #70437
    flashpunk
    Member

    The 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?

    #70147
    Sam Bauers
    Participant

    @greenshady

    Are 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.

    #70146
    Sam Bauers
    Participant
    #69954
    _ck_
    Participant

    I’d like to see some feedback on my experimental NFS detector below.

    Be sure to chmod 777 it after you upload or it won’t work.

    Delete after you are finished with it for security.

    Dreamhost takes over 7 seconds, sometimes more.

    My apache servers with local storage take less than one second.

    My Windows XP with XAMPP takes 12 seconds (old slow IDE drives)

    <?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=__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";
    ?>

    #69953
    vannak
    Member

    yes, that is normal. but i just wonder why the same card couldn’t be used to renew but to buy new hosting? and she did tell them to hold her acc by email.

    #69952
    simracingbiz
    Member

    Vannak if acc. is expired is only a trouble of your friend. I’ve also a Godaddy hosting, and about 4 months before expiring, GD sens periodically via mail a reminder… So charging for recovery data (in consequence of your forgots) in my opinion is normal.

    #70145

    I can’t seem to find the link to the WordPress integration plug in anymore. Sam, where did it go lol!

Viewing 25 results - 54,301 through 54,325 (of 64,515 total)
Skip to toolbar