Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 7,876 through 7,900 (of 11,578 total)
  • Author
    Search Results
  • #91053
    zaerl
    Participant

    The micro-plugin (I have written for you) activate the s HTML tag (as you requested) <s>your text here</s> but zaerl Editor 0.3.2 does handle only standard tags plus the img tag as I said here: https://bbpress.org/forums/topic/latest-on-better-editor#post-71194

    #91163
    _ck_
    Participant

    Currently there are only four settings and all but the first are optional.

    Edit the top of the plugin to see them:

    $browsertimer['log']='/browsertimer/browsertimer.log';

    That is where the log is kept.

    Obviously the directory must be chmod 777 on your server.

    For that reason I STRONGLY recommend you put it ABOVE the web root.

    The default setting will do that:

    dirname($_SERVER['DOCUMENT_ROOT']).'/browsertimer/browsertimer.log'

    but since it may confuse people, adjust it as you will.

    ie. /home/username/public_html/

    is the webroot on many servers but not all by any means

    you could in theory make

    /home/username/browsertimer/

    and chmod 777 that directory, and it will work with the default setting.

    $browsertimer['filter']=true;

    This setting just throws away entries longer than 20 seconds or less than 100ms which are typically bogus. For example Google has a nasty habit now of parsing javascript no matter how obfuscated it may be to extract URLs, and sure enough it will follow the browser timer, giving you really high, weird numbers.

    $browsertimer['pages']=false;

    This allows you to control what pages are timed.

    I’d leave it alone for now but someone may have specific interest in mind.

    $browsertimer['geoip']=false;

    This is where the geo-location magic happens, it’s optional, and will tell you what country the visitor is in with about 90% accuracy.

    false = country lookup off

    or set it to ='ip2c';

    and download this program called IP2C

    http://admin.firestats.cc/ccount/click.php?id=74

    extract these two files and put them in the same directory:

    ip2c.php
    ip-to-country.bin

    (ip-to-country.bin is very large, it’s one big database)

    #91162
    _ck_
    Participant

    Once properly configured and running, administrators can get easy access to the log by just adding ?browsertimer to the forum url.

    The view right now is very basic and looks like this:

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

    I’ve done some fancy parsing of the user-agent to attempt to strip it down to the useful bits. (in the example the IP addresses are partially obscured for visitor privacy)

    #91052
    Joe Gibson
    Member

    Z –

    I copied the code to a PHP file and it activated from the bbPress ‘Plugins’ panel, but I can’t figure out how to make it work in the editor. I tried both angled brackets and backticks. Thoughts?

    And the next big challenge would be to have it open links in a new window. Is that possible?

    Thanks,

    Joe

    #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

Viewing 25 results - 7,876 through 7,900 (of 11,578 total)
Skip to toolbar