Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 7,901 through 7,925 (of 11,607 total)
  • Author
    Search Results
  • I am with you _ck_

    I would love to see bbPress 0.9 becoming as one of the best choice for standalone forum script.

    #34750
    Matt Mullenweg
    Keymaster

    At least if it’s the same _ck_ as here:

    http://news.ycombinator.com/item?id=1440574

    But in lieu of cash I will accept some testing on 1.1.

    _ck_
    Participant

    This utility has been delayed a bit as a few things came up this weekend but I fully intend to finish it soon.

    Thanks for volunteering citizenkeith, I’ll keep you posted.

    citizenkeith
    Participant

    I’d love to help out. I’m capable of backing up my database and restoring it. :=)

    #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

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