Closed dshovchko closed 7 years ago
I don't know what could be wrong? After importing from mybb are not visible discussions in which only one message (without comments). And the administrators are see their, but others users and guests aren't.
You talking about soft deleted threads?
EDIT: Got these kind of warnings after the merge:
Notice: Undefined offset: 35 in mybb_to_flarum.php on line 128
EDIT: nvm fixed it
so it was in mybb - https://ibb.co/joxAgQ guest sees the forum so - https://ibb.co/i8uO1Q admin sees the forum so - https://ibb.co/bw3GMQ
As you can see, there are no topics with 0 replies.
You talking about soft deleted threads?
No
nvm fixed it
Good!
Hmm thats strange! I would say its about flarum permissions or some kind
@dshovchko Can u try to add
$configurator->BBCodes->addCustom('[size={CHOICE=large,small,xx-small,x-small,medium,x-large,xx-large}]{TEXT}[/size]','<span style="font-size: {CHOICE}">{TEXT}</span>');
to your config file to support the MyBB size bbcode? And tell me if it works or not?
If i add this line i'm getting font-size: xx-largepx;
in the css/forum. I have no idea why it doesn't work
It doesn't work.
preg_replace('/\[size=(large|small|xx-small|x-small|medium|x-large|xx-large)\](.+?)\[\/size\]/iu', '<span style="font-size: $1">$2</span>', $row["message"]);
works better
Automatic addition of the discussion in the parent tag (well as this makes the flarum)