Forum Replies Created
-
In reply to: WYSIWYG editor with image upload for "Normal Users"
1) An easy WYSIWYG editor in bbpress for normal users(frontend).
You can enable the TinyMCE Visual Editor with instructions shown here:
2) With an image “upload” feature, but is not working like an attachment like “GD bbPress Attachments”.
I’m only aware of the “GD bbPress Attachments” plugin that offers this for bbPress, you should be asking in their support forums for any issues relating to why this plugin doesn’t work for you.
3) All the uploaded images will be separated by folder(user name or individual name for an user).
bbPress does NOT support attachments or media uploads ‘out of the box’
I would also suggest you also contact the “GD bbPress Attachments” support forum to request any enhancements you would like to see in the plugin.In reply to: Error show in admin dashboardSet WP_DEBUG to false
define('WP_DEBUG', false);
in yourwp-config.php
file, this is a known issue.More info on this:
https://bbpress.trac.wordpress.org/ticket/2309 https://core.trac.wordpress.org/ticket/24169
If you only have a few forums you could design a page with each forum title and below each forum title use the following shortcode
[bbp-single-forum id=$forum_id]
e.g.
My Forums Page My First Forum [bbp-single-forum id=123] My Second Forum [bbp-single-forum id=456] My Third Forum [bbp-single-forum id=789]
In reply to: Documented import from snitz access databasebbPress doesn’t actually support the use of signatures ‘out of the box’.
What we can do though is still import that data and store it in the
wp_usermeta
table, then if you do add a plugin that supports signatures in bbPress you can then copy that data (Using phpMyAdmin for example) from your imported database to however that plugin supports signatures.Simply add this field map:
// User Signature (Stored in usermeta) $this->field_map[] = array( 'from_tablename' => 'FORUM_MEMBERS', 'from_fieldname' => 'M_SIG', 'to_type' => 'user', 'to_fieldname' => '_bbp_snitz_user_sig' );
Thus once you (if you do) add a plugin to support signatures to can then query against the
_bbp_snitz_user_sig
field directly with MySQL and update your user profile fields.I just added the above to the Gist also, you can see the changes via the ‘revisions’ link.
In reply to: Documented import from snitz access databaseAnd just because I could and it was quick and easy, here is a copy of the
Snitz.php
based on the latestExample.php
with Robin’s fields mappings.https://gist.github.com/ntwb/2f057071dd05f9758570
You can also compare the revisions (Seeing the changes made from the source Example.php)
https://gist.github.com/ntwb/2f057071dd05f9758570/revisionsIn reply to: Documented import from snitz access databaseOne more thing, when making a custom importer always base it of the
Example.php
importer, I keep that updated with examples and any other changes I make for bbPress.The latest (updated 3 days ago) is here:
https://bbpress.trac.wordpress.org/browser/trunk/src/includes/admin/converters/Example.phpAs Robin points out, you just delete/remove the sections or fields that are not applicable to your import e.g. ‘tags’ or if your database doesn’t include the ‘counts’ for topics in forums then remove that part in the forum section.
In reply to: Documented import from snitz access databaseCool, I just edited a couple of the posts above to wrap some code in ‘code’ tags to make things a little clearer 🙂
In reply to: Importing from drupal@pratipghosh No, the process cannot be automated, you need to set it up manually.
In reply to: How to see full Activity?It sounds like you are looking for a plugin like Stream, I’m not sure if Stream supports bbPress but is the only plugin I can think of that sounds like what you are looking for.
In reply to: Problems after Importing VbullitenSorry, I misread your post, I’ll take another look.
In reply to: Problems after Importing VbullitenThanks, I’ll add the BBCode
[video=youtube_share;$1]$2[/video]
as part of the vBulletin importer.And yes, let me know how it goes.
In reply to: WP Symposium converter for bbPressSorry my dump wasn’t successful in helping you out here…
Your dump was fine, it was just for quicker for me to install the plugin and have the examples included, if I wasn’t so tired the other night I would have done that in the first place and not asked. 😉
Slug vs. stub, I missed that one, I tried your version on my test install and it works !! It converted forum / topics / replies. Thanks! Couple of issues, questions, comments…
Awesome
In WPS terminology, there’s one forum made of categories. They can be nested. Along with subforums, they may contain topics with replies. One of these cats may be made the “default category” which users will be prompted with when posting in the forum frontpage, that’s ‘symposium_cats.defaultcat’. If not set, the first of the list will be the default. I’m not sure what happens if two or more cats are made default…
Cool, for example per this picture is what you are saying if I understand correctly is that I could choose the ‘Sun Dreesses’ forum to be the default forum selected when clicking ‘New Toipic’ from the WPS forums hopme page it will default to showing the ‘Sun Dresses’ forum as the destination for my topic unless I select another forum?
If that is the case then we can ignore this as we do not have that functionality in bbPress.
‘Allow new topics’ will basically close the category to new topics. Likewise, in a topic there’s a checkbox to allow new replies or close the topic.
I already implemented this for topics and partially for forums, I will fix this for forums shortly.
‘remote_addr’ is for monitoring spammers, I don’t think it deserves much interest in importing forum content as it’s mainly a short-time asset.
We do use IP addresses for Akismet and spam protection, we have some upcoming updates for this that will also take into account the users existing history on the site and from emory this can include the users IP address so I will take a look and see what can be done to add support for IPv6 as currently we only support IPv4.
I’ll go through your callback functions tomorrow, but a quick comment about values in WPS: they are either ‘on’ or anything else, possibly not set, so it’s better to revert the switch and test against the “case ‘on’” and any other “default” ?
That is what I have done for closed topics and will do the same for closed forums.
The group forum post from my demo install was converted. In the list of topics it is indicated as ‘no forum’ which is true (as per my previous post). We should either create a forum (named like the group itself for instance) or discard group forums topics altogether (WHERE symposium_topics.topic_group != 0).
phpBB has a similar sceanrio for a special sticky post, it is not assigned a forum. bbPress supports topics not having a forum so this technically doesn’t break things but we don’t have a ‘view’ that can show us topic s that are not in a forum.
I haven’t tried the WPS groups but I will create one and see what we can (or cannot) do with them.
About importing users, you raise an interesting point. I’d like to understand if this tool is a converter or an importer. Being located in a folder called /converter/ I had assumed it should work within the same WordPress install and convert it from one plugin to another, but you seem to move it towards the import of data accross platforms. Incidentally, I have been wondering why I need to fill the ‘Database Settings’ with db name / user / password / prefix, while I’m converting an existing forum within the same base. I’m happy with both, although I would tend to consider that most WP-to-WP imports will be performed within the same site…?
I would say it is more importer than converter though interchanging those terms is not much of a stretch as we do not only import stuff we also convert stuff then import :/
In total aside from WPS the only other importers that are also plugins ontop of WordPress are Mingle and SimplePress, the other 23 in most sceanarios would be a seperate database from the WordPress database. To extend the same issue I stated previously on how to handle users the same case applies, you are not explicitly limited to adding the bbPress plugin to your existing WP/WPS install and importing your data, you can also create a fresh WordPress install with a fresh database and import your data into that. So in theory we could ‘hide’ the database settings IF we knew your intented scenario before the fact. It would be nice in a future iteration to make the importer a ‘step by step wizard’ and we could then do such things and many more things to make the process a little less daunting…
The other topics I’d like to bring at some point in our discussion are the attachments and the avatars. I’m not sure yet how bbPress handles attachments, for WPS they are physically stored in a location set from the “params” tab, and displayed either online or as links (depending on a setting). As far as avatars, once WPS is deactivated they are all gone, is anything possible or is this too dependent upon the plugin the admin may install for avatars ?
There is a post in the Kunena importer thread where @cybnet has written an attachment importer with details on how to change it for your own Kunena forum. The source is here and no doubt could be adapted for WPS.
Edit: I should have added that bbPress does not include support for attachments, there is one or two plugins that do add support for attachments so I would look to using one of those and use that plugins architecture to facilitate how the attachments are handled. We’d like to support attachments in bbPress ‘one day’ though we have some bigger implementation details to work out before we have a crack at this.
Avatars are a bit trickier as bbPress nor WordPress do not support custom avatars for user profiles out of the box. There are many plugins for this so at the moment this is not something we can support. We can’t make avatar import support the hundres of avatar plugins available.
In reply to: Problems after Importing VbullitenI just checked the difference between the current version included with bbPress and that version you linked above. The version included with bbPress has quite a few enhancements, password support, forum categories, author IP, closed topics, sticky topics and topic tag slugs.
The difference that you need is the BBCodes:
// This is what is currently included with bbPress for YouTube:
$vbulletin_markup = preg_replace( '/\[video\=youtube;(.*?)\](.*?)\[\/video\]/', '$2', $vbulletin_markup );
//And this is what we had in that custom linked version:
// Replace '[video=youtube;$1]$2[/video]' with '$2" $vbulletin_markup = preg_replace( '/\[video\=youtube;(.*?)\](.*?)\[\/video\]/', '$2', $vbulletin_markup ); // Replace '[video=youtube_share;$1]$2[/video]' with '$2" $vbulletin_markup = preg_replace( '/\[video\=youtube_share;(.*?)\](.*?)\[\/video\]/', '$2', $vbulletin_markup ); // Replace '[SOUNDCLOUD]$1[/SOUNDCLOUD]' with '$1" $vbulletin_markup = preg_replace( '/\[SOUNDCLOUD\](.*?)\[\/SOUNDCLOUD\]/', '$1', $vbulletin_markup );
So the addition of these two BBCodes:
[video=youtube_share;$1]$2[/video]
and[SOUNDCLOUD]$1[/SOUNDCLOUD]
Do you know if both of these BBCodes are included with all vBulletin versions or are these custom BBCodes you manuallly created in your vBulletin install?
Either way I just updated that gist with the above BBCode that you should be able to download and test as you did 8 months ago, it has ‘all the things’ above included in it. 🙂
In reply to: WP Symposium converter for bbPressFor reference the core SQL queries: (Don’t forget the table prefix e.g.
wp_
)Forums:
SELECT symposium_cats.cid AS cid, symposium_cats.cat_parent AS cat_parent, symposium_cats.title AS title, symposium_cats.stub AS stub, symposium_cats.cat_desc AS cat_desc, symposium_cats.listorder AS listorder FROM wp_symposium_cats AS symposium_cats
Topics
SELECT symposium_topics.tid AS tid, symposium_topics.topic_category AS topic_category, symposium_topics.topic_owner AS topic_owner, symposium_topics.topic_post AS topic_post, symposium_topics.topic_subject AS topic_subject, symposium_topics.stub AS stub, symposium_topics.allow_replies AS allow_replies, symposium_topics.topic_sticky AS topic_sticky, symposium_topics.topic_started AS topic_started, symposium_topics.topic_date AS topic_date FROM wp_symposium_topics AS symposium_topics WHERE symposium_topics.topic_parent = 0
Replies
SELECT symposium_topics.tid AS tid, symposium_topics.topic_category AS topic_category, symposium_topics.topic_parent AS topic_parent, symposium_topics.topic_owner AS topic_owner, symposium_topics.topic_post AS topic_post, symposium_topics.topic_started AS topic_started FROM wp_symposium_topics AS symposium_topics WHERE symposium_topics.topic_parent != 0
In reply to: WP Symposium converter for bbPressCreated a pull request https://github.com/Lagrou/wps_extends_bbp_converter/pull/1 🙂
WPSymposium – 1st pass update …
* Cleans up PHPDoc for WPSymposium Converter
* Fixes Forum slug field mapping
* Add Topics section
* Adds Reply Section
* Adds callback_topic_status for open or closed topics
* Adds callback_sticky_status for sticky topics
* Adds reserved callback callback_forum_type to be implemented
* Adds reserved callback callback_forum_status to be implementedPer my previous comment we should be able to determine forum type and forum status.
I haven’t added a users section yet, need to think about this a little, there are two use cases, if you add bbPress to same WordPress install as you have used for WPS vs importing into a fresh WordPress install where WPS has never existed.
In reply to: WP Symposium converter for bbPressTurns out when I said it was late, it was, I downloaded and installed the plugin 😉
Firstly for most forum importers I use a set of categories and forums based on the ‘Nested Set Model’, this gives a great hierarchy layout to test with.
https://en.wikipedia.org/wiki/Nested_set_model#ExampleFirst issue (question) is, why the converter doesn’t find forums. Or at least doesn’t convert them.
For the ‘Forum slug’ you have
slug
it should bestub
Does WPS ‘pretty permalinks’ even work? I am guessing that’s what these are?
Once I changed that the forums imported fine with correct title, desc, parent, order, slug.
We don’t need to worry about counts as the bbPress repair tools will do this for us
Categories or Forums I am not sure of, to set a category in WPS I set the
Allow new topics?
field tono
we can use this to decide if the bbPress forum will be aforum
orcategory
if this is indeed the intended purpose of this field.I’ll go take a look at the topics and replies now…
In reply to: Switching language on the flyCool, glad you found a way to make it work for you 🙂
In reply to: Kunena converter for bbPress 2.4Ah cool… In a future I dream of it would be nice to migrate these importers to standalone WordPress importers so when you import Joomla to WordPress if you also want Kunena to bbPress then check a box… Not going to happen anytime soon, but one day once the core WordPress import and export gets some loving updates this should be a little easier to implement. 🙂
I don’t see this coming to bbPress in the near future, we do our best to support anonymous posting with an alias and email address but reserving a username against an email address is basically the same as registering on the site.
In reply to: Kunena converter for bbPress 2.4@stagger-lee Thanks for the heads up and I’m glad you eventually got your site converted, hopefully we will get all these issues nailed down in the not to distant future so there will be a free open source importer/converter for Joomla’s Kunena forums to bbPress 🙂
In reply to: Problems after Importing VbullitenCool, I will take a closer look in the morning, it’s late here down under and the brain is to fuzzy to dive in right now 😉
Can you confirm which importer you used, did you import using the
vBulletin3
orvBulletin
importer and what is the exact version of the vBulletin forum you are importing from. I’ll try to take a closer look at those BBCodes and also make any updates as needed.In reply to: WP Symposium converter for bbPressAwesome… It is late here and I will take a closer look in the morning 🙂
Any chance you could post an example database scheme layout (even better a MySQL export)
It would only need to have a couple of categories, couple of forums, couple of topics, couple of replies, a couple of topic categories, a couple of xyz etc?
I can read the database schema so much easier than trying to have a conversation trying to explain the DB schema 😉
That said a couple of quick points, we can join tables together or join the same table to filter topics from replies and replies from topics.
Most likely your ‘forums’ section isn’t quite right, again this will be an issue of just mapping the correct fields to the source database schema, likewise for topic parents, they will have one in the database schema somewhere.
Counts also do not matter, they help but are not essential, we have built in tools to recount this when needed.
I’m more than happy to take a look with you and add this to the growing collection of bbPress importers 🙂
In reply to: Importing from Invision 3.4.3 impossible@zefred I hate this issue, I hit the same problem myself last week. 🙁
The root of the issue is a row (in your case the 29299th reply) in the database has some issue. What these issues are I have not been able to work out, the data looks perfect to me and for some reason it causes the import to stop. Every time I come across this issue I analyse the row from the database to try and find what the cause may be and have yet to come up with anything. It is also non forum specific so could be phpBB, vBulletin, Invision etc.
The workaround is to delete that 29299th reply from the source database and try again.
I know this is not an ideal solution but until I can identify the issue I’m unable to make the importer ‘workaround’ that invalid data. 🙁
In reply to: Multiple revisions logThis is currently how bbPress works if you have ‘revisions’ enabled each time a topic or reply is edited a new log entry will appear as per your image.
We have a ticket somewhere in Trac to update this similar to the UI experience for WordPress post or page revisions, I just kind find it right at this minute 😉
Edit: Oops, your are displaying twice, give what Robin wrote above a try 😉
In reply to: Problems after Importing VbullitenExcept for the default BBCode
[b]
,[i]
,[u]
,[img]
,[url]
etc the vBulletin importer only has[quote]
,[mention]
,[youtube]
BBCodes added at this time. You would need to manually edit your topics and replies for any SoundCloud embeds.To test this any further I will need your vBulletin version you importing from so I can take a closer look, firstly to see if I have a copy of a vBulletin ‘version xyz’ to test against and then to see if I can see any reason why it would not be importing everything correctly.