Yes- like on your forums. I found the “search_form.php” but I don’t know where I am looking for the function “search_form()” or exactly where I am to put the <div> code.
Sorry to be so dense on this.
Like on my forums? http://www.rayd.org/forums/
If so, I just searched through the code for the search form and found the function “search_form()” so I did this:
<div>
<h2><?php _e('Search'); ?></h2>
<?php search_form(); ?>
</div>
Then you just take “search_form.php” out of your bb-templates folder, drop it in the my-templates folder and change the sizes to whatever you want.
From the source of install.php:
// Let's check to make sure bb isn't already installed.
...
if ( $installed )
...
die(__('<h1>Already Installed</h1><p>You appear to have already installed bbPress. Perhaps you meant to run the upgrade scripts instead? To reinstall please clear your old database tables first.</p>') . '</body></html>');
I think it would just work by browsing to your forum in that case.
Can you put this before the DOCTYPE in the forum header:
<?xml version="1.0" encoding="utf-8"?>
Since it’s xhtml, not xhtml transitional like the blog, maybe that will do the trick?
edit: on my server this resulted in a parse error, maybe because the <? is being interpreted as php? This might not be a good idea
I couldn’t make version 1.2 work. I write the names of the allowed users to a specific forum, press submit twice to see what I actually wrote, but if I exit admin menu and enter again, the names aren’t displayed, so I guess it doesn’t store them.
Looking at the code I believe that the problem is that the table which should store the restrictions isn’t properly created. Which one should be the “forum_restriction_db” ?
Also, I saw a branch of version 1.3, are you planning to release it soon?
Okay, I’ll release bbMenu BETA 0.1 next week (I am on holiday this weekend) so we can all see the code and the way it works (it does work
) and I hope we can solve this problem I have…
After a quick search of the archives and some poking through the code I’ve come to the conclusion that there is currently no such API available. I would love to be corrected here. Any of the experts know if a REST API has been discussed for future versions? Has something already been implemented that I am just not seeing?
I ask because I am interested in putting together a simple desktop client to handle some admin functions. Any comments on this would be greatly appreciated.
Plugin inspired by http://bbpress.org/forums/topic/625
Adds a new Admin section where you can add users if you want to. It’s just like the “add new user” function in wordpress.
Download here:
http://la-school.com/2006/downloads/admin-add-user_1_0.zip
To install simply put it into your /my-plugins/
folder.
Hehe … I just had to much time since my last post. So here we go:
http://la-school.com/2006/downloads/admin-add-user_1_0.zip
Simply copy it into your /my-plugins/
Directory and you should see a new Submenu item under Users called Add User
.
Any Feedback is welcome
Maybe doing it the wiki-way? 
As I know there is no list aviable at the moment.
Anonymous User 96400Inactive
alright, thanks to all of you. figuered it out eventually. that extra </div>
on the add new page was the closing div from <div id="discussions">
, which is only shown on the frontpage. so i wrapped it like this:
<?php if ( $forums ) : ?>
</div>
<?php endif; ?>
and it solved the problem.
Hmm got this error now when entered your code:
Parse error: parse error, unexpected $ in /xxx/bbpress/my-plugins/bbmenu.php(123) : eval()’d code on line 1
Thats where the $switch begins…
If you want the beta of my plugin (for code), throw me an email and I will email it (got some uploading problems atm)
email: mauricederegt at gmail.com
Thx going to try that, and well I am no programmer at all, learning along the way. It goes like: Hmm that would be cool for bbPress -> is it possible (YES) -> how to make it? (google
) -> try and error -> try and error -> try and error-> try and error -> getting fed up with it -> post help cry on this forum 
I’ll learn along the way 
And yes I want it this way, cause it’s only 1 record that looks so clumpsy, all others just have 1 record…
It looks like your $rw["location"]
variable contains the text "(is_front() || is_forum() || is_tag() || is_topic() || is_bb_feed() || is_bb_profile() || is_bb_favorites() || is_view())"
Is that what you’re describing?
If so a ternary structure (the x?y:z
thing) won’t work because you need to give it a boolean value, so this may work…
$switch = eval("return ".$rw["location"]);
$current = ($switch ? ' id="current"' : "");
… but if that does work, then you seriously need to ask yourself why you have such code in a variable – why can’t it be evaluated first then the result put in the variable – and if you can’t come up with a cogent answer you need to rethink your code.
If that’s not what you’re describing then can you describe “not working” a bit better? Error messages and variable dumps help… or upload the source somewhere.
Is it possible it has something to do with the DOCTYPE?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
in the site, where the charset is correct, and
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
in the forum where it’s not correct. I think the DOCTYPE declaration affects the character set. See here:
http://www.w3.org/TR/xhtml1/#C_9
I’m not sure if you can change the DOCTYPE on the forum without creating other problems (it’s not the right solution since the forum validates as XHTML 1.1, not transitional), but maybe there’s something at the w3c site that makes sense to you.
Good luck
(p.s. this is just a wild guess.)
I just wanted to say that the new version is up.
The major change is, that now the times are stored as mysql-date in the database so timezone offsets can be handeled much easyer.
If you’re expecting any problems, let me know 
http://bbpress.org/plugins/topic/24?replies=1
I’m not sure, but looking at the pluggable code, you might be able to drop this into your my-plugins directory and it work without changing core files:
function bb_cookie( $name, $value, $expires = 0 ) {
global $bb;
if ( !$expires )
$expires = time() + 604800;
if ( isset( $bb->cookiedomain ) )
setcookie( $name, $value, $expires, $bb->cookiepath, $bb->cookiedomain );
else
setcookie( $name, $value, $expires, $bb->cookiepath );
}
Then make the same change you made last time (changing 604800 to 0 or something, whatever you did)
Just checked. I would go back and read the documentation one last time 
Trent
Well what I dont understand is that THIS works:
<li><a <?php if (is_front() || is_forum() || is_tag() || is_topic() || is_bb_feed() || is_bb_profile() || is_bb_favorites() || is_view())
{
echo "id="current"";
}?> href="index.php">Forums</a></li>
And this aint:
$current = ($rw['location']) ? ' id="current"' : '';
echo '<li ' . $first . '><a href="' . $rw['page'] . '"' . $current . '>' . $rw['item'] . '</a></li>';
Cause ($rw) will give: (is_front() || is_forum() || is_tag() || is_topic() || is_bb_feed() || is_bb_profile() || is_bb_favorites() || is_view()) too
The source code looks fine now, but it’s plugin page turned everything in the readme file into a tag!
Note: using id="current"
in this way is dodgy because plugins have to generate content that co-operates with other plugins.
If another plugin also uses id="current"
the page will not validate (because each ID (identity) should be unique).
You could just say id="X8VQm2_current"
but (a) it would look ugly and (b) regardless, you’re not changing the identity of the row, you’re just saying something about it, so using ID is still wrong.
The solution is easy: use class="current"
instead and adjust your css so that instead of #current {}
you use .current {}
The example I wrote for you before shows how to do it.
There is a painful habit of mis-using the id attribute among many theme designers and that makes it difficult to know what to do or why to do it
Okay, I changed the location value with:
is_front() || is_forum() || is_tag() || is_topic()
And changed the code with:
function get_bb_menu() {
global $bbdb;
$menutest = mysql_query("SELECT * FROM $bbdb->menu WHERE
set = 'active' ORDER BY
order ASC");
And re-written the li part with php:
<li><a <?php if ('location')
{
echo " id="current";
?>
href="<?php ('page'); ?>"><?php ('item'); ?></a>
<?php
}
?></li>
So technically I need to put this in a foreach and it wil be like:
<li><a <?php if (is_front() || is_forum() || is_tag() || is_topic())
echo " id="current"; ?>href="index.php">Forums</a> </li>
<li> <a href="search.php"> Search</a></li>
(the is_front() etc will not be shown ofcourse, but it’s to make it clear)
But how to make such a foreach?
Yes, it’s been uploaded to the repository. However, when I went and browsed the source code all of the formating is gone and it’s all on one line. I will update it now.
Graphic Display Ranks has been updated. Here are the changes:
- Added the ability to display a “special” graphic for Key Master and Moderator
- Added the text “#Posts: {n}” to the alt and title of the image that is displayed.
- Cleaned up some of the code.
Read all about it here.