Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 10,076 through 10,100 (of 11,589 total)
  • Author
    Search Results
  • #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 :)

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

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