What is left_id and right_id ?

Discussion forum for MOD Writers regarding MOD Development.
Registered User
Posts: 1
Joined: Fri Aug 07, 2015 12:46 am

What is left_id and right_id ?

Post by Nono2017 » Fri Aug 07, 2015 12:54 am


I'm actually doing an intership in Japan and i'm working on PhpBB 3.0 platform. I've edited some of files to modify the registration behavior. And I've saw on the database on phpbb_forums table that there are an left_id and a right_id. I wonder what is the left_id and right_id ?


User avatar
Support Team Leader
Support Team Leader
Posts: 10341
Joined: Mon Jun 27, 2005 8:41 pm
Location: Texas, USA
Name: Patrick Webster

Re: What is left_id and right_id ?

Post by Noxwizard » Fri Aug 07, 2015 2:50 am

It's a way of storing a tree (the forum hierarchy) in a database. You can read more about it here: http://www.sitepoint.com/hierarchical-data-database-2/
[Support Template] - [Read Before Posting] - [phpBB Knowledge Base]
Do not contact me for private support, please share the question in our forums.


Return to “[3.0.x] MOD Writers Discussion”