Hi!
I’m using pretty permalinks on my WordPress site and has been working hard with the SEO on the site.
One thing I can’t seem to solve, although I have been googling and searched this forum for days now, is how to get rid of the /topic/ and /forum/ parts of the permalinks when using bbPress.
Is it even possible?
The ideal setup for me, that would also reflect how the rest of my site is set up, would be something like this:
mysite.com/forums/name-of-the-forum-topic/name-of-the-thread
Is this possible to accomplish?
Thanks a lot for a great plugin!
// Jens.
Hello!
I just started building my own Forum and so far it’s working great, except for some minor problems.
One of them is that the frontend editor, with the buttons for making text bold, italic etc doesn’t show up when replying to something. It works great when creating a new topic, but not when answering.
Anyone else experiencing the same thing?
Thanks!
// Jens.
I went to clan.wolflan.com and your source code looks like some paragraphs were added by your editor as I see some <p> and </p> in weird places. What software did you use to edit loop-single-forum.php or your functions.php ?
I was not able to check because some of your forums are private, but what’s the html source code for the list of subforums ? (I mean in the browser) Is there a <br /> between the list of subforums ? Because, when I watch your screenshot, subforums are not separated by a comma, so I guess the function did his job, but your code may be broken because you used WordPress editor or an other editor that deleted the <br />.
Anyway, in your case, the simplest solution may be using some CSS. And as you said, simple stuff first ! You wouldn’t need to change any php template. You may try something like that in your style.css or Custom CSS if you use Jetpack :
#bbpress-forums .bbp-forums-list li {
display: block;
}
If it works, I don’t know what was the problem with the bbp_list_forums() function, but you will not need to use it and you can delete the custom loop-single-forum.php that you copied to your theme’s directory if you had not made other edits.
Hi there
The theme itself doesn’t supply any bbpress templates, so I copied loop-single-forum.php from the bbpress default theme and created a theme/bbpress folder and dropped it in there.
http://pastebin.com/dARzjbvb
There is no loop-forums.php file in there at the moment.
Many thanks
I am pleased to report I managed to successfully upgrade to bbPress from legacy forums
The proper code to put in the Forums page is:
[bbp-topic-index]
@Allen in the last shoice, the prefix for SMF is “smf_” try it with that and see if the error persists.
And about the user, if you created one and added the privileges it should work.
Hi, I have tried to use bbpress as my forum page. It has 49 forums and include pics. What I want is that the forum page looks like a gallery. It shows list style only. I would like to make it like a gallery or table style.
Second question. bbpress shows the pics with title, but it is above the picture. How can I put it down under the picture?
Please let me know if there are solutions. Thanks!!!
Normally, the main forum list is built using loop-single-forum.php but your theme may work in a different way. Can you put on pastebin.com your bbpress/loop-single-forum.php and bbpress/loop-forums.php from your theme or child-theme ?
Yes, except that I work at Automattic (we run WP.com), so we can run whatever we want on WordPress.com. Getting bbPress working there would be a very different project from what we’re doing with o2.
Thank you very much for chiming in Beau. Your points make sense, except the first one has me a bit confused. o2 is going to be a plugin, like bbPress. So isn’t “WordPress.com runs WordPress, not o2” just as true?
the code will be open source, so you’re welcome to take pieces and apply it to bbPress as well.
I sincerely hope that will be feasible. Excitedly looking forward to seeing o2 in action!
I suppose there are a few reasons for this, but the most immediate are:
- Our primary goal is replacing our own internal communications platform (P2). That runs on WordPress.com, which runs WordPress, not bbPress (this is probably the biggest one).
- We (the team working on it) are more natively WordPress developers than bbPress specifically.
- Quite simply, we didn’t really think about it until we were already well along the way building it for WordPress.
There are no plans to do anything related to bbPress, but the code will be open source, so you’re welcome to take pieces and apply it to bbPress as well.
I am trying to run this script. I added the the SMF.php file. I am running SMF 2.0.4 on the one I am trying to import. The SMF 2.0.4 was done with simple scripts a while back don’t know if that would have anything to do with it. Maybe it is the settings I am using I am not sure about the last choice (If converting from BuddyPress Forums, use “wp_bb_” or your custom prefix)
Also with it being a simple script install I do not know the user password, so I created another user will all privg and added it to the database and used that one.
I select
rows limit 100
delay time 1
convert users (check)
I hit start then after a little bit I get a yellow box with an error but with a link to continue. I hit continue and it takes me to the repair page I do that step and I have nothing showing that would indicate that it worked. No post topics or anything.
http://ajswebcreations.com/forums/
Thanks devs for doing a great job.
@Jinobi: I agree with getting a full editor, or an alternative rich editor. 🙂
I’m running 2.4 and WP 3.6.1.
It seems that bbPress converts backticks to code tags …
Can anyone please explain to me how I can post code that has backticks in it?
I mean: the backticks are part of the actual code I’m trying to post in my forum? So they should NOT be converted.
My goal is to make multiple forums (around 10 when its all said and done). Each forum will be for different subjects but all related with each on a different page.
Per example… one forum will be on a specific fruit. So apple, oranges, etc. but would all fall under the umbrella Fruit (not my actual plans, but this was easier to explain).
Is this possible?
I’m currently running one bbpress install on the twenty-13 theme. I know there is a shortcode to show specific topics on a page, but I want each forum to show on just one page.
Note: ive been on wordpress.com for a little while and started over on the .org. So I’m completely knew to screwing around with php files. Not asking you to hold my hand through it all, but clear directions would be great. Sorry if this question is a repost and/or very basic and im just over thinking it.
Thanks in advance,
I came by this talk about o2 recently, (the successor of the P2 theme, but now made as a plugin):
Flick through the slides for a quick summary.
So as I was listening to the feature set of this plugin, every single one of them turned out to be on my bbPress wishlist:
Native infinite scroll, improved front-end editor, drag & drop image uploads, JSON API, post by e-mail, cross-site search. It seemed to me like the goals of o2 and bbPress are very much aligned.
I guess I’m just wondering if the bbPress developers have been in touch with Beau Lebens & co at all? And could you perhaps shed some light on why o2 isn’t just being made as an extension of bbPress?
I’m using this, and it works fine:
if ( !function_exists( 'ja_filter_bbpress_allowed_tags' ) ) {
function ja_filter_bbpress_allowed_tags() {
return array(
// Links
'a' => array(
'href' => array(),
'title' => array(),
'rel' => array()
),
// Quotes
'blockquote' => array(
'cite' => array()
),
// Code
'code' => array(),
'pre' => array(),
// Formatting
'em' => array(),
'strong' => array(),
'del' => array(
'datetime' => true,
),
'span' => array(
'lang' => array(),
'style' => array()
),
'p' => array(
'dir' => array(),
'style' => array()
),
'div' => array(
'class' => array()
),
// Lists
'ul' => array(),
'ol' => array(
'start' => true,
),
'li' => array(),
// Images
'img' => array(
'src' => true,
'border' => true,
'alt' => true,
'height' => true,
'width' => true,
)
);
}
}
add_filter( 'bbp_kses_allowed_tags', 'ja_filter_bbpress_allowed_tags' );
I figured out the “problem”. I’m not sure if it’s designed this way or if it’s a bug.
I had to network activate bbpress. If I don’t network activate it, individual sub blogs cannot activate it themselves, it won’t work. Network activated works perfectly fine.
This works exactly like this on a brand new fresh install of multisite too, so it’s not a 3rd party plug causing the problem.
My host have disabled set time limit.
So I’d a lot of error ”
Warning: set_time_limit() has been disabled for security reasons in /home/www/fad9968d01a605ebf45b28d7b5238ea3/web/dev/wp-content/plugins/bbpress/includes/admin/converter.php on line 306″.
I’ve try to comment this line ( with // before the ligne 306 ) and I’ve try to import forum again.
I’ve now the error ”
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘topics_table.the_topic_id = replies_table.the_topic_id WHERE topics_table.first_’ at line 1]
SELECT convert(replies_table.the_reply_id USING “utf8”) AS the_reply_id,convert(replies_table.the_reply_parent_forum_id USING “utf8”) AS the_reply_parent_forum_id,convert(replies_table.the_reply_parent_topic_id USING “utf8”) AS the_reply_parent_topic_id,convert(replies_table.the_reply_author_ip_address USING “utf8”) AS the_reply_author_ip_address,convert(replies_table.the_reply_author_id USING “utf8”) AS the_reply_author_id,convert(replies_table.the_reply_title USING “utf8”) AS the_reply_title,convert(replies_table.the_reply_slug USING “utf8”) AS the_reply_slug,convert(replies_table.the_reply_content USING “utf8”) AS the_reply_content,convert(replies_table.the_reply_order USING “utf8”) AS the_reply_order,convert(replies_table.the_reply_creation_date USING “utf8”) AS the_reply_creation_date,convert(replies_table.the_reply_modified_date USING “utf8”) AS the_reply_modified_date,convert(topics_table.the_topic_id USING “utf8″) AS the_topic_id FROM phpbb_replies_table AS replies_table INNER JOIN phpbb_topics_table AS topics_table USING topics_table.the_topic_id = replies_table.the_topic_id WHERE topics_table.first_post != 0 LIMIT 0, 100”
How to repair this ?
Hello,
I encountered major problems after running the “Repair Forums” tools on my site newdirt.org/forums. It seems like all forums, topics and replies have lost their “parent relationship” and my forum looks empty. This is not a new forum installation, I have hundreds of posts. It looks the same from the admin panel, I can see forum names but they have 0 posts in them. I can see topic titles but they look empty. Replies have “No Topic” and “No Forum” assigned to them, but the content is there. The funny thing is that if you go directly to each topic link, you can see each topic with their replies (for example as accessing “Latest Forum Topics” from the sidebar: Topic From Sidebar.
Things that I did previous to this problem: upgraded wordpress to 3.6.1 and then ran Tools -> Forums -> Repair Forums.
PLEASE HELP!
Wordpress Version: 3.6.1
bbPress Version: 2.4
Don’t worry, it happened to me once, that’s how I discovered the existence of this menu ^^
For the function, have you tried what I said a few posts before :
Otherwise, you can edit (or create from /wp-content/plugins/bbpress/templates/default/bbpress/) your theme’s /bbpress/loop-single-forum.php and edit the bbp_list_forums() line 30 to bbp_list_forums(array (‘separator’ => ‘<br />’)). That should do the trick.
That may work as it doesn’t require the use of bbp_parse_args() which seems to be the problem in your case.
When I run the script with the convert users option checked it throws the following error:
WordPress database error: [Unknown column 'users.userid' in 'field list']
SELECT convert(users.userid USING "utf8") AS userid,convert(users.password USING "utf8") AS password,convert(users.username USING "utf8") AS username,convert(users.email USING "utf8") AS email,convert(users.registerDate USING "utf8") AS registerDate FROM tvc4d_users AS users LIMIT 0, 100
It appears to work if I don’t try to convert the users. I’ll dig into this later this evening but wanted to see if it’s something obvious?
See…now I feel like a complete moron. No, I had not checked the “Screen Options” option…although, in my defense, I have never adjusted that on the working site either…
So that’s the menu issue sorted now…/facepalm. I always say to check the simple stuff first, I should probably listen to myself from time to time.
What is confusing me about the functions.php mod..is that, to test, I have actually taken a copy of the working theme from the working site..and it still fails. It actually fails on every theme I give it. It literally happened when I upgraded to 2.4. I had the main site open in another tab, updated the bbpress plugin, switched to the other tab and hit refresh…where it immediately went to what it is now.
I thought it might be plugin related, so I deactivated any differences between the sites, and still nothing.
Is there another way to get this change, other than in the themes functions.php?
I’m running latest releases of WordPress and bbPress, and I don’t have any problems neither with the custom function (placed in my theme’s functions.php) nor with the menus.
Edit after your edit : I also have buddyPress installed
What theme are you using ? The bbp_list_forums may be used in a different way in the theme where it doesn’t work.
For the menus, I don’t know what could cause this issue, have you tried with an other theme ?
If you want to rebuild your site, take a look at the Tools > Export and Tools > Import in your dahsboard, you’ll be able to transfer your forums, topics and posts.
For users, it looks like the plugin AEIOU can do that. Otherwise, transferring the mysql tables (wp_users, wp_usermeta and if you use buddyPress wp_bp_xprofile_*) should work too.
I guess you have to import users before forums, posts, and topics if you want to keep the author relation.