Forum Replies Created

Viewing 15 replies - 16 through 30 (of 30 total)
  • Thread Starter KeithAdv

    (@keithadv)

    Sigh. Spoke too soon. The theme I’m using has a total of three custom post types (one of which is called Events).

    I’ve now discovered that the above solution only appeared to work because Events were displaying properly when the theme was restored. However, the other two custom post types began to generate 404 Errors. When I resaved Permalinks, those two began working correctly but the calendar events began generating errors again.

    Can’t get all three working together. I may have to try other plugins, which I really don’t want to do… 🙁

    Thread Starter KeithAdv

    (@keithadv)

    Hey, Nicola! Thank you for the quick response!

    I don’t have any explanation for what follows:

    1. I switched to the twenty fourteen theme. As I said above, the problem still existed but–in the default themes–trying to display an event simply takes you to the Home page instead of getting a 404 Error.

    2. While in the twenty fourteen theme, I switched to default Permalinks and the event pages started showing up again.

    3. I changed the Permalinks back to Post Name and they still worked.

    4. I switched back to my original theme and they still work.

    So it’s fixed (for now)? I don’t know why. But thanks!

    I’m crossing my fingers!

    Yes, the first two times I tried to use the plugin for Ning import, all of my members got emails! And they all wondered if the site had gotten hacked, etc. Apparently, the default setting for new members in BuddyPress is to send them an email notification when there is an update on their account. People have published various hacks to correct that but there is a much better workaround:

    Do this operation on a local install, just as I recommended.

    Install your site on a local server using XAMPP, etc., and do the operation there. Then you won’t have the email problem.

    It’s just the group discussions which is my main priority as there is a lot of content there that I can not afford to not import 🙁 If I can get the members, groups, groups discussions, discussions, pages and blogs (with or without comments) I will be so relieved.

    I did get all of that. As I said earlier, I don’t know if there is something special about my forum that made it importable but, barring that, this procedure should work. I don’t know enough about what’s going on in the process to know which of my above steps you can vary from. I wish I did! All I can say at this point is they should be followed to the letter. When I was done, I had a fully functional site with the latest versions of WordPress, BuddyPress, and bbPress.

    I’ll clean up my revised steps and post them later today.

    The guide I gave above worked for me. I’ve refined it a bit since then and can now perform a near-total import (except for the elements the plugin isn’t designed to import). Only one problem remains for me–replies to blog posts don’t import correctly. More specifically, they import but wind up attached to the wrong posts or not at all. Weird. Everything else, including all forum threads, members, events, etc., come in just fine.

    For me, I didn’t have to edit the JSON files, although I did have to rename one.

    I haven’t put up my refined guide yet because I haven’t solved the blog reply issue. For me, that’s a very minor concern and I don’t know if I’m going to spend much time on that. Let me know if you’d like to me to post it and I will, though.

    Okay, friends. All I can say is this (sorta, mostly) worked for me; maybe it will work for you. I have now repeated these steps three times from scratch and gotten the same results.

    The first time I tried the Ning import (unsuccessfully), I was on my server. This time I did a local install. I think that might make a difference.

    1. I went back to the Ning Archiver and did a fresh download.

    2. I created a new sql database then did a local install of WordPress 3.7.1 using XAMPP. I put the Ning files in wp-content/ning-files.

    3. When I got on the fresh site (using localhost), I went to Install Plugins –> Add New -> Search –> Import from Ning. Installed and activated.

    4. I went to Plugins –> Add New -> Upload -> BuddyPress 1.6.1. That’s right. I had previously downloaded an old version of BuddyPress and I installed and activated that.

    5. After BuddyPress was activated, a message about the BuddyPress Installation Wizard Link appeared at the top of the page. I clicked in.

    6. Walking through the Wizard page now…The first page is Components. No changes there, I clicked Save & Next.

    7. Pages. I made sure the “create automatically” buttons were selected. Save & Next.

    8. Permalinks. I like my Permalinks based on post name, but you won’t see that here. I jumped out of the Wizard by going to Settings -> Permalinks and selected those, then I went back to the Wizard. The Wizard always starts from the beginning so I had to Save & Next through the first three pages of that again, ensuring again that my pages would be (or were) automatically created.

    9. Still in the Wizard–the fourth page is for selecting a theme. I used BuddyPress Default.

    10. I finished the Wizard and Activated BuddyPress.

    11. At this point I began getting “Warning: Missing argument 2 for wpdb::prepare()” messages. I ignored them.

    12. This error message also appeared. “The following active BuddyPress Components do not have associated WordPress Pages: Activity Streams, User Groups, Members”. You have an option to click Repair, which I did.

    13. That took me to BuddyPress -> Pages, which actually shows a total of 6 components (including the three mentioned above) with no associated pages. I opened Pages in a separate tab and created the following pages for each component: Activity Streams, Discussion Forums, User Groups, Members, Register, and Activate. I refreshed BuddyPress -> Pages (to load the drop down menus), associated the appropriate pages, and hit Save All.

    14. Then I went to BuddyPress -> Forums. I hit the Install Group Forums button and then hit Complete. I ignored the other option, to install BBPress (for now).

    15. Now I was ready to start Ning Import. I let it do its thing, hitting Continue after each step. I got “Warning: Missing argument 2 for wpdb::prepare()” errors all the way through, sometimes a flood of them, especially during discussions. But I just didn’t care. As long as there wasn’t a fatal error, I kept hitting continue!

    16. I had a fatal error at Events import, but didn’t care about that or any data after that. I already had what I wanted.

    17. Then I went back to Plugins and finally let BuddyPress update itself to the latest version. The “Warning: Missing argument 2 for wpdb::prepare()” errors disappeared for good! I could visit my site at that point and see the results. Things looked OK.

    18. It was only then that I installed BBPress and followed the codex for migrating BuddyPress forums to BBPress. The migration worked with no problem. BuddyPress installed. BBPress installed. Ning data imported. It’s all good.

    I’ll keep playing with my site to see if there are any gotchas. One unfortunate thing I’ve noticed already is the Ning blog posts didn’t seem to import, even though the importer said they did. I’ve been going through the sql database and haven’t found them so I don’t think they made it.

    I only have 13 of those, so if need be I copy and paste. I was happy to get the members, their information, and their discussions.

    I sincerely hope others have success with this. It’s messy but for me it was a big step in the right direction!

    @brian Larson–That sounds great and I would be happy get my JSON files cleaned IF the end result is they are perfectly importable into BuddyPress. Do you know if they guarantee that?

    Well, I’ve gone from elated to dejected pretty quickly today. I found this plugin and my hopes were rekindled that I could ditch Ning. I have a small forum but it has been up for some time and I know my members consider their previous discussions too valuable to lose, as do I.

    I tried to include Xaviote’s tips as I went. Like most others, I can get members and their comments (goes to “Activity”) imported but the plugin dies when it gets to the importing groups/group discussions thing. (I don’t really know what it means by “groups.” I have one forum and that’s the only “group” there is.)

    To make matters much worse, it appears that when the plugin imports comments, BuddyPress seems to be sending notifications to each individual in my user base on each comment they’re mentioned.

    So, now they’re all logging into the forum to see if we’ve been hacked. It makes me even more cautious about trying anything more because I don’t want to annoy them with a flood of emails on each failed attempt.

    Has anyone ever gotten this plugin to work?

    Thread Starter KeithAdv

    (@keithadv)

    Sent! (As I noted in the email, the failure remains on version 1.7.1)

    ick.

    Glad I found this thread. That code change also allowed me to delete the plugin. However, I’ve also just noticed that “wp_yith_wcwl” lives on as a table in my database. I’m assuming this is also leftover from the plugin and can be safely dropped?

    Thread Starter KeithAdv

    (@keithadv)

    …, do NOT hardcode the meta links in header.php. You must use wp_enqueue_script(), which will insert the meta links for you, as well as resolve any dependencies. The enqueue script code goes on your child theme’s functions.php file.

    This. I needed to go get a very good understanding of wp_register_script and wp_enqueue_script process, which I did. Everything works now. Thank you very much!

    Thread Starter KeithAdv

    (@keithadv)

    Solved it! I finally realized that while the product pages were automagically creating columns of three, when I was trying to use the category shortcode it was trying to create rows of four, which is the default.

    There wasn’t enough room so it was just creating weird layouts and holes and such. Oddly enough, the products were in reverse alphabetical order, which is not the default. Anyways, I all had to do was pass the right parameters and everything was fine:

    [product_category category=’somecategory’ columns=’3′ order=’asc’]

    Rookie mistake. 🙂

    Thread Starter KeithAdv

    (@keithadv)

    And…we’re done.

    I had hardcoded my old path into “path for uploading files” box in WP Miscellaneous settings. As soon as I changed that to the new site, everything was hunky dory, W3 Total Cache included.

    Thanks for playing, everyone!

    Thread Starter KeithAdv

    (@keithadv)

    Update. OK, it’s not W3 Total Cache. The problem is actually bigger. I just tried to upload an image from the “Edit Post” page in WP and I got this error message:

    Unable to create directory /home/(Old main folder)/public_html/(mysite)/wp-content/uploads/2010/03. Is its parent directory writable by the server?

    So, even though I created a fresh installation, something seems to have copied over somewhere that’s causing several aspects of my site to want the previous directory.

    All ideas cheerfully accepted.

Viewing 15 replies - 16 through 30 (of 30 total)