Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • unfortuantely these postins on mookitty are now not available. does anyone have a solution for this?

    I would if I could but I am having no joy on this one – sorry

    I think I have just about got this worked out, I just need one last pointer.

    The more categories list lives in my sidebar and is working fine. I have even got it only showing when a specific category is choosen. What is still going wrong for me is this offset.

    When I add the offset code, its offsetting the whole thing – the body of the page as well as the list in the sidebar. Which is obviously not what I need.

    Does anyone have any suggestions/

    Thanks so much for your help. I am almost there, it is kind of working.

    I am using

    <?php
    foreach((get_the_category()) as $category) {
    $posts = get_posts("category=" . $category->cat_ID . "&numberposts=5&offset=5");
    if( $posts ) :
    ?>
    <div class="recent-posts">
    <h2>Most Recent in <?=$category->cat_name?></h2>
    <ul>
    <?php foreach( $posts as $post ) : setup_postdata( $post ); ?>
    <a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></li><br />
    <?php endforeach; ?><br />
    </ul>
    </div>
    <?php endif; ?>
    <?php } ?>

    I have it in the sidebar, but I am not sure that is going to be right.

    I want it to show up when a reader looks at

    a/ the main page (so it shows the titles of post 6 though 10)
    b/ a category listing, aslo showing post 6-10 for that category

    but it is getting stuck in showing only the things for the last category selected on both the page and in the side bar.

    Any suggestions?

    ok so here is how I am trying to modify things

    I display 5 posts on a page (by conincidence) and I want this area of my sidebar to show the NEXT five posts in the same category (so to sart with it would show #6 thorugh #10).

    Does anyone have a suggestions?

    Thanks

    Strangely enough I have just tried the spell check on my computer at work and its working perfectly. Go figure.

    Things that I think I needed to check are:

    1/ the aspell installation on my server
    2/ that spellerchecker.php is pointing in the right place for aspell – see my post above
    3/ that spellerchecker.php has the right language listed – see my post above
    4/ that the plugin and button are listed correctly – – see other posts above

    My only remaining questions are:

    > how to get a custom dictionary working
    > how to get an Australian dictionary installed 9although I think this is an aspell issue)

    There seem to be a few plugins that when called, dont show up in the toolbar. An example was the spell checker. Another couple of examples insertdatetime and zoom.

    I also cant figure out what plugin drives the “clean up code” buton.

    I am not sure what is causing the problem, although given my recent experience with spellercheck, I suspect the problem is that there is something missing or configured wrong.

    Any suggestions from anyone would really be apprecaited.

    Thanks, thats got me a step closer. I have posted some more issues in the other thread.

    I have tried adding the code you suggest to the advacned-wysiwyg.php and finally its working. Neither spellerpages or iespell were showing up in the button row, but with a few tweaks it actually worked.

    The part I needed to configure was the spellerchecker.php. This depends on where I had aspell installed and configured for. This is what got mine showing the button.

    ///$aspell_prog = ‘aspell’; //LINUX
    $aspell_prog = ‘/usr/bin/aspell’; // WINDOWS

    $lang = ‘en’;
    $aspell_opts = “-a –lang=$lang –encoding=utf-8 -H”;
    $tempfiledir = “./”;
    $input_separator = “A”;

    Now its got that far, it still is falling over when it trys to actually spell check, but at least I have made it another step closer.

    The text box doesnt seem to be reading correctly, there is no add button and it seems to be suggesting and then changing the wrong things (eg last error I handled) when I do click change. Any suiggestions?

    Just as an addition to this. I have been able to get a few more of the plugins showing up with the following code. What DOESNT seem to work is what seems to be called, in the TinyMCE full example, as part of the advanced template. When I add some of those, the MCE tool bar disappears completely.

    My working code is as follows, although there are a few things (like iespell and insertdatetime) that are not showing at all.

    <?php
    /*
    Plugin Name: Advanced WYSIWYG Editor
    Plugin URI: https://www.labnotes.org/
    Description: Adds more styling options to the WYSIWYG post editor.
    Version: 0.2
    Author: Assaf Arkin
    Author URI: https://labnotes.org/
    License: Creative Commons Attribution-ShareAlike
    Tags: wordpress tinymce
    */

    if (isset($wp_version)) {
    add_filter(“mce_plugins”, “extended_editor_mce_plugins”, 0);
    add_filter(“mce_buttons”, “extended_editor_mce_buttons”, 0);
    add_filter(“mce_buttons_2”, “extended_editor_mce_buttons_2”, 0);
    add_filter(“mce_buttons_3”, “extended_editor_mce_buttons_3”, 0);
    }

    function extended_editor_mce_plugins($plugins) {
    array_push($plugins, “table”, “fullscreen”, “emotions”, “advlink”, “advimage”, “advhr”, “searchreplace”, “iespell”, “paste”, “insertdatetime”, “preview”, “zoom”, “flash”);
    return $plugins;
    }

    function extended_editor_mce_buttons($buttons) {
    return array(“cut”, “copy”, “paste”, “pastetext”, “pasteword”, “separator”, “undo”, “redo”, “separator”, “search,replace”, “separator”, “iespell”, “charmap”, “emotions”, “flash”, “advhr”, “insertdatetime”, “separator”, “link”, “unlink”, “anchor”, “image”, “separator”, “removeformat”, “code”, “fullscreen”, “wordpress”, “wphelp”, “preview”, “zoom”);
    }

    function extended_editor_mce_buttons_2($buttons) {
    return array(
    “formatselect”, “bold”, “italic”, “underline”, “strikethrough”, “sub”, “sup”, “separator”, “justifyleft”, “justifycenter”, “justifyright”, “justifyfull”, “separator”, “bullist”, “numlist”, “outdent”, “indent”, “separator”, “forecolor”, “backcolor”, “separator”, “tablecontrols”);
    return $buttons;
    }

    function extended_editor_mce_buttons_3($buttons) {
    // Add buttons on the third toolbar line
    return $buttons;
    }
    ?>

    Its always such a pleasure to read a post and find the answer to your problem. I needed to dick around a little, but this thread has given me the start of what I am looking for.

    I now have most of the extended set of WYSIWYG controls working in WP 2.0, but I am wondering how I can get the full set going. Looking in the examples of the TinyMCE download package, there is an advanced example that has everything under the sun.

    On top of which the spell checker in the extended set ISNT appearing, although it appears to be called in the code.

    Does anyone have any comments or suggestions for a writer who is a little slow on the coding front?

    Thread Starter bravecreatures

    (@bravecreatures)

    ok, so I feel stupid asking this, but shouldnt there be more to it than just creating a database, with no tables etc, just a name?

Viewing 13 replies - 1 through 13 (of 13 total)