sorry about the mis communication..
the latest code for bbpress..
coz the is_serialized function is in the latest code but not in blix i think…
I just redownloaded both site options and private forum plugins and reinstalled them.
Still get the error:
Fatal error: Call to undefined function: is_serialized() in /var/www/html/blog/forum/my-plugins/site-options.php on line 179
Should I just give up and get lastest code?
Trent
The plugin currently works on the latest code.. let me check if i can fix the code to work with blix..
Trent:
can you check with the latest code and let know..
Hi,
Another question. When watching a topic you see this first:
Topic title
Started 1 month ago by xxx
Latest reply from xxx
This topic is not a support question
Add this topic to your favorites (?)
Now I want to change this a bit so that the latest reply doesnt go to the latest reply, but to the first reply (so with long topics I don’t have to scroll down to the fist reply) so it’s gonna look like this:
Topic title
Started 1 month ago by xxx
First reply from xxx
Latest reply from xxx
This topic is not a support question
Add this topic to your favorites (?)
Any ideas?
Null
Hi,
On the frontpage (bbpress index) you can see the latest discussions showing: topic, posts, Last Poster, refreshnesses.
The posts section counts all posts from that topic, INCLUDING the start topic. How can I exclude this first post? So reply = posts count – 1
Thanx
Until a plugin is made, I think you’d have to pseudo-hardcode it. I was able to limit what admins and regular users could see in my memberlist by adding the following code:
<?php if (bb_current_user_can('edit_users')) : ?>
*some code here*
<?php endif; ?>
There are other options you can test on, that’s just the one I found to use.
For you, in the *some code here* part, you’ll need to find a way to pull out what forums you got, and put an if statement to say only to show the Announcements one to admins.
Looking at the files, I found a function called “forum_dropdown” in template functions. If you go there and within the foreach section, below the $selection part, put the following:
if ( $forum->forum_name == 'Announcements' && !bb_current_user_can('edit_users') ) { }
else
That will do nothing when it gets to listing your “Announcements” section unless the user is an admin. The else is for the echo line below where I told you to put the previous line.
Of course, this is a change to a core file, but sometimes that’s just what you gotta do until a plugin is made
Furthermore, there is no filter to be added there, so writing a plugin would mean rewriting that function, dropping it in a plugin file, and calling the replacement function from post-form.php
Awesome!! Done!.. You’re the greatest, whee!! 
http://spencerp.net/forums/mlist
spencerp
Hi guys, sorry.. was offline for a bit there. I didn’t have pretty permalinks enabled, and still don’t. But, after uploading those new files of your’s. It seems to be working fine now..
http://spencerp.net/forums/
Would you like me to try with pretty permalinks enabled then too, or..? Please let me know ok, I’ll test it.

spencerp
I don’t want the permalinks on my forum. If you need to test it with them on, then maybe Spencer will (Here is the link for directions).
https://bbpress.org/documentation/faq/
I would assume be the one test without permalinks on if I could!
Thanks,
Trent
well, dang, now I gotta figure out how to deal with if you don’t have that enabled 
Did you enable it? I want to test the plugin out on your site
aww, sorry it doesn’t work with the integration. You can probably add a little something to it and do it though. I just don’t have mine integrated so can’t test it.
yup.. i use the latest on the repository..
cheers
This plugin is another simple one. It allows you to set an inactivity limit on threads shown on the forum main page. The default is set to 7 days, and if you like that setting, then all you have to do is put the file in your my-plugins directory. If you want to change it, it’s easy enough (desciption in the readme).
You can download the file and read the instructions at http://faq.rayd.org/bbpress_limit_recent_activity/
You can see it being used at http://www.rayd.org/forums/ (notice how there are no threads in the “Latest Discussion” section whose last post is older than a week).
Enjoy!
I think I made a similar script yesterday. I didn’t make it as a widget because I never did much customization with wordpress itself.
Anyone got an example of this being used? I might want to change the way mine looks if another looks better. (if you want to see what I did, you can view it at http://www.rayd.org/ … the right side forum list thing)
here is the plugin..
please note that the bb hook for initialization was change after the blix release (0.73). it was changed from ‘init’ to ‘bb_init’
function my_check_private_forum($test='') {
global $bb,$bb_current_user;
$login_page = $bb->path . 'bb-login.php';
if ($_SERVER['PHP_SELF'] != $login_page) {
if ( !$bb_current_user ) {
header('Location: ' . $bb->domain . $bb->path . 'bb-login.php');
}
}
}
add_action( 'bb_init', 'my_check_private_forum');
you can use this
$topics = get_latest_topics( $forum_id);
but this will give you number of topics/page that you set in your config
to get just 10 topics from the forum
$topics = $bbdb->get_results("SELECT * FROM $bbdb->topics WHERE forum_id = $forum_id ORDER BY topic_time DESC LIMIT 0,10")
Yeah true.. Trent, thanks for clarifying that for everyone, and me!

spencerp
/Me didn’t get to bed yet, so.. my brain is now working in reverse, compared to your’s.. since you got the sleep.. lol!!
Needs to be an option though because with that code in there, it will exclude when most users wouldn’t really need anything excluded. As well, that is only for the sidebar part, not the widget.
Trent
This is the block of database code that Trent had “fixed” up for me, to exclude the one forum.
(Found near end of plugin file)
function wp_bb_get_discuss_sidebar() {
global $wpdb,$bbpath;
$bbtopic = $wpdb->get_results("SELECT * FROM bb_topics WHERE topic_status = 0 AND forum_id NOT IN ('3') ORDER BY topic_time DESC LIMIT 10");
Where => (‘3’) is the forum id to exclude..

spencerp
It isn’t put in as an option, (though it would be easy to do), but all it really is, is adding SQL statement to exclude a forum. Maybe a guy should put a plugin code option for number of posts displayed as well as excluding a forum.
Trent
Glad to see someone is using my plugin
The plugin has been listed before but it gone now, thank’s for re-posting it.
Maybe u can send me the fix and i add it into the plugin.
I don’t know if this plugin is listed anywhere in the forum (can’t find it), but this is a plugin that will have recent forum posts from bbPress in your WordPress blog. Sidebar or otherwise. I use it and it is a great little plugin:
Recent bbPress Discussion in WP Plugin
As well, if you want to exclude a particular forum from the list, I have a little fix. Reply if that would help you.
Trent
so1o, you’re awesome! Thanks alot!
In /index.php, made it like this:
$topics = get_latest_topics(0,1,3,4,’2′);
Now the ones from the “Blog Article Discussion” forum, are NOT showing in the “Latest Discussion” section..
Thanks again!
However.. when I did try that plugin option, it deleted ALL the threads, except for the Blog Article Discussion posts.. but, I think that’s because I used the wrong id for the forum.. lol..
When hovering over the “Blog Article Discussion” forum, it shows as “3” being the “id”.. but, in the admin control panel.. I assigned “2” for it.. so, that’s what the problem was.. Anyway.. she’s working now! Thanks again!!
spencerp
Spencer
two ways..
1) edit /index.php
change line 12 to
$topics = get_latest_topics(0,1,'x');
where x is the forum id of the ‘Blog Article Discussions’ forum
2) plugin
create a file named my-own-blog-forum-filter.php plugin in the my-plugins directory.. or any name you want.. and have the following code in it
<?php
function my_frontpage_forum_filter($where) {
$where .= " AND forum_id NOT IN ('x') ";
}
add_filter('get_latest_topics_where', 'my_frontpage_forum_filter');
?>
again replace x with the forum id that you need
ardentfrost, maybe you can help me..? I’m using the bbPress Post (0.02) by mByte, and with his plugin.. I had made a forum for the blog posts to show up, however.. I would like to make the blog posts, stay ONLY IN the “Blog Article Discussions” forum..
Instead of them showing up in the “Latest Discussions” part of the forums index page.. And just have ONLY the threads made in the forums, show in the “Latest Discussions” section of the forum.. Is there maybe something that could be done for this?
I’m basically asking to exclude one of the forums, from the “Latest Discussions” section. Thanks in advanced..

spencerp