Download the latest and specific vBulletin v3 importer from https://bbpress.trac.wordpress.org/ticket/2417
https://bbpress.trac.wordpress.org/raw-attachment/ticket/2417/vBulletin3.php
Upload with FTP to your server into to /wp-content/plugibs/bbpress/includes/admin/converters
Awesome! Thank you… One more question though.
After using your code, if there has been no posts made in a forum, it shows a random time (which seems to be the time I created the forum) and the topic title appears blank. How can I do this:
if the forum has posts, show the latest post title and time (the code you gave me), otherwise show “No topics posted yet”.
Thanks for the reply.
I put the edit time to 30,000 minutes and 300,000 seconds. Then I entered a reply to my test post, clicked send, my reply posted. Then I clicked on the “edit” button. But instead of giving me my reply in edit form, I’m redirected to a “404” error.
None of those look like super likely candidates, but I’d recommend deactivating all of them for a test to confirm.
I’ve installed bbpress, WordPress 3.6.1 and 2.4 for bbpress, and when I goto open the forum i get this error “Fatal error: Class ‘WP_Post’ not found in D:\xampp\htdocs\wordpress-test\wp-content\plugins\bbpress\includes\core\theme-compat.php on line 375”
Anyone encountered this before and know how to fix it? I’ve searched the forums but came up empty.
Thanks!
I am using the latest install of wordpress, buddypress and bbpress as well as gravity forms. I am needing to place a Gravity From inside a private bbpress forum topic as this form is meant to be seen only by members of this private buddypress group. When using the typical “add form” button at the top of the edit topic page which adds the shortcode to embed the form it places the shortcode there but then the shortcode is the only thing that appears when viewing the topic, not the intended form. Is shortcode not the way to do this and if not what is the best way to proceed to allow only members of this private group access to this form?
Hello, I’ve added a plugin into my wordpress (phpScheduleIt)and its interfering with this plugin. It is coming up with a message saying
Fatal error: Call to a member function add_query_var() on a non-object in /home/guildfor/public_html/wp-includes/rewrite.php on line 47
Any idea how I can solve it?
I have the latest virsions of WordPress and bbPress.
Problem solved when upgrading to latest WordPress (2.6.1) and bbPress (2.4). I have WPML too.
Great work , thanks.
I need some assistance please. I have looked all over the web and I have not found any information on how to get breadcrumbs to appear for bbpress installation. All is working fine for me so far. I am using plugin-bbpress.php as my template. There is already <?php bbp_breadcrumb(); ?> in that template but no breadcrumbs are appearing. Using the latest 2.4 bbpress plugin. Help?
Best test is to always test in native themes, as most plugins are tested in this.
In my test install with default theme, I don’t see any div in replies, only paragraphs. So I guess it’s true 😉
I am using WordPress 3.6.1 with plugins Buddypress 1.8.1 and bbpress 2.3. I am trying to import the latest topics and replies from specific bbpress forums into specific wordpress pages.
I started with a Mysql query:
$query=”SELECT * FROM wp_posts WHERE post_type = ‘topic’ OR post_type = ‘reply’ ORDER BY post_date DESC”;
Then (in pseudo code) I planned to do the following:
// since forum is a parent of topic which is a parent of reply
// if post is topic get forum id
// if post is reply get forum id from the parent of the topic
//create an array of latest topics and replies associated with their forums
//print latest topics and replies for each forum to different wordpress pages.
The problem I cannot seem to solve is – where to get the name of the forum from? Without getting the name of the forum from somewhere in the database, my only option would seem to be to hardcode the forum id’s of each forum with their respective names. Which means every time a new forum is created this needs to be added in manually in the code. None of the tables I see in the wp database seems to contain the names of the different forums. Even if one of the other tables did contain it I am still not sure how I would then associate the forum id’s from the wp_posts table with the forum names from another table – presumably I would have to do some kind of join? Or maybe I am going about it completely the wrong way – is anyone able to help an inexperienced developer out of his depth navigate his way through this problem?
Indeed, it looks like the new parent is not caught. It’s strange because in the code, the ID of the parent forum is correctly read as we can see in the <ul id="forums-list-17150" class="bbp-forums"> and is seen as a category. It seems like the post_parent argument is not used.
Have you (or your theme creator) applied a filter to bbp_has_forums ?
Can you check with an other theme ? (use https://wordpress.org/plugins/theme-test-drive/ if you don’t want to disturb your visitors)
set up a test forum so you can see the result of my messing around with the /includes/replies/template file
Ignore the aesthetics, gotta get the structure right before I can finish the design.
http://themainbrace.com/forums/forum/we-are-motorcycles/test/
WP 3.6.1
BBP 2.4
(buddypress 1.8.1 if that’s relevant)
I am trying to style my loop-single-reply template.
I am working on a copy placed in my wp_theme/bbpress directory…it is a copy of the default.
The problem is in the bbp reply DIV (that contains the author div and the content div). I need to get the content function to stop automatically adding “div” tags around the content (I want to use span tags).
I have tried to follow the rabbit trail through the files to figure out where these DIV tags are getting added, and the best I can figure is that there is a filter putting them in there.
I only need the actual content and so I have commented out the filter applied in includes/replies/template.php around line 525, and simple replaced it with return $content
That worked, but now bbcode is not working. Is there a way to stop this behavior without altering the bbpress plugin files (which will get destroyed during an upgrade)?
My forum is private, but I can set a public test one up if that will help…
Yeah, nearly there, some suggestions for what some of those content conversions should be and testing to see if I missed any would be extremely helpful.
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 🙂
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
So… I just took another user I have for testing and made it a Participant in the forums (from the user page). That changed its view of the forums to the problematic one above. I changed it back to “No role on these forums” and it has the normal view again. But of course then it can’t post.
I changed it to Moderator, and this time it could see the normal view of the forums, but then it still can’t post.
I’ve read in another thread that you can delete all of your settings, everything, and then start over. I’d like to try that. But I can’t seem to find where to do that on the Settings page – how do I do that?
Well….turns out my site was attacked by spammers yesterday and turned off by my web host. That’s all worked out now, so everything should be visible again….
And I am running bbp 2.4 – I accidentally took the number from a different plugin.
Ok, so here’s something really weird. I just created a new user, UN testing, PW testing, and the forum looks ok for that user. The only difference between the two that I can find is that on the list of users page, the Forum Role says “Participant” for the gvrunner username, and is blank for the testing username. But if I go in to view their user info, it does say Participant for both of them in the Forum Role dropdown at the bottom.
I too am looking for examples for displaying the latest replies, topics etc. from specific forums.
I am resorting to trying to get the information from the database with mysql queries but because a reply has a parent of topic which has a parent of forum_id I am not sure how to get the forum_id of a reply.
I want the latest posts (topics or replies) from a specific forum. I can get the latest posts from all forums with something like:
SELECT * FROM wp_posts WHERE post_type = ‘reply’ OR post_type = ‘topic’ ORDER BY post_date DESC LIMIT 4
What I need to do is to specify the forum of the topic or reply by adding a condition saying something like:
If it is a reply get the parent of the parent_type (i.e. the specific forum which is the parent of the topic) and if it is a topic get the parent_type (which I can get from the wp_posts table). Then check if this matches the specific forum we want.
No idea how to do this though (especially the parent of the parent_type bit)……..
This issue typically comes up when people are testing the import to bbPress. If you import the users and forums, topics, replies etc then reset bbPress only the forums, topics, topic tags and replies are deleted. bbPress does not delete the imported users as the user account may have additional WordPress roles (eg. Author) and has blog posts or comments on blog posts etc and we don’t want bbPress deleting content that isn’t its own.
Ideally you would have a test site for WordPress & bbPress to test the importer and once you are happy with everything get bbPress installed on your primary WordPress site, disable your existing forums and import into bbPress ‘all the things’ and be up and running from then on with bbPress.