I think I've found most of the information I need about the new bitfield in these threads:
http://www.phpbb.com/community/viewtopi ... t=bitfield
http://area51.phpbb.com/phpBB/viewtopic ... 26&t=28439
... on phpBB.com but I thought I'd run this by here as well for a reality check too.
Now from what I can tell the bitfield is a neat way of storing the BBCodes that have actually been used in a post so that the system only tries to parse those it knows are in there, reducing the preg_replace() load or whatever their using to handle that.
... and based on this:
http://olympuswiki.naderman.de/Parsing_text
... I don't need to set this bitfield value manually but I do need to store whatever it is along with the "post" data.
That about right?
Bitfield usage
- igorw
- Past Contributor
- Posts: 1967
- Joined: 01 Jun 2006, 20:48
- Real name: Igor [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Bitfield usage
Use the example here: http://olympuswiki.naderman.de/Parsing_text
Then the bitfield gets generated before parsing.
Then the bitfield gets generated before parsing.
- we're poor!
Return to “phpBB Development discussion”
Who is online
Users browsing this forum: No registered users and 32 guests