Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 10,051 through 10,075 (of 11,571 total)
  • Author
    Search Results
  • #65535
    Krystian
    Member

    Ok, i just fine this to show the WP Recent Post on BBpress https://bbpress.org/forums/topic/display-latest-post-from-wp

    I’ll try it now. Hope it works for somebody else.

    Still looking for how to get the Latest Discussions on all pages.

    #65534
    Krystian
    Member

    Can somebody help me with this??? I would like to show the latest discussions in a sidebar while I’m in a topic. Also I want to import my Recents Posts from WP to BBpress.

    GOD bless, Thanks…

    #66605
    Null
    Member

    Okay, I’ve tested the new one. I see there is a hyperlink now and when you click it, I see this (statuspage?):

    There are 1 total users online. 1 of them are members: Admin. 1 of them are on this page.

    Admin (1) - 1 minutes ago - /mssp/?mini_track_display

    The last part /mssp/etc is a link too? I think this is a bug.

    Sec:

    Is this also possible?

    These members are currently on this page: jhon, kim, jack, etc

    Third: It would be cool if the names are clickable and you go to their profile while clicking them.

    #66598
    Null
    Member

    Yeah about that plugin of yours, hurry up with it, many people want that one :):)

    I can also test it if you like on my board

    But back on topic: lets say I want to use bb_location since I ONLY want to track users on the frontpage. Is this possible without extending the users table?

    If a user goes to another page or leaves the bb_location will change. Thats not a problem since I only want the people from the frontpage.

    And how would you update this? At page load or something? Perhaps I should request this in the plugin section since I have no idea how to make a clean plugin of this…

    #66417
    chrishajer
    Participant

    Nothing strange in the filename, not even a space. Just a one word filename. I will test again with the new version to see if I can recreate it. It only happened that one time, and that was after the BMP image upload problem.

    #66595

    In reply to: Install error

    chrishajer
    Participant

    I’m not really sure why, but I can guess. Do you have a file in bb-includes called compat.php? /bb-includes/compat.php

    In that file, line 10 says “if this function does not exist, create it.” That PHP function is available in newer PHP versions only (greater than or equal to 5.1.2). So, for compatibility, if the function is not available on your server, bbPress creates it in compat.php.

    Do you have that file, and does line 10 look like this?

    if ( ! function_exists('hash_hmac') ):

    What bbPress version did you install, if it’s not the latest 0.9.0.2 release? Are you certain all the files were uploaded properly?

    #66592
    810798
    Inactive

    Alright, i tested a few more things and it is definitely a problem when i include the wp-config.php file in bb-config.php.. here is the htaccess file im using: if i try and forward it to a directory like “forumtest” with nothing in it it will work perfectly.. and if i take out that require it will load fine as well.. but with errors because it cant find the functions that file defines..

    RewriteEngine On

    RewriteBase /blogs/

    #uploaded files

    RewriteRule ^(.*/)?files/$ index.php [L]

    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    # add a trailing slash to /wp-admin

    RewriteCond %{REQUEST_URI} ^.*/wp-admin$

    RewriteRule ^(.+)$ /$1/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]

    RewriteCond %{REQUEST_FILENAME} -d

    RewriteRule . – [L]

    RewriteRule ^([_0-9a-zA-Z-]+/)?(forum) $2 [L]

    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]

    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]

    RewriteRule . index.php [L]

    <IfModule mod_security.c>

    <Files async-upload.php>

    SecFilterEngine Off

    SecFilterScanPOST Off

    </Files>

    </IfModule>

    #66543
    RossB
    Member

    Thanks so much – AGAIN – Chris!

    I ended up combining some of your previous advice with that you’ve posted above, messed with the CSS to re-position the cramped header items, and am now pretty happy with the look.

    See: http://ashb.proofreadercentral.com/bbpress/

    User: tester

    PW: testing123

    Just one little curiousity – and if it’s any sort of hassle, don’t respond, but if you can be bothered, I’d be interested in your take on the following:

    When using IE as the browser, the nav link back to the ASHB home page doesn’t activate until your cursor is close to the top header border – usually, hyperlinks activate as soon as your cursor touches any part of the text. Anything that can be done about this?

    NB: No such issue with Firefox!

    #66026
    _ck_
    Participant

    Adding tags does not bump posts to the top of latest discussions. In any case that question/problem should be asked in a new topic, not in this one.

    #65573
    _ck_
    Participant

    Here try this – completely untested – let me know!

    update: forget this one, use the 2nd one below it

    function delete_own_post($retvalue, $capability, $args) {
    global $bb_current_user, $bb_post;
    if ($capability=="delete_post" && $bb_current_user->ID && $bb_post && $bb_post->post_id && $bb_post->post_id ==intval($args[1]) && $bb_post->poster_id && $bb_post->poster_id==$bb_current_user->ID && bb_current_user_can( 'edit_post', $bb_post->post_id) {return true;} // lots and lots of double checks
    return $retvalue;
    }
    add_filter('bb_current_user_can', 'delete_own_post',10,3);

    .

    This checks if the user can still edit the post, and if so, allows them to delete their own post too.

    This plugin could be enhanced by checking if the user has been marked as blocked or inactive and prevent them from deleting it at all.

    Update: I may have “over engineered the above function, this may be a much more simplified approach:

    function delete_own_post($retvalue, $capability, $args) {
    if ($capability=="delete_post") {return bb_current_user_can( 'edit_post', $args[1]);}
    return $retvalue;
    }
    add_filter('bb_current_user_can', 'delete_own_post',10,3);

    This second method simply allows delete if the user can still edit a post. Once the edit times out, so does the delete.

    _ck_
    Participant

    Your links are not even showing http://forum.ttl79.ru/topic.php?id=11178 as a valid topic. Which would make it impossible to edit. Looking at your latest discussions I don’t see id’s over 500 yet? So where’s the 11178 coming from?

    Oh wait, I am confusing topic id #’s and post id #’s.

    Hmm. This is the topic/post link:

    http://forum.ttl79.ru/topic.php?id=439#post-11178

    So you are trying to edit that post as an administrator/keymaster right? Because it’s past an hour.

    Try deactivating a few plugins at a time?

    ps. is there a minibb convert script around or did you write one yourself? Because that would be a nice one to share with others.

    agl666
    Member

    I’ve installed bbPress 0.9.0.2 (the last one), converted db from miniBB, writed new topic (e.g. it happens even to native bbPress content) but when I press ” Edit” (which points to http://forum.ttl79.ru/edit.php?id=11178), it redirects me to http://forum.ttl79.ru/topic.php?id=11178, and of course, error page with “Topic not found.” message. What can I do with it?

    PS. I have

    akismet
    bb-avatar-upload
    bb-gzip
    bb-polls
    bb-privatemessage
    bb-rus-to-lat
    bb-signatures
    BBcode-buttons
    BBcode-lite
    bozo
    cyr_nickname
    googleanalitycs
    human-test
    identicon
    my-views-statistics
    my-views
    onlinelist
    post-count-plus
    topic-icons

    plugins installed

    PPS. Right now I use “None” pretty permalink type

    #3726
    RossB
    Member

    I’m using the Kakumei Blue theme. I can’t understand how this could happen, but without my doing anything, overnight the header on my forum has changed when viewed in IE – it remains as it should when using Firefox.

    A navigation button I positioned (by messing with some numbers in some CSS code that Chris kindly provided) has shifted to the right so that it is now too close to the User Name.

    But most strangely, the forum name has shifted so that it now overlaps the “Login” box. This was perfect until now, as you’d expect, since it’s part of the original design – I just typed in the name of the blog in the space provided in Admin.

    Here’s the link, which will make it clear what I’m saying (open with IE): http://ashb.proofreadercentral.com/bbpress/

    User: tester

    Password: testing123

    Can anyone offer any explanation for this stuff? More importantly, how do I get the header back to what it was yesterday given that I haven’t actually changed anything in the meantime? I’m afraid that if I start tampering with the CSS again, I’ll end up messing up the header in Firefox as well!

    Cheers

    814712
    Inactive

    Hello: I do not know of a wpmu plugin to assist and my knowledge of the working of the db tables is limited (cannot succeed with SQL queries very well – always error).

    Okay, that said. Initially I had WPMU db and added BBPress version 0.9.0.2 to the same DB – and all started out ok but then when I logged in (ADmin or otherwise) to BBPress, or “clicked” a forum link, the homepage of my wpmu blog showed up (http://teach-eng.com/wpmu and now also …com/bbpress).

    YIKES NOTE: This same problem still persists when I click on a forum link

    http://teach-eng.com/wpmu/bbpress/forum/1 (or any page link on the forum)…

    Links only go to the WPMU blog and not stay with the forum at

    http://teach-eng.com/wpmu/bbpress/#

    So I reinstalled (having already reinstalled bbpress into the WPMU subfolder) BBpress using a different DB – same subfolder via ftp – and all is ok – I just changed/added the “integration” for wp settings with BBPress.

    Now what? Well, this install was an ‘opt-out’ for using RS Discuss since I could not work well with the tables in phpAdmin for features to allow settings to show up on the backend.

    Okay, so my question – How to create a working blog page in WPMU rather than “loading” BBPress with WPMU (have read on forum this is not a great idea and my webhost is not strong, easily creates 404 errors)…

    I could I understand, create a “new template” in WPMU but how would I “embed” or “call up” the BBPress pages for the forums?

    I could make separate pages for each forum (separate installs) with BBPress but for me it is ok to have one forum, different topics.

    But, even with one BBPress forum, I can only create a page link as is in WPMU and would rather have a better way of showing the forum for each blog (there are 3 now)…

    Can someone assist?

    How to create a page in WPMU and use the BBPress so when a blogger clicks a “subpage” they will see the BBPress forum? I did set it up already so when a WPMU user logs into BBPress it will use their ID from WPMU (have not tested it yet,but nothing failed).

    Okay, thanks for any help.

    Claire

    #66477
    793412
    Inactive

    I used the version 0 9 0 2 that appears here like the lastest. I’ve upgrade it like it was an older version… nothing happens. :P

    #65181
    dankelly613
    Member

    Hi, I’ve downloaded the latest version of this plugin from your blog, installed it according to the new instructions (thanks), but when I click the quote link, it just goes to the Reply field without quoting any text.

    Any solutions?

    I’m using WP 2.5.1 and bbPress 0.9.2

    #57459
    Vili
    Participant

    deliciousbass:

    The “latest discussions” list at http://akirakurosawa.info/forums/ is compiled without the use of WordPress or bbPress loops. Instead, it makes use of two direct hand-crafted MySQL queries to the database, one to the WordPress tables and the other to the bbPress ones.

    Basically, both queries search for all the posts (or comments, in the case of WordPress) written in the past month, then put these posts into various arrays. The arrays are then sorted so that the items are in a reversed chronological order, and finally the resulting list is displayed on the page with only the latest post/comment from each thread/blogpost/page included.

    In case it is any help, here is the code that I use — I wouldn’t suggest just copy-pasting it to your site though before reading it through and knowing what you are doing. You may at least need to change the table names. I have added comments to give some idea what is done where.

    See the code here

    There most probably is a simpler way to do this, the php code could be streamlined, made more error-resistant, and it could possibly also be done with WordPress/bbPress tags, or it could be turned into a plugin, if someone has the time and the energy.

    #65705

    In reply to: Intergrating the theme

    793634
    Inactive

    OK this is how I have it set up…

    wordpress is at /

    bbpress is at /bbpress

    I don’t care if I do or do not integrate it I just don’t want to have any errors. And when I took out the script everything went blank white and displayed the error message…so I decided to put it back in but I am getting this type of error instead when I try to log in to bbpress(which I can’t ever since I tried to integrate it)

    bbPress database error: [Table 'c4cwp.wp__users' doesn't exist]
    SELECT ID FROM wp__users WHERE user_login = 'Noproblem'

    bbPress database error: [Table 'c4cwp.wp__users' doesn't exist]
    SELECT * FROM wp__users WHERE user_login = 'Noproblem'

    I am running 2.6 of wp

    and the latest for bbpress as well…

    Thanks for the help,

    Noproblem

    #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 :)

Viewing 25 results - 10,051 through 10,075 (of 11,571 total)
Skip to toolbar