Fortunately I’ll not be able to hear people laughing at me but I just bought hosting from Siteground (great service by the way) and they uploaded bbpress for me. I believe I found how/where to upload in the “my plugin” file. It asks where to download from… well….when I try to save the plugin download onto my computer it defaults to save it with notepad (offers internet explorer too). When I save it with notepad and then view the file it looks like wingdings on bad drugs. I know this is a silly question for most here…but how do I save a plugin download with Vista? (go ahead and laugh my speakers are off) LOL …I must to learn more basics before I can do this it appears. oh yeah….my site is pennyforums.com Thanks!
It looks like the default for that function is a list, but table would also be accepted. But the other choice, table, would just return (i.e., I don’t think they ever finished that, but were maybe planning on having other options.)
function bb_list_tags( $args = null )
{
$defaults = array(
'tags' => false,
'format' => 'list',
'topic' => 0,
'list_id' => 'tags-list'
);
$args = wp_parse_args( $args, $defaults );
extract( $args, EXTR_SKIP );
if ( !$topic = get_topic( get_topic_id( $topic ) ) ) {
return false;
}
if ( !is_array( $tags ) ) {
$tags = bb_get_topic_tags( $topic->topic_id );
}
if ( !$tags ) {
return false;
}
$list_id = esc_attr( $list_id );
$r = '';
switch ( strtolower( $format ) ) {
case 'table' :
break;
case 'list' :
default :
$args['format'] = 'list';
$r .= '<ul id="' . $list_id . '" class="tags-list list:tag">' . "n";
foreach ( $tags as $tag ) {
$r .= _bb_list_tag_item( $tag, $args );
}
$r .= '</ul>';
break;
}
echo $r;
}
I hope someone else can come along and show how to do this with a plugin.
It’s styled perfectly here with the default kakumei theme:
http://chrishajer.com/bbpress/iappleit.png
And that stylesheet is right where you say it is:
http://iapple.it/forums/bb-templates/kakumei/style.css
[~/]$ curl -I http://iapple.it/forums/bb-templates/kakumei/style.css
HTTP/1.1 200 OK
Date: Thu, 26 Nov 2009 18:40:14 GMT
When I try to go to http://iapple.it/forums , they aren’t styled even though I’m using one of the default themes. It says “Failed to load source for: http://iapple.it/forums/bb-templates/kakumei/style.css”, and I don’t know why.
1. I see you’re using 1.0.1. I would recommend upgrading to the latest to see if that happens to fix it.
2. I added a tag to a topic, and I do not have the [X] to remove my own tag. Why can’t I delete my own tag?
There is also some additional functionality where it shows ‘tree’ by ‘chrishajer’ – that’s not there by default, so how is that being added?
This error does not occur by default in bbPress, so there is something specific about your installation. If it’s not the template, maybe it’s a plugin or something else you added.
I have a 1.0.2 installation and the forum_description call looks like this by default:
<?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?>
Did you try modifying that array to send before and after nothing?
<?php forum_description( array( 'before' => '', 'after' => '' ) ); ?>
Worked for me, on the front page. Or are you looking to modify something else? This modified the forums listed in #forumlist at the bottom of the front page.
To chime in, I’m having the same problem.
However, it looks like the plug-in just doesn’t know where to find install.php by default. For example, my install.php is in http://…/wp-content/bbpress/bb-admin/install.php but the 404 error comes when the plug-in looks for it in http://…/wp-content/bbpress/install.php
I’ve found that manually rewriting the URL to the true install.php will side-step the step 1 404 error.
I have a strange problem. When I’m on the forum front page or a forum page, the timezone is set to “America/Los_Angeles “, but when I go onto one of the topic pages, it is “Etc/GMT+7”.
I am checking by using the PHP function “date_default_timezone_get()” in the header right after the <body> tag.
These two are different by an hour because of daylight saving, which is causing an issue with the simple-onlinelist plugin.
Where in the initialization of bbPress is the timezone set? Any ideas why it would be set differently depending on the bbPress page that is loaded?
If it matters, I have deep integration with WordPress MU 2.8.4a, which also has the timezone at “America/Los_Angeles”.
Thanks.
Ah cool, that might help some people.
I use Notepad++ by the way and have it set to save in UTF8 by default. It’s easy enough to change though.
Once you know the problem that is.
Same here, I did copy “kakumei” in my-templates, renamed the folder and started editing, but style.css is not found, neither are all pictures and the screenshot.png is not shown in admin->appearance. I can activate the template but all pics/style stuff is missing.
Any idea?
Forum funcionality and default theme are all working fine.
you could be right; its a default bbpress core- — but I’ll look at the plugins..
I just made a test post on your forum and it looks pretty messed up to me.
What plugins are you using and does this happen with the default theme as well? You installation is not working like a default installation, so it’s something that was changed.
Actually, because this file is accessible:
http://speakasp.net/asp-forum/bb-templates/kakumei/screenshot.png
and your forum comes up if you access it like this:
http://speakasp.net/asp-forum/index.php
it seems that the files are installed in the proper locations. Maybe the server is not configured to serve index.php as one of the default files? I think the default on IIS is to look for default.asp first, but there has to be a way to serve index.php by default. That’s what you need for bbPress (and WordPress too, which seems to be working already.)
What if an incompatible plugin is creating problems for you? The problems you’re having are not normal. I noticed that the mass delete users plugin is good up to 0.9 only, but you posted there that it works with 1.0.2.
https://bbpress.org/plugins/topic/mass-delete-users/
How about preventing the spambot registrations with the Human Test plugin instead, and not trying to mass moderate users? Maybe it’s deleting some references to the users, but not all? Or there are stranded posts or something, and that throws off the numbering or something?
hpguru, what plugins are you using?
Marius-, what other plugins are you using?
It doesn’t happen by default in an installation with very few plugins running, so it might be a problem with a plugin, or could be a problem with the server. Software sometimes acts weird when a partition or MySQL runs out of space or memory.
Hi, there! I had this error, too, and I think I might know what it is. You mentioned that all users already have nicenames. What link structure are you using? Try switching permalinks to “None” (the default) and seeing if the profiles work. If they do, then that means that you need to manually edit your users’ nicenames in the WordPress database. The nicenames must match the display usernames of the users.
An alternative solution is to use 301 redirects in your .htaccess to redirect profile links. The profiles of those users whose profiles are broken actually do exist. Try replacing the part of the URL that contains their username with their user_nicename. You may find that they exist, so you can do redirection if you’re afraid of messing with the mySQL. This is definitely the inferior solution, though. Editing the nicenames in the mySQL shouldn’t cause problems.
Not by default. There is probably a way to do it with a plugin. Since the slug is based on the title, why not make the title limit shorter? If I used onereallylongwordtogetaroundthelimit would you want that prevented as well? Max number of characters or words in a title or slug?
What browser ashfame?
Just looked though, and it’s different today than it was yesterday. It looks like the default installation and default theme today, when yesterday there were more forums, and it was using kakumei blue.
It’s definitely back to normal today.
There’s no equivalent that I know of for bbPress. It would be the equivalent of a WordPress blog post page, where you want 9 posts (for example) listed as a default, but if there is a long post, some sort of limit kicks in. I don’t know of a way to do this in WordPress at all, other than limiting the number of posts on a blog page, or with a custom query. The nextpage tag only works on a single long post. It’s possible you could change the number of replies listed in bbPress when it encounters a long post with a tag like that, but I haven’t seen anyone do that yet.
Subscribe To Topic will send updates on a particular thread/topic to subscribed users… but this should do what you’re looking for:
https://bbpress.org/plugins/topic/moderator-new-post-notification/
Or here’s another possibility:
https://bbpress.org/plugins/topic/xili-new-post-notification/
Good luck!
I’m using WordPress as my CMS and decided to go with Simple Press Forum to set up a forum. However, I’ve run into a roadblock and want to find out if BBPress can meet my needs before starting over.
I have a forum with specific users who need to be notified by email whenever a new topic is started or a reply is made to an existing topic. I’ve run across a plugin called Subscribe to Topic but want to confirm this will do what I’m looking for before starting all over with new forum software.
Bottom line- I want the small set of users to automatically be subscribed to all new topics and alerted of any updates. I do not want the users to have to subscribe to each topic.
Hi Matt,
I launched the SitePoint community theme project for bbPress (work is still underway):
http://www.sitepoint.com/blogs/2009/08/05/we-want-you-join-the-sitepoint-communitys-bbpress-theme-project/
My own background is in HTML/CSS coding mixed with a little WordPress.
Assuming the SitePoint project goes to plan I’ll likely be implementing it into a new version of my bbPress template generator which is currently in the works (albeit development is taking longer than I’d like) … http://pixopoint.com/products/bbpress-forum-theme-generator/
I see the key to bring bbPress to the masses is to add a lot of the standard functionality which most forums have by default directly into the theme. This keeps the core nice and light whilst offering maximum functionality to those who require it. I’d also like to make it easy as possible to have your WordPress and bbPress themes seamless integrate their designs by offering identically behaving WordPress and bbPress template generators.
One could run a filter function on bb_template
to check for templates in both the parent and child themes.
Or, the user could set it in bb-config.php
:
define( BB_DEFAULT_THEME_DIR, 'path/to/default/theme/directory' );
I don’t really like either of those two options. Your average user gets confused enough as it is. Trying to tell them to input PHP code can cause headaches sometimes.
As far as I know, there’s no way to filter the default theme directory either. I’m open to ideas though. If anyone could offer a solution with a few lines of code, I’ll be happy to give it a whirl.
Ideally, the constant BB_DEFAULT_THEME_DIR
would be based off the theme’s Template
line in style.css
. Or, bb_get_default_template()
would recognize the Template
line.
10 seconds is a long time for one query. Have you logged slow queries in your installation to see what’s taking so much time? bbPress doesn’t do that by default. Maybe it’s a plugin or something else on that site?
This is meant as a solution to a common issue when including template files within plugin files.
Some plugins use their own files for outputting information to the browser. Usually, the instructions will tell you to modify the file to include files within the template you are using. I have found that most people will simply include, or require the file needed using a relative path, such as “../../bb-templates/kakumei/top-div.php”. Usually this is fine, unless the plugin file is called in such a way that the relative path doesn’t work. The best way around this is to use the function bb_get_template, which will get the file as an absolute path, using the current template, if applicable, or the default template if necessary. An example of this would be:
include(bb_get_template(“top-div.php”));
Hope this helps.
After researching this error for a while, I finally found a solution and wanted to share to hopefully help someone else out, so they don’t go through the same headache.
Searching for this issue within bbPress lead nowhere, so I abandoned that approach and looked at it from strictly a MySQL perspective. Finally I found that there wasn’t enough time being given to queries. Once the timeout was reached, an error would be thrown, and the query would be abandoned. For one of my client sites I found that, even though we had a dedicated server, the host used a default .cnf file for db settings, and had set the wait_timeout = 10, meaning if a query didn’t respond in 10 seconds (even if the server was under load at the time), the query would fail. This issue was resolved with the following settings:
interactive timeout = 25
wait timeout = 45
Note: The settings may need to be different for your site, and your host may not let you change these settings. I just wanted to mention this in case it can help you.