Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 8,151 through 8,175 (of 11,578 total)
  • Author
    Search Results
  • lwoods
    Member

    I have installed bbpress and changed all of the links, etc. in the bbpress admin. I added “bbPress Forum List” and “bbPress latest topics” to my widgets BUT when I drag either the bbPress List or the bbPress Latest widgets to the sidebar, they show on the sidebar until view the site. Then (1) the forums/topics do not show up on the site and (2) when I go back to the Widgets page the bbPress widgets that I had previously drug onto the sidebar are gone! IOW, they don’t “stick” to the sidebar.

    ??????????????

    TIA

    #87010
    zaerl
    Participant

    A sandbox is a local test platform that is private and have no external access. For example I use xampp for testing.

    #86962
    master5o1
    Participant

    get_latest_topics (line 61)

    void get_latest_topics ([ $args = null])

    $args

    So…what is $args?

    #87009
    gerikg
    Member

    Thank zaerl, I’m definitely willing to test it out. I don’t know what sandbox is though.

    #34027
    zaerl
    Participant

    Hi there,

    I have written a plugin that is a rework of _ck_ “Hidden Forums”. The features:

    1) Forums/Topics can be hidden for a list of users and/or for all those users that have a particular role.

    For example you can hide a staff private forum to all users except administrators or a sticky topic for all guests.

    2) Forums/Topics can be locked for a list of users and/or for all those users that have a particular role. A locked forum doesn’t accept new topics. A locked topic doesn’t accept new posts/tags.

    It is different from a “closed” topic which is locked for everyone. You can use this feature for a news list post.

    3) You can specify super users and super roles that aren’t affected by previous rules.

    A good choice is admin and administrators respectively.

    4) You can specify custom prefixes for administrators if the forum/topic is hidden/locked.

    It is useful to keep track of hidden posts.

    5) You can specify replacement strings for the forms that aren’t shown on locked topics/forums.

    Something like “sorry but you can’t write new topics”.

    6) A fancy admin panel is included.

    In the panel you have a list of all forums/topics that are affected by the plugin.

    Actually I don’t think that my plugin is ready for a real site (but despite this I use it in a real site). I’m testing it in a sandbox but I need to cover cases in which there are thousand of posts.

    The question is: are you interested on testing my work in a sandbox (if you have one)? If the answer is “yes” I can upload the beta on the SVN otherwise I will test it by myself a little more.

    #86959
    zaerl
    Participant

    Try:

    if ( $topics = get_latest_topics('exclude=8,7', $page) )

    but I’m not sure that this will function.

    #86958
    master5o1
    Participant

    on index.php get_latest_topics(‘exclude=id_of_the_controversial_forum’);

    Ok, so I changed the line to be this:

    if ( $topics = get_latest_topics(‘exclude=8’, $page) ) {

    How do I make it exclude more than one forum?

    Say, don’t want forum game threads showing up, so I’d block 7 also…

    #86910

    In reply to: Latest Discussion Page

    Markus Pezold
    Participant

    Hi gerikg,

    I will test it tomorrow on my new server (playground for bbPress, Plugins, Themes) …

    Markus

    #86909

    In reply to: Latest Discussion Page

    gerikg
    Member

    Okay here is the update:

    I created discussion.php and put it in root. In the file I put…

    <?php

    require('./bb-load.php');

    bb_repermalink();

    $bb_db_override = false;
    do_action( 'bb_index.php_pre_db' );

    if ( isset($_GET['new']) && '1' == $_GET['new'] ) :
    $forums = false;
    elseif ( !$bb_db_override ) :
    $forums = bb_get_forums(); // Comment to hide forums
    if ( $topics = get_latest_topics( false, $page ) ) {
    bb_cache_last_posts( $topics );
    }
    if ( $super_stickies = get_sticky_topics() ) {
    bb_cache_last_posts( $super_stickies );
    }
    endif;

    bb_load_template( 'discussion.php', array('bb_db_override', 'super_stickies') );

    ?>

    It’s the same as index.php except for the last line I put discussion.php

    Then I created the template file discussion.php. I put in the file:

    <?php bb_get_header(); ?>
    <?php if ( $forums ) : ?>

    <div id="discussions">
    <?php if ( $topics || $super_stickies ) : ?>

    <h2><?php _e('Latest Discussions'); ?></h2>

    <table id="latest">
    <tr>
    <th><?php _e('Topic'); ?> — <?php bb_new_topic_link(); ?></th>
    <th><?php _e('Posts'); ?></th>
    <!-- <th><?php _e('Voices'); ?></th> -->
    <th><?php _e('Last Poster'); ?></th>
    <th><?php _e('Freshness'); ?></th>
    </tr>

    <?php if ( $super_stickies ) : foreach ( $super_stickies as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td><?php bb_topic_labels(); ?> <big><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></big><?php topic_page_links(); ?></td>
    <td class="num"><?php topic_posts(); ?></td>
    <!-- <td class="num"><?php bb_topic_voices(); ?></td> -->
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><a href="<?php topic_last_post_link(); ?>"><?php topic_time(); ?></a></td>
    </tr>
    <?php endforeach; endif; // $super_stickies ?>

    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td><?php bb_topic_labels(); ?> <a href="<?php topic_link(); ?>"><?php topic_title(); ?></a><?php topic_page_links(); ?></td>
    <td class="num"><?php topic_posts(); ?></td>
    <!-- <td class="num"><?php bb_topic_voices(); ?></td> -->
    <td class="num"><?php topic_last_poster(); ?></td>
    <td class="num"><a href="<?php topic_last_post_link(); ?>"><?php topic_time(); ?></a></td>
    </tr>
    <?php endforeach; endif; // $topics ?>
    </table>
    <?php bb_latest_topics_pages( array( 'before' => '<div class="nav">', 'after' => '</div>' ) ); ?>
    <?php endif; // $topics or $super_stickies ?>

    </div>

    <?php else : // $forums ?>

    <div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> &raquo; <?php _e('Add New Topic'); ?></div>

    <?php post_form(); endif; // $forums ?>

    <?php bb_get_footer(); ?>

    Now bb_new_topic_link() & topic_class() for sticky does not work.

    #86908

    In reply to: Latest Discussion Page

    gerikg
    Member

    Any way to do it via plugin folder, functions.php, or theme folder without putting the file in the root? If bbpress upgrades (don’t laugh too hard) I will forget about it.

    #86276

    Hi Chris

    It would be the latest version of bbpres – I downloaded 1 April (note that there seems to be nothing in the download that tells you what version you have – this should be remedied. In fact, I cannot find any ‘Read Me’ file either).

    I FTPed the files. Ansers to your other questions are –

    Red Hat Enterprise Linux Server release 5.4 (Tikanga

    Server version: Apache/2.2.11 (Unix)

    However, the php version is PHP 5.2.9 (cli) (built: Jun 21 2009 – is this a problem that it is not 5.3.x?

    Maybe I should just re-download and re-install?

    Look forward to your advice.

    Regards

    Derek

    #86907

    In reply to: Latest Discussion Page

    Markus Pezold
    Participant

    Hi gerikg,

    this post could help you:

    https://bbpress.org/forums/topic/create-a-new-custom-page-like-wordpress

    1. Make a custom page

    create a page discussion.php in the root forum folder

    add require_once(‘./bb-load.php’); on the top of the page. and write whatever code you want in the page.. that should create a static page with bbpress functions..

    2. Put in the code for the Latest discussions from the main page (?)

    or

    3. Make your own sql query – https://bbpress.org/forums/topic/create-a-new-custom-page-like-wordpress

    Markus

    #34003
    gerikg
    Member

    How do I make Latest Discussion on it’s own page?

    #86896
    chrishajer
    Participant

    I suppose you could do the complete noob thing and say:

    <?php if (bb_get_forum_is_category()) {
    continue;
    }
    else {
    // do something
    }
    ?>

    Unless I am completely missing your point and this is some sort of test :-)

    #33995
    psycheangels
    Member

    xxx.com/rss is latest rss posts but how do i get latest rss topics ? without recent topic post.

    i look at rss.php i found this

    case 'all-topics':
    if ( !$topics = get_latest_topics() )
    die();

    $posts = array();
    foreach ($topics as $topic) {
    $posts[] = bb_get_first_post($topic->topic_id);
    }

    $title = esc_html( sprintf( __( '%1$s &raquo; Recent Topics' ), bb_get_option( 'name' ) ) );
    $link = bb_get_uri();
    $link_self = bb_get_topics_rss_link();
    break;

    so how i get that rss feed ?

    thanks

    #86779
    Gautam Gupta
    Participant

    And for the time being, there’s no need to create a fork. Just create new tickets, contribute patches and after testing, chrishajer might commit them.

    #86742
    chrishajer
    Participant

    A PHP warning should cause the site to not load (it’s just a warning, not an error.)

    Is the wp-load.php actually available where you say it is in the include statement?

    Also, does including it near the top of bb-config.php change the error at all? (I usually see it near the top, not the bottom.)

    Finally, can you use the include_once function to include some other random file in the current directory? Just create a file like test.php with nothing in it other than <?php /* */ ?> and then try to include that to see if the php function is actually working or if there is maybe some server security interfering.

    #86740
    Markus Pezold
    Participant

    Hi gerikg,

    can you post a link to your forum? Evtl. we can test it together.

    On my forum i have at first also a blank page – there it was a problem with two plugins (one in bbPress, one in WordPress).

    Markus

    #33976
    gerikg
    Member

    When I do the deep integration it works find but two people already came to me and said it makes the page blank. How does one troubleshoot this problem? I’m assuming they are using the steps on my website so the steps are the same. They are both pulling wp-load.php. WP 2.6.3 and latest bbp.

    #76178
    analytico
    Member

    Try the Easy Video Embed plugin https://bbpress.org/plugins/topic/easy-video-embed/

    It enabled embedding videos like YouTube, Vimeo, Revver and others in bbPress 1.02, the latest version. Works in Firefox and IE. It is a new plugin, you can find it on the main page of the plugins list.

    #33974
    oli_75
    Member

    Hello,

    I just uploaded the latest version of bbpress. When I click on install I receive a message “no valid header for plugin (Das Plugin hat keinen validen Header.”).

    I am running WordPress 2.9.2 installed at hosteurope.

    What am I doing wrong?

    Maybe someone can give me an idea what’s going wrong here.

    Thanks,

    Oliver

    #86720

    In reply to: BuddyBar in bbPress

    Markus Pezold
    Participant

    Hi Bradcarters,

    i don’t think this is the best solution to fix the original problem. It is just a “dirty” workaround. For me it seems to work.

    But you can wait for the test and the answer from gerikg.

    Markus

    #86734
    chrishajer
    Participant

    I just committed that patch, so the fix should be evident here within 24 hrs. Please test and report back.

    #86552
    yoyopop
    Member

    thanks chris.

    I’m on a linux server. Like I said before, I’ve tested the problem with a blank template and zero activated plugins it still happened.

    it seems like it would be closest to this problem https://trac.bbpress.org/ticket/1090 – although that trac has been marked as a duplicate with 1150, they seem to be separate problems to me. But you never know!

    Do you know what the correct url format for a undeleting should be? Is my forum directing me incorrectly, is delete-topic.php failing, or is my server not carrying through the command?

Viewing 25 results - 8,151 through 8,175 (of 11,578 total)
Skip to toolbar