Forum Replies Created
ugh… that simple 🙂 Gonna try it and will let you know. Thanks!In reply to: Show forum description in forum list
@sdunning, you can simply add text to the Forums page, where you create your forums / sub-forums.
Add text the same way you do with Posts or Pages.
Hi Flash Buddy, my forum is not online yet. I am busy migrating from myBB to bbPress.
I hope my question was clear enough.
If I want to change the margins set by the global Genesis style sheet, only for the bbPress forum.
Simply copying the margins to the bbpress.css and changing it there, didn’t work. I assume I have to put something in front of .entry to identify it only applies to the bbpress.css. I have no idea what to put in front of it, nor what the syntax is.
Most likely I can use the same logic to change the font of only the forum.
Been working on other stuff on the site and told the wife to start cleaning the old forum. Kill all the ancient history.
I was able to do a successful trial conversion last weekend. Took roughly 9 hours to complete 600k of records. I tried to process more records per tranche but that didn’t seem to work. The process seems to hang in the step where the forum hierarchy is determined. Going back to 10,000 records and delay time 0 worked out ok. When I do another test run, I will try to keep track of more details.
Another thing I found out the hard way, is to kill all addons before doing a conversion. Makes sense, but stupidly enough I didn’t think of it. Perhaps something to put into your manual for conversions.
I am now ironing out the iffy things to get various plugins running smoothly with bbPress: UserPro, bbPress toolbox, a little ‘like’ addon and a little addon for polls.
Will keep you posted 😉In reply to: Content Area Search Box Removal
Found this little gem also 🙂 Works like a charm!
Thanks for your reply! That explains a lot. Strange it happened, but I will check it again with the next trial run. Will keep you posted 😉
Hi Stephen / @netweb,
Many thanks for your replies! I am trying to convert MyBB 1.6.11. It is a very old forum which (unfortunately) was customized improperly by the previous owner. It was lagging many many versions. I paid a student to do an upgrade about a year ago, but there is some funky **** still in the PHP. With my limited knowledge of MyBB I even tried to a fresh install of MyBB and imported the complete forum in it. Pulled all my hairs out when I found out MyBB stores code in the database…
I’ve stressed my dear wife to start cleaning the old forum, which she’s (finally) diligently doing now.
Don’t worry too much about making any updates on the code 🙂 I also have some kind of life and job next to trying to convert a MyBB forum 😉 After all the cleaning of the old forum, I will do another test run to see if I can find any other issues. It is very likely that some errors are just because it is an ancient forum (10 years old). Read up on the conversion of @Halo-DieHard. Will make sure I do a repair/optimization of the old forum. To be honest, I am not sure if I did that with the last conversion, sorry.
I will report back on the forum on what I was able to squeeze out on performance with MAMP, with what settings and the results.
Another (most likely dumb) question I forgot to ask. This could be the answer to the missing(?) topics/replies. At the end of the conversion, the program shows in short intervals ‘-‘ on the screen. This takes forever and lasted almost as long as the initial part of the conversion which grabbed the Rows. I thought the conversion was finished when the ‘-‘ stopped appearing on screen ‘————‘ etc. Was I supposed to wait for some kind of other message which indicates the conversion ended?
Thanks again for your time!
Hi Stephen / @netweb
I was finally able to run a complete conversion without any restarts. The MyBB SQL of the database was 435,9 Mb big. We cleaned a lot of the old forum. It contained 1 million+ messages, close to 40k topics and a 400+ members.
The conversion ran for roughly 48 hours on a MacBook Air with i7, 8Gb memory and a 500Gb Solid State drive under MAMP.
For people who want to do such a big conversion, I also had to tweak a lot of the PHP ini files to import such a big query and get maximum throughput. Below a summary. It took me a while to find all the necessary settings.
/applications/mamp/library/support-files/my-huge.cnfand rename to
[mysqld]max_allowed_packet = 1000M
max_execution_time = 259200,
max_input_time = 259200,
memory_limit = 6144M,
upload_max_filesize = 1000M,
post_max_size = 1000M,
mysql.connect_timeout = 1000.
Add or change in
$cfg['ExecTimeLimit'] = 0;
Don’t forget to restart MAMP.
I ran the conversion with the following settings: Rows Limit 10,000 and Delay Time 0. During the conversion my memory was around 50% and CPU was very low. Most likely it is possible to squeeze out more performance.
I did a lot of random checks and the outcome seems ok-ish. Not quite sure about some things and have some questions. Please bear with me 😉
Some topics are not combined correctly. All replies are separate topics. The ‘Recalculate the parent topic for each post’ does not fix this. I ran all repair queries btw. An option in the Topics interface to combine these, would be ace 😉 Is it possible to correct this with a query? My SQL skills are too limited unfortunately.
The Repair Forums option ‘Recalculate the position of each reply’ does not work. It creates a white screen. Load problem?
myBB accepts spaces in the login name. Unfortunately WordPress does not. The conversion leaves the spaces in the login name. Is it possible to correct this with an SQL? Is there another workaround? Correcting them one by one is not my preference 😉
Two forums are created double. The copies do not contain any topics or replies, so it is easy to remove them. Just thought you should know 😉
The original myBB forum contained 1mlj+ messages and 36k+ discussions. The converted forum contains 109k subjects. That can be explained because of the first issue. But it only contains 830k replies. It could be that myBB adds subjects and replies to messages, but the difference is a bit too big. Is it possible to do an SQL checksum to check the expected output?
Thanks in advance for your time!In reply to: Visual editor font
@Robkk, many many thanks! Put the code in the child theme css stylesheet and it works like a charm!
Hopefully somebody knows how to change the font of the Visual Editor with CSS 😉
A lot of trial and error. Have restarted it a couple of times. Running it on my Macbook Air with SSD and i7 and MAMP but it is taking days.
#3 test conversion is progressing slowly. Already running for almost 2 days. Now done more than 50%. Doing 10.000 records at a time, with 0.1 delay time. No issues so far. Not sure if I can boost it more. The restarts seem to work ok too.
Will keep you posted 😉 Will be really glad when we get rid of MyBB! Fingers crossed 😉