Looking forward to your update.
Hehe … which bbpress version are you using? Stable release or trac version?
If you’re using the stable version (0.73), line 48 should look like this:
add_action('init', 'online_update');
Just a thought …
The thing with the time, 5 minutes and 1 hour is something different
The 5 minutes are the timeout for inactivity … so if you inactive for more then 5 minutes, you’re not longer displayed as online.
The one hour thing was to let the plugin work on my board, I think there seems to be a little problem with the timezones. Just try removing it … the -3600
and see if it works then.
cheers.
Thank you for the best piece of forums software. It’s so lightweight and customizable! I’ve posted to the mailing-list several times and I’ve always gotten the best support! You guys are really great.
I just upgraded to 0.73 today on both of my installs and I really like what you’ve done since 1.0-a (not sure how that versioning works). I’m quite impressed with the new features. Unfortunately it doesn’t look like my template works with the new version but that’s okay. I am going to have fun making a new/better one!
I am using several of the plug-ins that people have made and I am very very impressed. I use Private Messages, Avatars, Notifications, and Memberlist. The only other one I would like to see would be forums based on user levels (admin forums for admins), although I heard this should be in the works.
One thing I noticed was there are no keymasters on my forum. I am not sure how that happened. I am the Administrator and thats it. I am not sure if it matters that there is no keymaster. It doesn’t seem to make a difference to me so far, I can do all the tasks that need to be done (delete, stick, edit topics/posts).
Other then that keep up the good work…looks like I’m going to have to update to 0.74 soon
Thanks for the reply. I thought the spam filtering out was most likely yahoo’s fault. I honestly don’t think any of my problems are related to bbpress, and maybe more likely my cheapo hosting! 
I have another installation of bbpress on another domain and it seems to work ok.
I’m thinking of looking into linking up with wordpress as well because I have used it before and really like it. Any my forum seems to be functioning which is the main thing and I’m happy I found bbpress for it!
Ok first post and I’m going to start by saying having only been using bbpress for 2 days I think its great, and just what I was looking for in appearance for a forum ie clutterfree and simple.
I am no expert on this but I’ll try and explain a problem I am having with registration emails. It may not be anything to do with bbpress but I’m hoping someone here may have the experience to help.
PROBLEM: User register seems to be fine and the mysql database is filled with their details. They get the email. All ok. However, if I try to create a different user with the same email (I’m doing this for testing) I never seem to get a registration email. Does bbpress do a check to see if a email address is already being used? I don’t seem to get this problem if a create users with an email address at the domain the forum is hosted. Also if I have an account and use the forgotten password recovery I find I get the email to generate a new password but don’t see the email with the new password.
On top of this yahoo seems to be picking up the registration email as spam, I don’t know if this is normal.
I hope this isn’t too long winded. If anyone has any thoughts I’d love to hear them. I know people are registering with my forum and using it so it does work! But they all have individual passwords. Thanks!
hum… just noticed something: My username isn’t showing up in the Users Online list… maybe it has something to do with that
an earthquake that has “broken” some cables. so Australia, East and South-East Asia are having a hard time connecting. depending where the website’s server is, loading time takes ages. this site itself is taking me a whole half minute to load a page. (we’re drifting off topic here)
/home/aless/public_html/forum/ –> bbpress
/home/aless/public_html/blogs/ –> WPMU
/home/aless/public_html/projects/ –> WPMU
/home/aless/public_html/ –> TXP
Okay, so missing files was the program, go figure. Now I have a totally different problem. Now, everytime I click on something in BBPress (i.e. go to create a new topic) it brings up a TXP error page. I can get to the screen where I can write my title and the body of the message but when I go to add it, it brings up the TXP error page. I’m not entirely sure what to do. Thanks.
Sorry, I just meant, where are the forum, WPMU and TXP all installed?
Is it like?
/home/aless/public_html/forum/
for bbPress
/home/aless/public_html/txp/
for TXP
/home/aless/public_html/wpmu/
for WPMU
Can you verify that all the files made it up when you uploaded them? Like, when you FTP in, can you get a listing in the forum folder that looks like:
bb-admin
bb-cache
bb-edit.php
bb-images
bb-includes
bb-load.php
bb-login.php
bb-post.php
bb-reset-password.php
bb-settings.php
bb-templates
config.php
edit.php
favorites.php
forum.php
index.php
my-plugins
my-templates
profile-base.php
profile-edit.php
profile.php
register.php
rss.php
search.php
sitemap.bb.xml
statistics.php
tag-add.php
tag-remove.php
tags.php
topic-resolve.php
topic.php
view.php
Maybe something is missing there? (you might not have my-templates or my-plugins – those were created later)
Does the bb-includes directory have permissions of 0755 or
drwxr-xr-x
?
Yeah, I needed about 80 megs of memory for this particular script, luckily my host upped it while I ran it.
jaim3, perhaps note that somewhere in a readme, for the not-so-smart users like myself.
Sounds like your path is wrong in config.php maybe. Can you describe your directory structure, and then what does this line in your config.php say?
$bb->path = '/forum/';
It should have the preceeding and following slash there.
On the localhost, I have the blog at => http://localhost/
the forums at => http://localhost/forum/
I’m trying to implement the blog’s theme around the forums, but, some how when clicking in the Username or Password fields on the forum, it redirects me to the http://localhost/
I can’t even type a letter in there, just trying to put the cursor into it redirects me to the blog.. With Javascript disabled, it’s fine.. Is there any way to have the forum’s login classes, different from the WP one’s?
I’d like to add the forum css styles to my main theme style sheet, but.. not really sure what’s the best way at changing login classes sigh. I know some CSS stuff yes, just when it comes to classing forms, and stuff.. I’m not too great..
(I did for the most part, get the header, footer, sidebar from the blog’s main theme, around the forums..
It’s just some of the stuff is borking the login for the forums. The classes for the WP login stuff, is apparently doing it to the forums sigh.
The input fields are not “inline”.. they are on top of one another.. and the login button on the blog, is pushed to the far right.. rather then directly under the login field form.. )
Any suggestions, thoughts, fixes.. anything lol?
spencerp
I understand. I look forward to the codex.
That will be it. I will have to see what code you add to bb_head and manually put the php function I thinks!
Trent
Yeah, I’m not sure why, but while I was talking with GaMerZ on Live Messenger, he said my blog spit out an error:
failed to open stream: No such file or directory in /home/blah/username/public_html/wp-content/plugins/
bbpress-integration.php on line 28
I had opened that file, and that was the line ..
Not really sure what, or why it was doing that, but.. after I fixed that line.. GaMerZ said there wasn’t anymore errors displaying..
spencerp
/I never seen that error on my site, but some how he did lol..
We have a bbPress docs (codex) in the works and that will be something that we can expect early this year. Right now, it is just getting all these projects rolled out. bbPress has only ‘officially’ been released for a couple of months now!
Trent
So10, did you see my post (2 up from your last one)? 
Trent
get_top_tags($recent, $limit)
will return an array of tag objects… each object contains the tag ID, tag (tag all lower case), raw tag (tag how it was typed), and tag count (how many times the tag is used). To get the link to a specific tag, you use get_tag_link()
. You’d want to use the get_top_tags function like this: get_top_tags(false, X)
where X is the number of tags you want displayed.
You can also pull the tags straight from the database. Here’s the code used in functions.php:
$tags = $bbdb->get_results("SELECT * FROM $bbdb->tags ORDER BY tag_count DESC LIMIT $limit")
I’d take out the limit part if you want all the tags. Then, if you want a drop down menu, you can just do this (this is from my head and untested, so it might not work if copy and pasted):
if(!empty($tags) ) :
echo '<select name="userid" id="userid">';
foreach( $tags as $tag) :
echo "<option value='$tag->raw_tag'>$tag->tag</option>";
endforeach;
echo '</select>';
else:
echo "No tags exist";
endif;
Then you just gotta figure out how to either redirect to the desired page using POST data or something like that. Not exactly sure how I’d go about it.
An earthquake in Taiwan knocked out my box in Atlanta? 
Run a tracert on the server and paste it to me ( tracert www.rayd.org
). A lot of China is blocked off at the firewall due to spammers, so if you give me that info I should be able to make it available to you.
I just found a small issue with this plugin: when no title for the message is given it still sends the message but the link to read it is invisibe (since it’s just <a></a>
with nothing in between.
@ardent: i can’t access your forums, i’m cut off from certain servers due to the Taiwan 7.1 Quake.
i’d love to try your plugins but i can’t, maybe in 3 weeks…
I just took a look at both codes and noticed that in the onlinelist plugin you’re using – 300 and on this one – 3600, notice the diference?
Why not run an absolute path?
require_once(/var/www/html/mysite_function.php);
Does that work?
If it is root bbPress folder, you could use what is in config.php
require_once( BBPATH . 'mysite_function.php' );
Should be pretty easy……?
Trent
On my site, I have a file of general purpose functions in the site root called “mysite_functions.php.” I have WordPress installed in /wordpress, and bbPress installed in /wordpress/bbpress. I have altered wp_setcookie() and wp_clearcookie() in a WordPress plugin. In those two functions, I use require_once('../mysite_functions.php');
, and then the function call. It works fine.
The problem comes in the bbPress plugins. I have a plugin overriding bb_login() and bb_logout(). In each of those functions I use the exact same code to call mysite_functions.php, but I get “failed to open stream: No such file or directory in [file path] [line number]”
In either case, the functions are unchanged with the exception of appending:
require_once("../mysite_functions.php");
call_my_function();