I’m not sure if that’s a DB Engine issue–the original uses InnoDB–or what, but I suspect it will be addressed in the phpBB 3.3 version of the script. Md_node.prefix_linebreak_type = LINEBREAK_HTMLįinally, when I ran the import script, I only got to the database loading step, and got this error: ERROR 1071 (42000) at line 1233035: Specified key was too long max key length is 1000 bytes Md_node.prefix_linebreaks = md_node.postfix_linebreaks = 2 So my Ruby-nooby attempt at adding that code to xml_to_markdown.rb is: def visit_YouTube(xml_node, md_node) Since my attempt to run the import on my phpBB 3.3 forum failed, I can’t be sure my custom BBcode changes would have been effective, but it looks like all you have to do for phpBB 3.2+ is edit the file: /script/import_scripts/phpbb3/support/bbcode/xml_to_markdown.rbĪs noted above, and add a definition in the format of: def visit_(xml_node, md_node)Īgain, I didn’t get to test this yet, but one very common custom BBcode in phpBB that doesn’t appear in the version of the xml_to_markdown.rb I had is this one: is the “v” value from the YouTube URL’s query string. If you need to edit /script/import_scripts/phpbb3/database/database.rb to get past the version check, or /script/import_scripts/phpbb3/support/bbcode/xml_to_markdown.rb to add custom BBcodes, the time to do so is after you enter the import with this command: /var/discourse/launcher enter importĪt that point, you can use nano to edit the files. I learned a lot in the process of trying it out, and thought I’d share what I learned because it might be helpful for other imports and when the import script is updated for phpBB 3.3. In the General menu of your default administration page you will also find the Manage users option, right on top of the Manage groups one, which we have covered this far.My attempt to do a test import with a phpBB 3.3.x forum was a big fail, but more on that later. If you do want to complete the deletion process, just click on Yes. Be aware that it is irreversible and not retrievable:Īfter you click on Delete, a confirmation window will pop-up, just to be sure you have not accidentally clicked on the wrong option. The third option you have at your disposal is the Delete one. When you are done, follow the familiar procedure by clicking Submit, at the bottom: When you have pressed it, you will see a page, where you can select various options from the drop-down menu on the right, such as promote/demote a group leader, approve/remove member, etc., and then click on the Submit button next to it to implement the changes.Īnother useful feature, which you can find here is the Add users section. When you have finished with all the needed changes, you only need to click on the Submit button at the bottom:Īnother management tool in the Manage groups section is the Members button next to every group: You may also change the group’s avatar by simply uploading a picture from your device. There, you would be able to change a variety of settings, starting with the description of the group, all the way to such settings as Group wide options and Group wide settings. You can then select Settings in the group, you would like to manage: To proceed, just go to Back to previous page:īack in the Manage groups section, you would be able to see the newly created group and any other previously created ones. Once you are there, you will be able to create new groups by just typing down the name and then pressing the Submit button, next to it:Īfterward, you will get a green screen, indicating that the a group has been created successfully. When you see the overview screen of this area, you need to click on Manage groups: There are detailed instruction of how to do that in our phpBB Administration part of the tutorial. In this section of the tutorial we are going to cover the ways to manage the Groups and Users on your website.įirst of all, you need to sign into your administration panel. Not the least of it is the fact that it is designed to be extremely user friendly. As we have discussed in the Introduction part of this tutorial, there are many reasons why phpBB is the most widely used script for online forums.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |