Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 7,901 through 7,925 (of 11,599 total)
  • Author
    Search Results
  • #34748
    _ck_
    Participant

    This is a very early beta release for advanced users who may find it useful.

    http://bbpress.org/plugins/topic/browser-timer/

    (works in 0.9 and 1.x)

    example log:

    http://bbpress.org/plugins/topic/browser-timer/screenshots/screenshot-1.png

    While my bb-benchmark plugin will tell you how long it’s taking your server to make pages, you really have no idea how long it’s taking your users to browse your forums and see those pages.

    ie. 200ms on the server side may be 5 seconds with javascript on the visitors side

    You can time your own browser, but often you have many things already cached and might use a faster browser or live much closer to your server than someone else across the country or the other side of the world.

    So now you can know exactly how long it’s taking for them to see your pages.

    It’s very accurate in my testing, within 100ms typically.

    Basically it works by using a sort of “round trip” timer.

    You can add a geo-location database and it will tell you what country the visitor is in, which helps to understand why a time may be so high/low.

    _ck_
    Participant

    I should have a database downgrade tool finished by the end of this weekend.

    I need a few testers who know what they are doing and can backup their database (and restore it) if something goes wrong.

    Technically you’d have to clone the database anyway since you’d want to install bbPress 0.9 into another directory, at least for testing purposes. But that requires you to override some settings via bb-config.php to tell it where everything is, or re-run the install routine for 0.9

    Obviously this does not do anything magical to your plugins, they have to be backwards compatible with 0.9 also (if you are using mine in 1.x successfully, they will work in 0.9 but I can’t speak for others).

    #91051
    zaerl
    Participant

    In bbPress if you put something between backtick it shows up in fixed-width, not-transformed style.

    And, for that matter, why isn’t this site using it?

    bbpress.org and bbPress in general uses the backtick notation. It’s hard to remove it. I have answered to a topic some times ago showing a little hack to erase it.

    So, is there a way to turn it on?

    <?php
    /*
    Plugin Name: I love strike-through
    Plugin URI: http://www.bbpress.org
    Description: <s> tag
    Author: zeal
    Author URI: http://www.zaerl.com
    Version: trunk
    */

    function strike_it($tags)
    {
    $tags['s'] = array();
    return $tags;
    }

    add_filter('bb_allowed_tags', 'strike_it');

    ?>

    #91050
    Joe Gibson
    Member

    Z –

    “It doesn’t understand strikethrough cause that tag (the obsolete ‘s’) isn’t enabled by default on bbPress.”

    So, is there a way to turn it on?

    And I understood that the ‘Code’ button was for generating backticks, but what are backticks used for since the buttons cover pretty much everything?

    And, for that matter, why isn’t this site using it?

    Thanks,

    Joe

    #91049

    The one change I made to Zaerl Editor was snipping out the part of the code that put that needless “Code” button on the top.

    If you’re on a non-US (or i suppose non English/qwerty) keyboard, the backtick key is a total git to hit. there’s quite a large difference between North American keybaords and the rest of the world.

    The only disappointment is that it doesn’t seem to understand strikethrough fonts. I tried both “strike” and “del”

    bbPress doesn’t process them as standard.

    *sorry Zaerl mate, just seen your answer*

    #90924

    In reply to: bbPress Plugin is Born

    Tom,

    I totally agree with the premise.

    Focussing on the positives is the way forward.

    For those of us who make a living with bbPress, unilateral decisions made without visability and with no re-course for questioning nor appeal are scary. really scary.

    I for one, am totally and 100% behind the separate forum plugin for WordPress. But I think it’s ok that we ask some questions about it, and while the thread’s not in the most positive tone, I don’t think anyone has asked anything from left field, nor said anything antagonistic or derogatory.

    It’s not like we’re asking for info that won’t have already been discussed when making the decision about plugin vs. standalone.

    There would have been bench tests, user experiences, requirement gather – y’know numbers and paperwork. I know we’re never going to see the full documentation, but I think it’s ok to ask for an overview. Not to pick holes in it, but to feel positive that the decision is a good one, and one that we can get behind/support/make better :)

    =======================================================================

    Andrew, Pete and JJJ and I have had a wee email conversation earlier in the week, before (and during) this thread started. There was some truly great info in that thread. Information that would appease some of the issues brought up here, quell some of the language & tone being used. It confirmed to me that these are the people to take bbPress forward. But that doesn’t mean I am going to put my own and my children’s livelyhood on the line and follow blindly.

    everything is going to be A-okay

    is alot like

    Relax. We’ve done this before.

    And man, that didn’t work out too well :(

    I think people are allowed to be a little shellshocked at this bombshell; especially as it didn’t even warrant it’s own forum post, sticky or blog post. It just comes across as a footnote and unimportant. It comes across as “shit, you folks found out? um…” Now of course that ain’t true, but thats the base perception.

    Apparently the scrapping of all current bbPress code and new of it’s replacement isn’t even important enough for someone to hit that “sticky” button at the bottom.

    Because of this, some emotions will run high, but we’ve both been around the block enough to know that as long as people keep the conversation in house and try to resolve things then we’ll get there :)

    Not everyone will agree with everything, but we’ll get there as long as no-one makes any derogatory comments about the software or community in a KeyNote speech or on an influential Twitter feed we’ll be grand at resolving this, and bringing folks tegether in a positive sense :)

    The dudes who are now running the show just need to give out enough info to get control of the conversation. Once that happens, even more of life will be positive.

    #91048
    zaerl
    Participant

    I have inserted the “code” button for the simple reason that the backtick character is difficult to be typed on a keyboard that isn’t the “standard” U.S. ASCII. This is true for the vast majority of the keyboard layouts worldwide.

    The only disappointment is that it doesn’t seem to understand strikethrough fonts.

    It doesn’t understand strikethrough cause that tag (the obsolete ‘s’) isn’t enabled by default on bbPress.

    I provide support for standard tags: strong, em, a, img, ul, ol, li, blockquote, code and the non standard img that is widely used.

    My plugin do not enable new tags (and implicitly new buttons) in current version 0.3.2 but it does in 0.4 (trunk). I have taken my position regarding the future of bbPress and so I will not upload new plugins and/or updates (https://bbpress.org/plugins/topic/zaerl-editor/page/2/#post-5992). Anyway if you need the new zaerl Editor with custom buttons and other fancy features write me a couple of lines. za AT zaerl.com

    #91047
    Joe Gibson
    Member

    The one change I made to Zaerl Editor was snipping out the part of the code that put that needless “Code” button on the top.

    The only disappointment is that it doesn’t seem to understand strikethrough fonts. I tried both “strike” and “del” (using both HTML and backticks) but no joy. Any thoughts?

    #91102

    OK, but it’s not working. I don’t think that the line nr matters that much, does it?

    Anyway, I’ll post everything that involves my forumlist from my stylesheet here, to prove that I did exactly what you’ve suggested.

    .num, #forumlist small {
    font: 11px Verdana,Arial,Helvetica,sans-serif;
    text-align: center;

    #latest td, #forumlist td, #favorites td { padding: 5px 10px; }
    #forumlist tr td div.nest {
    padding-left: 2.5ex;
    }
    #latest tr:hover, #forumlist tr:hover, #favorites tr:hover { background-color: #d8dcf2; }
    #latest th, #forumlist th, #favorites th {
    text-align: left;
    background-color: rgb(102, 102, 102);
    font: 11px Verdana,Arial,Helvetica,sans-serif;
    font-weight: normal;
    padding: 5px 9px;
    color: rgb(255, 255, 255);
    }
    #latest th a, #forumlist th a, #favorites th a {
    color: rgb(200, 200, 200);
    font-style: italic;
    }
    #latest th a:hover, #forumlist th a:hover, #favorites th a:hover {
    color: rgb(255, 255, 255);
    }

    #latest, #forumlist, #favorites {<br />
    background-color: #f7f7f7;<br />
    margin-bottom: 3em;<br />
    }</p>
    <p>#latest, #forumlist {<br />
    margin-top: -0.9em;<br />
    padding-right: 10px;

    I hope that it is of some use.

    Bob

    #91045

    woot – that zaerl editor is right on the point, I hadn’t noticed it before. You could also check out this topic on how to implement markItUp as editor for bbPress:

    https://bbpress.org/forums/topic/bbcode-toolbar-with-markitup-editor

    The explanation is for bbCode, but it could be easily changed for HTML input.

    #34740

    Hello.

    Why would one table come up ok (latest), but forumlist would look like this? http://i896.photobucket.com/albums/ac166/nobody5973/screenshot_003.png

    This is what I have in style.css

    #latest, #forumlist, #favorites {

    background-color: #f7f7f7;

    margin-bottom: 3em;

    width: auto;}

    Isn’t the wrapper in the body supposed to *wrap* things up nicely?

    #wrapper {

    margin: 0 0 0 0;

    background: #fff;

    width: 850px;

    padding: 0 20px;}

    I hope that people have been confronted with this issue before and successfully overcame it,

    Thank you.

    Bob

    #91061

    Good Morning Dan,

    It definately sounds like a conversion issue. It’s not one i’ve heard of before, but it shouldn’t be too hard to fix (though there is no existing pluign that I know of).

    Baiscally you’re going to need a Title to Slug function, then iterate through every forum & topic and update the database accordingly

    Basically, something like this:

    $sql = "SELECT * from $bbdb->topics WHERE topic_slug ='' LIMIT 100";
    $rows = $bbdb->get_rows($sql);

    foreach($rows as $row)
    {
    $topic_slug = bb_sanitize_with_dashes($row['topic_title'],200);
    $sql = "UPDATE $bbdb->topics SET topic_slug='". $topic_slug ."' WHERE topic_id=". $row['topic_id'] ." LIMIT 1; ";
    }

    So i’ve not tested this code at all, just guessing at it really.

    It should update 100 topics at one page load.

    (I do this incase i made a horrible mistake)

    Then do the same for bb_forum table.

    Kev

    #91044
    Cooljames
    Member

    really cool

    #91043
    Joe Gibson
    Member

    Mr P –

    As we say in the WordPress world, woot! Zaerl Editor is absolutely perfect. I don’t want people to import pics and such — the main thing is embedded links.

    Kev – Also thanks for the suggestions.

    Joe

    #91042

    Hi Joe,

    There is (or was) a TinyMCE editor back in the day, but TinyMCE is so far from Tiny it’s unreal.

    I tink you’re also giving you users too little credit. A large percentage of people who use forums are used to seeing bbCode (though they may not know it themselves), but I always like to give my users buttons to press.

    Latest update on my old plugin can be seen here:

    http://www.fellowshipoftheding.org/forums/topic/shammy-changes

    Please excuse the awful defualt theme and Play around with the text area.It’s 2k of code, or just uner 1% of TinyMCE.

    I’d also advise to stay clear of WYSIWYG editors. People like to go absolutely nuts on those things. Everything bold and red and big fonts because “the world NEEDS to hear them” ;-)

    and then ofcourse someone responds…

    #91041
    mr_pelle
    Participant

    Hi Joe! I’m using this plugin by Zaerl and I’m pretty happy with it!

    #34734
    Joe Gibson
    Member

    Greeings, all –

    First off, I installed bbPress yesterday and I admit I’m impressed. A very well-thought-out piece of work. It dovetailed perfectly with WP without a hitch.

    The one thing it obviously needs is a slightly better editor. Asking the readers to use actual code to italicize or bold a word is decidedly old-world.

    I’ve just spent an hour on Google (and here) searching for relevant terms, such as ‘WYSIWYG’ and ‘TinyMCE’, and while there seems to be lots of chatter about the subject, I haven’t found anyone with a definitive “Do this, this and this” page that’ll replace the stock editor with something like TinyMCE Advanced or NICEdit.

    Anyone know what the latest scoop is?

    Thanks,
    Joe

    #90996
    <?php bb_get_header(); ?></p>
    <p><div class="bbcrumb"><a>"><?php bb_option('name'); ?></a><?php bb_forum_bread_crumb(); ?></div>
    <div class="infobox" role="main"></p>
    <p><div id="topic-info">
    <span id="topic_labels"><?php bb_topic_labels(); ?></span>
    <h2<?php topic_class( 'topictitle' ); ?>><?php topic_title(); ?></h2>
    <span id="topic_posts">(<?php topic_posts_link(); ?>)</span>
    <span id="topic_voices">(<?php printf( _n( '%s voice', '%s voices', bb_get_topic_voices() ), bb_get_topic_voices() ); ?>)</span></p>
    <p><ul class="topicmeta"></p>

    <li><?php printf(__('Started %1$s ago by %2$s'), get_topic_start_time(), get_topic_author()) ?></li>
    <p><?php if ( 1 < get_topic_posts() ) : ?></p>

    <li><?php printf(__('<a href="%1$s">Latest reply</a> from %2$s'), esc_attr( get_topic_last_post_link() ), get_topic_last_poster()) ?></li>
    <p><?php endif; ?>
    <?php if ( bb_is_user_logged_in() ) : ?>
    <li<?php echo $class;?> id="favorite-toggle"><?php user_favorites_link(); ?>
    <?php endif; do_action('topicmeta'); ?></p>
    <p></div></p>
    <p><?php topic_tags(); ?></p>
    <p><?php do_action('under_title'); ?>
    <?php if ($posts) : ?>
    <?php topic_pages( array( 'before' => '<div class="nav">', 'after' => '</div>' ) ); ?></p>
    <p><ol id="thread" class="list:post"></p>
    <p><?php foreach ($posts as $bb_post) : $del_class = post_del_class(); ?>
    <li id="post-<?php post_id(); ?>"<?php alt_class('post', $del_class); ?>>
    <?php bb_post_template(); ?></p>
    <p><?php endforeach; ?></p>
    <p><div class="clearit"><br style=" clear: both;" /></div>
    <p class="rss-link"><a>" class="rss-link"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr> feed for this topic') ?></a></p>
    <?php topic_pages( array( 'before' => '<div class="nav">', 'after' => '</div>' ) ); ?>
    <?php endif; ?>
    <?php if ( topic_is_open( $bb_post->topic_id ) ) : ?>
    <?php post_form(); ?>
    <?php else : ?>
    <h2><?php _e('Topic Closed') ?></h2>
    <p><?php _e('This topic has been closed to new replies.') ?></p>
    <?php endif; ?>
    <?php if ( bb_current_user_can( 'delete_topic', get_topic_id() ) || bb_current_user_can( 'close_topic', get_topic_id() ) || bb_current_user_can( 'stick_topic', get_topic_id() ) || bb_current_user_can( 'move_topic', get_topic_id() ) ) : ?></p>
    <p><div class="admin">
    <?php bb_topic_admin(); ?>
    </div></p>
    <p><?php endif; ?>
    <?php bb_get_footer(); ?>

    I think my problem is somewhere in here… if that helps…

    #90908

    In reply to: bbPress Plugin is Born

    I think what I might be confused about, is if bbPress as it is today is close to exactly what it should be, what would you want it to do 2 years from now that wouldn’t add more bloat or slow it down?

    bbPress0.9 is as good as any forum software out there, save for 2 things. Moderation and the Admin section. It’s crazily fast, secure, and extentable. It’s let down by lack of actions/filters, default theme and documentation.

    bbpress1.0 is 50% slower and breaks alot of plugins but has some more hooks and an Admin section. Moderation is still the big thing, as is the default theme.

    A clear out (archiving) and rethink of the plugin section and the creation of a new theme would make it very very useable.

    Additionally both have also been let down by the layout/use of this forum, which makes finding information difficult; and a plugin section that doesn’t work.

    Basically, all the feature requests we recieve, all go over the same ground – and can be covered by plugins. Most are covered by plugins (in a 90%) sort of way. With everything in Limbo there is no need to take things to the n-th degree.

    From an honest to goodness Project management point of view, bbPress can be where we need it to be within 9 month – a year. But that time grows as we add more features (that we already have as plugins grrr) and less bug fixes.

    So yeah we could fork it as is. But given Matt’s current desire to berate us (both the people here and the software) in public at Wordcamps, and his latest more… evangelistic approach to publicly taking umbridge at anyone he doesn’t like or disagrees with him; he makes the envornment out there relatively difficult to consider moving into, while intentionally hampering our efforts here.

    If today, it’s good; then let’s fix up what we have to put out a solid 1.1 stand-alone, and when shift gears to focus on 1.2 as the plugin milestone.

    Dude, we’re trying.

    I mean, i know you know that :)

    But in order for that to happen, we need the head honcho or “he who wont talk to us, only about us in keynote speeches”. All Keymasters, all of those who package things up and can edit the website… AutoMattic. The same folks who’re scrapping us for you.

    I hate this looking like an US vs. THEM scenario, it just polarises people, and looks childish. But in honesty, “we” didn’t put ourselves in this holding pattern.

    Additionally, putting out a solid 1.1 standalone will be tough and time consuming. We’ve 13 months of bugs, we’ve 13 months of backPress changes and potential changes in 3 releases of WordPress to contend with; there is going to be alot of bugs found in testing – and with Jane telling people that bbPress in its current implementation isn’t going to even work the WordPress.org forums and Matt telling people not to use the software we’re are hemmoraging people.

    #90906

    In reply to: bbPress Plugin is Born

    Rich Pedley
    Member

    apart from when plugins are taken on board and integrated into the core.

    I for one would hope that the ability to skip akismet is built into akismet for bbPress at some point in the future – retrieved from akismet is quite common here, and on the WordPress forums – enough to warrant it being added to the core. I know that is a plugin – but it is a slightly different case.

    I may not be able to help to much with the coding, but testing wise, and perhaps even accessibility wise I would be able to help.

    Would now be a good time to start a new section on here for discussion related to this new version?

    #90964

    The answer is both simple and not so simple.

    You’re basically taking advantage of how modern browsers will give you wiggle room on your code. For example you’ve set your header to height 200px, and thus the background will only ever be 200px, even though your header is about 350px long (the content doesn’t start for 205px).

    What I suggest is this:

    – Remove the hight property from your header.

    – Add a padding to your header of 205px to put all header content starting below your image.

    – add a clearing div after every section of Floats. (above the closing tag of the header div for example).

    One of the things IE6-8 does really well, is that it wraps everything in the code you put it in, which was in the original specification for HTML and CSS (IE was the first browser to support CSS, some 2 years before any other after all).

    “modern” browsers won’t consider anything with a float to belong to the parent, so as your form and link are floated although in the header, they won’t ever be wrapped by it.

    This is a good example, and I cant wait for some folks to read this, where testing in IE6 is brilliant. It would have caught these v early – as its unforgiving.

    EDIT: Actually Pastor Bob, why not copy over the header of your WordPress site. It’s very nicely made.

    Kev

    #90979
    pedagog
    Member

    Hello zaerl

    Thank you for responding. At the moment I am unable to test your plugin. However, I think I may be able to test it in a few days.

    Could you provide me with code so I could code it directly without using a plugin? I would prefer to use coding myself if possible to give me a better understanding of what I am doing.

    Many thanks

    #90977
    pedagog
    Member

    Once again, thank you Mr Pelle. That worked fine. I will have to try zaerl-visibility when I get my production online for testing.

    Thanks for all your very useful input

    #34725

    Some time ago I came across markItUp! – a markup editor written as a jQuery plugin. It can be attached to any textarea, providing editing interface to it. The best thing is that it that interface can be totaly customized and there are many sets that are ready to be downloaded, among which is a bbCode set.

    I’ve been using _ck_’s bbCode toolbar plugin but it lacked buttons for adding colors and changing font-size, so I decided to swap it for markItUp. It turned up quite nicely and the code is dead simple. Here it goes:

    First, download markiItUp, along with the necessery bbCode set

    http://markitup.jaysalvat.com/downloads/download.php?id=releases/latest

    http://markitup.jaysalvat.com/downloads/download.php?id=markupsets/bbcode

    http://markitup.jaysalvat.com/downloads/download.php?id=addons/bbcode/colors

    * the color set is seperate by default, so you’d have to merge it to the bbCode set later

    Upload the downloaded files to a directory on your server (my choice was my-plugins/scripts) and include them in your template. You can do that using bb_head in functions.php of the theme (bbPress 1.x) or as a mini plugin (bbPress 0.9.x)

    /*
    Plugin Name: markItUp! for post form
    */
    function mark_it_up_init() {
    echo '
    <!-- markItUp! scripts -->
    <script type="text/javascript" src="' . bb_get_option('uri') . 'my-plugins/scripts/markitup/jquery.markitup.js"></script>
    <script type="text/javascript" src="' . bb_get_option('uri') . 'my-plugins/scripts/markitup/sets/bbcode/set.js"></script>
    <script type="text/javascript" >
    jQuery(document).ready(function() {
    jQuery("#post_content").markItUp(mySettings);
    });
    </script>
    <!-- markItUp! stylesheets -->
    <link rel="stylesheet" type="text/css" href="' . bb_get_option('uri') . 'my-plugins/scripts/markitup/skins/simple/style.css" />
    <link rel="stylesheet" type="text/css" href="' . bb_get_option('uri') . 'my-plugins/scripts/markitup/sets/bbcode/style.css" />';
    }

    add_action('bb_head','mark_it_up_init');

    * Or you could just add that code to your header.php (without the PHP function wrap-up).

    And last but most important – include jQuery before markItUp! in your template. That is best done using <?php bb_enqueue_script('jquery'); ?>

    You can see it in action on the forum that I manage:

    http://comicsbistro.net/forum/?new=1

    Hope that this will be useful to someone :) Cheers!

    #90885

    In reply to: bbPress Plugin is Born

    They will if they came here for a stand alone software (or if they don’t use the latest version of WordPress).

    If they’ve never used bbPress before, then they will come here not knowing it was ever standalone, and won’t have any issues installing a plugin, and turning it on.

    This is the end of the line for the current implementation of bbPress.

    Yes. Just like 2.9.2 was the end of the road for the 2.9 branch of WordPress when 3.0 came along. I understand the obvious differences, but at the end of the day, it’s just another day.

    This entire support forum and plugin section for bbPress will have ZERO meaning for the plugin and will only serve to confuse people.

    All the years of advice here for the two major versions of the standalone version will be useless for the plugin version.

    It will have meaning for supporting legacy code, which happens all the time when something gets refactored in WordPress. Get it working in it’s current incarnation, then ensure backwards compatibility with existing installations that are already integrated with WordPress.

    bbPress 1.0.3, and bbPress 1.1, are still being actively developed. Once those versions are available, what /more/ would you want bbPress to do on its own?

    The *plan* is for everything to stay how it is, with no loss of data on bbPress.org, or anywhere else.

    The bbPress extend section doesn’t include half of the things the WordPress.org section does now, in terms of compatibility checks, etc… By having bbPress as a plugin, we inherit that too.

    I know that there’s broken spirits, and I don’t want it to be this way, but I can’t say anything any more clear to ease anyone’s anxiety about it.

    Btw, the first commit is in. As you can all see, there’s plenty of work to do, so you’ll have nothing to worry about for a while.

Viewing 25 results - 7,901 through 7,925 (of 11,599 total)
Skip to toolbar