Forum Replies Created
-
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
}
?><p>Viewing <?php echo get_total_forums() ?> forums</p>Have you tried to recount things from the “Tools” menu of the Admin panel? Maybe it’s a cache issue.
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.
I think that Hidden Forums can be modified in order to hide individual posts. It’s just a matter of changing the
hidden_forums_filterfilter function but it seems that the author doesn’t update her plugin no more.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.
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>File
rss.phpat line 182. It seems that bbPress retrieves the last 35 posts if called like/rssif ( !$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.
I need a plugin for hide a Topic
He needs to hide a single topic, not an entire forum.
There isn’t.
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.
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.