Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 9,726 through 9,750 (of 11,589 total)
  • Author
    Search Results
  • #69965
    vannak
    Member

    Hi _ck_ i did what you told already. and the fastest one is 9.9959759712219 seconds (in Cambodia). what do u think about it?

    #69964
    chrishajer
    Participant

    _ck_

    I needed to change the /test.txt to \test.txt, but even once that was done, I get this error (prior to this, the filename and path were not right):

    Warning: file_put_contents(D:Hosting123456htmlgodaddytesttest.txt) [function.file-put-contents]: failed to open stream: Permission denied in D:Hosting123456htmlgodaddytestdefault.php on line 9

    Warning: touch() [function.touch]: Unable to create file D:Hosting123456htmlgodaddytesttest.txt because Permission denied in D:Hosting123456htmlgodaddytestdefault.php on line 11

    0.00028681755065918 seconds

    #69963
    _ck_
    Participant

    Make 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";
    ?>

    #67551
    chrishajer
    Participant

    @fernandot: this worked fine for me. I see the buttons and used them and it works just fine. See my test post. Firefox 3.0.5

    http://ayudawordpress.com/foro/

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

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

    #70447
    _ck_
    Participant

    Headers already sent is a useless error in itself, it’s always the result of another error (unless the very rare case someone meant to send a custom header of some kind).

    In this case at least you posted the real error:

    Warning: parse_url(http://#postform) [function.parse-url]

    Any chance you are testing this on a localhost or something like that?

    Kind of a strange error that it’s getting a bad url like like, there’s no domain name at all.

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

    #70144
    Justin Tadlock
    Participant

    The biggest issue I’m having with this version and the latest version of the WP/BB Integration plugin is that the user roles aren’t being carried over to bbPress when a user registers in WordPress.

    They always end up with no role set.

    This is the error when editing the user’s profile when no role is set:

    <select name="role">
    <option value="keymaster"<br />
    <b>Warning</b>: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in <b>/domain.com/forums/bb-includes/functions.bb-template.php</b> on line <b>2021</b><br />

    >Key Master</option>
    <option value="administrator"<br />
    <b>Warning</b>: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in <b>/domain.com/forums/bb-includes/functions.bb-template.php</b> on line <b>2021</b><br />
    >Administrator</option>
    <option value="moderator"<br />

    <b>Warning</b>: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in <b>/domain.com/forums/bb-includes/functions.bb-template.php</b> on line <b>2021</b><br />
    >Moderator</option>
    <option value="member"<br />
    <b>Warning</b>: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in <b>/domain.com/forums/bb-includes/functions.bb-template.php</b> on line <b>2021</b><br />

    >Member</option>
    <option value="inactive"<br />
    <b>Warning</b>: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in <b>/domain.com/forums/bb-includes/functions.bb-template.php</b> on line <b>2021</b><br />
    >Inactive</option>
    <option value="blocked"<br />

    <b>Warning</b>: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in <b>/domain.com/forums/bb-includes/functions.bb-template.php</b> on line <b>2021</b><br />
    >Blocked</option>
    </select>

    Aside from this, everything else has been working great for me.

    #70143
    tomwi
    Member

    @Ipstenu


    @sambauers
    – Thanks! I had tried bblive, it never pulled correctly when integration wasn’t working… i’ll give both your ideas a shot with my test integration of 2.7 and alpha 4.

    i am also using bbsync with my 2.5.1 to send posts to bbpress as topics… I want to do this and disable comments for easier moderation. I know it doesn’t work with 2.6 or 2.7. Anyone know of other ideas to send posts to bbpress as topics? Thanks!!

    #70380
    ganzua
    Member

    If you want to integrate the forum with wordpress latest version, you have two options; bbpress and simple-forum plugin.

    If you need a stand-alone forum I’d go for phpbb3. It has everything that a forum should have.

    #69950
    _ck_
    Participant

    Most hosts will not admit and definitely not advertise NFS, it’s a downside, not a plus.

    But you can tell if you have an account with them by studying df -a though the shell, php shell or perl cgi shell. Or if they hide/block all that you can write a script to time 1000 reads of filemtime (with clearstatcache) which cannot be cached by the OS and will have telltail lag.

    Marketing-wise NFS is usually spun as “unlimited” or “expanding” storage space, like Dreamhost promises extra space each month.

    I’m very curious to find out what the “resolution” was.

    The latest page show shows 1.432 – 36 queries which is still poor.

    #69947
    _ck_
    Participant

    vannak, if you activated load options, something is still wrong because it’s using 36 queries on the front page. Are you using bbPress 1.0 or bbPress 0.9 ?

    Make sure your bb-topic-views plugin is the latest version (1.6.3)

    The old version before I took over used excessive queries.

    If you are using an earlier 1.0 alpha version, it also had excessive queries (still does on the newest version in some places).

    Before you run to hostmonster or other provider, make sure you do your homework and check those suggestions I gave you.

    Oh one more tip for choosing a hosting provider – if they use the word “unlimited” in any of their advertising, find another provider.

    #70139

    hi chrishajer

    I do use the ltest stable WP -2.7- in a sandbox modified theme and the 1.0.4 (the one from the .tar)of BBpress

    thanks.

    #70137

    @lstelie:

    If you wanted to, it is possible to write a “clear all cookies” plug-in/function that would just be a link that would delete the cookies for a user entirely. I can verify that as long as you’re using WP2.7 and BBP1.0a4, that integration works and works really well. I’ve fully tested it on two different platforms now and both times it’s worked without a hitch.

    #70133
    Sam Bauers
    Participant

    Topic renaming fixed in trunk.

    We also now have a nightly builds system courtesy of Barry at Automattic. If there is a change during the day, then a new nightly will be created and made available here:

    https://bbpress.org/nightly-builds/bbpress-latest.zip

    #70271
    Trent Adams
    Member

    I am not sure if this version works on latest release, but give it a try.

    https://bbpress.org/plugins/topic/limit-latest-discussions/

    Trent

    #4452
    kashbah
    Member

    I have been looking everywhere, but couldn’t find anything related.

    BBpress has a standart number of 30 “Latest Discussions” topics shown in the front page. There’s also a plugin that allow admins to set this number to whatever they wish.

    But I would rather have a dynamic list only with new topics or topics with new replies since a user’s last login, listed in “latest discussions”. Currently I have the “new topics” plugin, but I feel its not quite what users want.

    Any ideas how this could be done or where to start coding it?

    #70130
    tomwi
    Member

    this is great! i had downgraded to 2.5.1 for integration.

    i am using bb latest discussions to show latest bbpress posts in wordpress which I could not get to work with alpha 2. i want to move back to 2.7 and alpha 4…… does anyone know of a plugin that works in bbpress alpha wp 2.7 to pull latest bbpress posts to wordpress/wordpress sidebar?

    #69122
    suzkaw
    Member

    @Umit Namli – I didn’t touch the rss feed file. So I am not sure what would be causing that. Can you try uploading an original rss2.php and see if that sorts it out? Or possibly reverting to the default theme and then testing again?

    #70127
    the_Wish
    Member

    While testing bbPress 1.0 Alpha 4 I am not able to change the name of any topic —I do not know whether this is a known issue or not; the procedure just looks fine, though the title stays the same.

    I’ve just tested this and it’s the same for me.

    #70126
    chrishajer
    Participant

    bbSync doesn’t work with the latest version of anything. What version bbPress did you install, and what version WordPress?

    #69120
    suzkaw
    Member

    This theme has just been updated and you can get the latest version (v0.2) from here:

    http://ericlbarnes.com/inove-for-bbpress/

    Changes Include:

    1. Moved view list to right side. (idea from _ck_)

    2. Removed background image. Issue with Safari.

    #67834

    In reply to: Get Current Forum ID?

    Sorry guys, I thought my problem was resolved but it looks like i’ve spoke to soon.

    The code _CK_ suggested below, worked wonders to add a new “on” class on my forum links:

    <li<?php if ($current_forum_id=get_forum_id()) {echo " class='on'";} ?>>

    Problem!

    The trouble is that the unique “on” class is being displayed on every forum link, when I need it to only display when i’m viewing forum 2 for example. Basically, i need a unique css class and current forum marker so the user knows which forum they are currently viewing.

    Below is the souce code for all of forum.php (if anyone has time to have a quick look i’d really appreciate it).

    <?php bb_get_header(); ?>

    <h3><?php forum_name(); ?> Forum</h3>

    <ul id=”forumnav”>

    <li<?php if ($current_forum_id=get_forum_id()) {echo ” class=’on'”;} ?>>” title=”Latest homepage”><span>Latest<img src=”images/white-arrow.gif” style=”padding: 0 0 3px 5px” width=”10″ height=”5″ border=”0″ /></span>

    <li<?php if ($current_forum_id=get_forum_id()) {echo ” class=’on'”;} ?>>forum/forum2″ title=”Forum 2″><span>Forum 2</span>

    <li<?php if ($current_forum_id=get_forum_id()) {echo ” class=’on'”;} ?>>forum/forum3″ title=”Forum 3″><span>Forum 3</span>

    <li class=”<?php echo $class;?>”>forum/forum3″ title=”Forum 3″><span>Forum 3</span>

    <?php if ( $topics || $stickies ) : ?>

    <table id=”latest”>

    <tr>

    <th><?php _e(‘Topic’); ?> — <?php bb_new_topic_link(); ?></th>

    <th><?php _e(‘Posts’); ?></th>

    <th><?php _e(‘Last Poster’); ?></th>

    <th><?php _e(‘Freshness’); ?></th>

    </tr>

    <?php if ( $stickies ) : foreach ( $stickies as $topic ) : ?>

    <tr<?php topic_class(); ?>>

    <td><?php bb_topic_labels(); ?> <big>“><?php topic_title(); ?></big></td>

    <td class=”num”><?php topic_posts(); ?></td>

    <td class=”num”><?php topic_last_poster(); ?></td>

    <td class=”num”>“><?php topic_time(); ?></td>

    </tr>

    <?php endforeach; endif; ?>

    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>

    <tr<?php topic_class(); ?>>

    <td><?php bb_topic_labels(); ?> “><?php topic_title(); ?><?php topic_page_links(); ?></td>

    <td class=”num”><?php topic_posts(); ?></td>

    <td class=”num”><?php topic_last_poster(); ?></td>

    <td class=”num”>“><?php topic_time(); ?></td>

    </tr>

    <?php endforeach; endif; ?>

    </table>

    <div id=”viewdiv”>

    <ul id=”views”>

    <li class=”view”>” class=”rss-link”><?php _e(‘<abbr title=”Really Simple Syndication”>RSS</abbr> feed for this forum’); ?>

    </div>

    <div class=”nav”>

    <?php forum_pages(); ?>

    </div>

    <?php endif; ?>

    <?php if ( bb_forums( $forum_id ) ) : ?>

    <h2><?php _e(‘Subforums’); ?></h2>

    <table id=”forumlist”>

    <tr>

    <th><?php _e(‘Main Theme’); ?></th>

    <th><?php _e(‘Topics’); ?></th>

    <th><?php _e(‘Posts’); ?></th>

    </tr>

    <?php while ( bb_forum() ) : ?>

    <?php if (bb_get_forum_is_category()) : ?>

    <tr<?php bb_forum_class(‘bb-category’); ?>>

    <td colspan=”3″><?php bb_forum_pad( ‘<div class=”nest”>’ ); ?>“><?php forum_name(); ?><small><?php forum_description(); ?></small><?php bb_forum_pad( ‘</div>’ ); ?></td>

    </tr>

    <?php continue; endif; ?>

    <tr<?php bb_forum_class(); ?>>

    <td><?php bb_forum_pad( ‘<div class=”nest”>’ ); ?>“><?php forum_name(); ?><small><?php forum_description(); ?></small><?php bb_forum_pad( ‘</div>’ ); ?></td>

    <td class=”num”><?php forum_topics(); ?></td>

    <td class=”num”><?php forum_posts(); ?></td>

    </tr>

    <?php endwhile; ?>

    </table>

    <?php endif; ?>

    <?php post_form(); ?>

    </div> <!– End Content –>

    <?php bb_get_footer(); ?>

    Thanks again sambauers, _CK_ and other mods – you’re doing a great job.

Viewing 25 results - 9,726 through 9,750 (of 11,589 total)
Skip to toolbar