mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Merge pull request #3987 from gschlager/phpbb3-importer
Small changes to the phpBB3 importer
This commit is contained in:
commit
fb3c6d1084
@ -16,8 +16,9 @@ import:
|
|||||||
|
|
||||||
# This is the path to the root directory of your current phpBB installation (or a copy of it).
|
# This is the path to the root directory of your current phpBB installation (or a copy of it).
|
||||||
# The importer expects to find the /files and /images directories within the base directory.
|
# The importer expects to find the /files and /images directories within the base directory.
|
||||||
|
# You need to change this to something like /var/www/phpbb if you are not using the Docker based importer.
|
||||||
# This is only needed if you want to import avatars, attachments or custom smilies.
|
# This is only needed if you want to import avatars, attachments or custom smilies.
|
||||||
phpbb_base_dir: /var/www/phpbb
|
phpbb_base_dir: /shared/import/data
|
||||||
|
|
||||||
site_prefix:
|
site_prefix:
|
||||||
# this is needed for rewriting internal links in posts
|
# this is needed for rewriting internal links in posts
|
||||||
|
@ -28,7 +28,7 @@ module ImportScripts::PhpBB3
|
|||||||
def add_default_smilies
|
def add_default_smilies
|
||||||
{
|
{
|
||||||
[':D', ':-D', ':grin:'] => ':smiley:',
|
[':D', ':-D', ':grin:'] => ':smiley:',
|
||||||
[':)', ':-)', ':smile:'] => ':smile:',
|
[':)', ':-)', ':smile:'] => ':slightly_smiling:',
|
||||||
[';)', ';-)', ':wink:'] => ':wink:',
|
[';)', ';-)', ':wink:'] => ':wink:',
|
||||||
[':(', ':-(', ':sad:'] => ':frowning:',
|
[':(', ':-(', ':sad:'] => ':frowning:',
|
||||||
[':o', ':-o', ':eek:'] => ':astonished:',
|
[':o', ':-o', ':eek:'] => ':astonished:',
|
||||||
|
Loading…
Reference in New Issue
Block a user