zaerl (@zaerl)

Forum Replies Created

Viewing 12 replies - 751 through 762 (of 762 total)
  • In reply to: jquery loading

    zaerl
    Participant

    @zaerl

    Check this micro-plugin. It loads jquery in every page.

    <?php
    /*
    Plugin Name: jQuery please
    Plugin URI: http://www.the.url.com
    Description: I really need jQuery
    Version: 1.0
    Author: Me
    Author URI: http://www.the.url.com
    */

    add_action('bb_init', 'jquery_please_initialize');
    add_action('bb_head', 'jquery_please_js', 100);

    function jquery_please_initialize()
    {
    bb_enqueue_script('jquery');
    }

    function jquery_please_js()
    { ?>
    <script type="text/javascript">//<![CDATA[
    // Your script goes here
    //]]></script>
    <?php
    }

    ?>


    zaerl
    Participant

    @zaerl

    <p>Viewing <?php echo get_total_forums() ?> forums</p>


    zaerl
    Participant

    @zaerl

    Have you tried to recount things from the “Tools” menu of the Admin panel? Maybe it’s a cache issue.

    In reply to: Hide topics

    zaerl
    Participant

    @zaerl

    I’m working on a little plugin that is a rework of Hidden Forums. It will allow the user to hide topics as well of forums. I will post the code after some testing.

    In reply to: Hide topics

    zaerl
    Participant

    @zaerl

    I think that Hidden Forums can be modified in order to hide individual posts. It’s just a matter of changing the hidden_forums_filter filter function but it seems that the author doesn’t update her plugin no more.

    In reply to: Hide topics

    zaerl
    Participant

    @zaerl

    Indeed, you are right. But maybe he needs a fine control topic by topic. It can be something like hiding a single topic to guests that registered members can still watch on the original forum.

    Or at least that is what I understand.


    zaerl
    Participant

    @zaerl

    Something like:

    <object width="300" height="200">
    <param name="movie" value="your_file.swf">
    <embed src="your_file.swf" width="300" height="200">
    </embed>
    </object>

    In reply to: All forums RSS feed?

    zaerl
    Participant

    @zaerl

    File rss.php at line 182. It seems that bbPress retrieves the last 35 posts if called like /rss

    if ( !$posts = bb_get_latest_posts( 35 ) )
    die();

    you can add a new case on top of that file but I don’t think that it’s a wise choice expecially if you have a huge forum.

    In reply to: Hide topics

    zaerl
    Participant

    @zaerl

    I need a plugin for hide a Topic

    He needs to hide a single topic, not an entire forum.

    In reply to: Hide topics

    zaerl
    Participant

    @zaerl

    There isn’t.

    In reply to: Hide topics

    zaerl
    Participant

    @zaerl

    Hidden forums hasn’t an admin page and you must edit the php file. Locate your “hidden-forums.php” file. On top you will see a couple of line that you can change together with a brief documentation regarding the changes you can make. Remember that with this plugin you can hide forums but not individual posts.


    zaerl
    Participant

    @zaerl

    Hi Tom, thank for your answer. Unfortunately I cannot took out the display name feature because my mother language isn’t english and in my idiom it’s impossible to write significant portion of text without using characters outside the ASCII base and as far as I know unicode characters can’t be used in login names.

    Anyway I think that I will hack the core even if I know that this isn’t a good thing. I think that I will add an extra check in $wp_users_object->update_user() which in turn call _put_user.

Viewing 12 replies - 751 through 762 (of 762 total)