Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 11,201 through 11,225 (of 11,584 total)
  • Author
    Search Results
  • #54627

    In reply to: Plugin: bbMenu 1.0

    Null
    Member

    I have made a new testversion for suleiman. Plz try this version.

    1) Delete bbemenu.php from your plugin directory (and close browser)

    2) Delete the bb_menu table from your database

    3) Upload this test version, go to your admin and refresh the page if needed

    4) Check if the bb_menu table is filled now.

    ps. you only have to replace the bbmenu.php from your plugin directory.

    Download testversion:

    http://www.sourceskins.com/bbmenutest.zip

    If this version isn’t working for you sul, I give up :)

    #55113
    chenchen
    Member

    well it meets all the requirements… what about in the config file? what shall i write to “$bb->domain” and “$bb->path”? i have a folder in my localhost called “testfolder”, and i want to install BBPress inside this folder so the path of my BBPress must be http://localhost/testfolder/forums? is this possible?

    :)

    #54406
    lonemadmax
    Member

    Yep, just have a look at the beginning of the injected javascript, in the plugin file. st is the variable through which you change the CSS of the box. Regarding position, the original file has:

    st.position = "fixed";
    st.left = st.top = "40px";

    Changing top to bottom may give what you are asking for. You can change the value, of course, and add other CSS that you may want. Also, if you know JavaScript, you can make the box work as a draggable window, there are examples of that out there.

    I’ve just tried it under MSIE and guess what, it puts the box in the bottom of the page, after all content (that is, where it is generated). :-)

    And there’s a BUG (I’m talking about my files again, not MSIE positioning). The “close this box for this session” closes it forever. Well, for “more than just this session”, a week, I think. I can’t correct it and test it now, but the change needed would be to add the “just for this session” expiration time for the “annoying_box” cookie. That’d be the third parameter to bb_cookie in line 15 of themes.php. There are only two parameters now, and bbPress takes the absence of the third (or its value being 0) to mean a week. Right now I don’t know if you have to set a value in the past, a negative value or no value to make it a session cookie. In the latter case, it may be necessary to call setcookie directly instead of bb_cookie as bb_cookie changes the no-value case to a week.

    You may also leave that option out, the “box that disappears after 5 seconds” one may be enough.

    #54979
    fel64
    Member

    Are you using xampp? I’ve no experience with that whatsoever, but since it’s a path on your hard drive it seems that way to me. I’ve seen a few people say they’ve had problems using bbPress with that, and someone rightly point out that if you test on xampp you’ll get a bunch of errors you wouldn’t get on a server and miss the ones you would get.

    I’ve personally had no problems on my server, and if you already have hosting and an unused or wordpress db then there probably isn’t any harm in just testing it on the server. :)

    Edit: err – hehe …

    #55082
    CMoseley
    Member

    Just tried renaming the plugins folder and doing a test post, and the same thing happened.

    I’m running bbPress 0.8.0.

    Around a week or so ago, I ported over an RS Discuss forum to bbPress (which is what you see right now). Did it using just SQL Queries, so I don’t think it should have effected anything in bbPress.

    #55081
    Trent Adams
    Member

    What plugins do you have installed? If you quickly rename your /my-plugins/ directory to something else and test post, does it do the same thing? That way we can find out if it is plugins and not the system iteself. If we can issolate it, we might be a solution faster!

    Trent

    #54273
    spencerp
    Member

    Thanks for your reply Sam… :) Yeah, for the most part at least lol. Only thing I can’t seem to get working for me though, even followed your instructions over here:

    https://trac.bbpress.org/ticket/520#comment:30

    Is applying a “patch” using SVN access… I’m on dreamhost, but, I go through the: START > RUN > CMD …. then login that way… I tried adding that line of code, and even uploaded the patch to my forums/ root directory.. used that:

    $ patch -p0 < /path/to/patchfile/categories-build701.patch

    Giving my path of “/public_html/forums/categories-build719.patch

    And it fails to find such thing in that directory? I’m not a Pro at SVN-ing yet, but anyone with any thoughts, suggestions, and so forth? I was just going to download the lastest SVN files to the Desktop like normally did, and apply patch via Tortoise SVN.. and only upload those “patched” ones… into the forums/ root..

    Does that sound like it’s my only option, or.. maybe someone can tell me for sure what to do, and how to do patches via SVN or whatever.. Thanks in advance..

    *EDIT* Oh, or does it mean the WHOLE path? I’ll give that a whirl once then, won’t hurt lol.

    spencerp

    #1479
    spencerp
    Member

    What I’m probably going to do is, just use the CSS file codes that I had, for when using the Forum Category enhancement with my bbPress forums. It’s not going to be a big deal if those Forum Category CSS codes are in the stylesheet anyway.

    For those running the Forum Cat enhancement, or not, I’ll release a Gathering theme version for either route. A) One for the plain Jane bbPress users, and B) One for those that are already using the Forum Category enhancement. ;) :)

    Please note though, that this theme will be an AS-IS type of deal!!

    I’ll try to give a helping hand, and try my best to provide “support” for it, but, I’m just a really, really busy person sigh. I barely have time to sleep and stuff… :( Besides, if any problems arise, your answers should be, or, could easily be answered here, since it’s basically just a theme. If you happen to have issues with the Forum Cat enhancement patch itself, I’m sure Sam would be happy to help you.. :) ;)

    Anyway, here’s what’s on my TO-DO list, starting now!

    1) Delete all the current plugins on my forums, so I have a total plain Jane bbPress install to work with…

    2) On the localhost/computer .. make up the “Gathering” theme on the latest Trunk files of bbPress. With, and without the files containing the Forum Cat enhancement edits… (Again, this theme should (generally) still work for .80, however, not sure about the backwards compatibility for the forum Categories enhancement though)…

    3) Download the latest copies of the plugins I deleted, tweak the new ones, upload and install them…

    4) Try and get some kinks out of the theme, which happens when using some certain plugins sigh..

    5) Release two copies of the Gathering theme, one for plain Jane bbPress users, and one for those already using the Forum Category enhancement…

    6) Then I’ll probably apply the theme I just spent the last 3 days on, non-stop, which I put up on my Vindictive Bastard blog… I’ll apply that on my spencerp.net blog then too.. and make it a theme for bbPress as well … whee! What you think? http://www.vindictivebastard.net/

    7) I’ll try and actually get some sleep!! Geesh, I’m beat!

    Anyway, I’ll keep everyone updated on this.. thanks for your time..

    spencerp

    #54271
    spencerp
    Member

    Okay, I just SVN-ed the forums… :D Now, before I go any farther! I’m going to make the “Gathering” theme for bbPress, on the latest Trunk files… Which should still be ok for those using .80 and .81

    I’m going to start a new post about that “Gathering” theme, after posting this… so.. ;) Thanks again Sam, for the tips, and the awesome Forum Category enhancement. ;):)

    spencerp

    #54270
    spencerp
    Member

    To make this easier on me, I’m just going to backup ALL the current files for my forums, including plugin files, theme files, and whatever else..

    Wipe it all out, except for the themes, config.php, .htaccess, and whatever, do that SVN method I mentioned above, try and apply the Forum Cat patch, run upgrade… Then, download all the latest versions of those plugins, go through those files, and adjust accordingly..

    Then, the themes as needed.. because I’m on Dreamhost servers, some plugin files were a pain in the arse sigh… had to do special “tweaks” to the files…. Then, make a “not-so-perfect-release” of the Gathering theme, for bbPress…

    Then, and then, and then some more.. lmao.. Always something .. LOL Hmm, I could probably shoot for another 3 days staying awake, not getting any sleep.. whee!! [Grabs another pepsi, because that’s my go-go juice, and gets back to work again!]… .

    spencerp

    #54694
    fel64
    Member

    Yup, I know that; I just meant that you could quite simply add it to the arguments you took and it’d be a nice addition. My modified code at the end.

    Yeah, it’s mildly annoying that the permalinks aren’t used, but it’s not a killer for me. I’d rather have this functionality than none. :) Thanks again for the plugin.

    function wp_show_posts( $args ) {
    global $bb;

    parse_str($args, $r);
    if ( !isset( $r['before'] ) )
    $r['before'] = "<li>n";
    if ( !isset( $r['after'] ) )
    $r['after'] = "<br />n</li>n";
    $posts = wp_get_posts( $args );
    foreach( $posts as $post ) {
    echo $r['before'];
    echo "<a href='".$bb->wp_home."?p=".$post->ID."'>";
    echo $post->post_title;
    echo "</a>";
    echo $r['after'];
    }
    }

    chrishajer
    Participant

    flatworm, also, you can contact me via email and I will help get you running off-list. See my profile, go to that website and follow the the “contact us” link and email to support. I will help you out. You don’t need to get into the development of bbPress.

    Also, you’re not experiencing ‘errors with graphics’ you’ve got a problem with the path to your stylesheet. That’s all. That may very well be a bug, but all software has bugs. Don’t just trade one problem for another.

    vanilla support forum: http://lussumo.com/community/9/

    Also, did you ever look in a rendered page (in your browser) for the stylesheet line? If you do see that (use ‘view source’ or something similar in your browser when you pull up a page similar to the one you took a screenshot of) post the information from that stylesheet line. My guess is that the slashes are backslashes.

    Also, I never understood the point of installing community/forum software on localhost, unless it’s just for testing. Even if that’s the case, I prefer to test in the environment where it will be live so you’re not solving problems that won’t ever happen once it’s live, and you won’t experience new problems that you didn’t anticipate.

    But, contact me off-forum and I will help you.

    #54693
    nickbrady
    Member

    Hi, fel64, you can use wp_get_posts() instead of wp_show_posts() and then use a foreach loop, much like the examples in the WP Codex for the get_posts function

    You don’t mind that pretty permalinks are not being used? I think it’s a killer, let’s hope some expert can help us.

    #54692
    fel64
    Member

    Fantastic Nick, worked straight out of the box. I really like the way you take arguments as well. :) Nicest addition would be a before and after so that it didn’t have to be a list.

    #54691
    nickbrady
    Member

    Hi,

    I am writing a plugin for BBPress that shows the latest posts from WP (if WP and BBPress are sharing the same database). It’s still in development, but it already works, you just have to write


    <?php wp_show_posts(\"\" ); ?>

    in any BBpress template.

    As you will see, it works, but it has a problem: it does not show WP’s pretty URLs. I would like to call WP’s get_permalink() function, but it uses many WP functions that are not available when you’re in BBPress.

    Any advice on how to do this? Or maybe it would be easier to read WP’s RSS?

    Thanks!

    Here goes the code of the plugin so far (if you don’t care about pretty permalinks, you can use it, it works):


    <?php
    /*
    Plugin Name: WP Posts
    Plugin URI: http://thesandbox.wordpress.com
    Description: Get a list of WordPress posts from your bbPress (needs to be integrated with WP, sharing database)
    Author: Nick Brady
    Version: 0.1
    Author URI: http://thesandbox.wordpress.com

    Install Instructions:
    - If you don't have a /my-plugins/ directory in your bbpress installaltion, create it on the same level as config.php.

    - Check out: https://codex.wordpress.org/Template_Tags/get_posts

    */

    function wp_get_posts($args) {
    global $bbdb, $bb;

    parse_str($args, $r);
    if ( !isset($r['numberposts']) )
    $r['numberposts'] = 5;
    if ( !isset($r['offset']) )
    $r['offset'] = 0;
    if ( !isset($r['category']) )
    $r['category'] = '';
    if ( !isset($r['orderby']) )
    $r['orderby'] = 'post_date';
    if ( !isset($r['order']) )
    $r['order'] = 'DESC';

    $now = bb_current_time('mysql');

    $posts = $bbdb->get_results(
    \"SELECT DISTINCT * FROM \".$bb->wp_table_prefix.\"posts \" .
    ( empty( $r['category'] ) ? \"\" : \", \".$bb->wp_table_prefix.\"post2cat \" ) .
    \" WHERE post_date <= '$now' AND (post_status = 'publish') \".
    ( empty( $r['category'] ) ? \"\" : \"AND \".$bb->wp_table_prefix.\"posts.ID = \".$bb->wp_table_prefix.\"post2cat.post_id AND \".$bb->wp_table_prefix.\"post2cat.category_id = \" . $r['category']. \" \" ) .
    \" GROUP BY \".$bb->wp_table_prefix.\"posts.ID ORDER BY \" . $r['orderby'] . \" \" . $r['order'] . \" LIMIT \" . $r['offset'] . ',' . $r['numberposts'] );

    return $posts;
    }

    function wp_show_posts( $args ) {
    global $bb;
    $posts = wp_get_posts( $args );
    foreach( $posts as $post ) {
    echo \"<li>n\";
    echo \"<a href='\".$bb->wp_home.\"?p=\".$post->ID.\"'>\";
    echo $post->post_title;
    echo \"</a><br/>n\";
    echo \"</li>n\";
    }
    }
    ?>

    #54402
    lonemadmax
    Member

    Unfortunately, I don’t have a place to show it. You can download and install, *your forum will keep its functionality*, just with an optional annoying box reminding you that you can test themes. And only if you install that part.

    Also, a few things I failed to mention: it’s ugly (I just wanted it to work and I’m not a designer, anyway), it expects nice theme names, the box only appears in the pages that use bb_get_header and the template’s header file is supposed to not finish in the middle of a tag (the middle of the tag itself, not its content, of course). Those don’t seem to be great assumptions, even though I’ve only tested it with two themes.

    #54957
    macwise
    Member

    That seems to have done the trick. Thanks for posting. I can’t tell you how much searching/testing/wild uncontrollable arm-waving code experimenting I’ve been doing. I did get the WP cookie domain issue figured out, hence the conflict.

    Anyhow, all seems to be in order now, so I am just plum tickled! (no, I don’t normally say ‘plum tickled’. And yes, I really am plum tickled.) So thanks a million to you, fel64, for posting my much needed solution.

    P.S. Checked out your site…I like the look of the “blog” area quite a bit. Loinhead, eh? Funny. Are you using a “Jello Mold” type layout solution for your liquid css layout? Anyway, the site looks great…

    #54905
    Null
    Member

    Hmm we need to talk to make this plugin bbmenu compatible :) Still working out some options, but it would be nice if it could detect the menu plugin and if it is add a draggable menu item to it… If not it will ignore this :)

    So it need to check if the table bb_menu excist and then if the memberlist record excist…

    Well I will contact you about this when I sort things out :)

    #54904
    Trent Adams
    Member

    Actually, if you test this new version of ardentfrost’s plugin and delete a bozo user, you will know if it didn’t work because when you go the ADMIN => USERS => BOZO page and get an error, it didn’t work. If it shows up, it did work as that was the problem with the last version of the plugin and the new upgrade of bbPress.

    Trent

    #54820

    In reply to: Rewriting URLs

    marky
    Member

    Well, I’m still having trouble getting this working. Indeed, all I’d like to do is redirect existing links to the new topics; I don’t want to change the permalink structure or anything else.

    I’ve tried escaping the dot and question mark, but it’s still not rewriting the URL. I’m wondering, at this point, if ModRewrite can handle urls with parameters in them. I’ve tried some other quick tests (RewriteRule ^/forums/blah.foo$ /forums/topic/1/) and it worked no problem, so ModRewrite isn’t the problem itself.

    Any other suggestions?

    #1465
    ardentfrost
    Member

    I’m trying to test a new deletion routine in the Memberlist plugin, but the problem is I don’t have a WPMU integrated site to test with. I usually use Trent as my tester, but he de-integrated.

    So if a few of you who use the plugin and are integrated and are willing to test something, let me know. The problem being addressed is how currently the plugin does not delete usermeta data when deleting the user, which causes errors in the backend user pages (particularly when the user is a bozo). I have already tested it using non-integrated bbpress, I just need one or two people to let me email them an updated file to test with WPMU. You’ll need to know how to look in your database to make sure the data is being deleted.

    Thanks!

    #54328
    donnavitan
    Member

    Hello chrishajer,

    I’m definitely seeing the () error when I look at the source.

    I have installed the latest xampp, wordpress and bbpress locally for testing purposes. My config is as follows:

    $bb->wp_table_prefix = 'wp_';

    $bb->wp_home = 'http://localhost';

    $bb->wp_siteurl = 'http://localhost';

    I really don’t think I should be getting this error, so must I configure something else? Any help would be greatly appreciated. Thank you.

    #54870

    In reply to: Sub-Categories?

    Sam Bauers
    Participant

    There is another more vanilla implementation here.

    You should use the patch that corresponds to your version. Check the ticket to find out which is which.

    If you upgrade then you need to grab the latest patch (preferably made for that version) and re-apply it to your code.

    #54869

    In reply to: Sub-Categories?

    macwise
    Member

    I believe that’s what I’m searching for…I saw the implementation at http://test.158th.com/forums. Are there any other examples of implementation for this plugin? Do I need to install the patch for bbpress v.80 if that’s my installed version, or can/should I use the latest patch?

    Also, what happens when I upgrade to v1.0 or something? (I can only assume that I will need to patch it again, assuming it’s not integrated as an official feature yet.)

    Thanks for the help!

    #1460

    Topic: Sub-Categories?

    in forum Installation
    macwise
    Member

    I’m looking into adding my categories for real now (testing’s pretty much over) and I am *thinking* I would like sub-categories. Is this a feature available through a plugin yet? I know this adds another level of complexity, and I apologize if in asking for this feature I am speaking heretically. Just trying to make this right before my major launch.

    Thanks!

Viewing 25 results - 11,201 through 11,225 (of 11,584 total)
Skip to toolbar