Forum Replies Created
-
In reply to: Vbulletin to bbPress Import – Replies Missing
Shouldn’t be a problem fixing it, it did work but nonetheless I’ll take a look, I have a sneaking suspicion there might be a couple of differences in the database schema between various version of vB3 :/
In reply to: BBPress advise wantedCool, most of things you mention can be done, some are ready to go, others need a few tweaks and custom PHP code to achieve the results.
1. create login in the wp home page for BBpress
Create a WordPress page, set that as your home page, add the bbPress login/register shortcodes
2. allow only offline registered members to be registered as BBpress users
Not quite sure what you mean here, you can set your forums to ‘private’ so only logged in registered members can see or use the forums.
3. enable/disable users, and hence their profiles
This is more of a WordPress question than bbPress, if the member has an active and valid WordPress account then they can login. If you want to remove the user and their associated profile then you’d delete the actual WordPress user which inherently flows down to bbPress.
4. allow users to create profiles with their filmography and perhaps a vimeo embed or two
With a few minor tweaks/customisations you could achieve this, you may also want to take a look at BuddyPress’ Extended profiles which will let you do this also.
5. can users have simple URLs for their profiles, like perhaps example.com/username?
Yep, this is built in, here’s yours here on bbpress.org https://bbpress.org/forums/profile/parambyte/
In reply to: Sumbit to email addressWhy not use one of the many ‘contact form’ plugins that offer that functionality?
Not saying it couldn’t be done but seems like it’s really a forum you are after.
In reply to: Allow HTML tags in Post for All UsersClick the ‘download gist’ link, it will download a zip archive, unzip it and use FTP to upload the plugin to your WordPress plugins folder, typically
/wp-cntent/plugins
Edit: Or go to ‘Plugins’ -> ‘Add new’ -> ‘Upload’ and you can then upload it directly.
In reply to: Possible issue untrashing topicsI haven’t looked at what you have above closely, nor have I looked closely at the changes @jjj made recently but we just changed some of the logic behind trash, untrash, spam and unspam for topics and replies.
Details and links to changesets are in the following ticket if you want to take a look as it appears I have not really looked at anything 😉
https://bbpress.trac.wordpress.org/ticket/2494
If you don’t see anything in that ticket or related to what your looking for please create a new ticket and I promise I will look 😉
In reply to: Deep integration (old bbpress) and empty wp_headI have hardly dug into bbPress 1.x and am not familiar with the code base at all.
How about grab the latest bbPress v1.2 and create a test/demo site on your local PC with a backup your database, things should theoretically work though you ‘d have to make sure the database upgrade routine was triggered of course.
That should then give you a working version with your database to then start comparing the base code of your test site vs your live site.
That said, what is stopping you from upgrading? I am presuming here that there is something stopping you from installing WordPress and upgrading bbPress 1.x to the v2.x plugin?
In reply to: Vbulletin to bbPress Import – Replies MissingHmmmm, that’s no good, I’ll take a look in the next few days, I’m busy as making a load of importer improvements so I’ll test these with vBulletin 3 at the same time.
Also this reported in this topic also, so maybe subscribe to that topic also in case I write omething there and forget here 😉
In reply to: Allow HTML tags in Post for All UsersGrab this custom plugin from here https://gist.github.com/ntwb/7797990
You will need to change one part of it though:
From:
// Span 'span' => array( 'class' => true, ),
To:
// Span 'span' => array( 'class' => true, 'style' => true, ),
That will then modify the allowed tag
span
to also includestyle
inside the span.In reply to: Custom user administration pageCreate a page or two and use the bbPress shortcodes
https://codex.bbpress.org/shortcodes/
https://codex.bbpress.org/widgets/In reply to: Migration from bbpress?That is up to the the forum software you choose to use, all our source code is open source and any forum software package is free to create an import tool to import from bbPress, we do the same, we import from many forum packages but it is up to each application to add support if they want new customers to be able to import from bbPress, I know a few of the common ones do.
You would need to go to bbPress settings and uncheck ‘auto role’ as when a user logs in they are automatically given the role set in this setting.
In reply to: Crayon Syntax Highlighter not working / tags issueI just had a play with this and you are correct, it works for administrators/keymasters but not standard ‘participants’ or ‘anonymous’ users.
Grab this custom KSES plugin I have here https://gist.github.com/ntwb/7797990
I just added
class
to to thepre
section as that is where the issue is,pre
is allowed but<pre class="whatever">
is not.Double check any of the other allowed tags and/or remove ones you don’t want/need.
Edit: I just double checked against the default bbPress allowed tags and all are there, you may or may not want the table sections, up to you. I also made a note to add
class
as an allowed tag ofpre
for bbPress core, I can’t think of a reason for us not to add this by default.I cannot reproduce this issue with bbPress 2.5.4 and WooSidebars 1.3.1
For example replacing the ‘Primary Sidebar’ with a new WooSidebar for the bbPress ‘Topic Archive’ and ‘Each individual topic’.
Typically issues where people have had issue with ‘the_title’ usually revolves around a theme issue, try using the same configuration you were trying but test it with the Twenty Fourteen theme.
Anything else to help reproduce the issues you posted I’m more than happy to take a look but will need some detailed reproduction steps so I can see what your seing.
In reply to: phpBB Import Error(s)I added support for the anonymous/deleted phpBB user topics and replies, just finalizing all of this for the any other forums that also have this feature, SMF, Drupal, Vanilla.
For the redirects I need to find a workaround to have WordPress correctly verify that
viewtopic.php?f=3&t=9
is a valid URL, if we can do that then redirects could be included for imported forums and that would be awesome.In reply to: Reduce size of embed Media@leonyipa Don’t get you bb’s confused, what you wrote way up there and quoted here:
And I paste the code into: /public_html/wp-content/themes/bp-default/functions.php
That is the BuddyPress Theme ‘BP Default’, nothing to do with bbPress so make sure you are updating the correct files 😉
In reply to: Long Query ErrorThis is just a warning notice, not so much a functional error, due to the amount of roles you have which is combined by WordPress, bbPress, Shop and S2 Member the query is over 1540 charatacters in length (1547 to be exact)
You should contact your webhost for the best advice guidance on what MySQL settings they have configured for your hosting setup, they may have an option to increase this number for you.
(Apologies, your topic was originally caught by Akismet as spam)
In reply to: Submitting new topic is not working properlyMake sure you do not have any conflicts with either your theme or any other plugins:
Switch your theme to the Twenty Fourteen theme and test again, does it work now?
Deactivate all your plugins except bbPress, does it work now? If yes start reactivating each plugin until you find the conflicting plugin that causes it to stop working.
In reply to: Submitting new topic causes redirectionClosing this as a duplicate of this topic here (They were origianlly marked as spam by Akismet)
In reply to: Creating new topic is not working properlyClosing this as a duplicate of this topic here (They were origianlly marked as spam by Akismet)
In reply to: Troubleshooting a WordPress page titled 'forums'Ooops, missed the 2.3.2 😉
I should have said in my previous reply, any conflicting permalinks ‘except’ a page titled
forums
, indeed using a page titledforums
with a shortcode should work just fine.As you have changed the slug on that conflicting page now could you try creating a new page
forums
and adding whatever shortcode your using to it, what happens?Note: I’m splitting this topic to it’s own also as this is a different issue from the original topic.
In reply to: phpBB Import Error(s)Oh…. And you should also be able to map the Anonymous/Deleted phpBB users topics and replies also via those same mappings, I’ve just finished adding support for this with phpBB and bbPress around an hour ago.
I’ll come back tomorrow and show you the SQL query for that, for now it’s late here and I’m done for the night, anything else I will look at tomorrow 🙂
In reply to: phpBB Import Error(s)You wrote in your previous post:
Sure thing, I’ll see what I can dig out. I’m going to be running the import a few more times over the coming weeks anyway because I need to make sure that I have the process down to a t before we decide to go live.
Does this mean you have now gone live and a ‘few more imports’ has already happened and ‘coming weeks’ is time flies when having fun?
You should find in your
wp_postmeta
table primarily two reference meta keys,_bbp_old_forum_id
and_bbp_old_topic_id
In the case below the new forum ID in
wp_posts
is8789
for the old phpBB forum ID53
and the new topic id in inwp_posts
is8803
for the old phpBB topic id25743
meta_id post_id meta_key meta_value 57514 8789 _bbp_old_forum_id 53 57626 8803 _bbp_old_topic_id 25743
With the above data in hand you should be able to map all your old phpBB forums and topic ID’s to the new bbPress forum and topic ID’s.
In reply to: Troubleshooting a WordPress page titled 'forums'@pplumridge I can’t see how any of the differences in code from 2.5.3 to 2.5.4 could have broken this.
Any chance it’s a permalink conflict? Do you have any posts, pages, maybe even forums or topics using
forums
as the slug? (Also check the ‘trash’ folders to make sure the post/page isn’t there)In reply to: Import phpbb3 custom profile fieldsThe current phpBB importer only imports ‘extra’ user fields from the
phpbb_users
table.The following custom profile fields are what is currently imported, we store these in
wp_usermeta
// Store ICQ (Stored in usermeta) 'from_fieldname' => 'user_icq', // Store MSN (Stored in usermeta) 'from_fieldname' => 'user_msnm', // Store Jabber 'from_fieldname' => 'user_jabber', // Store Occupation (Stored in usermeta) 'from_fieldname' => 'user_occ', // Store Interests (Stored in usermeta) 'from_fieldname' => 'user_interests', // Store Signature (Stored in usermeta) 'from_fieldname' => 'user_sig', // Store Location (Stored in usermeta) 'from_fieldname' => 'user_from', // Store Avatar Filename (Stored in usermeta) 'from_fieldname' => 'user_avatar',
The current implementation needs to explicitly named fields to import them, so having the import support custom named fields is not available to be used at this time, one day hopefully.
With that said, with a list of fields names and the tables the fields are stored in these can easily be added to a customized phpBB importer.
As to where to send these fields, if you are using BuddyPress, XProfile would be the ideal place to have these. Our importer doesn’t handle this though, again, maybe one day we can add something in BuddyPress to import ‘extra’ profile fields from bbPress. Probably the key thing here is we can get all your phpBB profile fields imported into
wp_usermeta
and then with a bit of MySQL these could be copied over to the BuddyPress XProfile table and everything would be awesome. 🙂EDIT: As all I’ve been doing the past ~5 days is working on the importers we do actually store the old phpBB
user_id
so mapping the old users after an import back to the old phpBB database should also not be an issue once bbPress 2.6 is released 🙂