I’ve tested bbpress with the Genesis 2 themes and the forum index doesn’t work. Some type of strange post page is created that has an image thumbnail on it and text of the index page (last post) but not functional. Change the theme and bbpress works like a charm.
Looks like the last thing needed now for SMF v2.x is converting any custom HTML/BBCodes for topic/reply content.
From my tests the following BBCodes are converting fine:
[url]
[img]
[email]
[b] – bold
[i] – italic
[u] – underline
[s] – strikethrough
[left]– left aligned
[center] – centre aligned
[right] – right align
[font=fontname] – fonts
[color=colorname] – color name
[color=#FFFFFF] – color hex value
[sup] – superscript
[sub] – subscript
[quote] – quote
The following need to be converted by regex strings during import:
[quote author=SMF Admin link=topic=9.msg30#msg30 date=1380330453] – Quoting a post, username, post id & date support needs to be added.
[pre] – pre formatted text
[code] – partially working
[size=x] – font size
[glow=red,2,300]Glow[/glow] – What do we want to translate this to?
[shadow=red,left]shadow[/shadow] – What do we want to translate this to?
[move]marquee[/move] – What do we want to translate this to?
[tt] – teletype? should this be a monospaced font?
[table], [tr] & [td] – tables and closing tags
[list] – unordered list
[list=decimal] – ordered list
[li] – list item
[hr] – horizonal rule
SMF Smilies Working (extra space added so these render in code block)
- 🙂
: )
- 😉
; )
- 😀
: D
- 🙁
: (
- 😮
: o
- 😛
: P
SMF Smilies not working
- ;D
;D
- >:(
>:(
- 8)
8)
- ???
???
- ::)
::)
- :-[
:-[
- -X
:-X
- :-\
:-\
- :-*
:-*
- :’;(
:'(
What should the above be converted to with the smilies included with WordPress?
https://codex.wordpress.org/Using_Smilies
Have I missed any BBCode and/or other ‘stuff’ that isn’t getting converted correctly during the SMF import?
@remcob00 What can I say… AWESOME, thank you, tested and working magnificently 🙂
Glad it helped 🙂
With the dropdown list, even though it is slow you can type the username to get you there quicker without relying on the mouse for 100%, once the dropdown is showing start typing the name, you have to type fast to get more than two or three characters but it is helpful.
The other option you have is to modify the entries directly in phpMyAdmin
UPDATE wp_posts SET post_author = 123 WHERE post_author = 789;
Where 123 is the new user id you want to attribute to the old user id 789
There are a couple of plugins that help with this and ‘Forum Topic notifications’ are coming to bbPress 2.5 https://bbpress.trac.wordpress.org/ticket/2299
Details of this are here https://bbpress.trac.wordpress.org/ticket/2443
Anyone else have some thoughts on this? Add to the discussion on Trac 🙂
is_bbpress() is what your looking for.
Sorry, I meant to title this post something like “Editing bbPress CSS in Genesis/Dynamik Website Builder” but I guess I didn’t finish it off before publishing.
I have installed bbPress forums into my Genesis/Dynamik Website Builder parent/child theme and it works nicely. However I have some confusion on how to alter the CSS of the bbPress forums.
The general site settings have a black background with white font used. The white font is displaying on the bbPress forum pages, but not the black background.
This will be a question for those who are familiar with Genesis/Dynamik Website Builder.
I have put the following code into the Genesis/Dynamik Custom CSS field but it still displays with the default light background colors in bbPress posts.
#bbpress-forums div.odd, #bbpress-forums ul.odd {
background-color: #222222;
}
#bbpress-forums div.even, #bbpress-forums ul.even {
background-color: #444444;
}
Any assistance would be greatly appreciated.
Thanks,
Jason Davis
Thanks, Stephen. This was very helpful. I ran the queries to purge the accounts with no posts, and the membership dropped to about 17,000 — still a lot, but much more manageable.
As for the delete user function, the problem with the current design is that it creates a pick list to attribute the original users’ posts to someone else. For me, that’s a pick list with over 17,000 names. It takes a while to load to say the least!
I’ve been at this for a while. I have a wordpress multisite installation. I want to provide bbpress as an option to all the users of blogs on the network. The problem is, if the plugin is not network activated users of the sub-blog cannot activate it. They get a permissions error. The only way I’ve found to get around this is to network activate it, which I do not want. Many of my users will not need forums and by network activating it they all get the widgets, dashboard notifications, and pages created.
How do I fix this bug? It does this with bbpress 2.3.X and 2.4.
I have added password support to this importer 🙂 .
You can find it at Trac Ticket #2380.
Another bug?? With version 2.4 reply count in topic with no replies says 1 and not 0 how in this forum for example…
All topic with no replies have 1 partecipant and 1 reply and not 0 reply…
It’s only a my problem? Other feedback?
Forgot:
BBpress: 2.4
Wordpress: 3.6.1
Hi all,
What is the function of most polular and no reply topic? How i can add a link in forum like this forum?
Exist a complete list of all bbpress functions?
Thanks…
@pimarts
I used your solution to hide my widgets but it seems it only works when I’m logged.
Do you have more info or another solution to make it work when unlogged?
I will use the css solution for the moment.
Thanks
Found out –
you can simply use Widgets inside your template.
I also installed the tehnik-bbpress-permissions plugin to not show the hidden forums topics and put this into my template:
<?php the_widget( 'Tehnik_BBP_Replies_Widget', $instance, $args ); ?>
This should work with the default BBP Replies Widget, too (just need to find out the name of it)
Will try a bit more customization today with an eye on https://codex.wordpress.org/Function_Reference/the_widget
Another possibility is manually:
<?php do_action( 'bbp_template_before_topics_index' ); ?>
<?php if ( bbp_has_topics( array( 'author' => 0, 'show_stickies' => false, 'order' => 'DESC', 'post_parent' => 'any', 'posts_per_page' => 5 ) ) ) : ?>
<?php bbp_get_template_part( 'bbpress/loop', 'recent-topics' ); ?>
<?php else : ?>
<?php bbp_get_template_part( 'bbpress/feedback', 'no-topics' ); ?>
<?php endif; ?>
<?php do_action( 'bbp_template_after_topics_index' ); ?>
Sage words? Nope 😉
I had a quick look around https://wordpress.org/plugins/search.php?q=bulk+users and nothing really stood out.
The most users I have played around with is ~4,000 and that was too many also for the WordPress admin dashboard. I ended up doing everything I needed directly in phpMyAdmin with SQL queries.
A way to delete users an reattribute their posts/topics/replies to another user (mainly for a handful of folks who already had accounts on the WordPress side before migrating vBulletin over)
With only a handful of these use WordPress’ built in user delete tool, when you select to delete a user you have the option to delete all posts (including topics & replies) or keep them an attribute them to another user.
A way to “nuke” users who have spammed the forums. This would delete the user as well as all of their topics and replies.
First you are going to have to find the spam and record each user id associated and this is painful indeed! I am not to sure on the specifics but there probably is a way to get Akismet to check all of this for you.
A way to purge all users with no forum topics or replies (or posts, for that matter).
I think the quickest way for this would be in phpMyAdmin directly using an SQL query.
The query (Good to verify this stuff before you delete them)
SELECT ID FROM wp_users
WHERE ID NOT IN (SELECT DISTINCT post_author FROM wp_posts);
The delete queries (Any user without a post gets deleted)
DELETE FROM wp_usermeta WHERE user_id NOT IN (SELECT DISTINCT post_author FROM wp_posts);
DELETE FROM wp_users WHERE ID NOT IN (SELECT DISTINCT post_author FROM wp_posts);
Okay, so I am working on a migration from vBulletin to bbPress. Everything moved over fine, but now I have over 60k users. This causes a real problem when I want to delete a user, because the Delete User screen creates a pick list with all 60k names!
Here’s what I’m looking for…
- A way to purge all users with no forum topics or replies (or posts, for that matter).
- A way to “nuke” users who have spammed the forums. This would delete the user as well as all of their topics and replies.
- A way to delete users an reattribute their posts/topics/replies to another user (mainly for a handful of folks who already had accounts on the WordPress side before migrating vBulletin over)
Any sage words of advice?
Anybody got any ideas???
Come on BBPress Gurus, I know you’re out there…
sounds interesting to me.
Hi,
I am building a multilingual (WPML plugin) website with a Bbpress forum inside. The forum is not multilingual and the fact that bbpress uses page.php to generate its pages causes the flag icons to display. They are not needed and they point to nowhere …
So I have to suppress the flags icons in the header when the page.php is displaying a forum.
But how can I test (in php) that I am in the forum ?
Thanks for any clue.
Nicolas
hello
I am so confusing with my forums.
It seems that both lagacy buddypress forums and bbpress forums are crazy!
I can not create new topic because of this error:
“ERROR: You do not have permission to create new topics.”
please help
Are you using any bbPress extensions (add-on plugins)?