Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 10,076 through 10,100 (of 11,578 total)
  • Author
    Search Results
  • #66366
    _ck_
    Participant

    It’s very easy to do this via a plugin.

    You have to attach to the ‘bb_head’ action.

    In fact if there’s a plugin for WordPress that does it, it would take under a minute to change it for bbPress.

    Here’s a mini-plugin I wrote to do noarchive and nofollow:

    function no_archive() {
    echo "n".'<meta NAME="robots" CONTENT="noarchive,nofollow">'."n";
    } add_action('bb_head', 'no_archive');

    .

    It would just have to be wrapped in an IF statement with a URI check to add it when you want it. To get the current location, either check bb_get_location or steal it’s code and modify as desired.

    Something like this (untested)

    function no_index() {
    if (in_array(bb_get_location(),array("login-page","register-page","profile-page")) {
    echo "n".'<meta NAME="robots" CONTENT="noindex,nofollow">'."n";
    }
    } add_action('bb_head', 'no_archive');

    #66387
    _ck_
    Participant

    I am not sure about the loading order of your plugin but keep in mind that stuff like bb_is_user_logged_in() is only available when bbPress is fully initialized.

    Essentially you cannot execute anything but the most basic independent code until do_action('bb_init' happens.

    So you have to hook bb_init, ie:

    add_action('bb_init','your_function_name);`

    and THEN your function can check bb_is_user_logged_in.

    BB_IS_ADMIN is a constant so be sure to use DEFINED to test it and not directly or you’ll get an error

    if (defined('BB_IS_ADMIN')) {

    (also, BB_IS_ADMIN means if you are in the admin menu, not if the user is an administrator – not sure if you knew that)

    #66346
    Ben L.
    Member

    For #1, you can add the following to your style.css file as near to the bottom as possible:

    #latest th a, #forumlist th a, #favorites th a {
    color: #eee;
    }
    #latest th a:hover, #forumlist th a:hover, #favorites th a:hover {
    color: #eee;
    }

    For #2, I downloaded sv_SE.mo, and it does not have the words “Register or log in:”, “Log in ยป”, or “Remember me”. I don’t know how to edit MO files, so you’ll need to wait for someone who does.

    #49655

    In reply to: Emoticons For bbPress?

    csseur3
    Member

    hello,

    where i can download the latest version of this plugin? :)

    bye

    #66321
    _ck_
    Participant

    I’ve never figured out how to do direct query setup for views, so what I do is just short-circuit the internal function and write my own. For example:

    bb_register_view("highest-rated","Topics with the highest rating",array('append_meta'=>false,'sticky'=>false));
    add_action( 'bb_custom_view', 'highest_rated' );

    function highest_rated( $view ) {
    if ($view=='highest-rated') {
    global $bbdb, $topics, $view_count, $page;
    $limit = bb_get_option('page_topics');
    $offset = ($page-1)*$limit;
    $where = apply_filters('get_latest_topics_where',"WHERE topic_status=0 ");
    $query = " FROM $bbdb->topics $where ";
    $restrict = " ORDER BY cast(topic_posts as UNSIGNED) DESC LIMIT $limit OFFSET $offset";

    $view_count = $bbdb->get_var("SELECT count(*) ".$query);
    $topics = $bbdb->get_results("SELECT * ".$query.$restrict);
    $topics = bb_append_meta( $topics, 'topic' );
    }
    }

    .

    Obviously change the query to your own and that might work for you. Don’t forget to use $bbdb->bb_ratings the $bbdb part is critical.

    #66296
    775251
    Inactive

    @ sambauers: Ok — good to know :)

    So I’ve moved the bbpress files over to

    http://mysite.com/forums

    And now things seem to look better. I can see the admin page for bbpress.

    However, now it seems that a link to the forum stylesheet is broken. When I look at http://mysite.com/forms, I see the forum homepage, but with no CSS styling. Then, when I click on to view a forum topic, like http://mysite.com/forums/topic/test-topic, I seem to get redirected to my blog’s homepage. I’m confused!

    Sorry for all the novice questions! Your help is much appreciated.

    #55708
    csseur3
    Member

    hello, i have do that, and i have the buttons at the bottom of the textarea :/

    So, how to habe the buttons in top?

    And the code producted is <p>TEST</p> , how to fix that?

    bye,

    and i think it is great if the tinymce is integrated in bbpress, like an option for example :)

    #66299
    chrishajer
    Participant

    What role *exactly* do you want to give to multiple people?

    In the Admin section > Users, there is a drop down on each user’s “profile> edit” page where you can select the role for them. My installation shows:

    • Keymaster
    • Administrator
    • Moderator
    • Member
    • Inactive
    • Blocked

    There was also a plugin for forum-specific moderation and I’m not sure if it works with the latest release.

    https://bbpress.org/plugins/topic/forum-moderators/

    #3659
    _ck_
    Participant

    It’s definitely not ready for production use but the 1.0 alpha in the trunk is looking really good. Sam (and MDA) have been hard at work.

    Looks a great deal like WordPress behind the scenes – I mean the new 2.5-2.6 look with rounded everything – but in our familiar and sharp looking green.

    BackPress is now powering it which should unify us with WordPress more than ever before and accelerate feature development.

    Hey it’s got a dashboard like WordPress now!

    [screenshot]

    I also see they added Display Names to bbPress.

    [screenshot]

    This actually is to my dismay but I guess other people may like them. (Personally for me it will be the first thing I disable – nothing but trouble with pesky childish users).

    It also has categories built in: [screenshot]

    If you are a power user and know what you are doing, give it a try in a test environment – do NOT overwrite an existing install, it’s not stable yet. Sam says they could use some testing bug reports on TRAC for it.

    ps. even more good news is that many of my plugins seem to work hassle-free on it…

    #64111
    _ck_
    Participant

    I have now added the ability to do inline image viewing starting with version 0.1.5

    It’s not completely finished but I know that ability was in demand so I’m making it available for testing right away.

    #3657
    Ben L.
    Member

    Right under the place roles are changed is the text:

    Inactive users can login and look around but not do anything. Blocked users just see a simple error message when they visit the site.

    However, when I made a test account and marked it as blocked, I could still log in with the account and there was no error message.

    Why is this a problem and how can I fix this?

    P.S. I tried this on a test install of trunk and a test install of 0.9.0.2, both gave the same result.

    Edit: I just found out that blocking breaks passwords reversably, and only gives an error message if the user is already logged in.

    #65959
    chrishajer
    Participant

    I uploaded that code to a test installation I have and it appears to work fine. Check it out:

    http://riversideinfo.org/bbpress-0902/

    #60157
    _ck_
    Participant

    I gave up on GamerZ’s plugin and wrote my own (User Track) which is more efficient (faster) and does a few more tricks. Unfortunately it may not be available for a couple months as I need to do some more testing and write some geoip importing features.

    #66211

    In reply to: Forum categories

    jasonistaken
    Member

    It’s true! Trunk does :)

    “would you be able to go into a category and see posts from all the sub-forums like a latest discussions list but limited to those few forums?”

    Yes, as well as a listing of forums in that category.

    #66210

    In reply to: Forum categories

    _ck_
    Participant

    I didn’t even know the trunk had categories.

    In theory you could make a forum the category and just put other forums below it. Then use my Read Only Forums plugin to make the category forums impossible to post to.

    I am not sure how categories work – would you be able to go into a category and see posts from all the sub-forums like a latest discussions list but limited to those few forums?

    #65958
    _ck_
    Participant

    I just put the code on a test site and it works for me.

    Sub forums show, but not sub sub forums.

    You used http://pastebin.com/m3cef6607 ???

    The sub sub forums you are seeing are indented?

    Make sure you uploaded and are using the correct file.

    #64541
    RossB
    Member

    Sure, Chris – and thanks. The forum link is: https://ashb.proofreadercentral.com/bbpress/

    I’ve got it password protected at the moment, before it goes “public”.

    User: tester

    Password: testing123

    The main site I want to link to the home page of from the forum is password protected with the same user name and password, and the link is:

    http://www.ashb.proofreadercentral.com/

    Appreciate your help!

    Cheers

    Ross

    #3645
    thion
    Member

    Until now, I never had problems with Flickr rss (I mean these cool latest 75×75 images) because I was using WordPress plugins. But now, I have no idea how to put latest images from Flickr group in my bbPress. I was reading API docs for two days now, and I don’t understand it completely ;).

    Can anybody help? Or more, anyone have proper plugin? ;).

    #65952
    _ck_
    Participant

    Here you go:

    http://pastebin.com/m6e93abf8

    (you can copy the plain text from the lower part)

    The lines added are 49, 51 and 57.

    It’s untested but in theory should work.

    Let me know what happens.

    #65948
    _ck_
    Participant

    The way I hide sub-forums on the front-page is to wrap the code that lists the forums in this simple code:

    <?php if (!$forum->forum_parent) { ?> <– this

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

    blah blah

    </tr>

    <?php } ?> <– and this

    It essentially just checks if the forum has a parent and doesn’t show it. Now on the forum page that’s a problem because any forum listed would have a parent. Gotta think about that one for a minute…

    Oh wait, I know what to do, we just have to check if the forum_parent is equal to the current forum id. This is untested but in theory should work:

    <?php $forum_parent=$forum_id; ?>
    <?php while ( bb_forum() ) : ?>
    <?php if ($GLOBALS['forum']->forum_parent==$forum_parent) { ?>
    <tr<?php bb_forum_class(); ?>>
    <td><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><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 } ?>
    <?php endwhile; ?>

    #65924

    In reply to: bbpress update soon?

    _ck_
    Participant

    Note that bbPress is not a finished final product. It’s pre-release and therefore in a state of flux. bbPress has always been a bit behind WordPress changes. If you are using bbPress, you are considered an “early adopter” and therefore you have to accept that things aren’t going to be perfect.

    No one but maybe Sam or MDA can say when bbPress will have a release that’s 2.6 compatible. There is code in the trunk that supposedly will work but I wouldn’t recommend using the trunk. It has to be ported to the 0.9 branch and then tested. I suspect they may even wait for the 1.0 beta release and I don’t know if that’s two weeks away or two months away.

    Again, there is nothing special about the WP 2.6 release – it only has a handful of extra features and no security bug fixes over 2.5.1 – in fact people are having a bunch of little problem with 2.6 still so why rush to upgrade? I was able to easily downgrade back to 2.5.1 with no problems.

    #65888
    724719
    Inactive

    I have done it look :-

    http://www.picbi.com/

    Ok guys, im loving this bbPress more and more. I hacked the bbPress_Latest_Discussion plugin to get them showing up WITH THE GRAVATARS on my wordpress frontpage.

    If anyone needs this email me, ill tell you how i did it, its a bit too long to post it here.

    #65992
    falcon1986
    Member

    Use the bbPress Latest Discussions plugin for WordPress. It may not have been updated in a while, but it still works with WordPress 2.6 and bbPress 0.9.0.2.

    BTW, WordPress 2.6 breaks login integration with bbPress 0.9.0.2. Look out for a bbPress update soon.

    #65991
    724719
    Inactive

    ok i found out how to put bbPress in WP . all i did was put this in wp-config.php:-

    define('ABSPATH', dirname(__FILE__).'/');
    require_once(ABSPATH.'wp-settings.php');
    require_once('path/to/bbpress/config.php');
    ?>

    …..But how do I show a list of the latest 5 topics ?

    #3640
    724719
    Inactive

    I know this is on the forum but for the life of me i just cannot find it. But I need to show the latest threads on my wordpress site.

    I remember there was something like adding one line to the wp config file or something like that. does anyone know how to go about doing this and show the latest threads?

    thanks

Viewing 25 results - 10,076 through 10,100 (of 11,578 total)
Skip to toolbar