Forum Replies Created
In reply to: User Pages and Page Title "Not Found"
I’m using Yoast. They have a setting for page titles for replies and topics but not for user profiles. No answer from their forum on what to do. Do you think All in one seo is better?
I was right. There was a file missing.
I took archive-forum.php and renamed it search-forum.php. Then I changed this line:
<?php bbp_get_template_part( 'content', 'archive-forum' ); ?>
<?php bbp_get_template_part( 'content', 'search' ); ?>
Then I copied it into my theme folder. And voila. Search now works.
I get the gold start today.
It’s as if there is a php file missing in pugins\bbpress\templates\default\extras that displays the search results. Where can I find that?
That’s a great tutorial. And close to what I did yesterday, just without the child theme. I used this: https://codex.bbpress.org/theme-compatibility/
However this had no effect on the search page and I can’t find what page to edit.
From the link it seems that fixes garbled search page. I don’t have a woo theme but I do have a garbled search page. That link requires purchasing a woo theme. Can you post here what the solution was?
As per the theme support page, I went to bbpress\templates\default\ and copied the bbpress and css folders into my theme folder. I also copied archive-forum.php and single-user.php in to the theme folder.
I made a few modifications to archive-forum.php and single-user.php to fit into the page and remove the sidebar.
Seems like most functions are working now except Search. It still goes to a wonky page. Where do I go to look to fix that?
Do you mind posting again? I don’t see a link to a tutorial.
In the mean time I found a post about Theme support. It helped somewhat. The page is too wide and I want to remove the sitemap. I can probably find that in the php. And Search still doesn’t work. Not sure how to fix that. Any pointers there?
I removed the page with the shortcode, since the links in it to users and search send it to the slug that doesn’t work. It has just confused everyone. So what you see in the menu now goes directly to the slug that doesn’t work.
So now what do I do. The entire rest of the site is ready. The forum is imported. What do I do???
Notice that when you use the search function, it also sends the user to the unusable page at forums.
Amazing thing that you make this possible. Fantastic to be able to customize it and once it’s set up correctly, it works great. Thanks for all of your help!!!
That’s the Forum Root Slug. As set under Settings, Forums.
Forum Root Slug
Customize your Forums root. Partner with a WordPress Page and use Shortcodes for more flexibility.
Forum Prefix=Checked Prefix all forum content with the Forum Root slug (Recommended)
Forum root should show=Forum Index
The page with the shortcode is:
I tried that and it broke the page I was using the shortcode on. Then nothing worked.
The code that the other dnn conversion used actually pointed to the ParentPostID and should have pointed to the ThreadID as the parent. Once I fixed that, I got forums, topics and replies all linked up correctly.
Only remaining issues is users.
Making some progress here.
I have forums now.
I also have topics and posts. But the topics aren’t linked to the forums.
I did some updates on the body of each topic and post to take care of the bad html. The posts look good now.
2 questions remaining: how do I get the posts linked to the topic and forum? I ran the repair options and that didn’t fix it. And what happens with users per my question above?
Geez. I guess that didn’t work either. Let’s try this.
& l t ; p & g t ; I
I’ve added a space between every character to see if it will not try to mess with it.
Hm. Seems I must need to wrap that. This is what the body looks like in the table before importing:
<p style="text-align: left;">&..
Here is what it looks like displayed on the page:
<p style="text-align: left;">
After I posted the code to you, I saw and fixed the ForumGroupID to ParentID. However I got the same result of dashes. But it seems logging out and then back in helps. Now I have some data.
Here’s what I’m seeing:
I got topics and replies but not the forums themselves.
I got code in the bodies. See this page http://redhorsecrm.com/forums/topic/windows-v8-1-and-redhorse-v5-6/
It seems the data in the body field in the posts table looks like this and it doesn’t display as html in the web:
<p style="text-align: left;">&.. etc etc
The users are all anonymous. How does the user import actually work? This is a new site and I was planning on importing users with Members Import and then having a welcome email sent to them telling them their account has been migrated from the old site to the new site. Do I need to wait until after I do that to import the forums so that the users already exist or can I import the forums now and then import the users. Not sure what order to do that in without knowing how this forum import works with users.
An hour later and it still adding dashes. It says
——————————————————— etc etc
So… I posted my code to github. If you don’t mind taking a look I’d really appreciate it.
The forum import page automatically puts in the wordpress admin username and password. When I ran it with that, it says there was nothing to import. So I tried it again using my cpanel login which should be a sql login and now it’s got a growing line of dashes across the screen. It’s been running for over 30 minutes and there are less than 200 posts, so I’m not sure what it’s doing. Is there anything I can check to see what it’s doing? If anything?
Hard to tell if it connected or not. Would be nice if it would tell that it is beginning a connection, then when it connects, or that it has failed to connect.
I’ll let it run for a while and report back the results.
I had a sneaking suspicion.
I converted my microsoft sql databases to mysql by exporting from mssql into csv and then importing into a new database on my wordpress hosting with phpMyAdmin. Then I modified the sample you pointed to above as “basis of what ended up being used” to match my table structures. Then I tried the import. It doesn’t error, but it says there are no forums to import, no topics to import, etc.
What’s the next step to see why it’s not importing anything? Could it be a connection issue?