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();
Alrighty, just to be a dumbarse, I’d love to use this plugin but I’ve NO idea how to do the “Upgrade the installation of bbPress to the latest version from the code repository” bit.
I’ve recently migrated from phpBB over to BBpress, with all my posts and topics thankfully intact… but I’ve some forums I need to hide.
Is there no way to hide forums based on the user level at all?
… the problem here is you can delete a forum but not the post entries in the database that are in said forum…
Cool! But how come some users’ email addresses show as just “1”?
</tr> <tr id='user-3'>
<td>3</td>
<td><a href='http://sostomates.fr/bar/profile/3'>Kronenbourg</a></td>
<td><a href='mailto:1'>1</a></td>
<td>2006-12-21 10:54:46</td>
<td><a href='http://sostomates.fr/bar/profile/3/edit'>Edit</a></td>
</tr> <tr id='user-25'>
<td>25</td>
<td><a href='http://sostomates.fr/bar/profile/25'>Oliv</a></td>
<td><a href='mailto:1'>1</a></td>
<td>2007-01-01 18:32:56</td>
<td><a href='http://sostomates.fr/bar/profile/25/edit'>Edit</a></td>
I’m not sure, but it looks like a bad .mo file. The Plural-Forms line of the .po file should end with a semicolon (
.
If you are inactive for more than 5 minutes, you’re marked as offline. So if you go to the forum again later your last_visit is the time when you were there the time before.
(ehm .. sry… it’s hard for me to describe in english)
d3x7r0:
Strange … for me it works at the moment. Maybe some time problems … try removing the -3600
from line 53.
Just remember, this is beta! (maybe… alpha
)
yeah, so, this is what’s in functions.php (core file)
function bb_get_option( $option ) {
global $bb;
switch ( $option ) :
case 'uri' :
return $bb->domain . $bb->path;
break;
...
So, all it does it return those exact two things you posted concatenated together. It makes no sense for the developed link to have a /forums/ in it.