Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 9,426 through 9,450 (of 11,591 total)
  • Author
    Search Results
  • #72569
    _ck_
    Participant

    untested theoretical plugin

    add_filter('post_text','first_reply',999);
    function first_reply($text) {global $bb_post;
    if (!is_bb_feed() && (int) $bb_post->post_position==1) {$text.="<a name='first-reply'></a>";}
    return $text;
    }

    Then to get the first-reply link for any topic,

    <?php echo "<a href='".get_topic_link()."#first-reply'>replies</a>"; ?>

    #72448
    biodrama
    Member

    Thanks John,

    I was running HumanTest 0.9.0, which is the latest version so far as I can tell. The spammers must have been getting in a back door. Chris mentioned I should look in my logs to see where they were getting in, but I don’t know how to do this. The bogus registration emails stopped cold when I disabled register.php.

    #5039
    Zanti
    Member

    I can not seem to find a way to delete a repeated word in my forms category title. I have a repeated word and not sure how I got it.

    But, here is what is happening. I have bbPress 0.9.4 and WP 2.7.1 integrated using Anne’s plugin. No problem there. Most of CK’s plugins, no problem there either. In the Category title of my forums I have a repeated worked and don’t know how to remove it. What I mean by the category tile is, like the title of Latest Discussion, and the discussions below it my issue is the title above the forum categories. Hope that explains it well. The repeat is Forums Forums. My site is still a work in progress, so there are no post, except test ones.

    Thanks for the help.

    #72586

    I hardly think that it is fair to imply that I don’t ‘care for BBpress (sic) development’

    I didn’t say that nor suggest it, i said that “Name calling, on an anonymous internet forum, is hardly the way to get help, and i think that’s a true statement. If you call people “dick” and “bitch”; you are less likely to get help. I don’t think that is a false statement, and if you’re taking more from it than i had intended then i think you’re just trying to look for a fight rather than apologising for calling me a “dick” for trying to help you.

    After all, i did try and help.

    English is not my first language (nor my second – so my tone may be very off), but i wasn’t being intentionally rude or argumentative. I think it’s fair to say that people who have English as a non-primary language sometimes write sentences in a way that people some people find harsh or blunt – especially on internet forums where tone and intination do not come across. If that’s not something that you or anyone else who reads this agrees with then i’m sorry, it’s my experience that some cultures say things in a different way to others.

    As for the unasked for advice, it was asked for. You asked what your next step should be, and in my honest opinion it should be to test everything on a development enviroment. You may think it “self righteous” of me to say so, but there have been many examples of people on these forums who upload and install on a live environment first (there are 3 on the first page of this forum btw), so i was being honest and offering you and answer to the question YOU ASKED. I didn’t get bored and decide to write you an email, you asked for help and i took time to answer. If you think that was unasked for, then i apologise.

    You know man it’s like this, folks like me try our best. We try and asnwer in the best way possible in a language thats not our own, and if you go around picking out phrases out of context and saying things like we “tried to imply” – you’re reading way too much into simple sentances. If i wnted to say something i would, i wouldn’t hide behind an implication or worse, hide behind an attempted implication of something i really wanted to say. It’s hard to post here in English and we do our best. We dont expect to be called a “dick” or suggesting that we’re a “bitch” for doing so. And if you think that’s acceptable behavior to someone who was trying to help, then thats your own thing man, frankly i think it’s a little uncool – but if you think swearing at someone who is trying his best to help you is cool then there’s nothing i can add to that. Namecalling never got anyone anywhere, and i’d be surprised it if got you help on this forum either.

    Good luck in your endeavours.

    #72525

    It’s not stupid mate, it might be the answer. At this stage i’m up for trying anything.

    I don’t have it and will go test it now.

    Thank you!

    #72584

    Wow,

    PierrottorreiP, i was only trying to help, i think you could drop the attitude man. Rest assured, i’ll not try to help again.

    My first point, about using a development environment, is a sound technical point. The point of doing things locally is to plan/develop/test until it’s right then push live. If as you said you “I did put the site together locally and realized that I wanted them to talk to each other after I made it live.” that just shows poor planning, and it’s not my fault for not realising that you had decided to make things on your live server different from your testing environment.

    That said, your site currently has 1 user, you, so taking down the forums until you fix it locally isn’t going to be a disaster.

    As for my suggesting you only include a link when needed, again, it wasn’t to persecute or “bitch”, but was honest advice. If you have something you want us to look at please include a link by all means, but make it a link to your forums and or the page you’re having an issue with. ‘bumping’ your website via views from a BBpress support forum aren’t going to help (of the top 10 google links form your website name are from this website – and many people have tried to bump their site this way before which is why i mentioned it).

    You also have to accept that English isn’t everyone’s first language, and while not bad at it myself, taking offence because of the way something is worded – especially in a post that gave you step by step instructions on how to fix your issue – is frankly very bad form.

    Name calling, on an anonymous internet forum, is hardly the way to get help from those of us who care for BBpress’ development.

    #72581

    Hi PierrottorreiP,

    May i first suggest that the first step be to not do this sort of testing on a live environment?

    This is probably the way forward in my opinion:

    – Install them all on the same databse as your wordpress instal.

    – Use different table prefixes for each one.

    – Make people register on wordpress, with the redirect going back to the forum they came from.

    – Do a little dance.

    – Make a little love.

    Also, there’s not need to post a link to your site here man, if it’s not something wrong with a specific page we can see, it’s just a random link that’s not helpful.

    #72576

    Hi Vernal,

    In terms of integration in a software sense, you have to answer yourself this:

    1) Do they need to look the same?

    2) Do I need shared login ?

    3) Do i need shared wordpress functions (menu, sidebar, otehr cool wordpress stuff) ?

    If you answered yes to 1) and no to 2) and 3) you only need to make your style sheets and HTML look similar and dont need any integration.

    If you answered yes to 1) and 2) and no to 3) then you should be able to use the latest alpha and latest wordpress and all should be fine. Personally, i’d not ouch with with a bargepole and i’d use BBpress 0.9 and WP 2.7.1 with _ck_’s Freshly Baked Cookies plugin (link coming up in a bit).

    If you answered yes to 1) 2) and 3) then you need to use Ann’s plugin (again link coming up).

    In terms of fixing your BBpress to integrate into your wordpress theme easily, that one is simple. Replace the code in your header.php file with this:

    <body id="<?php bb_location(); ?>">
    <div id="page">
    <div id="wrapper">
    <div id="header">
    <div id="headerimg">
    <h1 id="blog-title"><!-- PUT YOUR WP LINK HERE --></h1>
    <div id="blog-description">
    <div class="description">
    <!-- PUT YOUR WP DESCRIPTION HERE -->
    </div> <!-- #description -->
    </div> <!-- #blog-description -->
    </div> <!-- #headerimg -->

    <!--
    K2 USERS
    THIS IS WHERE YOU PUT YOUR MENU CODE
    -->
    </div>

    <div id="access">
    <div class="skip-link"><a href="#content" title="Skip to content">Skip to content</a></div>
    <div id="menu">
    <!--
    SANDBOX USERS:
    THIS IS WHERE YOU PUT YOUR MENU CODE
    -->
    </div>
    </div><!-- #access -->

    <div id="container">
    <div id="primary">
    <div id="current-content">
    <div id="content">
    <div id="post">
    <div id="main">

    <h1><a>"><?php bb_option('name'); ?></a></h1>
    <?php if ( bb_get_option('description') ) : ?><p class="description"><?php bb_option('description'); ?>
    <?php endif; ?>

    <?php login_form(); ?>

    <?php if ( is_bb_profile() ) profile_menu(); ?>

    #72557

    In reply to: Install help

    DTI
    Member

    Chrishajer, thank you for your detailed help.

    Before I installed the bbpress, I have created a database as below:

    1, mysql> create database MyForum_database;

    2, mysql> show database; it is displayed.

    3, to create a dbconnect.php file to test it,

    <?php

    $con = mysql_connect(“localhost:3306″,”myname”,”mypassword”);

    if (!$con)

    { die(‘Could not connect: “.mysql_error());}

    else

    echo “Successful connect.”

    mysql_select_db(“MyForum_database”, $con);

    ?>

    4, to run this dbconnect.php file in the

    http://localhost/mrm/bbforum/dbcon.php //mrm is root of my website

    To get the “Successful connect.”

    This means my website host is “localhost” and the database is on the same server as the web site, then this probably should remain localhost in Database Host.

    5, my web site host is ‘localhost’ in my Apache setting in my server.(We have static IP address)

    6, please see my setting in bbpress installation:

    Database name: MyForum_database

    Database user: myname

    Database password: mypassword

    Database host: localhost

    Database character set: utf8

    Database character collation: forum

    bbPress cookie secret key: skyisblue

    Table name prefix: f_

    Where is I wrong? My MyForum_database has been connected, why bbPress installation can’t connect it.

    My database and website are on same server, same host.

    So I wander why…

    Please help again.

    #72575
    Postmatic
    Member

    Hey kevin,

    Thanks a lot for your great info. I hope that someone in the know picks up your request.

    In the meantime, is there anything you could point me to that will at least get me started in allowing some WordPress template tags to function from within bbpress? I’m using a shared database, 2.7.1, and the latest bb alpha.

    Does that still work?

    And of course, I ‘d love to hear more about your plugin if things get fixed up on it.

    Best,

    Jason

    _ck_
    Participant

    For those that don’t want to install IE8 permanently to just test their sites, this version will run in it’s own virtual box so it doesn’t affect the rest of your system:

    http://start-o.xenocode.com/layers/ie8/8-0-0-0__2/ie8.exe

    #5034
    Postmatic
    Member

    I’m using WordPress 2.7.1 and just installed the latest alpha of bbpress. Looking around I see lots of very old chatter about Themepress being the best solution for sharing a theme between the two products.. but it doesn’t seem to be available/work anymore.

    So what’s the latest? I’m going to make the assumption that someone picked up on themepress’s work and has come up with a solution to integrate WordPress and Bbpress themes. What’s the latest and greatest?

    Best,

    Jason

    #72539

    In reply to: 简体中文测试

    bobbyh
    Member

    I put this into Google Translate: “Simplified Chinese test, enjoy. Hope that regulators continue to come on and support you.”

    #72519
    chrishajer
    Participant

    To integrate 0.9.* with WordPress 2.5 and later, you should read this:

    https://bbpress.org/forums/topic/wordpress-and-bbpress-integration-101#post-17409

    That post has a lot of good information. I agree the documentation needs to be better.

    #71392
    deadlyhifi
    Participant

    the latest bleeding edge release (from subversion) adds paging to the ‘Latest Discussions’. But if any of the arguments are used in ‘get_latest_topics’ the paging doesn’t work.

    from functions.bb-topics.php

    function get_latest_topics( $args = null ) {
    $defaults = array( 'forum' => false, 'page' => 1, 'exclude' => false, 'number' => false );

    so I’ve tried it with

    $topics = get_latest_topics('forum=-3');

    and

    $topics = get_latest_topics('exclude=3');

    both have same results but no paging.

    #5026

    My latest plugin has hit a snag.

    I cannot seem to overwrite bb_get_header() using add_filter(‘bb_get_header’, ‘function_i_want_to_run_instead’);.

    I’ve tried variations, adding priorities, spelling – y’know the usual, but nothing i can do seems to overwrite that function. I’d appreciate any help. Thanks

    #72518
    xbsteve
    Member

    For those of you who are having this problem, which appears to be a large amount… the answer is simple bbPress 0.9 DOES NOT SUPPORT all those new keys past WordPress 2.5. If you are trying to install, apparently you have to use the beta bbPress 1.0.

    #5024
    xbsteve
    Member

    I am running WordPress 2.7.1

    I just downloaded the latest bbPress from this website.

    According to the screencast I should be seeing a request for AUTH, SECURE_AUTH, LOGGED_IN, and NONCE keys. However, the latest installer seems to be asking for the old SECRET_KEY and nothing else.

    Why is this? Is this a reversion error? If this is not an error, you need disambiguation comments in many places, including on the website, in the screencast, and in the installer.

    #66147
    phipps
    Member

    I tried integrating bbPress (alpha 6) with 2.7 WP MU and ran into problems. The web-based installation failed if I selected integration (I left the “Add cookie integration settings” unchecked, only tried user database integration) – it threw up an error during the last step, and said Installation Halted! (although all previous tests and validations seemed to go through fine).

    I dropped the bb_ tables, then installed bbPress without the integration options and it worked. Is it possible to modify a working bbpress installation to integrate with WP MU after installation? Has anyone done this before – and might have instructions online somewhere?

    All on dreamhost.com server.

    #61598

    In reply to: How Do I Do This?

    robbert12
    Member

    Sorry to bump this topic, but I’m new to BBpress and after a long search on Google and in these forums, I arrived here.

    I want to do the same as on this picture: this picture.

    Unfortunately, I can’t get it to work on my forum. I posted the code of front-page.php below and emphasized the problem point (I think). I hope somebody can help me

    <?php bb_get_header(); ?>

    <div id="forums"><!-- Forums -->
    <?php if ( $forums ) : ?>
    <div id="sidebar"><!-- Sidebar -->

    <?php if ( bb_forums() ) : ?>
    <table id="forumlist">
    <thead>
    <tr>
    <th class="title"><?php _e('Forums'); ?></th>
    <!-- th><?php _e('Topics'); ?></th-->
    <th><?php _e('Posts'); ?></th>
    </tr>
    </thead>

    <tbody>
    <?php while ( bb_forum() ) : ?>
    <tr<?php bb_forum_class(); ?>>
    <td class="title"><?php bb_forum_pad( '<div class="nest">' ); ?><a>"><?php forum_name(); ?></a> <span><?php forum_description(); ?></span><?php bb_forum_pad( '</div>' ); ?></td>
    <!--td><?php forum_topics(); ?></td-->
    <td><?php forum_posts(); ?></td>
    </tr>
    <?php endwhile; ?>
    </tbody>
    </table>
    <?php endif; // bb_forums() ?>

    <?php if ( bb_is_user_logged_in() ) : ?>
    <h2><?php _e('Views'); ?></h2>
    <div class="sbox">
    <ul id="views">
    <?php foreach ( bb_get_views() as $the_view => $title ) : ?>
    <li class="view"><a>"><?php view_name( $the_view ); ?></a>
    <?php endforeach; ?>

    </div>
    <?php endif; // bb_is_user_logged_in() ?>

    </div><!-- //sb -->

    <div id="content"><!-- Content -->
    <?php if ( $topics || $super_stickies ) : ?>
    <table id="sticky">

    <thead>
    <tr>
    <th class="title"><?php _e('Sticky'); ?></th>
    <th><?php _e('Posts'); ?></th>
    <th><?php _e('Freshness'); ?></th>
    </tr>
    </thead>

    <tbody>
    <?php if ( $super_stickies ) : foreach ( $super_stickies as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td class="title"><?php bb_topic_labels(); ?> <big><a>"><?php topic_title(); ?></a></big></td>
    <td><?php topic_posts(); ?></td>

    <td><a>"><?php topic_time(); ?></a></td>
    </tr>
    <?php endforeach; ?>
    <?php else : ?>
    <tr>
    <td class="title">Er zijn geen belangrijke berichten beschikbaar</td>
    <td></td>
    <td></td>
    </tr>

    </tbody>
    </table>
    <?php endif; ?>

    <table id="lastest">
    <thead>
    <tr>
    <th class="title"><?php _e('Latest Discussions'); ?> — <?php new_topic(); ?></th>
    <th><?php _e('Posts'); ?></th>
    <th><?php _e('Freshness'); ?></th>
    </tr>
    </thead>

    <tbody>
    <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
    <tr<?php topic_class(); ?>>
    <td class="title"><?php bb_topic_labels(); ?> <a>"><?php topic_title(); ?></a></td>
    <td><?php topic_posts(); ?></td>
    <td><a>"><?php topic_time(); ?></a></td>
    </tr>
    <?php endforeach; endif; // $topics ?>
    </tbody>
    </table>
    <?php endif; // $topics or $super_stickies ?>
    </div><!-- //c -->
    <?php else : // $forums ?>

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

    </div><!-- //f -->

    <?php bb_get_footer(); ?>

    And this piece of code is wrong, I think;

    <table id="forumlist">
    <thead>
    <tr>
    <th class="title"><?php _e('Forums'); ?></th>
    <!-- th><?php _e('Topics'); ?></th-->
    <th><?php _e('Posts'); ?></th>
    </tr>
    </thead>

    <tbody>
    <?php while ( bb_forum() ) : ?>
    <tr<?php bb_forum_class(); ?>>
    <td class="title"><?php bb_forum_pad( '<div class="nest">' ); ?><a>"><?php forum_name(); ?></a> <span><?php forum_description(); ?></span><?php bb_forum_pad( '</div>' ); ?></td>
    <!--td><?php forum_topics(); ?></td-->
    <td><?php forum_posts(); ?></td>
    </tr>
    <?php endwhile; ?>
    </tbody>
    </table>

    I hope somebody can help me.

    Thanks in advance..

    citizenkeith
    Participant

    You’ll need to change this one:

    #latest tr, #forumlist tr, #favorites tr {behavior:url("/forums/my-templates/kakumei-too/images/hoverlite.htc");}

    #62421
    diabolikal
    Member

    As you may be able to tell, it asks for a log-in and I have to use my FTP account to log into it for some reason, and I have the latest BBPRESS and WORDPRESS (2.7).

    #72447
    johnhiler
    Member

    Hey biodrama – you may want to check that you have the latest version of Human Test!. Some spammers found a workaround to an older version, but an updated version has proved more resilient… once I dl’d the latest version, the spammers disappeared!

    #72446
    biodrama
    Member

    Thanks, Chris. Since I am getting registration emails to moderate, I am guessing register.php is the more likely route, but I am not a coder, and really appreciate your suggestions. Also, I just checked, and I was already running the Human Test plugin.

    #72445
    chrishajer
    Participant

    Yes.

    Or just replace register.php with

    <?php
    // silence is golden
    ?>

    You should look in your logs though to see where they are coming in. Sometimes they go right to bb-login.php as well. Anything related to login really. They’re not sitting there browsing the forum and clicking the [login] button.

    You can also install _ck_’s Human Test plugin to prevent most of the registrations:

    https://bbpress.org/plugins/topic/human-test/

Viewing 25 results - 9,426 through 9,450 (of 11,591 total)
Skip to toolbar