I’m new at bbpress so please bare with me.
I’ve searched and read the plugin instructions and I can’t figure out how to get the plugins workin.
I created the my-plugins directory and added the plugins inside and yet nothing. Is there supposed to be a plugins management area in the admin? How are they activated? I’m confused.
I’m trying to add the following plugins (instructions included):
allow images = Add the allow-images.php file to bbPress’ my-plugins/ directory.
post notifications = Add notification.php to your /my-plugins/ directory.
bb-ratings = Add bb-ratings.php, bb-ratings.css, bb-ratings.js, and star.gif to your /my-plugins/ directory.
None of them seem to be available
I can understand the concerns about JavaScript being written into the core. The point that cool2sv and others are making is that all the javascript that is written inline into the core code could be removed and the same functionality could be provided by adding events to DOM objects in external scripts. By doing this we could abstract away the absolute need for any particular JavaScript library, even though we would almost certainly include one in the core. If this was done then people could emulate the JavaScript functionality included in the core using other JavaScript libraries that better suit them. It is a cleaner and more flexible approach. That being said, there is quite a lot of work and testing to be done to achieve this for what may generally have limited benefit. Still, I think it should be considered and maybe even ticketed as an enhancement.
Just released the previous theme that i had created for my website for BBpress.
take a look and let me know!
http://www.adityanaik.com/feeling-gray-theme/
cheers!
Thx Trent so patience to help me out.
Actually, yes this is still problem. I didn’t fix it and i just copy the css file from http://kaespace.com/bbpress/my-templates/kakumei_i and put it in the “http://kaespace.com/bbpress/” directory.
When you visit my site, look at the source code and the css link shows
<link rel=”stylesheet” href=”style.css” type=”text/css” />
I looks others fourm’s source code they have address like http://domain.com/my-templates/kakumei/style.css in the href.
So I am wonder, is it my config.php didn’t set it right or some other thing I have to do.
I do put the patch-to-URL.php in my-plugins folder
I was try to fix the fourm this afternoon, so if you can’t access maybe is because I was worrking on it
.
The Fourm address is right
http://kaespace.com/bbpress/
Have you taken a look at this thread? As well, http://kaespace.com/bbpress/ doesn’t show up for me at all. Is that the correct address? As for the link just having “style.css” in the address, it is because it is referenced off the theme folder and not the root directory. I can’t access your site, so what is your theme as well? The default one?
Trent
Thank you for the help. I tried the plug in proposed by Tren
and the solution at https://bbpress.org/forums/topic/988?replies=4#post-6373. Only Charly54’s solution worked (Thank you Charly54), but only partially. The solution works with the default theme (Kakumei). I downloaded Bloody Gray 1.1 by Aditya Naik, removed Tren’s patch-to-URL plugin, Kakumei still works, I can see the preview of “Bloody Gray” in the Admin/presentation page. Once “Bloody Gray” is selected as the theme Firefox 2.0 show nothing and no code. When looking at the same page in IE 7.0 I get `<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”>
<HTML><HEAD>
<META http-equiv=Content-Type content=”text/html; charset=utf-8″></HEAD>
<BODY></BODY></HTML>`
An empty page!. Thank you for you help, I will get another theme and try to understand what is happening, looks like many have struggle with this issue.
@kernow
Although bbpress does not want to become a bloated forum software, it would always evolve to enable capabilities to be added via plugins. As and when requests come in for features, it would be evaluated on the basis of whether it needs to be in a core or as a plugin – and if it needs to be a plugin, hooks will be provided for plugin developers to built *any* feature.
cheers!
It’d be better as a plugin for WordPress, with the obvious option not to activate it, and the opportunity to deactivate it without affecting the function of WordPress.
It’d share all the benefits of WP too.
Sounds like you’re getting bozo’d. Go to your profile, go to edit, and if the contents of the Bozo: field is “1” then you have a problem. Apply this patch: https://bbpress.org/forums/topic/822?replies=11, then go back to your profile > edit, change the bozo field to 0 and submit changes. You should then no longer have a problem.
You have to do it differently. To apply a css file, make a new folder in /bbpress/ called my-templates, open it, make a new folder for your “theme”, and put in your css file called style.css. Now go to the Admin Panel > Presentation and pick your theme.
Note that you can change the HTML output of files as well. If you do not have a file for a particular page (such as forum.php) bbpress will look for the default file (located in /bbpress/bb-templates/kakumei) and use that instead. If you wish to use a modified file, copy the default into your theme’s folder and change it there.
I found out that most people’s bbpress has this code in index.php
<link rel=”stylesheet” href=”http://yourdomain.com/style.css” type=”text/css” />
however my index.php shows
<link rel=”stylesheet” href=”style.css” type=”text/css” />
in the bbpress root there is no css file, so I think that’s why it didn;t work.
Can anyone told me how to fix it?
Right now I just dump my css file in the root so index can reads it.
I have set my config.php
$bb->domain = ‘http://kaespace.com’;
$bb->path = ‘/bbpress/’;
I thought this is right setting.
At my site I have a login form put in the header (generated by wordpress, with wordpress functions) that displays either the form for the user to login or the welcome text with the username etc.
The reason I don’t want to use wordpress own login function is because that forwards the user to their wordpress profile which they shouldn’t be using.
The problem I now encountered using the usernames_i18n_fix.php plugin is that wordpress doesn’t display the usernames properly. For the time being I’ve removed the username from the welcome text. But is there any way to make this work through wordpress without including bbpress every time wp loads?
Is it possible somehow to redirect the user to the page they logged in from instead of sending them back to the forum main page?
To echo the username I use
<?php $user = wp_get_current_user(); echo $user->display_name; ?>
I just installed bbPress for the first time, and I’ve noticed a certain oddity that was incredibly frustrating until I figured out what was going on. The first thing I did after installing was make a bunch of test posts. But after only a couple, the posts stopped showing up. They’d appear in yellow after I posted them, and then, when I went back to the homepage, I couldn’t find them again.
Now, I think I’ve figured out what happened. My guess is that bbPress doesn’t like it when one user posts too many times consecutively. (Registering a new user and posting under that account did work.) But those posts don’t appear in the control panel under the Content tab. The only place I can find them is in the Dashboard, under “Recently Moderated.” And the only way to make them display seems to be to click into the individual post, scroll to the bottom and click “undelete,” even though, confusingly, there’s also a “delete” link higher up on the page.
I suppose I’m OK with this, but I just wanted to come here and confirm: Is this proper behavior? Am I missing something? What’s the post limit? Is there any way to turn it off, even if just for admins? I suspect on this forum there might end up being one or two users making a bunch of consecutive posts, and I’m all right with that. Can I at least get e-mail notification when something is moderated, and can it show up somewhere in the control panel? Plugins, perhaps?
A lot of questions, I know. Sorry, but this was really throwing me off.
Ah, yes, the empty delimiter was due to no table prefix. Fixed with this ticket which made it into version 1.0.
https://trac.bbpress.org/ticket/617
The ‘cannot modify header information’ fix still applies. Two separate issues.
Thanks a lot Sam!
Another problem I have is that the bb Post plugin doesn’t automatically add a slug. I tried addressing this but couldn’t make it work. The function bbpress_bb_new_topic is responsible for adding the topic to bb.
function bbpress_bb_new_topic( $title, $forum, $author, $author_name, $now ) { // making new topic in bbPress
global $wpdb ,$otherdb;
$bb_table_prefix = bbpress_getoption('bb_prefix');
if ( $forum && $title ) {
if (bbpress_getoption('bb_other_base') === "no") {
$wpdb->query("INSERT INTO <code>". $bb_table_prefix ."topics</code> (topic_title, topic_poster, topic_poster_name, topic_last_poster, topic_last_poster_name, topic_start_time, topic_time, forum_id ) VALUES ('$title', $author, '$author_name', $author, '$author_name', '$now', '$now', $forum)");
$topic_id = $wpdb->insert_id;
$wpdb->query("UPDATE <code>". $bb_table_prefix ."forums</code> SET topics = topics + 1 WHERE forum_id = $forum");
$wpdb->query("UPDATE <code>". $bb_table_prefix ."forums</code> SET posts = posts + 1 WHERE forum_id = $forum");
} else {
$otherdb->query("INSERT INTO <code>". $bb_table_prefix ."topics</code> (topic_title, topic_poster, topic_poster_name, topic_last_poster, topic_last_poster_name, topic_start_time, topic_time, forum_id, topic_slug) VALUES ('$title', $author, '$author_name', $author, '$author_name', '$now', '$now', $forum, $feltopic_slug)");
$topic_id = $otherdb->insert_id;
$otherdb->query("UPDATE <code>". $bb_table_prefix ."forums</code> SET topics = topics + 1 WHERE forum_id = $forum");
$otherdb->query("UPDATE <code>". $bb_table_prefix ."forums</code> SET posts = posts + 1 WHERE forum_id = $forum");
}
return $topic_id;
} else {
return false;
}
}
What needs to be done? I need to change the INSERT INTO statement, by adding the column name to the list of columns and the variable I want to insert for that to the list of variables?
I’ve just written a fix, I’ll add a ticket for it.
Edit: ticket added with patch…
https://trac.bbpress.org/ticket/638
fel64: I kind of knew this was going to be an issue, but never addressed it. I figured people would work out what to do (as you have). I guess it’s worth a ticket, if you add the ticket to the bbpress trac, I’ll patch it.
I just setup my new forum.
Everything works fine, but the forum didn’t ready the CSS file.
This is how it loos now.
http://kaespace.com/bbpress/
I try to search the simlar topic in here and put the plugin but still didn’t work.
Can anyone tell me what’s go wrong? thx
Maybe one of these threads will help?
https://bbpress.org/forums/topic/895?replies=11
https://bbpress.org/forums/topic/988?replies=4
https://bbpress.org/forums/topic/816?replies=13
I don’t think I have seen a definitive answer to why this happens or how to fix it, so the best I can do is point you to some threads that sounded similar to me.
IE can figure out what to do with the backslash in the path, but Firefox does not, which is why it works in IE but not FF.
A bozo user should have all its posts “bozoed” ?
I also have this bozo “1” field but I tried from another computer, without logging me, and my posts appears…
everything sounds strange is that bug.
Yup, I was browsing the actual files of the forums and found the statistics page. The category patch is found here in the Trac:
https://trac.bbpress.org/ticket/520
I followed the discussion in “Updated to Desmond But Theme Not Working”, however the proposed solutions are not working for me.
I have a IIS 6.0, windows 2003 server, MySQL 5.x and PHP 5.0 installation. Both directories “my-templates/” and “my-plungins/” are in the bbpress root. The “patch-to-URL.php” plugin is inside the “my-plugins” folder.
When looking at the source code in Firefox 2.0 I get
“<link rel=”stylesheet” href=”http://129.82.32.135forums/my-templates/kakumei/style.css” type=”text/css” />” (notice the “” before forums) and inside the admin section for the forum the themes previews are not visible, tough their names and the options to select are present.
However when using IE 7.0 the source code I get
“<link rel=”stylesheet” href=”http://129.82.32.135/forums/bb-admin/style.css” type=”text/css” />” and the themes previews are visible.
Any ideas how to fix this errors. Thanks.
I’m running the latest bbpress.
Here is the forum radioavivamiento.com/foro/
The problem is I cannot post to the forum. I got this additional warning after trying to post.
Warning: Cannot modify header information – headers already sent by (output started at /home/dirxxx/public_html/foro/bb-includes/functions.php:664) in /home/dirxxx/public_html/foro/bb-includes/pluggable.php on line 166