Eg
This :
Code: Select all
Przyklad [dice]2d6[/dice]
This :
Code: Select all
Przykład [dice]2d6[/dice]
Code: Select all
Przyklad [dice]2d6[/dice]
Code: Select all
Przykład [dice]2d6[/dice]
first post wrote: You must copy-paste the URL, or else my provider will get angry at the referrer header and not work.
I know what's causing the problem (that the regular expression parser can't detect the UTF8 characters), but I'd like to ask for an official answer to a that question.cycholka wrote:Nice mod. One highly annoying thing though, it fails (does not parse?) at utf language specific chars. Whenever one of those letters is included in message the tag result does not show.
Eg
This :will execute correctlyCode: Select all
Przyklad [dice]2d6[/dice]
This :won't show at allCode: Select all
Przykład [dice]2d6[/dice]
Code: Select all
Przykład [dice]1d6[/dice]
Code: Select all
[dice=Przykład]1d6[/dice]
Code: Select all
[dice]1d6[/dice] Przykład
Code: Select all
while (preg_match('#<!--READY-->\[dice(?:=(.+))?\]#U', $message, $matches, PREG_OFFSET_CAPTURE))
Code: Select all
$bbcode = new bbcode(base64_encode($bbcode_bitfield));
$bbcode->bbcode_second_pass($message, $row['bbcode_uid'], $row['bbcode_bitfield']);
Probably because I haven't looked through since RC5 came out. It looks like those entire lines have been removed, though. There doesn't seem to be any loss of functionality,UbiquitousChe wrote:Hey guys,
I'm still very new with phpBB, and I'm guessing there's something really, really simple wrong.
I'm trying to install this mod, and certain lines that I'm supposed to be finding in one of the .php files aren't there. specifically, my ucp_pm_viewmessage.php is missing these lines:There's probably a simple reason for this. I'm running phpBB3 RC5, if that means anything. Everything else was there.Code: Select all
$bbcode = new bbcode(base64_encode($bbcode_bitfield)); $bbcode->bbcode_second_pass($message, $row['bbcode_uid'], $row['bbcode_bitfield']);
Thoughts?
Code: Select all
[dice=Ability Scores]Str:4d6%1>6,Dex:4d6%1>6,Con:4d6%1>6,Int:4d6%1>6,Wis:4d6%1,Cha:4d6%1[/dice]
Code: Select all
Rolling some dice:
4d6 >6 dropping lowest 1: 13 (4, 3, 2, 6 drop 2)
4d6 >6 dropping lowest 1: 15 (3, 1, 6, 6 drop 1)
4d6 >6 dropping lowest 1: 8 (4, 2, 2, 1 drop 1)
4d6 >6 dropping lowest 1: 8 (4, 2, 2, 2 drop 2)
4d6 dropping lowest 1: 10 (2, 4, 4, 2 drop 2)
4d6 dropping lowest 1: 12 (3, 3, 6, 3 drop 3)
Code: Select all
[dice=Ability Scores]Str:4d6%1>6,Dex:4d6%1>6,Con:4d6%1>6,Int:4d6%1>6,Wis:4d6%1,Cha:4d6%1[/dice]
Code: Select all
[dice=Ability Scores]Str 4d6 >6 dropping lowest 1: 6, 4, 3, 3 drop 3 >6 = 13
Dex 4d6 >6 dropping lowest 1: 5, 3, 6, 1 drop 1 >6 = 14
Con 4d6 >6 dropping lowest 1: 6, 2, 6, 3 drop 2 >6 = 15
Int 4d6 >6 dropping lowest 1: 5, 6, 6, 4 drop 4 >6 = 17
Wis 4d6 dropping lowest 1: 6, 1, 6, 2 drop 1 = 14
Cha 4d6 dropping lowest 1: 4, 3, 1, 1 drop 1 = 8[/dice]
Code: Select all
<span style='text-decoration: underline'>{NAME}</span>
You will only see the original dice tag ([dice]1d6[/dice]) in the post box; if you preview, the result will be randomly generated each time (even if you already have a result).blueace1 wrote:Hi,
Before to install this MOD, I would like to have some information about the "fraud" point of view.
I means, with the Dice MOD for phpBB2 it was very/too easy to "cheat".
1) if I put [dice]1d6[/dice] what will I see if I edit my post later ? only that or the result will be added (coded or not) (like [dice]1d6=76876876876[/dice]
This was an easy way to fraud in phpBB2, directly putting the result (even if coded) in the BBcode
You will get the same result. The MOD stores the results based on the offset of the post; only deleting a post can remove the data (but then, if someone has e-mail notification, they may notice something suspicious).2) if I write 1 BBCode, then edit my post, delete it and put another one identical, what will happen ?
3) If I write 10 BBCode, then I edit my post and delete the 9 worst, what will happen ?